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

esp32-cam module how fast of jpeg compression #521

Closed
xubo92 opened this issue Mar 25, 2023 · 1 comment
Closed

esp32-cam module how fast of jpeg compression #521

xubo92 opened this issue Mar 25, 2023 · 1 comment

Comments

@xubo92
Copy link

xubo92 commented Mar 25, 2023

@me-no-dev @WangYuxin-esp

I've been testing JPEG encoding recently and I've noticed that the frame2jpg() function takes a bit longer than I expected. In QVGA/RGB565 mode using an OV2640 camera, it takes around 125ms to compress an image. In QVGA/GRAYSCALE mode, it takes about 46ms, and in QVGA/YUV422 mode, it takes 158ms. I'm wondering if these speeds are slower than usual (from this topic: #510). and if there are any ways to optimize the process. Currently, I'm using the default SDK configuration found here: https://github.com/espressif/esp-iot-solution/blob/master/examples/camera/pic_server/sdkconfig.defaults#L3.

Note I use an ESP32-CAM (ESP32-S) module, and run under 240MHz clock speed.

Thank you!

the main code is:
image
image

@github-actions
Copy link

This issue appears to be stale. Please close it if its no longer valid.

JojoS62 pushed a commit to JojoS62/esp32-camera that referenced this issue Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant