← back

Gallery-Guessr

Geoguessr and its free alternative Openguessr are games whose goals are to place a pin on a map of the world based on a street view of a place. You have to try to guess the precise location from details in the street view photo sphere.

In the optic of creating my own alternative of the game to make it even more fun, I created a version in which you have to guess the location of a picture you've taken in the past.

Pictures have metadata that can include the time at which it was taken as well as the gps location. This means that we have all of the data to recreate a game from anyone's gallery: with the image as input to a player and the gps position as output, we can play recreate geoguessr with images!

You can go test this yourself right now here!

The website works by first loading your images. It then filters out all images that don't have gps or formats it can't read (or videos). Keep in mind that a big quantity of photos don't have gps data. Screenshots don't have location data for example.

The filtering process might take a while, particularly with photos taken by an iPhone that use apple's format: HEIC.

This game is best explained by playing it.

There are two versions of the program: a website that's within a single html file, and a python server based version. I use the latter to play around with different more complicated versions, but the former is trivial to set up.

You can play now on the website or you can look at the site's code or download the server on the github.