Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ov2640传感器无法获取raw格式图像信息 #497

Closed
Zhangzhicheng001 opened this issue Jan 18, 2023 · 2 comments
Closed

ov2640传感器无法获取raw格式图像信息 #497

Zhangzhicheng001 opened this issue Jan 18, 2023 · 2 comments

Comments

@Zhangzhicheng001
Copy link

README.md中显示ov2640传感器支持8/10-bit Raw RGB data,但是在例程中,我发现该传感器只支持以下图像格式:

  1. PIXFORMAT_RGB565
  2. PIXFORMAT_RGB888
  3. PIXFORMAT_YUV422
  4. PIXFORMAT_GRAYSCALE
  5. PIXFORMAT_JPEG

该信息我是从ov2640.c文件中的static int set_pixformat(sensor_t *sensor, pixformat_t pixformat)函数中看到的。
如果我直接设置ov2640相机的CAMERA_PIXEL_FORMAT参数为PIXFORMAT_RAW会报错。
请问我该如何解决这个问题呢?
用ov2640摄像机获取raw格式图像,我需要用raw格式图像做深度学习推理。

@Zhangzhicheng001
Copy link
Author

当强制设置ov2640传感器采集 RAW rgb图像时,会爆出下列错误。
E (1195) esp32 ll_cam: Requested format is not supported

@github-actions
Copy link

This issue appears to be stale. Please close it if its no longer valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant