How harshal696/deeptrace-deepfake-detection works
DeepTrace is a Flask web application for video deepfake detection. Its documented workflow accepts an upload, samples and preprocesses frames, classifies them with MobileNetV3, aggregates frame predictions by majority vote, and presents a video-level result with confidence metrics. The sampled source also contains temporal-signal analysis, but the excerpts do not show how it connects to the request workflow; that subsystem is shown separately. Links for unsampled implementation details rely on the README.
Main entry points: index.html Upload and results UI · app.py Flask request handling
Components 9
Web interface
- Upload and results UI
templates/index.html - Flask request handling
app.py
Video analysis
- Uniform frame sampling
app.py - Frame preprocessing
app.py - MobileNetV3 classifier
app.py - Majority voting
app.py - Confidence metrics
app.py
Signal analysis
- Temporal signal scoring
app.py
Other components
- Video uploader
Connections 8
- Video uploader → Upload and results UI: uploads video
README.md - Upload and results UI → Flask request handling: submits upload
README.md - Flask request handling → Uniform frame sampling: analyzes video
README.md - Uniform frame sampling → Frame preprocessing: selects frames
README.md - Frame preprocessing → MobileNetV3 classifier: feeds frames
README.md - MobileNetV3 classifier → Majority voting: generates predictions
README.md - Majority voting → Confidence metrics: determines result
README.md - Confidence metrics → Upload and results UI: displays metrics
README.md