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.
- Clone this repository under
$HOME/Arduino/libraries
directory. - Add
#include <esp32cam.h>
to your sketch. - In Tools - Board menu, select ESP32 Wrover Module to take advantage of 4MB external PSRAM. Internal RAM is insufficient to support high resolution.
- Check out the examples for how to use.