系统显示timed out怎么解决?
-
下面是代码 import sensor, image, time threshold=[(25, 53, 40, 127, 7, 127), #red (39, 74, -55, 23, -67, -28)] #blue ROI=(0,0,50,50) sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.skip_frames(time = 2000) sensor.set_auto_gain(False) sensor.set_auto_whitebal(False) clock = time.clock() while(True): clock.tick() img = sensor.snapshot() for box in img.find_blobs(threshold,merge=True,invert=False,area_threshold=700,margin=30): img.draw_rectangle(box.rect()) img.draw_cross(box.cx(),box.cy())
-
我固件和ide换了新版本就没事了