Based on visual perception, dynamically implement ROI area of interest planning

Based on visual perception, dynamically realize the planning of ROI area of ​​interest
through nvdsanalytics
. Set the nvdsanalytics configuration file and set the configuration file to the dynamic modification position.

g_object_set (G_OBJECT (nvdsanalytics),
“config-file”, “config_nvdsanalytics.txt”,
NULL);

If the attributes are set continuously, the data in nvdsanalytics will be modified.
It should be noted that the nvdsanalytics object is placed at the front
. In actual testing, the ROI area can be dynamically modified when the configuration file is modified.
Reference link:
"Nvdsanalytics: dynamically change config file"
https://forums.developer.nvidia.com/t/nvdsanalytics-dynamically-change-config-file/153632

Guess you like

Origin blog.csdn.net/pvmsmfchcs/article/details/132739051