We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d36c50 + 8c53152 commit 9ae3d83Copy full SHA for 9ae3d83
examples/tree_demo/tree_demo.py
@@ -38,9 +38,10 @@
38
parser.add_argument("--image_quality", type=int, default=50)
39
parser.add_argument("--port", type=int, default=7860)
40
parser.add_argument("--host", type=str, default="0.0.0.0")
41
+ parser.add_argument("--camera", type=int, default=0)
42
args = parser.parse_args()
43
- CAMERA_DEVICE = 0
44
+ CAMERA_DEVICE = args.camera
45
IMAGE_QUALITY = args.image_quality
46
47
predictor = TreePredictor(
0 commit comments