NvDsDisplayMetaΒΆ

struct NvDsDisplayMeta

Holds display metadata that the user can specify in the frame.

Public Members

guint num_rects

Holds the number of rectangles described.

guint num_labels

Holds the number of labels (strings) described.

guint num_lines

Holds the number of lines described.

guint num_arrows

Holds the number of arrows described.

guint num_circles

Holds the number of circles described.

NvOSD_RectParams rect_params[MAX_ELEMENTS_IN_DISPLAY_META]

Holds an array of positional parameters for rectangles.

Used to overlay borders or semi-transparent rectangles, as required by the application.

See

NvOSD_RectParams.

NvOSD_TextParams text_params[MAX_ELEMENTS_IN_DISPLAY_META]

Holds an array of text parameters for user-defined strings that can be overlayed using this structure.

See

NvOSD_TextParams.

NvOSD_LineParams line_params[MAX_ELEMENTS_IN_DISPLAY_META]

Holds an array of line parameters that the user can use to draw polygons in the frame, e.g.

to show a RoI in the frame.

See

NvOSD_LineParams.

NvOSD_ArrowParams arrow_params[MAX_ELEMENTS_IN_DISPLAY_META]

Holds an array of arrow parameters that the user can use to draw arrows in the frame.

See

NvOSD_ArrowParams

NvOSD_CircleParams circle_params[MAX_ELEMENTS_IN_DISPLAY_META]

Holds an array of circle parameters that the user can use to draw circles in the frame.

See

NvOSD_CircleParams

gint64 misc_osd_data[MAX_USER_FIELDS]

Holds an array of user-defined OSD metadata.

gint64 reserved[MAX_RESERVED_FIELDS]

For internal use.