Hi, I have started working on ESP32 CAM and I ran the example code located at Files->Examples->ESP32->Camera->CameraWebServer in Arduino IDE successfully. I was having some issues while doing so, but this forum helped out.
Here is the link :
I have not inserted the memory card yet. I also tested that the code works without internet connection. I am able to capture images and stream video, but I do not know where the images are getting stored. I heavily rely on this community by now and I am not able to find a good resource for ESP32 CAM yet. Please help.
Except when using CIF or lower resolution with JPEG, the driver requires PSRAM to be installed and activated.
Using YUV or RGB puts a lot of strain on the chip because writing to PSRAM is not particularly fast. The result is that image data might be missing. This is particularly true if WiFi is enabled. If you need RGB data, it is recommended that JPEG is captured and then turned into RGB using fmt2rgb888 or fmt2bmp/frame2bmp.
When 1 frame buffer is used, the driver will wait for the current frame to finish (VSYNC) and start I2S DMA. After the frame is acquired, I2S will be stopped and the frame buffer returned to the application. This approach gives more control over the system, but results in longer time to get the frame.
When 2 or more frame bufers are used, I2S is running in continuous mode and each frame is pushed to a queue that the application can access. This approach puts more strain on the CPU/Memory, but allows for double the frame rate. Please use only with JPEG.