RED HAT
RED HAT
DIIDevHeads IoT Integration Server
Created by Enthernet Code on 7/2/2024 in #middleware-and-os
USB Webcam Not Working on Jetson Nano for OpenCV/TensorFlow Object Detection
whatsup @Enthernet Code , It seems like there’s an issue with the camera index or how the camera is being accessed. Make sure that /dev/video0 is the correct device for your USB webcam. You can list all video devices connected to your Jetson Nano using
ls /dev/video*
ls /dev/video*
This will show you all available video devices. If your webcam is not listed as /dev/video0, you might need to change the index in your cv2.VideoCapture(0) line to match the correct device.
10 replies