Retail360.AI is an intelligent retail entry system built using Streamlit and DeepFace that recognizes customers via facial recognition, greets them with personalized messages and voice, displays their past purchases, and recommends offers — all in real-time.
- 👤 Real-time Face Capture using Webcam
- 🔍 Face Matching with Stored Customer Data (DeepFace)
- 📄 Auto Fetch Customer Profile from MySQL
- 💬 Personalized Greeting with Text & Voice (gTTS + pygame)
- 🛒 Show Last 5 Purchases from Purchase History
- 🎁 Personalized Offers based on Last Purchase Categories
- 📊 Insights:
- Bar Chart of Purchase Frequency (Plotly)
- Gauge Chart of Total Spend
- ✍️ New Customer Registration via Webcam
Retail360-App/
│
├── data/ # Csv files (e.g., customers.csv,orders.csv)
| └── ...
├── face_images/ # Stored face images (e.g., 1_face.jpg)
│ └── ...
├── sample_outputs/ # Sample outputs for Recognition and Registration
│ └── ...
├── app.py # Main Streamlit app
├── requirements.txt # Required Python packages
├── retail360degree.sql # SQL Script
└── README.md # Project documentation
- Frontend: Streamlit
- Backend: Python + MySQL
- Face Recognition: DeepFace
- Voice Output: gTTS + pygame
- Charts: Plotly
- Database: MySQL
Face images are stored in the face_images/ folder with the naming convention:
<customer_id>_face.jpg
Example:
1_face.jpg, 2_face.jpg, ...
git clone https://github.com/zenthicai/Retail360.AI-Autonomous-Retail-Experience
cd Retail360-Apppip install -r requirements.txtCreate a MySQL database named retail and include required tables like:
customerspurchasesofferspurchases_data_model(view with joined data)
Note: Ensure the structure matches
app.pyexpectations.
streamlit run app.pyWARNING: This dataset contains personal images of individuals and is strictly for private, non-commercial use within this project only. Unauthorized use, distribution, or reproduction of these images is prohibited.