HI,
I found this link: Lerobot Camera Backend Issues
and originally tried their solution with changing
self.videocapture = cv2.VideoCapture(self.index_or_path, self.backend)
to
self.videocapture = cv2.VideoCapture(self.index_or_path, cv2.CAP_V4L2)
which helped a tiny bit? some of the red errors were not there. I then undid that back to
self.videocapture = cv2.VideoCapture(self.index_or_path, self.backend)
I then tried downgrading my opencv to 4.12.0.88, and then ran the lerobot-find-cameras opencv command giving me the following output.
--- Detected Cameras ---
Camera #0:
Name: OpenCV Camera @ /dev/video0
Type: OpenCV
Id: /dev/video0
Backend api: V4L2
Default stream profile:
Format: 0.0
Fourcc: YUYV
Width: 640
Height: 480
Fps: 30.0
ERROR:lerobot.scripts.lerobot_find_cameras:Failed to connect or configure OpenCV camera /dev/video0: Timed out waiting for frame from camera OpenCVCamera(/dev/video0) after 1000 ms. Read thread alive: True.WARNING:lerobot.scripts.lerobot_find_cameras:No cameras could be connected. Aborting image save.