I am seeing a large latency between the camera and HDMI output (as well as USB output to robotics controller). When I say large I looks to be 250ms for USB and about 225ms using a TX2 onboard camera (on the Xavier). I am getting 40fps with the webcam and about 30 with the TX2 camera.
I am using this https://github.com/naisy/realtime_object_detection
Any ideas on how to reduce this?