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

ov3660 FPS Performance Questions #2

Open
alorbach opened this issue Jan 6, 2021 · 0 comments
Open

ov3660 FPS Performance Questions #2

alorbach opened this issue Jan 6, 2021 · 0 comments

Comments

@alorbach
Copy link

alorbach commented Jan 6, 2021

I am not sure if this repo is the right one to ask these questions, but it would be great to get some answers or even solutions.
So I recently got this module from m5stack with an OV3660 sensor:
https://docs.m5stack.com/#/en/unit/timercam_x

According to the document here https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/unit/OV3660_CSP3_DS_1.3_sida.pdf
, the sensor can handle up to 120 FPS in 320x240 (FRAMESIZE_QVGA):
image

However in reality I barely reach 30 FPS in 160x120 (FRAMESIZE_QQVGA) and tripple buffering(fb_count = 3) - direct mjpeg streaming to a http client. With ov2640 sensor modules like this ( https://docs.m5stack.com/#/en/unit/timercam_f ), I easily reach 35-50 FPS with the same code (And only double buffering fb_count = 2).

I have xclk set to 20 MHZ for both modules, and to my understanding I should be at 50MHz SYSCLK and 10MHz PCLK:
https://github.com/espressif/esp32-camera/blob/0347377b67c2d16996ba6532202f22943018b962/sensors/ov3660.c#L362

Anything we can do to improve processing speed? For me, performance is most important, I need to process as most images as possible per second even with a low resolution like 160*120 which is ok for me. The image quality of the ov3660 is really great, also the whitebalance modes work far better as ov2640.

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