A preprocess unit for processing which can be Frame/ROI.
Definition at line 226 of file includes/nvdspreprocess_interface.h.

Data Fields | |
| NvDsObjectMeta * | obj_meta = nullptr |
| NvDsObjectParams belonging to the object to be classified. More... | |
| NvDsFrameMeta * | frame_meta = nullptr |
| NvDsFrameMeta of the frame being preprocessed. More... | |
| 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... | |
| NvBufSurfaceParams * | input_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... | |
| guint NvDsPreProcessUnit::batch_index = 0 |
Index of the frame in the batched input GstBuffer.
Not required for classifiers.
Definition at line 234 of file includes/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 243 of file includes/nvdspreprocess_interface.h.
| NvDsFrameMeta * NvDsPreProcessUnit::frame_meta = nullptr |
NvDsFrameMeta of the frame being preprocessed.
Definition at line 231 of file includes/nvdspreprocess_interface.h.
| gulong NvDsPreProcessUnit::frame_num = 0 |
Frame number of the frame from the source.
Definition at line 236 of file includes/nvdspreprocess_interface.h.
| NvBufSurfaceParams * NvDsPreProcessUnit::input_surf_params = nullptr |
The buffer structure the object / frame was converted from.
Definition at line 238 of file includes/nvdspreprocess_interface.h.
| NvDsObjectMeta * NvDsPreProcessUnit::obj_meta = nullptr |
NvDsObjectParams belonging to the object to be classified.
Definition at line 229 of file includes/nvdspreprocess_interface.h.
| NvDsRoiMeta NvDsPreProcessUnit::roi_meta |
New meta for rois provided.
Definition at line 245 of file includes/nvdspreprocess_interface.h.