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 camera get JPEG Vertical flip, color is changed #9

Closed
EeeeBin opened this issue Dec 28, 2018 · 2 comments
Closed

ov2640 camera get JPEG Vertical flip, color is changed #9

EeeeBin opened this issue Dec 28, 2018 · 2 comments

Comments

@EeeeBin
Copy link
Contributor

EeeeBin commented Dec 28, 2018

hello, used ov2640, i want flip image, call this code

sensor_t * s = esp_camera_sensor_get();
s->set_vflip(s, true);

when i get jpeg image, the color red is change to green, My red cup turned green :)
how to deal with......

@me-no-dev
Copy link
Member

currently we don't have a way to deal with it. OmniVision also did not provide us with information on how to deal with this. That is why it is not included in the example. Some sensors seem to flip fine, but most have this color switch.

@mosazahany
Copy link

replace blue and green in softwar

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

3 participants