NVIDIA DeepStream SDK API Reference

6.4 Release
GstDsExampleFrame Struct Reference

Detailed Description

Definition at line 153 of file gstdsexample_optimized.h.

Collaboration diagram for GstDsExampleFrame:

Data Fields

gdouble scale_ratio_x = 0.0
 Ratio by which the frame / object crop was scaled in the horizontal direction. More...
 
gdouble scale_ratio_y = 0.0
 Ratio by which the frame / object crop was scaled in the vertical direction. More...
 
NvDsObjectMetaobj_meta = nullptr
 NvDsObjectParams belonging to the object to be classified. More...
 
NvDsFrameMetaframe_meta = nullptr
 
guint batch_index = 0
 Index of the frame in the batched input GstBuffer. More...
 
gulong frame_num = 0
 Frame number of the frame from the source. More...
 
NvBufSurfaceParamsinput_surf_params = nullptr
 The buffer structure the object / frame was converted from. More...
 

Field Documentation

◆ batch_index

guint GstDsExampleFrame::batch_index = 0

Index of the frame in the batched input GstBuffer.

Not required for classifiers.

Definition at line 168 of file gstdsexample_optimized.h.

◆ frame_meta

NvDsFrameMeta* GstDsExampleFrame::frame_meta = nullptr

Definition at line 165 of file gstdsexample_optimized.h.

◆ frame_num

gulong GstDsExampleFrame::frame_num = 0

Frame number of the frame from the source.

Definition at line 170 of file gstdsexample_optimized.h.

◆ input_surf_params

NvBufSurfaceParams* GstDsExampleFrame::input_surf_params = nullptr

The buffer structure the object / frame was converted from.

Definition at line 172 of file gstdsexample_optimized.h.

◆ obj_meta

NvDsObjectMeta* GstDsExampleFrame::obj_meta = nullptr

NvDsObjectParams belonging to the object to be classified.

Definition at line 164 of file gstdsexample_optimized.h.

◆ scale_ratio_x

gdouble GstDsExampleFrame::scale_ratio_x = 0.0

Ratio by which the frame / object crop was scaled in the horizontal direction.

Required when scaling co-ordinates/sizes in metadata back to input resolution.

Definition at line 158 of file gstdsexample_optimized.h.

◆ scale_ratio_y

gdouble GstDsExampleFrame::scale_ratio_y = 0.0

Ratio by which the frame / object crop was scaled in the vertical direction.

Required when scaling co-ordinates/sizes in metadata back to input resolution.

Definition at line 162 of file gstdsexample_optimized.h.


The documentation for this struct was generated from the following file: