esp32cam library provides an object oriented API to use OV2640 camera on ESP32 microcontroller. It is a wrapper of esp32-camera library. This library has been tested with AI Thinker ESP32-CAM board and OV2640 camera.
- Install ESP32 Arduino core v3.x.
- Clone this repository under
$HOME/Arduino/libraries
directory. - In Tools - Board menu, select AI Thinker ESP32-CAM to enable 4MB external PSRAM.
- Add
#include <esp32cam.h>
to your sketch. - Check out the examples for how to use.