How rs9313399-dot/animal-detector-yolo works
FAUNA’s main workflow is an observer using the browser dashboard and live studio to submit camera frames, receive YOLO detections, and optionally save captures for later review. The platform also includes species reference and system configuration, plus a separate dataset validation, training, and benchmarking workflow. Some UI and backend modules were not excerpted; links to those capabilities rely on the README or SOURCE INDEX references.
Main entry points: App.tsx Application shell · api.ts API client · detector.py YOLO detector · LiveStudio.tsx Live studio
Components 20
Observer Interface
- Application shell
frontend/src/App.tsx - Dashboard
frontend/src/components/Dashboard.tsx - Live studio
frontend/src/components/LiveStudio.tsx - Capture gallery
frontend/src/components/HistoryGallery.tsx - Capture inspection
frontend/src/components/CaptureModal.tsx - System settings
frontend/src/components/SettingsView.tsx - Species explorer
frontend/src/components/AnimalExplorer.tsx - API client
frontend/src/services/api.ts - Audio alerts
frontend/src/services/audio.ts
Detection Platform
- FastAPI routes
backend/app.py - YOLO detector
backend/detector.py - Detection filtering
backend/detection_logic.py - Model and class config
backend/config.py - Capture management
backend/captures.py - Capture files
backend
Model Development
- Labeled datasets
datasets - Training pipeline
tools/animal_pipeline.py - YOLO weights
yolov8n.pt
Species Reference
- Species dossiers
frontend/src/constants/animals.ts
Other components
- Field observer
Connections 24
- Field observer → Application shell: uses
README.md - Application shell → Dashboard: shows
frontend/src/App.tsx - Application shell → Live studio: shows
frontend/src/App.tsx - Application shell → Capture gallery: shows
frontend/src/App.tsx - Application shell → Species explorer: shows
frontend/src/App.tsx - Application shell → System settings: shows
frontend/src/App.tsx - Application shell → Capture inspection: opens
frontend/src/App.tsx - Application shell → API client: loads settings
frontend/src/App.tsx - Live studio → API client: submits frames
frontend/src/components/LiveStudio.tsx - Live studio → Audio alerts: plays alerts
frontend/src/components/LiveStudio.tsx - Capture gallery → API client: loads captures
frontend/src/components/HistoryGallery.tsx - System settings → API client: saves settings
frontend/src/components/SettingsView.tsx - Species explorer → Species dossiers: reads dossiers
frontend/src/components/AnimalExplorer.tsx - API client → FastAPI routes: requests data
frontend/src/services/api.ts - FastAPI routes → YOLO detector: runs inference
backend/app.py - FastAPI routes → Capture management: manages captures
backend/app.py - YOLO detector → Model and class config: uses settings
backend/detector.py - YOLO detector → Detection filtering: delegates filtering
backend/detector.py - Capture management → Model and class config: uses paths
backend/captures.py - Capture management → Capture files: reads and writes
backend/captures.py - YOLO detector → YOLO weights: loads model
- Labeled datasets → Training pipeline: provides labels
- Training pipeline → Model and class config: uses class definitions
tools/animal_pipeline.py - Training pipeline → YOLO weights: fine-tunes weights