I managed to source Arducam IMX 219 on Jetson Nano 4GB. Unfortunately, the detect.py file in YOLOv5 runs for a split second and terminates thereafter.
Here is the command I used, to run the detect.py script:
python3 detect.py --source 0 --weights best.pt
I changed the frames-per-second in the detection file to a value that corresponds to the FPS of the camera.
However, I am getting a green screen instead of the live feed in the output. To eliminate the possibility of any hardware issues, I ran a command to check if the camera was working. There were no issues with the camera.
However, I get an error when I try to source the same with the detect.py file.
I tried to source camera using three different commands and ended up with the following errors: