Gst-nvdsosd
This plugin draws bounding boxes, text, arrows, lines, circles and region of interest (RoI) polygons. (Polygons are presented as a set of lines.) The plugin accepts an RGBA buffer with attached metadata from the upstream component when CPU process mode. It can accept RGBA/NV12 PL/NV12 BL buffers when GPU process mode. It draws bounding boxes (including oriented bounding boxes, OBB), which may be shaded depending on the configuration (e.g. width, color, and opacity) of a given bounding box. It also draws text and RoI polygons at specified locations in the frame. Text and polygon parameters are configurable through metadata.

Inputs and Outputs
-
Inputs
- RGBA buffer for CPU process mode. RGBA/NV12 PL/NV12 BL buffer for GPU process mode.
- NvDsBatchMeta (holds NvDsFrameMeta consisting of bounding boxes, text parameters, and lines parameters)
- NvDsLineMeta (RoI polygon)
-
Control parameters
- gpu-id (dGPU only)
- display-clock
- display-text
- clock-font
- clock-font-size
- x-clock-offset
- y-clock-offset
- clock-color
- process-mode
- display-bbox
- display-mask
- blur-bbox
- blur-on-gie-class-ids
-
Output
- RGBA/NV12 PL/NV12 BL buffer modified in place to overlay bounding boxes, texts, and polygons represented in the metadata
Features
The following table summarizes the features of the plugin.
Gst-nvsosd features
Gst Properties
The following table describes the Gst properties of the Gst-nvdsosd plugin.
Gst-nvsosd gst properties