I want to use NvDsBatchMeta to change the border_color for each class.
I couldn’t access it using the method below.
void
func (struct video_data *io_buffer, const char *in_meta, char **out_meta,
const char *options, NvDsBatchMeta *batch_meta)
{
double blue = batch_meta->display_meta_pool->rect_params->border_color.blue
/* NvDsBatchMeta→ NvDsDisplayMeta→ NvOSD_RectParams→ NvOSD_ColorParams→ double*/
...
This is because the type of display_meta_pool is not NvDsDisplayMeta, but NvDsMetaPool.
On the other hand, the API Reference says “A pool of pointers of type “NvDsDisplayMeta”.”
Please tell me how to access NvOSD_RectParams from NvDsBatchMeta
information
• Hardware Platform (Jetson / GPU): Jetson TX2
• DeepStream Version: DeepStream 4.0
• JetPack Version (valid for Jetson only): 4.3-b134
• TensorRT Version: 6.0.1.10-1+cuda10.0