openmv/usr/examples/blit_image.py
2014-04-04 21:08:33 +02:00

6 lines
129 B
Python

import sensor, time
sensor.set_pixformat(sensor.GRAYSCALE)
fb = sensor.snapshot()
img = Image("minion.pgm")
fb.blit((0, 0), img)