How kamulugariabhinav-cmd/fieldproj-v2 works
VoiceGuard V2 is an experimental web application for analyzing audio for possible synthetic speech. Users sign in, submit a recording through the dashboard, and receive a model-generated result when inference is available. The documented analysis path includes audio preprocessing, model selection, inference, and result presentation; the backend excerpt also shows a separate Forensics option. Firebase authentication and external detection providers are additional capabilities. The graph follows documented or excerpted relationships; unsampled frontend and backend wiring is not inferred.
Main entry points: app.py FastAPI endpoints · detector.py Multi-model detector · voiceguard.js Frontend logic · external_api.py External API manager
Components 18
Web application
- Dashboard UI
index.html - Frontend logic
voiceguard.js - Firebase authentication
voiceguard.js
Inference API
- FastAPI endpoints
backend/app.py - Audio preprocessing
backend/audio_processor.py
Detection models
- Model registry
backend/models/registry.py - Multi-model detector
backend/detector.py - AASIST model
backend/models/aasist.py - RawNet2 model
backend/models/rawnet2.py - ProSDD inference
backend/models/prosdd/prosdd_epoch4.py - ProSDD architecture
backend/models/prosdd/model_stage2realfake.py - Forensics inference
backend/models/forensics/forensics_detector.py - Forensics architecture
backend/models/forensics/model.py
External integrations
- External API manager
backend/external_api.py - Hive AI
- Resemble AI
Other components
- User
- Firebase Auth
Connections 17
- User → Dashboard UI: submits audio
README.md - Dashboard UI → Frontend logic: uses interactions
README.md - Frontend logic → Firebase authentication: signs in
README.md - Firebase authentication → Firebase Auth: authenticates with
README.md - Frontend logic → FastAPI endpoints: sends audio
README.md - FastAPI endpoints → Audio preprocessing: preprocesses audio
README.md - FastAPI endpoints → ProSDD inference: runs inference
backend/app.py - FastAPI endpoints → Forensics inference: loads detector
backend/app.py - Multi-model detector → Model registry: checks model status
backend/detector.py - Model registry → External API manager: references integration
backend/models/registry.py - ProSDD inference → ProSDD architecture: instantiates model
backend/models/prosdd/prosdd_epoch4.py - Forensics inference → Forensics architecture: instantiates model
backend/models/forensics/forensics_detector.py - External API manager → Hive AI: calls provider
backend/external_api.py - External API manager → Resemble AI: calls provider
backend/external_api.py - FastAPI endpoints → Dashboard UI: returns results
README.md - Multi-model detector → AASIST model: supports model
backend/detector.py - Multi-model detector → RawNet2 model: supports model
backend/detector.py