Function Repository Resource:

# ImageGeoLocation

Find the location at which a picture was taken

Contributed by: Giulio Alessandrini
 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.

## Details

ImageGeoLocation uses the neural network ResNet-101 to determine probable locations.

## Examples

### Basic Examples (2)

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]=

### Scope (5)

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]=

### Applications (2)

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]=

## Version History

• 1.0.0 – 25 January 2023