from openmv import sensor, imlib sensor.set_pixformat(sensor.RGB565) while (True): image = sensor.snapshot()