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 accepts RGBA/NV12 PL/NV12 BL buffer when GPU process mode. It draws bounding boxes, 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. .. image:: /content/DS_plugin_gst-nvdsosd.png :align: center :alt: Gst-nvdsosd 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 * 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. .. csv-table:: Gst-nvsosd features :file: ../text/tables/Gst-nvdsosd tables/DS_Plugin_gst-nvdsosd_features.csv :widths: 30, 30, 30 :header-rows: 1 Gst Properties ---------------- The following table describes the Gst properties of the Gst-nvdsosd plugin. .. csv-table:: Gst-nvsosd gst properties :file: ../text/tables/Gst-nvdsosd tables/DS_Plugin_gst-nvdsosd_gst-properties.csv :widths: 20, 20, 20, 20 :header-rows: 1