Made script to save camera images instead of these funcitons existing in the camera driver classes.

This commit is contained in:
jess-moss
2024-09-20 14:53:15 -05:00
parent 5aa2a88280
commit be5336f9d3
4 changed files with 168 additions and 259 deletions

View File

@@ -544,7 +544,8 @@ To instantiate an [`OpenCVCamera`](../lerobot/common/robot_devices/cameras/openc
To find the camera indices, run the following utility script, which will save a few frames from each detected camera:
```bash
python lerobot/common/robot_devices/cameras/opencv.py \
python lerobot/scripts/save_images_from_cameras.py \
--driver opencv \
--images-dir outputs/images_from_opencv_cameras
```