shariltumin / esp32-cam-micropython-2022

MicroPython esp32-cam firmware with camera support compiled with esp-idf-4.4.0. Python script files for live streaming
MIT License
174 stars 33 forks source link

Changing camera settings does not work properly. #9

Closed davefes closed 1 year ago

davefes commented 1 year ago

Decide to go back to the example in the READ,me and play with the camera settings.

With the default conditions in the firmware I get a greenish image but it otherwise looks good.

Making camera.speffect(2) gives a b/w good image. But changing some more settings, as noted on the code snippet, gives a bar at the top.

Still seems there is a problem in making settings, ie having them take effect at the start of the capture, etc.

davefes commented 1 year ago

By testing the board with an Arduino sketch I have come to the conclusion that somewhere during the process the ESP32-CAM board itself got damaged.

One observation using the Arduino sketch was that the faulty ESP32-CAM would take multiple 0 byte pictures before getting a full-size picture. However, the resultant picture would made up of several different partial images. This was similar to the problems I was seeing with your firmware.

On a new ESP32-CAM the your latest firmware version does produce a correct image. On the Arduino sketch there are still several 0 byte captures before the real picture. This seems normal behaviour.

Sorry about all the fuss.