@@ -121,7 +121,7 @@ Contributors can collect their own test images:
121121
1221223 . Visualize detection interactively:
123123 ``` bash
124- python scripts/station_viewer .py # Interactive detection viewer
124+ python scripts/detection_viewer .py # Interactive detection viewer
125125 ```
126126
1271274 . Run tests:
@@ -136,15 +136,18 @@ munimet.ro/
136136├── lib/ # Shared library code
137137│ ├── muni_lib.py # Core download & detection functions
138138│ ├── detection.py # OpenCV-based status detection
139+ │ ├── station_detector.py # Station position detection
140+ │ ├── train_detector.py # Train ID detection (OCR)
141+ │ ├── station_constants.py # Station definitions
139142│ ├── analytics.py # SQLite-based delay analytics
140143│ └── notifiers/ # Notification channels (Bluesky, RSS)
141144│
142- ├── scripts/ # Detection and utility scripts
143- │ ├── analyze.py # CLI tool for image analysis
144- │ ├── station_detector .py # Station position detection
145- │ ├── train_detector .py # Train ID detection (OCR)
146- │ ├── detect_stations.py # Station configuration
147- │ └── station_viewer.py # Debug visualization tool
145+ ├── scripts/ # Development and utility scripts
146+ │ ├── analyze.py # CLI tool for image analysis
147+ │ ├── detect_stations .py # Station detection CLI
148+ │ ├── detection_viewer .py # Interactive detection viewer
149+ │ ├── validate.sh # Local validation (lint + tests)
150+ │ └── install-hooks.sh # Git hooks installer
148151│
149152├── api/ # Production web API
150153│ ├── api.py # Falcon web server
@@ -240,7 +243,7 @@ Users
240243## Development Workflow
241244
2422451 . ** Collect Data** - Run ` download_muni_image.py ` periodically
243- 2 . ** Test Detection** - Use ` scripts/station_viewer .py ` to visualize detection
246+ 2 . ** Test Detection** - Use ` scripts/detection_viewer .py ` to visualize detection
2442473 . ** Run Tests** - Execute ` pytest tests/ ` to verify detection accuracy
2452484 . ** Test Locally** - Deploy with ` ./deploy/local/setup.sh && ./deploy/local/start.sh `
2462495 . ** Deploy Cloud** - Deploy to Cloud Run with ` ./deploy/cloud/deploy-services.sh `
0 commit comments