Capture GRAYSCALE image with ESP32 Cam For one of my projects, I would like to transfer a camera image with the best possible resolution and as many FPS as possible with the ESP32Cam.
For this I successfully used the code from
https://RandomNerdTutorials.com/esp32-cam-video-streaming-web-server-camera-home-assistant/
A grayscale image would be enough for further processing, if it allows a higher speed.
Problem is, if I set the format to PIXFORMAT_GRAYSCALE, the ESP only outputs &quot;Camera capture failed&quot;.
Are there any other settings to do?
I just tried this with my ESP32Cam with no problems.  I would check that you are supplying enough power; I've definitely seen the 'Camera capture failed' when I had power issues.  Also, I would try a more recent tutorial on the ESP32Cam; the latest Expressif ESP32 Arduino libraries have AI Thinker ESP32Cam as a device choice.  I would try the CameraWebServer example in the ESP32 library and see if you still have the problem.