Hello,
I am trying to access a C270 USB Camera from my Nano 4GB. I have cloned the Github repo for jetcam, but when i try to access the modules I get this error.
Currently I’m just trying to do this from the terminal:
$ cd jetcam
$ python3
from jetcam.usb_camera import USBCamera
Other people have faced similar issues from other libraries like numpy, but it seemed to be an issue from the library?
How can I work around this one? Are there other ways I should try to get my camera feed for real-time inference?
Thank you. That helped me proceed, but now I have a problem where the camera won’t initialize:
Traceback (most recent call last):
File “/usr/local/lib/python3.6/dist-packages/jetcam-0.0.0-py3.6.egg/jetcam/usb_camera.py”, line 24, in init
RuntimeError: Could not read image from camera.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python3.6/dist-packages/jetcam-0.0.0-py3.6.egg/jetcam/usb_camera.py”, line 28, in init
RuntimeError: Could not initialize camera. Please see error trace.
Seems to be an issue with the usb_camer.py file.
Also you recommend a different library or way I can run a camera frm my nano for real-time inference from a py script?