Automatically detects and crops faces from batches of pictures or video frames.
Open-source Python tool and CLI for automated, face-centered image and video frame cropping.
Autocrop is a Python library and command-line utility that detects the biggest face in an image and crops around it using OpenCV's YuNet neural network. It suits video editors and media producers handling batch portrait processing or video frame extraction pipelines.
The tool ingests image files or standard input, identifies faces using a bundled ONNX model, and outputs resized or native-resolution crops centered on the subject. It integrates cleanly with shell utilities like find, fd, and GNU parallel for batch workflows, or directly via a Python API.
It suits video editors and developers integrating automated face framing into command-line scripts or Python pipelines. It does not suit users needing a graphical user interface or interactive face-selection tools.
Uses a bundled neural network face detector that operates completely offline.
Accepts single images, standard input, or NumPy arrays directly through Python.
Extracts video frames via FFmpeg and crops faces across sequences using shell loops.
Allows explicit width, height, and face percentage scaling parameters.
The software is available as an open-source package with no hosted service options mentioned. The only cost is your own hardware and execution time.
880 open remote AI-training roles, updated November 15, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.
These reviewed AI tools do the same job instantly — from our scored directory.
Autocrop is designed for still images, but you can extract video frames using FFmpeg and pipe them through autocrop in a shell loop.
Yes. It vendors OpenCV Zoo's YuNet face detection model directly, allowing entirely offline processing.
The Cropper crop method accepts standard filepaths or OpenCV-style BGR and BGRA NumPy arrays.
See Zekai first in Google