jetcam icon indicating copy to clipboard operation
jetcam copied to clipboard

Jetbot Camera Not Working- RuntimeError: Could not initialize camera. Please see error trace.

Open niiita opened this issue 2 years ago • 2 comments

Hello, For some reason I can't get my camera to work again. For context, I tried to use a custom dataset from roboflow but then my kernel kept dying after installing roboflow. I reconfigured the right numpy and edited my .bashrc as I saw in NVIDIA's forum. But now the camera wont initialize. I know it works because it used to work before. I also am able to save a short video with it and able to call it in the terminal. But whenever I try to run a cell in Jupyter that requires the camera, it fails. I've tried restarting the camera too. But no luck :( Any help would be appreciated!

niiita avatar Mar 12 '22 22:03 niiita

I think you ran it on the default Jetpack without installing anything. In the tutorial on Course Nvidia runs it through its own Docker image. You can try to install JetCard and then run it again. I'm having the same problem but it could be that the default Jetpack environment can't run Jetcam and something more needs to be installed. I tried running some other similar CSI Camera code for Python with OpenCV. It is quite similar to the source code in JetCam. However, sometimes it is not possible to run stably.

thanhhoangvan avatar Mar 26 '22 12:03 thanhhoangvan

解决了吗

lanhong123 avatar Nov 23 '23 08:11 lanhong123