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 9d3786d + 8c27114 commit ad37f58Copy full SHA for ad37f58
src/openmv/cli.py
@@ -115,6 +115,11 @@ def main():
115
parser.add_argument('--bench',
116
action='store_true', default=False,
117
help='Run throughput benchmark')
118
+
119
+ parser.add_argument('--raw',
120
+ action='store_true', default=False,
121
+ help='Enable raw streaming mode')
122
123
parser.add_argument('--timeout',
124
action='store', type=float, default=1.0,
125
help='Protocol timeout in seconds')
@@ -241,7 +246,7 @@ def main():
241
246
242
247
# Execute script
243
248
camera.exec(script)
244
- camera.streaming(True, raw=False, resolution=(512, 512))
249
+ camera.streaming(True, raw=args.raw, resolution=(512, 512))
245
250
logging.info("Script executed, starting display...")
251
252
while True:
0 commit comments