Update `intelrealsense.py` to also parse `--height` and `--width` as `int`

This commit is contained in:
Alex Thiele 2024-12-08 16:43:08 -08:00
parent 6f064abc21
commit 897032a2b8
1 changed files with 2 additions and 2 deletions

View File

@ -535,13 +535,13 @@ if __name__ == "__main__":
)
parser.add_argument(
"--width",
type=str,
type=int,
default=640,
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=480,
help="Set the height for all cameras. If not provided, use the default height of each camera.",
)