27 lines
684 B
Markdown
27 lines
684 B
Markdown
|
|
# Street Lighting Monitoring
|
||
|
|
|
||
|
|
VIMS instance for street-lighting.
|
||
|
|
|
||
|
|
## Related Article
|
||
|
|
[/insights/evidence-driven-municipal-maintenance/](https://landvex.com/insights/evidence-driven-municipal-maintenance/)
|
||
|
|
|
||
|
|
## Anomaly Classes
|
||
|
|
- pole_damage
|
||
|
|
- light_out
|
||
|
|
- vegetation_obstruction
|
||
|
|
- vandalism
|
||
|
|
|
||
|
|
## 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/street-lighting/predict`
|
||
|
|
- WebSocket: `ws://host/ws/street-lighting/alerts`
|