Skip to content
A

Aegis

Beyond Motion. Context-Aware Protection for Bharat

Created on 15th February 2026

•

A

Aegis

Beyond Motion. Context-Aware Protection for Bharat

The problem Aegis solves

🛡️ The Problem AEGIS Solves
Most modern CCTV systems are "dumb." They record everything but understand nothing. Homeowners are constantly bombarded with "Motion Detected" notifications caused by stray cats, passing cars, or wind, leading to "Notification Fatigue." When a real threat occurs, it’s often ignored because it looks just like every other alert.

AEGIS bridges the gap between raw video footage and actionable intelligence.

🔍 How it Makes Life Safer & Easier

  1. Context-Aware Filtering
    The Task: Checking your phone every time the camera pings.

The AEGIS Way: Instead of "Motion Detected," you get: "Zomato delivery partner at the door" or "Amazon package dropped off." It understands the intent of the visitor, allowing you to ignore the noise and focus on what matters.

  1. Proactive Threat Detection (The "Loitering" Logic)
    The Task: Relying on a guard or yourself to spot suspicious behavior.

The AEGIS Way: AEGIS doesn't just see a person; it measures behavior. If an unrecognized individual stands near your gate for more than 60 seconds without ringing the bell, AEGIS identifies it as a potential threat and triggers a high-priority alert.

  1. Solving the "Indian Context"
    The Task: Managing frequent doorstep interactions (Delivery, House-help, Utilities).

The AEGIS Way: Purpose-built for India, AEGIS recognizes the uniforms of major service providers (Swiggy, Zomato, Dunzo) and knows the typical rhythm of an Indian household. It acts as a Digital Chowkidar that never sleeps.

  1. Emergency Automation
    The Task: Manually calling for help or sounding an alarm during a crisis.

The AEGIS Way: If a high-level threat is detected (e.g., an intruder at 3 AM), AEGIS can automatically trigger a WhatsApp alert to your family group and play a pre-recorded siren through your system’s speakers, deterring criminals before they enter.

Challenges we ran into

  1. The API Latency & Rate Limit Trap
    The Hurdle: Sending a raw video stream to Claude 3.5 Sonnet caused 10+ second delays and immediately hit API rate limits. High-resolution frames were too heavy for a real-time "Security Guard" experience.

The Fix: We implemented "Intelligent Event-Triggering" using OpenCV. Instead of constant streaming, we calculate frame differences locally. Only when significant motion is detected do we compress, resize to 640x480, and send a single JPEG to Claude. This reduced API calls by 90% while maintaining "instant" reasoning.

  1. Streamlit’s Connection Persistence
    The Hurdle: Streamlit re-runs the entire script upon any UI change, which repeatedly killed and restarted the cv2.VideoCapture object. This caused the camera feed to crash and prevented a continuous security log.

The Fix: We bypassed this by managing the camera and database connections within st.session_state. By wrapping the backend logic in a persistent state, we ensured the "AI Brain" kept monitoring the feed in the background even while we interacted with the dashboard.

Discussion

Builders also viewed

See more projects on Devfolio