logo

openmv4h plus mt9v034相机,报RuntimeError:Sensor control failed.

2025-03-24 18:32
Y
mgfn

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 (128*160),QQVGA(160*120)

sensor.set_vflip(True)

sensor.set_hmirror(False)

sensor.set_transpose(True)

sensor.set_auto_exposure(False,exposure_us=EXPS)

‘’‘

’‘’