mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
4 lines
121 B
Python
4 lines
121 B
Python
import sensor, time
|
|
sensor.set_pixformat(sensor.GRAYSCALE)
|
|
sensor.snapshot().save("0:/test.ppm", subimage=(0, 0, 10,10))
|