A prototype full-stack system for deepfake detection, evidence packaging, and cryptographic verification. This monorepo contains a FastAPI backend and a React + Vite frontend, integrated as an autonomous analysis and review pipeline.
- Overview
- Badges
- Logo
- Quick TL;DR
- Key Features
- Installation
- Run Locally
- Environment Variables
- Configuration & Proxy
- Architecture & Tech Stack
- Usage / Examples
- API Reference
- How It Works (Pipeline)
- Preprocessing & Detector
- Verification Pack & Cryptography
- Evidence Viewers
- Testing
- Deployment
- Roadmap
- Contributing
- License
- Authors
- Acknowledgements
- FAQ
- Support / Contact
- Related
- Troubleshooting
- Changelog
- Optimizations / Lessons Learned
- Used By / Integrations
- Custom Sections
VeriSight is an autonomous AI pipeline designed to detect manipulated or AI-generated videos and generate tamper-proof verification packs signed cryptographically.
Frontend UI reference: verisight-frontend/src/pages/public/Home.jsx
| Build | License | Release |
|---|---|---|
| (CI Badge placeholder) | Proprietary | PyPI/NPM (if published) |
[logo](https://github.com/user-attachments/assets/7fb2a0a7-2eac-460c-8fec-ec23138be1a8)
| Component | Path |
|---|---|
| FastAPI backend | backend/app.py & backend/app2.py |
| React + Vite frontend | /verisight-frontend |
| Local storage mount | /storage in backend/app.py |
| Detector core | analyze_video() in backend/src/ai_video_detector.py |
- Multimodal video analysis (visual, audio, temporal)
- Frame extraction & optical-flow-based analytics
- SSIM/MSE anomaly scoring + robust z-score voting
- Cryptographically signed verification pack
- Evidence review UI: frames, heatmaps, spectrograms
- Upload via file or URL with progress tracking
See backend/README.md
sudo apt update && sudo apt install -y python3-pip python3-venv ffmpeg
python3 -m venv .venv
source .venv/bin/activate
pip install -r backend/requirements.txt
uvicorn backend.app:app --reload --port 8000npm install
npm run devuvicorn backend.app:app --reload --port 8000Artifacts available via /storage
npm run devRequires VITE_API_BASE_URL configured in .env.example
| Key | Location |
|---|---|
VITE_API_BASE_URL |
verisight-frontend/.env.example |
| Backend config | backend/config.py |
/-----------------------\
/ UI (React + Vite) \
/-------------------------\
| API Layer (FastAPI) |
| Routers: auth, upload, |
| jobs, analysis |
\-------------------------/
\ Worker / FFmpeg / Proc /
\-----------------------/
| System | Tooling |
|---|---|
| Preprocessing | FFmpeg (extract_frames, make_preview_clip) |
| Detector | analyze_video, optical flow, SSIM/MSE |
| Storage | SQLite + local filesystem |
curl -F "file=@/path/to/video.mp4" http://127.0.0.1:8000/upload| Area | File |
|---|---|
| Upload | backend/src/routes_upload.py |
| Analysis | backend/src/routes_analysis.py |
| Jobs | backend/src/routes_jobs.py |
| Auth | backend/src/routes_auth.py |
- Upload video (file/URL)
- FFmpeg preprocessing (
utils_ffmpeg.py) - Multimetric detector (
ai_video_detector.py) - Evidence generation & previews
- JSON/PDF cryptographic verification pack
- Human review UI
Frontend UI: VerificationPack.jsx
Signature block component: SignatureBlock.jsx
| Viewer | File |
|---|---|
| Frames | FrameGrid.jsx |
| Heatmaps | HeatmapViewer.jsx |
| Spectrograms | SpectrogramPlayer.jsx |
npm run buildfor frontend- Serve backend with
gunicorn + uvicorn - Ensure
ffmpeginstalled on host
- ML-based detector replacing heuristics
- Celery/RQ workers + S3 storage
- Blockchain anchor for audit logs
- Enterprise SSO & roles
- ESLint + Prettier + Black/flake8 recommended
- Add PR templates and CI testing
Proprietary β modify as required
Add contributors list here
FFmpeg β’ OpenCV β’ scikit-image β’ FastAPI β’ React β’ Vite
| Question | Answer |
|---|---|
| Supported formats? | MP4, MOV, AVI, WebM |
| Where are files stored? | Local UPLOAD_DIR (config.py) |
privacy@verisight.ai (placeholder)
- FFmpeg errors β ensure installed & in PATH
- Preview fails β review
utils_ffmpeg.py
- Downscaled grayscale frames improve temporal anomaly precision
- Fusion of MSE/SSIM/flow metrics yields stable detection
- Coming Soon (Cloudflare / Stripe etc.)
Add brand-specific or hackathon-specific notes here