Spaces:
Sleeping
Download README.md from samxkevin/SceneSolver: direct link, hf CLI and curl.
- Browser
- Download file 3.28 kB
-
https://huggingface.co/spaces/samxkevin/SceneSolver/resolve/main/README.md
- Command line
-
hf download hf://spaces/samxkevin/SceneSolver/README.md
-
curl -L -o README.md https://huggingface.co/spaces/samxkevin/SceneSolver/resolve/main/README.md
A newer version of the Gradio SDK is available: 6.31.0
title: SceneSolver
emoji: π΅οΈ
colorFrom: yellow
colorTo: gray
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
python_version: '3.12'
license: mit
short_description: Multimodal surveillance analysis and evidence synthesis
SceneSolver β CrimeSceneSolver (Scene Solver v3)
SceneSolver is a multimodal surveillance-analysis system. This public Space runs the real nine-stage pipeline from the original notebook, together with the Sherl0ck agentic escalation layer (Cohere reasoning + LFM2.5-Audio voice) and the full black/white/orange four-tab frontend (Home Β· Analyse Β· Sherl0ck Agent Β· Contact).
Pipeline (nine stages, all real models)
- AutoEncoder (AE) β primary anomaly signal (batched reconstruction error)
- TimeSformer Binary β semantic gate (Normal / Suspicious)
- TimeSformer Multi-class β fine-grained anomaly classification (7 classes)
- YOLO Weapon Detection β hard safety trigger (melee / firearms)
- Audio Feature Extraction β ZCR / MFCC variance / spectral flux / RMS / centroid
- Tracking & Behavior β BYTETrack or optical-flow motion analysis
- Fusion Layer β rule-based reasoning core with a full reasoning trace
- RL3033 β PPO temporal-reasoning agent (final risk)
- LLaVA β optional 4-frame contextual narrative (checkbox on the Analyse tab)
Outputs: interactive risk report, peak anomaly frame, 11-page forensic PDF dossier, and structured JSON.
Sherl0ck Agent
Text chat and hands-free voice call (browser VAD β LFM2.5-Audio ASR β Cohere β LFM2.5-Audio TTS), incoming-call overlay for HIGH/CRITICAL results, and evidence dispatch to Telegram / Discord / email when those secrets are configured.
Model sources (public)
samxkevin/scenesolver-assetsβ AE, TimeSformer, RL3033, YOLO checkpoints + agent audiosamxkevin/SceneDescriptionModelβ LLaVA VLM (~14 GB, downloaded on first use of Stage 8)facebook/timesformer-base-finetuned-k400β TimeSformer base weightsLiquidAI/LFM2.5-Audio-1.5Bβ Sherl0ck voice (ASR/TTS)
Hardware β ZeroGPU
This Space is designed for ZeroGPU (select ZeroGPU under Settings β Space
hardware; ZeroGPU is not expressible in this README). All GPU-heavy inference runs
inside @spaces.GPU regions (full pipeline analysis with dynamic duration, and the
Sherl0ck voice ASR/TTS turns). Python is pinned to 3.12 (a ZeroGPU-supported
runtime).
Secrets (Settings β Variables and secrets)
All integrations are optional and read from the environment β no credentials are stored in this repository:
| Secret | Purpose |
|---|---|
COHERE_API_KEY |
Sherl0ck text/voice reasoning (offline fallback replies when absent) |
TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID |
Telegram evidence dispatch |
DISCORD_WEBHOOK_URL |
Discord evidence dispatch |
ALERT_EMAIL_FROM, ALERT_EMAIL_PASS, ALERT_EMAIL_TO |
Email alerts |
SENDER_EMAIL, SENDER_PASS, ADMIN_EMAIL |
Contact form delivery |
Disclaimer
Experimental research project. ML outputs are investigative aids, not definitive conclusions, and require human expert review before any operational action.