Spaces:
Running
Running
Nicer text output
Browse files
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)}
|
|
|
|
| 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 |
|