28 lines
677 B
Markdown
28 lines
677 B
Markdown
|
|
# Retail Site Analytics
|
||
|
|
|
||
|
|
VIMS instance for retail-analytics.
|
||
|
|
|
||
|
|
## Related Article
|
||
|
|
[/insights/retail-site-selection-data/](https://landvex.com/insights/retail-site-selection-data/)
|
||
|
|
|
||
|
|
## Anomaly Classes
|
||
|
|
- foot_traffic
|
||
|
|
- storefront_condition
|
||
|
|
- signage
|
||
|
|
- parking
|
||
|
|
- competitor_presence
|
||
|
|
|
||
|
|
## Quick Start
|
||
|
|
|
||
|
|
1. Add training images to `data/raw/`
|
||
|
|
2. Annotate using LabelImg (YOLO format)
|
||
|
|
3. Run preprocessing: `python src/detector.py`
|
||
|
|
4. Train model: `python src/detector.py --train`
|
||
|
|
5. Run inference: `python src/detector.py --predict data/test/image.jpg`
|
||
|
|
|
||
|
|
## API
|
||
|
|
|
||
|
|
Once deployed, access via:
|
||
|
|
- REST: `POST /api/retail-analytics/predict`
|
||
|
|
- WebSocket: `ws://host/ws/retail-analytics/alerts`
|