Multimodal AI CCTV Intelligence System

Inspiration

Traditional CCTV systems continuously record footage, but finding a specific incident often requires security personnel to manually review hours of video. Searching for a person, identifying suspicious activity, or locating a particular event can be time-consuming.

We wanted to transform conventional CCTV footage into searchable intelligence using AI. Instead of manually reviewing recordings, users should be able to ask questions in natural language, such as "Did anyone fall down?", "Find the person wearing a red shirt", or "Was a vehicle carrying a readable license plate?"

This idea inspired us to build a multimodal AI CCTV Intelligence System.

What It Does

Our platform combines multiple computer vision and AI capabilities into one conversational interface.

  • Object Detection: Identifies objects and vehicles in CCTV footage using YOLOv8.
  • Person Appearance Analysis: Extracts upper-body clothing colours and visual evidence for appearance-based searches.
  • Action Detection: Analyzes temporal movement patterns to identify activities such as running, falling, and jumping.
  • License Plate Recognition: Localizes potential license plates and applies OCR to extract text.
  • Audio Intelligence: Uses speech-to-text and acoustic analysis to identify speech and potential sound events.
  • Weapon Detection: Uses a dedicated detection model to flag potential firearms and bladed weapons for human verification.
  • Facial Morphology Analysis: Describes visible facial characteristics such as smiling-mouth or frowning-brow patterns without identifying individuals or inferring their mental state.

The unified conversational interface allows users to interact with these capabilities using natural-language queries. Results can include timestamps, confidence scores, evidence images, and video clips.

How We Built It

We developed the system using a modular architecture with Python-based AI processing and a TypeScript frontend.

Backend

  • Python and FastAPI for API development.
  • YOLOv8 for object and dedicated weapon detection.
  • OpenCV for video processing, image enhancement, and visual analysis.
  • ByteTrack for object tracking.
  • EasyOCR for license plate text extraction.
  • OpenAI Whisper for speech-to-text processing.
  • SQLite and SQLAlchemy for structured event storage.
  • FFmpeg for video and audio extraction and clip generation.

Conversational Intelligence

We developed a query router and orchestrator that interprets natural-language questions and routes them to the appropriate detection engines. Groq API provides LLM-based query interpretation, with a local parser fallback when the API is unavailable.

Frontend

The frontend uses TypeScript and Vite to provide a unified conversational interface where users can submit queries and review detection results.

Challenges We Faced

One of our biggest challenges was combining different AI processing pipelines into a single application.

Each modality has different processing requirements. Video object detection, temporal action analysis, OCR, and audio transcription cannot be handled identically.

We addressed this through modular processing engines and a unified query orchestration layer.

Other challenges included:

  • Running multiple AI models efficiently on CPU-based hardware.
  • Maintaining timestamps and tracking information across video processing.
  • Handling unreliable OCR and low-quality CCTV footage.
  • Managing Groq API failures with a local fallback.
  • Preserving existing database records while extending the system with new capabilities.
  • Distinguishing potential detections from verified incidents.

What We Learned

Through this project, we gained practical experience in computer vision, multimodal AI integration, video processing, object tracking, OCR, speech recognition, API development, and natural-language orchestration.

We also learned that AI-generated detections should be treated as evidence for human review rather than unquestionable conclusions, particularly in security-related applications.

What's Next

Our future plans include:

  • Improving detection accuracy using diverse real-world CCTV datasets.
  • Optimizing inference for resource-constrained environments.
  • Expanding cloud deployment and scalable video storage.
  • Improving event correlation across multiple cameras.
  • Adding stronger authentication, audit logging, and privacy controls.

Our vision is to make CCTV footage more accessible, searchable, and useful through multimodal AI.

Built With

Share this project:

Updates

Submission history