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

OV2640 JPEG Blue and Red swapped #447

Closed
y3nd opened this issue Sep 2, 2022 · 4 comments
Closed

OV2640 JPEG Blue and Red swapped #447

y3nd opened this issue Sep 2, 2022 · 4 comments

Comments

@y3nd
Copy link

y3nd commented Sep 2, 2022

Hello,

We have an issue with some OV2640 sensors where the JPEG image produced by the camera in SVGA mode has always the blue and red channels swapped : red objects are completly blue and blue objects are completly red... The JPEG file does not seem corrupted.
The green channel is the same.

This problem does not occur in CIF or UXGA modes

@WangYuxin-esp
Copy link
Contributor

Hi, this error is most likely a problem with the sensor itself. Because the JPEG data is completely generated by the sensor itself, the ESP32 just receives the data. I suggest you replace the sensor and test it again using the example here.

@github-actions
Copy link

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

@y3nd
Copy link
Author

y3nd commented Nov 25, 2022

This was due to an invalid window setting

@y3nd y3nd closed this as completed Nov 25, 2022
@Systanet
Copy link

Systanet commented Feb 16, 2024

I've got exactly the same blue/red swap issue using espressive/esp32 OV2640 library and the set_window function from UXGA to 800 x 600. Please could you share a little more detail on your 'invalid window setting' fix?

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

3 participants