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.
1 parent 37ad6ad commit c0d75bdCopy full SHA for c0d75bd
programming/vision/index.md
@@ -53,7 +53,7 @@ from sr.robot3 import *
53
robot = Robot()
54
55
# `robot.usbkey` is the path to your USB drive
56
-robot.camera.save(robot.usbkey / "initial-view.png")
+robot.camera.save(robot.usbkey / "initial-view.jpg")
57
~~~~~
58
59
capture
@@ -87,7 +87,7 @@ frame = robot.camera.capture()
87
markers = robot.camera.see(frame=frame)
88
89
# Save the frame with marker annotation
90
-robot.camera.save(robot.usbkey / "photo.png", frame=frame)
+robot.camera.save(robot.usbkey / "photo.jpg", frame=frame)
91
92
# Do some other vision algorithm with the OpenCV frame here
93
0 commit comments