sensor的framesize设置为WQXGA2报错

Viewed 13

使用默认套件中的OV5647摄像头(CSI0接口)采集图片,代码中设置sensor的framesize为WQXGA2(2592*1944)时报错,提示width应该在64—1920范围内。API手册中OV5647是支持这个分辨率的,问题具体出在哪?

1 Answers

你好,这个需要在构造Sensor对象的时候,选择2592x1944,即sensor = Sensor(id = 0, width = 2592, height = 1944)