observation_angles#
- rapidtools.processing.street_localization.observation_angles(obs: Observation) tuple[float, float][source]#
Bearing to an observation and elevation of its ground contact.
Uses the full camera pose (
obs.extra['computed_rotation'], the camera type and lens parameters) when the frame carries one, which accounts for the camera’s pitch and roll; otherwise falls back toview_angles(), which assumes a level camera.- Returns:
tuple[float, float] –
(bearing_deg, elevation_deg).