Overview:
The AI-Powered Cash Counter Surveillance System is an advanced computer vision-based monitoring solution that uses Google Gemini AI to analyze real-time video footage from a cash counter area and detect potential money theft incidents. The system continuously captures video frames, processes them, and sends them for AI analysis to identify suspicious activities. If a theft is detected, the AI provides structured observations, including a description of the suspect, which are saved in a log file for further review.
Key Features:
Real-time Cash Counter Monitoring – Continuously analyzes video footage for suspicious activities.
AI-Powered Theft Detection – Uses Google Gemini AI to identify and confirm money theft at the cash counter.
Automated Frame Capture – Captures full-frame images at 4-second intervals for AI analysis.
Structured Observations – Generates a structured report with timestamps and suspect descriptions.
Multithreading for Efficiency – Processes video frames and runs AI analysis in separate threads to avoid delays.
Mouse Interaction for Coordinates – Allows users to track and print mouse coordinates over the video feed.
Live Monitoring & Manual Exit – Displays the video feed with an option to exit monitoring (press ‘q’).
Technical Workflow:
- Video Capture: The system reads video footage from a file.
- Frame Processing: Every 4 seconds, a frame is captured and saved as an image.
- AI Analysis: The captured frame is sent to Google Gemini AI, which analyzes it for suspicious activity.
- Detection & Reporting: If theft is detected, the AI generates a structured observation with the suspect’s appearance details.
- Data Logging: Confirmed theft cases are logged in
observations.txtwith timestamps. - Live Monitoring: The video feed is displayed with an option to stop monitoring by pressing ‘q’.
Use Cases:
✅ Retail Stores & Supermarkets – Prevent theft at billing counters and enhance security.
✅ Banks & Financial Institutions – Monitor cash handling areas for fraud detection.
✅ Casinos & Gaming Centers – Detect unauthorized cash transactions or suspicious activities.
✅ Corporate Offices – Monitor financial departments to ensure safe cash handling.
Customize Enhancements:
🔹 Live Camera Integration – Extend functionality to support real-time surveillance from CCTV feeds.
🔹 Alert Notifications – Implement instant SMS or email alerts for detected thefts.
🔹 Facial Recognition – Enhance suspect identification with face-matching technology.
🔹 Cloud Storage – Save video frames and reports securely in the cloud for remote access.
Technology Stack:
- Programming Language: Python
- Libraries & Frameworks: OpenCV, NumPy, Base64, Threading
- AI Model: Google Gemini AI (via LangChain)
- File Handling: Automated logging in
observations.txt
Conclusion:
The AI-Powered Cash Counter Surveillance System provides an automated security solution for detecting theft incidents at cash counters. By leveraging computer vision and AI, the system ensures accurate real-time monitoring, reducing the risk of fraudulent activities. The integration of Google Gemini AI allows for structured and intelligent theft detection, making this tool highly effective for retail stores, banks, and corporate finance departments.
This project revolutionizes cash counter surveillance, making theft detection smarter, faster, and more reliable.


Reviews
There are no reviews yet.