openmv/usr/examples/fb_viewer.py
2014-04-10 15:45:04 +02:00

5 lines
92 B
Python

import sensor
sensor.set_pixformat(sensor.RGB565)
while (True):
image = sensor.snapshot()