NvDsInferSegmentationOutput¶
-
struct
NvDsInferSegmentationOutput Holds information parsed from segmentation network output for one frame.
Public Members
-
unsigned int
width¶ Holds the width of the output.
Same as network width.
-
unsigned int
height¶ Holds the height of the output.
Same as network height.
-
unsigned int
classes¶ Holds the number of classes supported by the network.
-
int *
class_map¶ Holds a pointer to an array for the 2D pixel class map.
The output for pixel (x,y) is at index (y*width+x).
-
float *
class_probability_map¶ Holds a pointer to an array containing raw probabilities.
The probability for class c and pixel (x,y) is at index (c*width*height + y*width+x).
-
unsigned int