--- title: DeepGuard — Explainable Forensic AI & Deepfake Detection emoji: 🛡️ colorFrom: blue colorTo: indigo sdk: gradio python_version: '3.12' app_file: app.py pinned: false license: mit short_description: Forensic AI and deepfake detection ensemble. --- # 🛡️ DeepGuard — Visual Forensics & Deepfake Detection DeepGuard is an explainable forensic system for authenticating digital media, detecting synthetic AI images (FLUX, Midjourney, SDXL, DALL-E 3), and spotting facial deepfakes. ## 🔬 Key Features - **4-Stage Forensic Pipeline**: Ensemble Classification, Grad-CAM++ Explainability, EXIF Metadata Provenance, and Constrained VLM Narrative. - **Ensemble Weight Calibration**: Choose between Auto-Dynamic, Modern AI & Art, Photographic Sensor, or Custom Sliders. - **Explainability**: Decision-tied Grad-CAM++ heatmaps highlighting spatial anomalies and ELA JPEG compression inconsistencies. - **Interactive Forensic Investigator**: Multi-turn contextual chat powered by vision-language models. - **ZeroGPU Accelerated**: Dynamic GPU scheduling on Hugging Face Spaces.