logo

关于摄像头初始化启动的稳定时间预判

2018-10-26 14:11
7
q1pb
time_start = pyb.millis()#耗时时间    
sensor.reset()                      # Reset and initialize the sensor.
sensor.set_pixformat(sensor.GRAYSCALE) # Set pixel format to RGB565 (or GRAYSCALE)
sensor.set_framesize(sensor.QVGA)   # Set frame size to QVGA (320x240)
clock = time.clock()                # Create a clock object to track the FPS.
duration = pyb.elapsed_millis(time_start)
print(" Time: %d ms" % duration)  


#摄像头初始化代码消耗的时间大约64ms,但镜头画面稳定还需一段时间,请问关于摄像头初始化启动到画面稳定的时间有官方推荐的时长吗
I
网红小智智 星瞳科技

看hello world,

skip_frames()里面是2s

7
q1pb

@kidswong999 非常感谢 辛苦您了