-
Notifications
You must be signed in to change notification settings - Fork 621
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 photos with green/blue dark tint #383
Comments
Please confirm whether the abnormal photos are the first two photos after the camera is initialized. |
Yes, it is first, and I have changed to use second or third, it is not green but looks like purple now. |
The camera sensor is fully responsible for capturing and processing images, and esp32 device only passively receives data for now. In other words, esp32 is only responsible for initializing the sensor and then receiving data from the sensor. Therefore, I suggest checking the relevant configuration of the sensor: |
I would suggest to just skip the first 10-ish frames so that AWB and all get's calibrated. As @WangYuxin-esp said. This is coming from the sensor itself. More than AWB, you also have AGC, Lens Correction and more enabled in the sensor. |
thanks, what can I do for "Maybe you can try using the ISP function of the sensor to get normal photos." |
I have skipped 11 frames and between each frames, it waits for 100ms, but the pic is still purple. |
I have a similar issue, When I follow this tutorial my images turn out with a green tint: When I use the esp32 cam web server example, my images look perfect |
This issue appears to be stale. Please close it if its no longer valid. |
If anyone is still struggling with this, if you disable all of the auto functions except lenc, and set the sensor settings after initialisation to white balance mode 3 or 4, it should get rid of the green tint. The sensor initialises with AGC and AWB enabled so you need to disable them and fix the white balance before taking a picture. Refreshing the image right after initialisation also helps. |
Hello,
I am using idf4.3.2, esp32s2-wrover and ov2640, and when I take a pic of sun, the photo looks green in background
.
The text was updated successfully, but these errors were encountered: