![]() Enable PSRAM in menuconfig (also set Flash and PSRAM frequiencies to 80MHz).Clone or download and extract the repository to the components folder of your ESP-IDF project.This approach puts more strain on the CPU/Memory, but allows for double the frame rate. 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 gives more control over the system, but results in longer time to get the frame. After the frame is acquired, I2S will be stopped and the frame buffer returned to the application. When 1 frame buffer is used, the driver will wait for the current frame to finish (VSYNC) and start I2S DMA.If you need RGB data, it is recommended that JPEG is captured and then turned into RGB using fmt2rgb888 or fmt2bmp/ frame2bmp. This is particularly true if WiFi is enabled. The result is that image data might be missing. Using YUV or RGB puts a lot of strain on the chip because writing to PSRAM is not particularly fast.Except when using CIF or lower resolution with JPEG, the driver requires PSRAM to be installed and activated.Additionally it provides a few tools, which allow converting the captured frame data to the more common BMP and JPEG formats. ![]() This repository hosts ESP32 series Soc compatible driver for image sensors.
0 Comments
Leave a Reply. |