Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find the location at which a picture was taken
ResourceFunction["ImageGeoLocation"][img] returns the estimated GeoLocation[…] at which img was taken. | |
ResourceFunction["ImageGeoLocation"][img,n] returns the first n probable locations. | |
ResourceFunction["ImageGeoLocation"][img,n,"Probabilities"] returns the locations together with their probabilities. | |
ResourceFunction["ImageGeoLocation"][{img1,img2,…},…] estimates multiple locations at once. |
Find the location at which a picture was taken:
In[1]:= | ![]() |
Out[1]= | ![]() |
Find multiple location candidates:
In[2]:= | ![]() |
Out[2]= | ![]() |
Map them:
In[3]:= | ![]() |
Out[3]= | ![]() |
Predict one location:
In[4]:= | ![]() |
Out[4]= | ![]() |
Return the first n most probable locations:
In[5]:= | ![]() |
Out[5]= | ![]() |
Predict locations for multiple images:
In[6]:= | ![]() |
Out[6]= | ![]() |
Return the first n most probable locations for multiple images:
In[7]:= | ![]() |
Out[7]= | ![]() |
Return locations together with their probabilities:
In[8]:= | ![]() |
Out[8]= | ![]() |
In[9]:= | ![]() |
Out[9]= | ![]() |
In places with high population density, very fine-grained predictions are possible. Consider the following four landmarks in Paris:
In[10]:= | ![]() |
Out[10]= | ![]() |
Predict the location of the four landmarks:
In[11]:= | ![]() |
Out[11]= | ![]() |
Plot the locations on the map:
In[12]:= | ![]() |
Out[12]= | ![]() |
Compare to the locations from Wolfram|Alpha:
In[13]:= | ![]() |
Out[13]= | ![]() |
Find the most probable locations for an image of white cliffs:
In[14]:= | ![]() |
Out[14]= | ![]() |
Plot them in a bubble chart where the radius is given by the probability value:
In[15]:= | ![]() |
Out[15]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License