logo

OV5640提高拍摄帧速率要怎么操作?

2021-06-10 16:52
0
w236

使用示例代码测量相机的拍摄帧速率,为什么无论设置拍摄分辨率为QQQVGA、QQVGA、QVGA、VQA,disable图像区后,打印出来的帧速率最高仅为46.6 fps。是不是达到了系统支持的最高帧速率,还是什么原因?

查OV5640手册:

QSXGA (2592x1944): 15 fps

1080p: 30 fps

1280x960: 45 fps

720p: 60 fps

VGA (640x480): 90 fps

QVGA (320x240): 120 fps

提高拍摄帧速率要怎么操作?

195ce76f-8129-41ad-b500-b54f8aa361d5.png
import sensor, image, time

sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QQQVGA)
sensor.skip_frames(time = 2000)

clock = time.clock()

while(True):
    clock.tick()
    img = sensor.snapshot()
    print(clock.fps())
2021-06-10 20:58
I
网红小智智 星瞳科技

ov5640芯片限制的,最高就是这样。

0
w236

OV5640用户手册里给出:

”QSXGA (2592x1944): 15 fps

1080p: 30 fps

1280x960: 45 fps

720p: 60 fps

VGA (640x480): 90 fps

QVGA (320x240): 120 fps”

没有提到限制啊?而且现在常用手机摄像头很容易就60、120fps啊,不应该是限制了。

2021-06-14 14:37
I
网红小智智 星瞳科技

@w236 https://book.openmv.cc/example/35-Readout-Control/100-fps-ir-led-tracking.html