YOLOv5 Repo on Xavier?

v5 is pytorch, so no, I did not convert. I have not done much related to the network, and i’ve not done any training, yet. I’m trying to use the output of the detector to perform a useful security task.
My frame rate in docker for 640x480 RTP video is about 10 hz on 10W power, and dumping annotated images to ssd. But I can run a separate stream also around the same rate, and I watch the GPU work interleaving nicely.

Just an aside - if this is using PyTorch, I think this issue is unrelated to TensorRT. There is a PyTorch issue with multi-threaded destruction of resources that causes a segfault when exiting:

ty

is there any difference between installing opencv from source or using pip3 install python3-opencv?
Does opencv from source support cuda? if is so we get higher framerate compared to pip3 install python3-opencv?

Hi russ.ferriday
I could test it in jetson nano on a offline video. thank you so much.
But how can I test it in live stream with a camera connected to jetson?
python detec.py --source 0 does work in windows no jetson.what should I change?

If you are using an IP camera your command line might include
…–source rtsp://

I tried the below.

But I found this error “Segmentation fault (core dumped)” when I tried detect.py in the container.

I’m using Jetson Xavier NX.
Please kindly let me know how to solve.