Skip to content

Commit 30c7a00

Browse files
Update content/hardware/05.nicla/boards/nicla-vision/tutorials/getting-started/nicla vision getting started.md
Co-authored-by: Pablo Marquínez Ferrándiz <[email protected]>
1 parent 4311dcf commit 30c7a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/hardware/05.nicla/boards/nicla-vision/tutorials/getting-started/nicla vision getting started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ print("Done! Reset the camera to see the saved image.")
172172

173173
The camera that comes with the Nicla Vision supports RGB 565 images. That's why we use `sensor.set_pixformat(sensor.RGB565)`, enabling the camera to take an image with color. Then we need to set the resolution of the camera. Here we will use `sensor.set_framesize(sensor.QVGA)`.
174174

175-
Using `sensor.set_vflip` and `sensor.set_hmirror` will help us set the correct orientation of the image. If you hold the board with the USB cable facing down you want to call `sensor.set_vflip(True)`. The image will be mirrored, if you want the image to be displayed as you see it with your eyes, you want to call `sensor.set_hmirror(True)`.
175+
Using `sensor.set_vflip` and `sensor.set_hmirror` will help us set the correct orientation of the image. If you hold the board with the USB cable facing down you want to call `sensor.set_vflip(True)`. The image will be mirrored, if you want the image to be displayed as you see it from your prespective, you want to call `sensor.set_hmirror(True)`.
176176

177177
Running this script in OpenMV will show the image that the camera is currently capturing in the top right corner, inside the frame buffer. The on board red LED will be on for a couple of seconds, then the blue LED will turn on, this indicates when the picture is about to be taken. A message will be printed in the serial terminal when the image is taken.
178178

0 commit comments

Comments
 (0)