Python
curl
js
Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import requests
import base64
image_path = "YOUR_IMAGE_PATH_HERE"
with open(image_path, "rb") as image_file:
encoded_string = base64.b64encode(image_file.read()).decode('utf-8')
url = f"https://dev.geospy.ai/predict?image={encoded_string}&top_k=5"
headers = {"Authorization": "Bearer YOUR_KEY_HERE"}
response = requests.post(url, headers=headers)
print(response.text)
GeoSpy has been trained on billions of images from around the world. Analyzing features such as architecture, soil, and how they relate to countless geographic locations
FAQ
Here you can find answers to frequently asked questions about GeoSpy AI