A comprehensive evaluation pipeline for benchmarking various DeepFake detection models across a curated dataset of real and fake images.
dataset/ - Curated images categorized into Real and Fake.models/ - Standardized detector modules (model1.py, model2.py, etc.).results/ - Consolidated benchmarks (all_results.csv, model_comparison.csv).plots/ - Meaningful visualisations (Confusion Matrices, Metric Comparisons).main.py - Unified batch-processing evaluation pipeline.Dataset metadata.csv - Metadata for the curated dataset.evaluate.log - Detailed execution logs.This project is compatible with Python 3.9+.
Install all dependencies using pip:
pip install -r requirements.txt
If you have Docker Desktop installed, you can run the entire pipeline in an isolated container:
docker compose up --build
If you have uv installed, you can also use:
uv sync
To run the full benchmark across all 4 detectors and generate metrics/plots: If using Pip:
python main.py
(Or uv run main.py if using uv).
The evaluation results in results/model_comparison.csv use professional forensic metrics:
This pipeline uses an ensemble of four distinct architectures to ensure architectural diversity:
Performance is measured using Accuracy, Precision, Recall, and F1-Score to provide a holistic view of each model's strengths and weaknesses.
A comprehensive evaluation pipeline for benchmarking various DeepFake detection models across a curated dataset of real and fake images.
dataset/ - Curated images categorized into Real and Fake.models/ - Standardized detector modules (model1.py, model2.py, etc.).results/ - Consolidated benchmarks (all_results.csv, model_comparison.csv).plots/ - Meaningful visualisations (Confusion Matrices, Metric Comparisons).main.py - Unified batch-processing evaluation pipeline.Dataset metadata.csv - Metadata for the curated dataset.evaluate.log - Detailed execution logs.This project is compatible with Python 3.9+.
Install all dependencies using pip:
pip install -r requirements.txt
If you have Docker Desktop installed, you can run the entire pipeline in an isolated container:
docker compose up --build
If you have uv installed, you can also use:
uv sync
To run the full benchmark across all 4 detectors and generate metrics/plots: If using Pip:
python main.py
(Or uv run main.py if using uv).
The evaluation results in results/model_comparison.csv use professional forensic metrics:
This pipeline uses an ensemble of four distinct architectures to ensure architectural diversity:
Performance is measured using Accuracy, Precision, Recall, and F1-Score to provide a holistic view of each model's strengths and weaknesses.