mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
7 lines
159 B
Python
7 lines
159 B
Python
from openmv import sensor, imlib
|
|
while (True):
|
|
image = sensor.snapshot()
|
|
r= imlib.detect_color(image, (340, 50, 50), 10)
|
|
imlib.draw_rectangle(image, r)
|
|
|