Change bbox color according to source id

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - Jetson TX2
• DeepStream Version - 5.0

How do I change bbox color as per the source id in deepstream_app_test5. I want to have different colors for each streams


DeepStream does not directly support color setting for different source id.
However, source_id can be found in metadata and you can develop your own customization of pipeline by using it.

You can go into to have a look at definitions _NvDsBatchMeta, _NvDsFrameMeta and _NvDsObjectMeta

List of _NvDsFrameMeta is member of _NvDsBatchMeta.
List of _NvDsObjectMeta is member of _NvDsFrameMeta.

_NvDsObjectMeta represents bounding boxes and you can find source_id in _NvDsFrameMeta.