How saniyamaner786/smart-inventory-vision works
Smart Inventory Vision is a Streamlit retail-shelf monitoring and inventory application. An operator enters through Home, selects a feature, and can run webcam-based product monitoring; detections are exposed through Streamlit session state for inventory, planogram, predictive, and analytics views. Inventory_DB preserves records in SQLite, which Audit reads for sales and demand summaries. The graph reflects shown routing, session-state use, and database access; several feature implementations are only partially excerpted, so uncertain connections are omitted.
Main entry points: Home.py Page router · Monitoring.py Live session data · Inventory_DB.py Inventory history · Predictive.py Stock prediction
Components 12
App navigation
- Page router
Home.py
Shelf monitoring
- Live monitoring
Monitoring.py - YOLO shelf analysis
utils.py - Live session data
Monitoring.py
Inventory operations
- Inventory history
Inventory_DB.py - Inventory records
inventory.db - Warehouse stock
warehouse_stock.csv
Business insights
- Stock prediction
Predictive.py - Business audit
Audit.py - Store analytics
Analytics.py - Planogram checks
Planogram.py
Other components
- Store operator
Connections 16
- Store operator → Page router: selects pages
Home.py - Page router → Live monitoring: routes to
Home.py - Page router → Inventory history: routes to
Home.py - Page router → Stock prediction: routes to
Home.py - Page router → Business audit: routes to
Home.py - Page router → Store analytics: routes to
Home.py - Page router → Planogram checks: routes to
Home.py - Live monitoring → YOLO shelf analysis: analyzes frames
Monitoring.py - Live monitoring → Live session data: updates counts
Monitoring.py - Inventory history → Live session data: reads counts
Inventory_DB.py - Inventory history → Inventory records: writes and reads
Inventory_DB.py - Business audit → Inventory records: queries records
Audit.py - Store analytics → Live session data: reads counts
Analytics.py - Planogram checks → Live session data: reads counts
Planogram.py - Stock prediction → Live session data: reads counts
Predictive.py - Stock prediction → Warehouse stock: updates stock
Predictive.py