Hello everybody,
First time using Linux and I may missing something super simple, this is my issue:
I am trying to follow Jetson AI fundamentals tutorial, in headless mode, trying to use “hello camera” via the container, after getting the first execute fine:
crw-rw---- 1 root video 81, 0 Apr 13 13:45 /dev/video0
I get the following error:
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/jetcam-0.0.0-py3.6.egg/jetcam/usb_camera.py in __init__(self, *args, **kwargs)
23 if not re:
---> 24 raise RuntimeError('Could not read image from camera.')
25
RuntimeError: Could not read image from camera.
During handling of the above exception, another exception occurred:
RuntimeError Traceback (most recent call last)
<ipython-input-3-5a6744da9a88> in <module>
2
3 #TODO change capture_device if incorrect for your system
----> 4 camera = USBCamera(width=224, height=224, capture_width=640, capture_height=480, capture_device=0)
/usr/local/lib/python3.6/dist-packages/jetcam-0.0.0-py3.6.egg/jetcam/usb_camera.py in __init__(self, *args, **kwargs)
26 except:
27 raise RuntimeError(
---> 28 'Could not initialize camera. Please see error trace.')
29
30 atexit.register(self.cap.release)
RuntimeError: Could not initialize camera. Please see error trace.
Looks like the program cannot start the camera but meanwhile sees that something connected to the USB (video0).
I’m successfully started the camera and captured some pics directly on Jetson using:
nvgstcapture-1.0 --orientation 2 --camsrc=0 --cap-dev-node=/dev/video0
However, also received the following output:
Encoder null, cannot set bitrate!
Encoder Profile = High
/dev/video/dev/video0 does not exist
My camera is an USB camera with 1/2.7" CMOS OV2710 processor, I did not see this type of image processor on Jetson Partner Supported Cameras, however it looks like people do use this processor with the Jetson Nano (via MIPI CSI connection).
Can I still use this camera with my Jetson Nano or the problem most likely is that my camera is not within the “Jetson Partner Supported Cameras” ?
Thanx!