A Python toolkit for digital image forgery detection focused on three common scenarios:
- Copy–Move (regions copied within the same image) — DBSCAN-based clustering + CFA (Color Filter Array) artifacts
- Splicing (regions pasted from another image) — ELA (Error Level Analysis)
- Double Compression — JPEG double-encoding detection
The system outputs visual heatmaps/masks, quantitative scores, and a short report per image.
Easy-to-use editing tools make tampering common. Verifying image authenticity is vital for law enforcement, multimedia platforms, and digital forensics. This project offers reproducible baselines you can run locally to flag copy–move, splicing, and double-JPEG signatures.
- Project folder ready (e.g.,
Forgery_Detector/) with application files - Python installed (3.9–3.12 recommended)
- Python on PATH
Windows: This PC → Right Click → Properties → Advanced system settings → Environment Variables → Path → ensure Python is listed - Install dependencies with
pipfromrequirements.txt
cd Forgery_Detector
python -m venv .venv
.venv\Scripts\activate
source .venv/bin/activate
pip install -r requirements.txt