AI Dev 26 x SF | Thierry Damiba: Edge to Cloud Video Anomaly Detection

· Source: DeepLearningAI · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Internet of Things (IoT) & Connected Devices, Cloud Computing & IT Infrastructure · Depth: Intermediate, long

Summary

A system for edge-to-cloud video anomaly detection utilizes vector search on edge devices to significantly reduce cloud compute needs. This architecture uses Quadrant Edge, running EfficientNet B0 on NVIDIA Jetson, to generate video embeddings and detect anomalies based on dissimilarity in a vector index. Events exceeding a threshold are then sent to 12 Labs in the cloud for detailed analysis, with Quadrant Cloud continuously syncing baseline definitions back to the edge. The system achieves 94% recall on 30-second videos, resulting in approximately two false positives per hour, and reduces bandwidth by 90%. Demonstrated through the "Sentinel" application, it monitors 12 cameras across three zones, providing AI-generated alerts, textual filtering, and a vector space visualization of clips. The approach focuses on identifying deviations from a learned "normal" baseline, rather than immediate classification, and applies vector search principles to transform video clips into numerical representations for efficient similarity and dissimilarity detection.

Key takeaway

For MLOps Engineers deploying real-time video analytics, this edge-to-cloud vector search architecture offers a compelling solution to manage data volume and cloud costs. You should consider implementing edge-based anomaly detection with baseline synchronization to offload 90% of video processing from the cloud. This approach ensures high recall for critical events while significantly reducing your operational expenses and bandwidth usage.

Key insights

Edge-based vector search for video anomaly detection significantly reduces cloud compute by identifying deviations from a learned baseline.

Principles

Method

Generate video embeddings on edge devices, detect anomalies via dual shard KNN dissimilarity, escalate high-threshold events to cloud, and sync baseline vector index from cloud to edge.

In practice

Topics

Best for: AI Architect, Computer Vision Engineer, CTO, AI Engineer, Machine Learning Engineer, MLOps Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by DeepLearningAI.