Spaces:
Sleeping
Sleeping
fix: keyframe images, video clips, evidence images, live stream webcam+URL, remove demo mode
fd50325 verified metadata
title: DetectifAI Backend
emoji: π
colorFrom: blue
colorTo: red
sdk: docker
app_port: 7860
DetectifAI Backend API
AI-powered CCTV surveillance system backend. Runs Flask + PyTorch + YOLO on CPU.
Features
- Video upload & processing (object detection, action recognition)
- Fire / weapon / fight / accident / wall-climbing detection
- Video captioning with BLIP
- Facial recognition with FaceNet
- Forensic report generation with local LLM (Qwen2.5-3B)
- Stripe subscription management
Environment Variables (set in Space Settings β Secrets)
MONGO_URIβ MongoDB Atlas connection stringMINIO_ENDPOINTβ Cloud object storage endpoint (Cloudflare R2 recommended)MINIO_ACCESS_KEYβ Storage access keyMINIO_SECRET_KEYβ Storage secret keyMINIO_SECUREβtruefor HTTPSJWT_SECRETβ JWT signing secretSTRIPE_SECRET_KEYβ Stripe secret keyFRONTEND_URLβ Vercel frontend URL (for CORS)CORS_ORIGINSβ Comma-separated allowed origins