Hi Wilhelm,
I got this one today
https://www.amazon.com/gp/product/B07YHRFGN9/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
I tested it and found that I am getting both videos from CSI and Go-Pro
code: !ls -ltrh /dev/video*
Output:
crw-rw----+ 1 root video 81, 0 Feb 3 20:35 /dev/video0
crw-rw----+ 1 root video 81, 3 Feb 3 20:36 /dev/video1
However, I am unable to see the video / live feed from the Go-Pro. Below is the code from the Nvidia Deep learning course.
Code:
from jetcam.usb_camera import USBCamera
#TODO change capture_device if incorrect for your system
camera = USBCamera(width=224, height=224, capture_width=640, capture_height=480, capture_device=1)
ERROR Output:
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)
in
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.
Do you know any solution to this? Or even a workaround to see the live feed that is coming from the camera?
Best,
Vasu