Skip to content

Commit

Permalink
Fix --width --height type parsing on opencv script
Browse files Browse the repository at this point in the history
  • Loading branch information
apockill committed Dec 7, 2024
1 parent 8e7d697 commit 6f064ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lerobot/common/robot_devices/cameras/opencv.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,13 +494,13 @@ def __del__(self):
)
parser.add_argument(
"--width",
type=str,
type=int,
default=None,
help="Set the width for all cameras. If not provided, use the default width of each camera.",
)
parser.add_argument(
"--height",
type=str,
type=int,
default=None,
help="Set the height for all cameras. If not provided, use the default height of each camera.",
)
Expand Down

0 comments on commit 6f064ab

Please sign in to comment.