Casino Chip Detection System
Real-Time Gaming Chip Detection, Counting & Position Tracking System
Real-Time Gaming Chip Detection, Counting & Position Tracking System
This state-of-the-art chip detection and processing system is designed for real-time object detection, segmentation, and classification of gaming chips in casino environments. The system processes high-resolution video feeds from multiple cameras to detect and count gaming chips, identify their positions and assignments, and manage data through a Flask-based server with real-time updates via SocketIO.
Built with a modular architecture, the system leverages multiple specialized YOLO models for distinct tasks including chip extraction, counting, cage identification, and position tracking. The system is designed to be adaptable across multiple tables without table-specific references, making it scalable for casino-wide deployment.
The system employs multiple YOLO models (likely YOLOv8 based on Ultralytics) optimized for real-time detection and segmentation. Specialized models handle distinct tasks: extractor model for object detection, counter model for chip counting, cage identification model for category assignment, and position identification model for spatial positioning on the table.
High-resolution processing at 2048x2048 pixels ensures detailed segmentation and accurate chip detection, with initial detection at 640x640 for speed optimization. The system uses configurable confidence thresholds (0.45-0.65) for different models, balancing detection reliability with processing speed. OpenCV with DirectShow backend and MJPG codec ensures efficient 4K video capture and processing.
The system achieves real-time processing with 30ms GUI update intervals and maintains detailed chip inventories with dynamic updates. The enhanced implementation features advanced chip categorization capabilities, tracking counts and values for each chip type and category, suitable for complex casino environments with diverse chip sets.
The polygon-based annotation system ensures precise localization using point-in-polygon tests, with upscaled annotations adjusted to 2048x2048 resolution for consistency. External API integration enables seamless connectivity with management systems, providing comprehensive hand data including image paths, chip details, cage positions, timestamps, and batch codes for complete activity tracking.
Multi-model YOLO pipeline with Flask server, SocketIO communication, and real-time GUI monitoring
Specialized YOLO models for extraction, counting, cage assignment, and position detection ensure high accuracy
4K video processing with 30ms GUI updates and real-time SocketIO communication for instant feedback
Multi-threaded design with comprehensive error handling and fallback mechanisms for continuous operation
Modular design adaptable across multiple tables with external API integration for centralized management
Dive deeper into the chip detection system implementation and real-time monitoring capabilities