A Python application with CLI and web interfaces that lets you swap faces in images without using AI!
- Face detection using dlib
- Face swapping directly from the python application
- Web interface with drag-and-drop upload
- Python 3.11+
- Clone the repository:
git clone https://github.com/iakzs/madurify.git
cd madurify- Install dependencies, setup the application:
Quick install & setup (if CMake is installed):
pip install -r requirements.txt && pip install -e .Process a single image:
madurify input.jpg -o output.jpgOr use Python directly:
python -m src.cli.main input.jpg -o output.jpgOptions:
-o, --output: Output file path (default:input_madurified.jpg)-m, --maduro-face: Path to face templates (can be more than one) (default:assets/maduro_face*.jpg)-p, --predictor: Path to dlib predictor (default:models/shape_predictor_68_face_landmarks.dat)
Start the web server:
uvicorn src.web.app:app --reloadThen open your browser to http://localhost:8000
The developer and contributors do not contribute to this application for hate purposes. This repository is intended for educational purposes only.
See LICENSE file for details.

