Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏪 Retail Store Intelligence System

Transforming CCTV footage into actionable retail insights

[Badges]


AI-powered retail analytics platform that tracks visitor journeys, zone engagement, queue behavior, conversions, and revenue insights using Computer Vision, Spring Boot, PostgreSQL, and React.



📌 Table of Contents

  • Overview
  • Key Features
  • System Architecture
  • Tech Stack
  • Database Design
  • API Reference
  • Computer Vision Pipeline
  • Analytics & Metrics
  • Project Structure
  • Running Locally
  • Docker Deployment
  • Team

🎯 Overview

[Detailed project explanation]


✨ Key Features

🎥 Computer Vision

  • YOLO11 Person Detection
  • ByteTrack Multi-Object Tracking
  • Entry/Exit Detection
  • Re-identification Support
  • Multi-Camera Analytics

🏪 Store Analytics

  • Visitor Counting
  • Live Occupancy
  • Zone Dwell Time
  • Heatmaps
  • Queue Monitoring
  • Conversion Tracking

📊 Business Intelligence

  • Revenue Attribution
  • Average Basket Value
  • Conversion Rate
  • Queue Abandonment Rate
  • Zone Performance Analysis

🚨 Anomaly Detection

  • Queue Spike
  • Conversion Drop
  • Dead Zone Detection

🏗️ System Architecture

[ASCII Architecture Diagram]


🛠️ Tech Stack

Layer Technology
Backend Spring Boot 3
Database PostgreSQL
Cache Redis
CV Pipeline Python
Detection YOLO11
Tracking ByteTrack
Migration Flyway
Containerization Docker

🗄️ Database Design

[event] [session] [visitor] [store] [zone] [transaction] [anomaly]

Explain relationships.


📡 API Reference

Event APIs

POST /events/ingest

Analytics APIs

GET /stores/{id}/metrics

GET /stores/{id}/heatmap

Session APIs

GET /sessions

etc.


🎥 Computer Vision Pipeline

Video ↓ YOLO11 ↓ ByteTrack ↓ Zone Mapping ↓ Event Generator ↓ Spring Boot API ↓ PostgreSQL ↓ Dashboard


📊 Analytics Generated

  • Unique Visitors
  • Live Visitors
  • Conversion Rate
  • Revenue
  • Avg Dwell Time
  • Queue Depth
  • Queue Abandonment
  • Zone Heatmaps

📂 Project Structure

Retail-Store/ ├── backend/ ├── pipeline/ ├── datasets/ ├── docker-compose.yml └── README.md


🚀 Running Locally

Backend

mvn spring-boot:run

Pipeline

python run_pipeline.py ...


🐳 Docker Deployment

docker-compose build docker-compose up


👥 Team

Role Responsibility
Backend Spring Boot APIs
CV Pipeline YOLO + ByteTrack

📄 License

MIT License

About

Real-time Store Intelligence System that transforms CCTV footage into actionable retail insights through computer vision, event processing, and analytics dashboards.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages