A newer version of the Streamlit SDK is available: 1.59.1
metadata
title: Image Forgery Detector
emoji: 🛡️
colorFrom: blue
colorTo: red
sdk: streamlit
sdk_version: 1.40.2
python_version: 3.11
app_file: app.py
pinned: false
Image Forgery Detector
This application detects tampering in images using a Dual-Branch CNN architecture.
How it works:
- RGB Branch: Uses a pretrained ResNet50 to extract semantic features from the original image.
- ELA Branch: Computes Error Level Analysis (ELA) to detect JPEG compression inconsistencies.
- Fused Model: Combines features from both branches to make a final prediction.
Explainability:
The app uses Grad-CAM to visualize which parts of the image the model focused on when making its decision.
Deployment:
🚀 Live on Hugging Face Spaces: image-forgery-detector
Repository:
- GitHub: https://github.com/salmanzaman777/image-forgery-detector
- Branch:
usama(latest with M3 model trained on CASIA v2)