We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 087580d commit eb7cd0fCopy full SHA for eb7cd0f
content/hardware/06.nicla/boards/nicla-vision/tutorials/live-streaming/content.md
@@ -148,7 +148,7 @@ def start_streaming(s):
148
while True:
149
clock.tick() # Track elapsed milliseconds between snapshots().
150
frame = sensor.snapshot()
151
- cframe = frame.compressed(quality=35)
+ cframe = frame.to_jpeg(quality=35, copy=True)
152
header = (
153
"\r\n--openmv\r\n"
154
"Content-Type: image/jpeg\r\n"
@@ -273,7 +273,7 @@ def start_streaming(s):
273
274
275
276
277
278
279
0 commit comments