Closed dondiego4697 closed 7 months ago
Configuration of camera
camera sensor OV5640
the highest resolution and quality
// FRAMESIZE_QSXGA - 2560x1920 config.frame_size = FRAMESIZE_QSXGA; config.jpeg_quality = 0; config.fb_count = 1;
Problem
If camera get photo and size of it > 1 mb, FB = esp_camera_fb_get() call crashed
FB = esp_camera_fb_get()
On esp32 has about 2 free mb esp_get_free_heap_size()
esp_get_free_heap_size()
Hardcode: https://github.com/espressif/esp32-camera/blob/dba8da9898928d9808d57a0b0cdcde9f130ed8fe/driver/cam_hal.c#L376
I have exactly the same issue 😕
Most related problem: https://giter.club/espressif/esp32-camera/issues/514
This issue appears to be stale. Please close it if its no longer valid.
Configuration of camera
camera sensor OV5640
the highest resolution and quality
Problem
If camera get photo and size of it > 1 mb,
FB = esp_camera_fb_get()
call crashedOn esp32 has about 2 free mb
esp_get_free_heap_size()
Hardcode: https://github.com/espressif/esp32-camera/blob/dba8da9898928d9808d57a0b0cdcde9f130ed8fe/driver/cam_hal.c#L376