openmv/usr/examples/blit_image.py
2014-10-21 16:32:52 +02:00

6 lines
129 B
Python

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