dualvim / BasicESP32-CAM

6 stars 1 forks source link

How turn off flash light? #1

Open DKxNK opened 6 months ago

DKxNK commented 6 months ago

How turn off esp32 led light? because If i captured close images it will green color. and also, I'm trying to send those images to firebase. If u can give suggestions. it will great Thankyou

dualvim commented 6 months ago

Hi, Unfortunately, I never used FireBase... About the green correction, I don't remember right now how you can do this. Maybe later I try to find a solution. So far, I don't have any.

DKxNK commented 6 months ago

Thank you replying. no worriers I will try that. Do u have any idea how to turn off the light in esp32 board when it's on while taking photos. that's the reason for green correction, i think. Some of image's are clear.

dualvim commented 6 months ago

As I remember, you turn the lights on controlling the GPIO4 (in Ai-Thinker ESP32-CAM). So, look for the point where the code turns the lights on and change to off.

DKxNK commented 6 months ago

actually its not turning off. I tried many ways. rth function handle using lib. Anyways i manage it