Can AI sense when it’s being watched?
This project demonstrates a real-time, prompt-driven Vision Intelligence system that doesn’t just detect objects — it understands scenes, intent, and behavior using Vision-Language Models.
This application connects a live camera feed to a Vision-Language Model (VLM) and allows users to dynamically change prompts to control what the AI analyzes — without retraining or restarting the system.
The same camera can instantly switch roles:
- From general scene understanding
- To behavior detection
- To safety monitoring
- To security surveillance
All controlled purely through natural-language prompts.
- The AI first describes the live scene in front of the camera in natural language
- The prompt is then changed in real time to:
“Check if the person is using a smartphone”
- The AI immediately adapts and correctly detects smartphone usage
- No model retraining, no rule changes — just prompt-based intelligence
Traditional systems rely on fixed object detection and hard-coded rules.
This system enables:
- 🔄 Dynamic task switching
- 🧠 Contextual reasoning
- 📹 Per-camera custom intelligence
- 📝 Real-time text alerts
- 🦺 Alert if a worker is not wearing safety equipment
- 🔥 Detect fire, smoke, or sparks
- 📵 Detect mobile phone usage in restricted zones
- 🚧 Identify unsafe behavior near machinery
- 👥 Detect overcrowding or abnormal movement
- 🚫 Alert if someone enters a restricted area
- 🛡️ Identify suspicious perimeter activity
- Industrial safety & compliance
- Manufacturing & warehouses
- Smart surveillance
- Defense & perimeter security
- Critical infrastructure
- Airports & high-security zones
Hardware
- NVIDIA RTX 3050 (6GB VRAM)
AI Models
- Gemma 3
- Qwen2.5-VL
- Served locally via Ollama
Software
- Python
- OpenCV
- PyQt6
python vision-app.pyEnsure:
- Webcam is connected
- Ollama is running locally
Vision + Language + Prompts = Adaptive Intelligence
- Collaborations
- Real-world deployments
- AI / Computer Vision roles
#AI #ComputerVision #EdgeAI #IndustrialAI #DefenseTech #Python #NVIDIA #RTX #Ollama