I am able to SSH into jetson nano orin board. Also completed the Headless setup and was able to log into the JupyterLab server.
Running into issue when trying to execute the following block of code in “csi_camera.ipynb”:
from jetcam.csi_camera import CSICamera
camera = CSICamera(width=224, height=224, capture_device=0) # confirm the capture_device number
RuntimeError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/jetcam-0.0.0-py3.6.egg/jetcam/csi_camera.py in init(self, *args, **kwargs)
23 if not re:
—> 24 raise RuntimeError(‘Could not read image from camera.’)
25 except:
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 camera = CSICamera(width=224, height=224, capture_device=0) # confirm the capture_device number
----> 4 camera = CSICamera(width=3200, height=2464, capture_device=0) # confirm the capture_device number
/usr/local/lib/python3.6/dist-packages/jetcam-0.0.0-py3.6.egg/jetcam/csi_camera.py in init(self, *args, **kwargs)
25 except:
26 raise RuntimeError(
—> 27 ‘Could not initialize camera. Please see error trace.’)
28
29 atexit.register(self.cap.release)
RuntimeError: Could not initialize camera. Please see error trace.
I tried this tutorial https://www.youtube.com/watch?v=EuRXAUU61yM and was able to get the camera working using jetsonhacks code in their repository
I have a CSI Raspberry Pi v2 camera.
Appreciate any help you can give me with this. Thanks