In runtime, we change the positions of the crop for the ROI by nvvidconv.
How to find out where the cropped video was made from, is there any metadata in which you can read the left, right, top and bottom? This is necessary to find the global coordinates of objects in the image.
May I know what’s the platform you’re using?
NVIDIA Jetson AGX Xavier Developer Kit
Moving to Jetson AGX Xavier forum for better support.
There is no existing implementation of this. You would need to make customization to nvvidconv. There is sample code of adding metadata to each gstbuffer in nvarguscamerasrc plugin. Please refer to it and apply to nvvidconv plugin.