RuntimeError:Frame size is not supported or is not set 错误
-
openmv4H7 set_windowing后报错
import sensor, image, time from pyb import USB_VCP usb = USB_VCP() sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.VGA) sensor.skip_frames(time = 2000) sensor.set_windowing((134,243,113,110)) clock = time.clock() img = sensor.snapshot() while(True): clock.tick() img = sensor.snapshot()
请问这是什么问题
-
set_windowing,里面的尺寸,必须是16的倍数。