facebookresearch / facebookresearch/OrienterNet
ValueError: Need prior latlon
- 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
Assessment
This issue has not been assessed yet.