Add Detection ROIs:
This python script (/IEdgeInsights/EdgeVideoAnalyticsMicroservice/user_scripts/gvapython/detection/add_roi.py
) adds ROIs to video frame.
It is expected to be used after udfloader
element in a object
detection pipeline and along with gvatrack
for object tracking for
UDFs. Standalone usage of this script is NOT recommended. For more
details on the usage, refer to this
doc
Specific metadata format is expected out of UDF for regions to be added
to video frame which has to be Intel Edge Data Collection microservice compatible and the bounding box
coordinates in the form x1, y1, x2, y2 (top, left, bottom, right). Refer to Geti UDF: /IEdgeInsights/EdgeVideoAnalyticsMicroservice/user_scripts/udfs/python/geti_udf/geti_udf.py
for more details on the format.