Holds the segmentation model output information for one frame / one object.
The "nvinfer" plugins adds this meta for segmentation models.
This meta data is added as NvDsUserMeta to the frame_user_meta_list of the corresponding frame_meta or object_user_meta_list of the corresponding object with the meta_type set to NVDSINFER_SEGMENTATION_META.
Definition at line 110 of file gstnvdsinfer.h.
Data Fields | |
| guint | classes |
| Number of classes in the segmentation output. More... | |
| guint | width |
| Width of the segmentation output class map. More... | |
| guint | height |
| Height of the segmentation output class map. More... | |
| gint * | class_map |
| Pointer to the array for 2D pixel class map. More... | |
| gfloat * | class_probabilities_map |
| Pointer to the raw array containing the probabilities. More... | |
| void * | priv_data |
| Private data used for the meta producer's internal memory management. More... | |
| gint | unique_id |
| Unique ID of the gst-nvinfer instance which attached this meta. More... | |
| gint* NvDsInferSegmentationMeta::class_map |
Pointer to the array for 2D pixel class map.
The output for pixel (x,y) will be at index (y * width + x).
Definition at line 120 of file gstnvdsinfer.h.
| gfloat* NvDsInferSegmentationMeta::class_probabilities_map |
Pointer to the raw array containing the probabilities.
The probability for class c and pixel (x,y) will be at index (c * width *height + y * width + x).
Definition at line 123 of file gstnvdsinfer.h.
| guint NvDsInferSegmentationMeta::classes |
Number of classes in the segmentation output.
Definition at line 113 of file gstnvdsinfer.h.
| guint NvDsInferSegmentationMeta::height |
Height of the segmentation output class map.
Definition at line 117 of file gstnvdsinfer.h.
| void* NvDsInferSegmentationMeta::priv_data |
Private data used for the meta producer's internal memory management.
Definition at line 125 of file gstnvdsinfer.h.
| gint NvDsInferSegmentationMeta::unique_id |
Unique ID of the gst-nvinfer instance which attached this meta.
Definition at line 127 of file gstnvdsinfer.h.
| guint NvDsInferSegmentationMeta::width |
Width of the segmentation output class map.
Definition at line 115 of file gstnvdsinfer.h.