How to use the TRT model with video and webcam

I have a yolo model that I trained to use with Jetson nano. I converted this model first to onnx format and then to trt model. How can I use this trt model with a video or webcam?


This looks like a Jetson issue. Please refer to the below samples in case useful.

For any further assistance, we will move this post to to Jetson related forum.