Spaces:
Runtime error
Runtime error
Commit ·
2d06ca6
1
Parent(s): 14411d0
feat(config): bump default coverage range to 90m
Browse filesGEO_MAX_DISTANCE_M default raised from 50m to 90m. The previous value
was too short — most traffic CCTVs can clearly see 80-150m down the
road, so 50m undershot the visual reach on the map polygon and clamped
per-detection projection at the near-horizon limit too aggressively.
- app/config.py +1 -1
app/config.py
CHANGED
|
@@ -96,7 +96,7 @@ class Settings:
|
|
| 96 |
default_factory=lambda: _get("GEO_FOV_DEG", 70.0, float)
|
| 97 |
)
|
| 98 |
geo_max_distance_m: float = field(
|
| 99 |
-
default_factory=lambda: _get("GEO_MAX_DISTANCE_M",
|
| 100 |
)
|
| 101 |
# Camera mounting model for pinhole projection. Defaults represent
|
| 102 |
# a typical street-level CCTV mast: 4 m high, tilted 15° below
|
|
|
|
| 96 |
default_factory=lambda: _get("GEO_FOV_DEG", 70.0, float)
|
| 97 |
)
|
| 98 |
geo_max_distance_m: float = field(
|
| 99 |
+
default_factory=lambda: _get("GEO_MAX_DISTANCE_M", 90.0, float)
|
| 100 |
)
|
| 101 |
# Camera mounting model for pinhole projection. Defaults represent
|
| 102 |
# a typical street-level CCTV mast: 4 m high, tilted 15° below
|