Skip to content

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

Closed

Description

@HeyEthanZ

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格式图像做深度学习推理。

Activity

  1. HeyEthanZ commented on Jan 18, 2023

    @HeyEthanZ
    Author

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

  2. github-actions commented on Mar 19, 2023

    @github-actions

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions