-
Notifications
You must be signed in to change notification settings - Fork 622
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
setting frame size to 96*96 failed #436
Comments
Maybe the current camera driver does not allow this size to be configured. |
I am using default camera sensor which is OV2640. |
I ran into similar. I think the root of the problem is that the PIXFORMAT_JPEG doesn't allocate enough space in some circumstances. Changing this line from Another option is possibly to increase your quality value into the 14+ range. I'm haven't played with JPEGs enough to know a better estimate of space right off, but it might be something to look into. |
This issue appears to be stale. Please close it if its no longer valid. |
I can't get it to work reliably, sometimes it works even for a while, sometimes it stops working randomly... I tried:
It always fails with |
I'm currently testing with 96x96 with forced minimal size of The lower quality (so, higher Q number), the more issues there are for some odd reason, only for 96x96. |
I am using ESP32_CAM and ESP_IDF v4.4.1, there is no problem,except when I set frame size to 96*96 error below shows up and other frame sizes are just fine.
`W (28923) cam_hal: NO-EOI
W (28955) cam_hal: FB-OVF
W (28955) cam_hal: NO-EOI
W (28995) cam_hal: FB-OVF
W (28995) cam_hal: NO-EOI
W (29035) cam_hal: FB-OVF
W (29035) cam_hal: NO-EOI
...
W (32923) cam_hal: Failed to get the frame on time!
E (44423) camera: Camera capture failed
`
how can i fix this?
regards,
The text was updated successfully, but these errors were encountered: