28 lines
715 B
Markdown
28 lines
715 B
Markdown
|
|
# Parking Enforcement
|
||
|
|
|
||
|
|
VIMS instance for parking-enforcement.
|
||
|
|
|
||
|
|
## Related Article
|
||
|
|
[/insights/official-data-vs-observed-reality/](https://landvex.com/insights/official-data-vs-observed-reality/)
|
||
|
|
|
||
|
|
## Anomaly Classes
|
||
|
|
- illegal_parking
|
||
|
|
- expired_meter
|
||
|
|
- blocked_access
|
||
|
|
- fire_hydrant_violation
|
||
|
|
- handicap_violation
|
||
|
|
|
||
|
|
## 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/parking-enforcement/predict`
|
||
|
|
- WebSocket: `ws://host/ws/parking-enforcement/alerts`
|