问题图:
方法1:
Please add -t, --tiledtext // Display Bounding box labels in tiled mode
to your commands.
./deepstream-test5-app -c configs/test5_config_file_src_infer.txt -p 0 --tiledtext
./deepstream-test5-app -c configs/test5_config_file_src_infer.txt -p 0 -t
./deepstream-test5-app -c configs/test5_config_file_src_infer.txt -p 0 -t --tiledtext
方法2:
Please add below change to test5 sample
sources/apps/sample_apps/deepstream-test5/deepstream_test5_app_main.c
and run with option -t added.
in main function, around 1514 line, just add with + mark line.
+if(!show_bbox_text)
{
GstElement *nvosd = appCtx[0]->pipeline.instance_bins[0].osd_bin.nvosd;
g_object_set (G_OBJECT (nvosd), “display-text”, FALSE, NULL);
}
学习链接:https://forums.developer.nvidia.com/t/no-text-labels-of-bboxes-displayed-with-osd-for-deepstream-test5/124476/9