sarlinpe commited on
Commit
0dea4fa
·
1 Parent(s): f928554

Nicer text output

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -67,7 +67,8 @@ def run(image, address, tile_size_meters, num_rotations):
67
  plot.points(latlon, "black", name="argmax", size=10, visible="legendonly")
68
  plot.bbox(bbox_latlon, "blue", name="map tile")
69
 
70
- coordinates = f"(latitude, longitude) = {tuple(latlon)}\nheading angle = {yaw:.2f}°"
 
71
  return fig1, fig2, plot.fig, coordinates
72
 
73
 
 
67
  plot.points(latlon, "black", name="argmax", size=10, visible="legendonly")
68
  plot.bbox(bbox_latlon, "blue", name="map tile")
69
 
70
+ coordinates = f"(latitude, longitude) = {tuple(map(float, latlon))}"
71
+ coordinates += f"\nheading angle = {yaw:.2f}°"
72
  return fig1, fig2, plot.fig, coordinates
73
 
74