facebookresearch / facebookresearch/OrienterNet

ValueError: Need prior latlon

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
577
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Why demo needs exact location in JPG file?

```
ValueError Traceback (most recent call last)

[](https://localhost:8080/#) in ()
18 print(f"Using image {image_path} with location prior '{address}'")
19
---> 20 image, camera, gravity, proj, bbox, prior_latlon = read_input_image(
21 image_path,
22 prior_address=address,

[/content/OrienterNet/maploc/demo.py](https://localhost:8080/#) in read_input_image(image_path, prior_latlon, prior_address, fov, tile_size_meters)
110 logger.info("Could not find any prior location in EXIF.")
111 if latlon is None:
--> 112 raise ValueError("Need prior latlon")
113 latlon = np.array(latlon)
114

ValueError: Need prior latlon
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.