How praveen24sriv/deepfake-video-detection-system works
DeepGuard is a video deepfake-analysis product: users select a video, submit it for server-side inspection and face-based inference, then receive a verdict, suspicious timeline, statistics, and a heatmap. The graph captures the documented training/preprocessing capability as well as the web and API runtime. Some frontend API wiring and backend route/service details are unsampled, so those links are omitted rather than inferred.
Main entry points: analysis_service.py Analysis orchestration · main.py API application · deepguard.py DeepGuard inference · App.jsx Web application
Components 21
Web client
- Web application
frontend/vite-project/src/App.jsx - Video upload
frontend/vite-project/src/components/UploadZone.jsx - Analysis page
frontend/vite-project/src/pages/AnalyzePage.jsx - Result display
frontend/vite-project/src/components/ResultCard.jsx
Backend API
- API application
backend/app/main.py - Analysis endpoint
backend/app/routes/analysis.py - Analytics endpoint
backend/app/routes/analytics.py - Health endpoint
backend/app/routes/health.py - Analysis orchestration
backend/app/services/analysis_service.py - Analysis schemas
backend/app/schemas/analysis.py - Runtime settings
backend/app/config.py - Upload storage
backend/app/services/storage_service.py
Detection runtime
- Video inspection
backend/app/services/video_service.py - Face processing
backend/app/services/face_service.py - Frame quality
backend/app/services/quality_service.py - Model detector
backend/app/services/detector.py - DeepGuard inference
ml_pipeline/deepguard.py - Debug heatmap
backend/app/services/heatmap_service.py
Model development
- Model training
ml_pipeline/DeepGuard_Training_v3.ipynb - Dataset preparation
preprocessing/FFpp_c40_Preprocessing.ipynb
Other components
- Video analyst
Connections 15
- Video analyst → Web application: opens
frontend/vite-project/src/App.jsx - Web application → Analysis page: renders
frontend/vite-project/src/App.jsx - Analysis page → Video upload: offers upload
- API application → Analysis endpoint: registers
backend/app/main.py - API application → Analytics endpoint: registers
backend/app/main.py - API application → Health endpoint: registers
backend/app/main.py - API application → Analysis orchestration: initializes
backend/app/main.py - Analysis orchestration → Video inspection: inspects video
backend/app/services/analysis_service.py - Analysis orchestration → Model detector: requests prediction
backend/app/services/analysis_service.py - Analysis orchestration → Debug heatmap: creates fallback
backend/app/services/analysis_service.py - Analysis orchestration → Analysis schemas: builds response
backend/app/services/analysis_service.py - Analysis orchestration → DeepGuard inference: uses shared inference
README.md - Model detector → DeepGuard inference: delegates prediction
README.md - Model training → DeepGuard inference: uses shared module
README.md - Dataset preparation → DeepGuard inference: defines matching inputs
README.md