A problem about draw region


I need draw a custom region on screen like segmentation.

How do I draw a closed region in deepstream-4.0?


There are 2 things recommended for you to do:

  1. Upgrade DeepStream from 4.0 to 5.0
  2. To draw polygons, you can specify values in NvOSD_LineParams in NvDsBatchMeta for plugin NvDsOSD. Go to this link for more detailed information: https://docs.nvidia.com/metropolis/deepstream/plugin-manual/index.html#page/DeepStream%20Plugins%20Development%20Guide/deepstream_plugin_details.html#wwpID0E0WV0HA