Spaces:
Running
Running
File size: 1,213 Bytes
434749e 6c230d3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | ---
title: TrueVision
emoji: ποΈ
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
---
# DeepFake Detection
A Flask web application for detecting deepfake videos and images using EfficientNet-B0.
## Features
- **Video Detection**: Upload videos (MP4, AVI, MOV) to detect deepfakes
- **Image Detection**: Analyze images for AI manipulation
- **Visual Analysis**: Temporal heatmaps showing frame-by-frame detection confidence
- **User Authentication**: Login/signup functionality
## Installation
```bash
pip install -r requirements.txt
```
## Usage
```bash
python server.py
```
Then open `http://localhost:5000` in your browser.
## Project Structure
```
βββ server.py # Main Flask application
βββ models.py # Database models
βββ models/ # AI model weights
β βββ best_model-v3.pt
βββ templates/ # HTML templates
βββ static/ # CSS and static files
βββ requirements.txt # Python dependencies
```
## Requirements
- Python 3.8+
- See requirements.txt for all dependencies
Simple Guide
py -3.11 -m venv venv_gemini
.\venv_gemini\Scripts\activate
pip install -r requirements.txt
python server.py |