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

Camera Size err #45

Open
danielc007 opened this issue Aug 20, 2020 · 1 comment
Open

Camera Size err #45

danielc007 opened this issue Aug 20, 2020 · 1 comment

Comments

@danielc007
Copy link

I got the lastest code today, used the CMakeLists.txt from jungu009 mentioned in #42
I've done this in app_main.c as mentioned in Readme under the QR Recognition section:
#define CAMERA_PIXEL_FORMAT CAMERA_PF_GRAYSCALE
#define CAMERA_FRAME_SIZE CAMERA_FS_QVGA

and I changed
static ip4_addr_t s_ip_addr;
to
static esp_ip4_addr_t s_ip_addr;
in app_main.c to make it compile

"Enable test pattern on camera output" is enabled.

When I run and capture a QR code by hitting http://xxx.xxx..xxx.xxx/pgm, I get camera size err as below. The captured photo size is not beyond VGA size limit.

I (5841) camera_demo: Free heap: 134560
I (5841) camera_demo: Camera demo ready
I (20571) camera: Frame 0 done in 88 ms
I (20781) camera_demo: Free heap: 128940
I (20781) QR: Camera Size err

Anyone know how to solve this? I am using OV2640 on AI thinker board.
Thank you in advance.

@danielc007
Copy link
Author

Attached is a capture done at QVGA. I know the board and camera work normally if it's not on QVGA setting.

capture (17)

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

No branches or pull requests

1 participant