Skip to content

Commit 222f5c5

Browse files
authored
Update content.md
frame.compressed() is not a method but frame.compress() is
1 parent 62eaa90 commit 222f5c5

File tree

1 file changed

+1
-1
lines changed
  • content/hardware/06.nicla/boards/nicla-vision/tutorials/live-streaming

1 file changed

+1
-1
lines changed

content/hardware/06.nicla/boards/nicla-vision/tutorials/live-streaming/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def start_streaming(s):
273273
while True:
274274
clock.tick() # Track elapsed milliseconds between snapshots().
275275
frame = sensor.snapshot()
276-
cframe = frame.compressed(quality=35)
276+
cframe = frame.compress(quality=35)
277277
header = (
278278
"\r\n--openmv\r\n"
279279
"Content-Type: image/jpeg\r\n"

0 commit comments

Comments
 (0)