Advanced Image-Only Deepfake & AI Generation Detection Tool
OpenSeek is a powerful, open-source forensic tool designed to help you instantly detect AI-generated images and deepfakes directly in your browser. Using a research-grade machine learning backend, it analyzes spatial inconsistencies, lighting mismatches, and AI artifacts to confidently tell you if an image is a deepfake manipulation, AI-generated (Midjourney, Stable Diffusion), or a genuine photograph.
(Add your screenshots here!)
Pro tip: Take a screenshot of the context menu and the popup showing a 99% Deepfake result, and drag-and-drop them into this section.
(Add your architecture diagram image here or use the chart below!)
graph TD;
A[Browser Extension] -->|Sends Image| B(FastAPI Backend);
B --> C{Adversarial Purifier};
C -->|Clean Image| D{Preprocessing};
D -->|Face Crop| E[Biological & Facial Forensics];
D -->|Full Image| F[ViT / EfficientNet Ensemble];
D -->|Frequency| G[Spectral & DCT Analyzer];
E --> H(Confidence Score & Attribution);
F --> H;
G --> H;
H -->|Generates Forensic Report| A;
OpenSeekโs custom ensemble has been tested against thousands of real and AI-generated images, achieving:
Because our backend analyzes Spatial Frequencies, DCT Grid Misalignments, and Physiological Physics, even heavily compressed or adversarially cloaked deepfakes cannot hide their generative artifacts.
You need Python 3.10+ installed on your computer.
cd backend
# On Mac/Linux:
python3 -m venv venv
source venv/bin/activate
# On Windows:
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python download_models.py
uvicorn main:app --reload --port 8000
Your backend is now running at http://localhost:8000.
chrome://extensions/ in your address bar.extension folder from this repository.OpenSeek/
โโโ backend/ # Python FastAPI Backend
โ โโโ main.py # Main API entry point
โ โโโ models/ # ML Models (Image detectors)
โ โโโ routers/ # API Route definitions
โ โโโ requirements.txt # Python dependencies
โโโ extension/ # Google Chrome Extension
โ โโโ background.js # Service worker (Context Menu)
โ โโโ popup.html/.js # Extension UI
โ โโโ manifest.json # Manifest V3 configuration
โโโ LICENSE # MIT License
โโโ README.md # This documentation
If you want to integrate OpenSeek into your own application, you can request the endpoints directly:
POST /detect-image (or /analyze-image alias)
file (The image file to upload){
"is_ai_generated": true,
"ai_probability": 0.985,
"content_type": "Photograph",
"predicted_class": "Deepfake_AI",
"confidence_score": 0.91,
"risk_level": "High",
"manipulated_regions_heatmap": "",
"face_detected": true,
"attributed_generator": "Midjourney v6",
"adversarial_noise_score": 0.0,
"dct_anomaly_score": 0.82,
"forensic_report": "๐จ **High Probability of AI Generation Detected.**\n- **Predicted Generator:** Midjourney v6\n- **Facial Analysis:** Facial region contains unnatural biological signals."
}
POST /analyze-image-data
{ "url": "https://example.com/suspect.jpg" }{
"is_ai_generated": true,
"ai_probability": 0.985,
"content_type": "Photograph",
"predicted_class": "Deepfake_AI",
"confidence_score": 0.91,
"risk_level": "High",
"manipulated_regions_heatmap": "",
"patch_manipulated_count": 0,
"embedding_anomaly_score": 0.045,
"face_detected": true
}
Contributions, issues, and feature requests are welcome!
git checkout -b feature/AmazingFeature).git commit -m 'Add some AmazingFeature').git push origin feature/AmazingFeature).Distributed under the MIT License. See the LICENSE file for more information.
This project is actively maintained by Yash Bansal under the OpenSeek AI organization. Feel free to reach out for collaborations!
If you find this project useful, helpful, or interesting, please consider leaving a star โญ on the repository! It helps the project grow and reach more people.