How meet8141/signalscope works
SignalScope accepts an uploaded image through its web interface and FastAPI API, then returns AI-versus-real classification, provenance and metadata checks, pixel-forensic signals, a trust score, and—when available—a Grad-CAM heatmap. The documented pipeline includes gated handling of decisive provenance signals and parallel forensic analysis. The sampled backend excerpt shows the API coordinating C2PA, metadata, forensics, model prediction, trust scoring, and static artifacts; implementation details for those subsystems and the frontend are not included in the excerpts, so internal wiring is shown only where documented or directly visible.
Main entry points: main.py FastAPI endpoints · src React interface · backend MobileNetV2 classifier · static Image and heatmap files
Components 12
Web client
- React interface
frontend/src
API orchestration
- FastAPI endpoints
backend/main.py - Temporary upload handling
backend/main.py - Trust score
backend/main.py
Image analysis
- C2PA verification
backend/C2PA - EXIF metadata
backend/METADATA - Pixel forensics
backend/FORENSIC - MobileNetV2 classifier
backend - Grad-CAM explanation
backend
Results and artifacts
- Image and heatmap files
backend/static - Verification response
backend/main.py
Other components
- Image submitter
Connections 13
- Image submitter → React interface: submits image
- React interface → FastAPI endpoints: requests verification
- FastAPI endpoints → Temporary upload handling: handles upload
- FastAPI endpoints → C2PA verification: verifies manifest
- FastAPI endpoints → EXIF metadata: extracts metadata
- FastAPI endpoints → Pixel forensics: runs analyses
- FastAPI endpoints → MobileNetV2 classifier: predicts class
- MobileNetV2 classifier → Grad-CAM explanation: generates explanation
- FastAPI endpoints → Trust score: calculates score
- FastAPI endpoints → Image and heatmap files: saves image and heatmap
- FastAPI endpoints → Verification response: assembles response
- Verification response → React interface: returns results
- Image and heatmap files → React interface: serves artifacts