openmv4h plus mt9v034相机,报RuntimeError:Sensor control failed.
-
openmv4h plus mt9v034相机,上电启动有时候会报RuntimeError:Sensor control failed.
sensor.reset() # Reset and initialize the sensor.
sensor.set_pixformat(sensor.GRAYSCALE) # Set pixel format to RGB565 (or GRAYSCALE),BAYER
sensor.set_framesize(sensor.QQVGA) # Set frame size to QVGA (320x240),QQVGA2 (128160),QQVGA(160120)
sensor.set_vflip(True)
sensor.set_hmirror(False)
sensor.set_transpose(True)
sensor.set_auto_exposure(False,exposure_us=EXPS)
‘’‘’‘’