Change lines 71 and 72 in the CameraWebServer.ino sketch file from this:
config.pixel_format = PIXFORMAT_JPEG; // for streaming
//config.pixel_format = PIXFORMAT_RGB565; // for face detection/recognition
to this:
//config.pixel_format = PIXFORMAT_JPEG; // for streaming
config.pixel_format = PIXFORMAT_RGB565; // for face detection/recognition
Upload the updated sketch to your ESP32-CAM board, as you did before.
Now try using the web page of the ESP32-CAM board, the same as in my previous instructions. Hopefully this time the "JPEG format is not supported on this sensor" error will not occur and the camera will work as expected.
I'll provide instructions you can follow to do that:
Select Tools > Auto Format from the Arduino IDE menus. ⓘ This is done to make the code easier for us to read.
Select Edit > Copy for Forum from the Arduino IDE menus.
In a forum reply here, click on the post composer field.
Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the sketch to the post composer.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Repeat the above process if your sketch has multiple tabs.
Click the "Reply" button to post your reply.
When your code requires a library that's not included with the Arduino IDE please post a link to where you downloaded that library from, or if you installed it using Library Manager (Sketch > Include Library > Manage Libraries... in Arduino IDE) then say so and state the full name of the library.
Interesting. I use to get a 105 error, now it is a 106 error.
I am using the ESP32-Cam with OV2640 Camera.
I am using the same sketch with only the WiFi changed to mine.
Last night the device was working. On a browser, i could see what the camera was pointed at. This morning, it quit working again, but with the 106 error.
12:01:21.778 -> E (687) camera: Detected camera not supported.
12:01:21.778 -> E (687) camera: Camera probe failed with error 0x106(ESP_ERR_NOT_SUPPORTED)