How adithya262005/ai-based-real-time-fake-currency-detection-system works
The product is a webcam-based currency detector with a Flask interface. The primary workflow is to start detection from the web app, run YOLO inference on webcam frames, display detected denominations with confidence and FPS, and announce stable detections through speech. The sampled code supports these runtime stages; model and class-file paths are documented in the README but were not inspected.
Main entry points: detect.py Detection Script · app.py Flask App
Components 15
Web Interface
- Flask App
app.py - Web Page
Detection Pipeline
- Detection Script
detect.py - YOLO Model
- Class Names
- Frame Inference
detect.py - Confidence Filter
detect.py
User Feedback
- Box Annotation
detect.py - FPS Overlay
detect.py - Video Display
detect.py - Stable Detection
detect.py - Voice Feedback
detect.py
Other components
- User
- Webcam
- Text-to-Speech
Connections 17
- User → Flask App: opens
README.md - Flask App → Web Page: renders
app.py - User → Flask App: starts detection
app.py - Flask App → Detection Script: runs script
app.py - Detection Script → Webcam: captures frames
README.md - Detection Script → YOLO Model: loads weights and config
detect.py - Detection Script → Class Names: reads labels
detect.py - Detection Script → Frame Inference: processes frames
detect.py - Frame Inference → Confidence Filter: filters confidence
detect.py - Confidence Filter → Box Annotation: draws detections
detect.py - Class Names → Box Annotation: labels boxes
detect.py - Detection Script → FPS Overlay: draws FPS
detect.py - FPS Overlay → Video Display: renders frame
detect.py - Box Annotation → Video Display: shows frame
detect.py - Confidence Filter → Stable Detection: tracks labels
detect.py - Stable Detection → Voice Feedback: announces stable value
detect.py - Voice Feedback → Text-to-Speech: speaks value
detect.py