NVIDIA DeepStream SDK API Reference

6.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvDsPreProcessUnit Struct Reference

Detailed Description

A preprocess unit for processing which can be Frame/ROI.

Definition at line 225 of file nvdspreprocess_interface.h.

Collaboration diagram for NvDsPreProcessUnit:

Data Fields

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...
 
gpointer converted_frame_ptr = nullptr
 Pointer to the converted frame memory. More...
 
NvDsRoiMeta roi_meta
 New meta for rois provided. More...
 

Field Documentation

guint NvDsPreProcessUnit::batch_index = 0

Index of the frame in the batched input GstBuffer.

Not required for classifiers.

Definition at line 232 of file nvdspreprocess_interface.h.

gpointer NvDsPreProcessUnit::converted_frame_ptr = nullptr

Pointer to the converted frame memory.

This memory contains the frame converted to RGB/RGBA and scaled to network resolution. This memory is given to Output loop as input for mean subtraction and normalization and Tensor Buffer formation for inferencing.

Definition at line 241 of file nvdspreprocess_interface.h.

NvDsFrameMeta* NvDsPreProcessUnit::frame_meta = nullptr

Definition at line 229 of file nvdspreprocess_interface.h.

gulong NvDsPreProcessUnit::frame_num = 0

Frame number of the frame from the source.

Definition at line 234 of file nvdspreprocess_interface.h.

NvBufSurfaceParams* NvDsPreProcessUnit::input_surf_params = nullptr

The buffer structure the object / frame was converted from.

Definition at line 236 of file nvdspreprocess_interface.h.

NvDsObjectMeta* NvDsPreProcessUnit::obj_meta = nullptr

NvDsObjectParams belonging to the object to be classified.

Definition at line 228 of file nvdspreprocess_interface.h.

NvDsRoiMeta NvDsPreProcessUnit::roi_meta

New meta for rois provided.

Definition at line 243 of file nvdspreprocess_interface.h.


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