ESP32 Cam: cropping images on device

from blog Simply Explained, | ↗ original
The ESP32 camera is the cheapest microcontroller with a built-in camera that you can buy. The OV2640 sensor has a max resolution of 1600x1200, but sometimes you don't need the entire image.In this post I'll show how to crop the images on the ESP32 itself, before sending it of to your preferred (cloud) IoT service.