mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
10 lines
155 B
Python
10 lines
155 B
Python
import sensor, imlib, time
|
|
clock = time.clock()
|
|
while (True):
|
|
clock.tick()
|
|
|
|
# take snapshot
|
|
image = sensor.snapshot()
|
|
|
|
print (clock.fps())
|