espressif / esp32-camera

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ov2640 camera get JPEG Vertical flip, color is changed

EeeeBin opened this issue · comments

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......

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.