I have tried various ways to run yolov3 on Jetson Nano.
From the documentation it says the OpenCV compiled with GStreamer support…
So I was supposed I do not need to install opencv again and set the Gstreamer ON(I know that only opencv with python2 working).
With this explanation, Why I can not open the camera and it raises error?
So, I am updating here, in case it will help somebody or we figure out the reason.
I could get Yolov3 run on Jetson Nano, using openCV 3.4, and usb camera.
With the same configuration when I used the onboard camera and of course changing the script to get it run with onboard camera it raises error
(it could not open the webcam!....)
(for the record I have followed this Github project for both USB and onboard camera).
That would be great if someone can help figure out the onboard camera.
Previously, I had done the same with openCV4, but I could not get Yolov3 run with Opencv4. However, I did not try with the USB camera, It might have worked if I had checked it with USB camera.
Further, I did not delete the already available opencv3.2 in the jetpack.
For installing opencv 3.4 I followed this guy approach: https://jkjung-avt.github.io/opencv3-on-tx2/, however, I skept deleting the available opencv.
Also, I changed the CMAKE file to get FFmpeg On, and some other things.
Do you think it might be the reason I could not run Yolo using the onboard camera?
I can share my cmake part if you think it might help to find the reason.