ESP32_CAMERA_QR icon indicating copy to clipboard operation
ESP32_CAMERA_QR copied to clipboard

Camera Size err

Open danielc007 opened this issue 5 years ago • 1 comments

I got the lastest code today, used the CMakeLists.txt from jungu009 mentioned in https://github.com/donny681/ESP32_CAMERA_QR/issues/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 avatar Aug 20 '20 15:08 danielc007

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

capture (17)

danielc007 avatar Aug 27 '20 10:08 danielc007