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

feat: add SC031GS camera sensor support #452

Conversation

WangYuxin-esp
Copy link
Contributor

No description provided.

@@ -82,6 +85,7 @@ typedef enum {
FRAMESIZE_96X96, // 96x96
FRAMESIZE_QQVGA, // 160x120
FRAMESIZE_QCIF, // 176x144
FRAMESIZE_200X200, // 200x200
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we have this new frame size in a separate PR? Why is it needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A separate request has been made, PTAL, Thanks.
Only some projects must use this resolution, or do we have other methods to add a custom resolution? Some projects tend to use a custom resolution.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some "hacky" ways, but maybe we need to think of adding an option to do it. Adding to the list as-is could/will break some projects that expect that list to be static. Another option would be to have a call to get a list of available resolutions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe there will be some custom resolution requirements later, so if possible, please add a method to support this custom resolution.

@WangYuxin-esp WangYuxin-esp force-pushed the feature/add_sc031gs_camera_sensor_driver branch from 1406696 to 6630165 Compare September 26, 2022 03:41
@@ -82,8 +85,8 @@ typedef enum {
FRAMESIZE_96X96, // 96x96
FRAMESIZE_QQVGA, // 160x120
FRAMESIZE_QCIF, // 176x144
FRAMESIZE_200X200, // 200x200
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems you have one more place left here and somehow removed 240x240? Could you please fix this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error has been fixed.

@WangYuxin-esp WangYuxin-esp force-pushed the feature/add_sc031gs_camera_sensor_driver branch from 6630165 to 9d9e7d6 Compare September 26, 2022 08:34
@me-no-dev me-no-dev merged commit 108a330 into espressif:master Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants