NvDsInferSegmentationMeta¶
-
struct
NvDsInferSegmentationMeta
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.
Public Members
-
guint
classes
Number of classes in the segmentation output.
-
guint
width
Width of the segmentation output class map.
-
guint
height
Height of the segmentation output class map.
-
gint *
class_map
Pointer to the array for 2D pixel class map.
The output for pixel (x,y) will be at index (y * width + x).
-
gfloat *
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).
-
void *
priv_data
Private data used for the meta producer’s internal memory management.
-
guint