AI Photo Geolocation

hubraumhugo | 131 points

FYI this site is keeping everything you upload in a Google storage bucket, which was unauthenticated up until a little bit ago. (Full disclosure, it's my tweet.)

https://twitter.com/spuhghetti/status/1786033761341083731

hhh | 15 days ago

I uploaded pictures of a couple of street corners and it confidently identified them as being in Texas and Florida, based on text that was not in the pictures and, in the second case, foliage in a scene that included only concrete. Although in fairness to the model, a parking lot may be the dominant ecosystem in Jacksonville.

Anyways, these pictures were from Iowa.

plorg | 15 days ago

I gave it a picture from a bar in Austin. It nailed it, but with some interesting hallucinations in the description. The photo had a small Texas flag, but nobody was wearing cowboy hats, and there was nothing with "Austin" on it in the photo. Description was:

This photo was taken inside a bar. There are several clues that indicate this is Austin. First, there is a sign on the wall that says "Austin." Second, there is a Texas flag on the wall. Third, there are several people wearing cowboy hats, which is a common sight in Austin. The coordinates of this photo are

foobarbecue | 15 days ago

I uploaded a generic photo I took of a field, dandelions, and trees. It confidently stated Switzerland, and provided specific GPS coords.

Of course, it was entirely wrong.

Some level of confidence indication would make a system like this much more useful.

consumer451 | 15 days ago

Tried it a few times, it's hit or miss.

- Rooftop bar in Viejo San Juan, PR was identified correctly, down the intersection.

- Beach on the south coast of Vieques, PR was identified as Jamaica, so reasonably close for a non-descript tropical beach.

- Office building in Reston, VA which is fairly obvious (biggest/tallest building in the area) was identified as being in San Jose, CA.

- Train station in Staunton, VA was identified as somewhere in Massachusetts.

The attributes of the photo were mostly accurate, but were matched to an incorrect location.

alistairSH | 15 days ago

1/3 was completely wrong, in the sense that the coordinates, country and city had nothing to do with it but THEN the sources were other buildings from the actual country and city. 2/3 got city and coordinates correct, but got the country wrong, which idk how that happened. 3/3 got country, city and coordinates correct Pretty cool

sebys7 | 15 days ago

Doxxing for dough. The ethics committee is out to lunch.

See this thread: https://news.ycombinator.com/item?id=40233248

tgv | 15 days ago

Neat demo. It seems like there may be a few things happening in tandem.

I uploaded a picture of a forest and it came back with visually similar images. So the first thing it might be doing is some kind of KNN, and if the pictures have location labels associated applying some sort of weighted average to determine GPS coordinates. This is pretty cool.

I also tried flipping the image horizontally, and it came back with the same images. So their embedding isn't based off of exact matches (good) and seems to be invariant to some basic translations (good). It also seems like it's directly extracting visual features from the image. This can be done with something like Blip[0].

Then I uploaded a screenshot from Magic School Bus. It still extracted information to guess the "location" of the cartoon (San Francisco, which is wrong). So that's probably how it works.

I also found the text output is similar in some ways with OpenGVLab InternViT [1]. So perhaps this or something like it is being used to extract features.

And of course there may be an LLM on top of these extracted features with some sort of prompt template. But I should add that the text explanation is the least useful part of the result, since it is unreliable and less informative than the "boring" similarity metrics above.

[0] https://huggingface.co/Salesforce/blip-image-captioning-larg... [1] https://internvl.opengvlab.com/

salamo | 14 days ago

It's heavily biased and therefore easily tricked. I uploaded a photo from NYC.

     The graffiti on the wall is a clue that the photo was taken in Detroit. The vegetation in the background is also consistent with the climate of Detroit.
1970-01-01 | 15 days ago

I uploaded a photo of a screenshot of a chess game on chess.com

It identified as the golden state bridge of San Francisco, saying the buildings in the background are also consistent with the architecture in San fran.

andoando | 15 days ago

This correctly identifies South Korean landmarks, like Diamond Bridge in Busan. Since I don't have encyclopedic knowledge of world landmarks -- I wouldn't be able to recognize Diamond Bridge-like landmarks in United States -- and nearly no one does either, that alone is quite useful.

sanxiyn | 15 days ago

Pretty cool. Correctly identifies different islands in the Galapagos based on the ground and the plants.

sebzim4500 | 15 days ago

This is close to an actual need I've managed to create for myself.

I do photography and I store those I want to share on nextcloud. In my selection and export process all metadata etc is stripped. But I realized too late that it also stripped out the geo-coordinates. No problem adding that in, but still have a laaarge amount of photos without geolocation data.

I'm too lazy to re-export all the older ones, so being able to run something like this on them would be perfect. I would be satisfied with a general area, roughly hitting the province/state its taken in. It doesn't have to be accurate at all, it's more for my own geo grouping.

This site though goes bananas on firefox/mac. Flickering and font adjustments..

erksa | 15 days ago

Seems to be about as accurate as a good geoguessr player on a time limit. Recognizable vistas are generally right down to the city, and even if there's only general architecture to go off it's often right to within a couple hundred kilometers.

The explanations are a bit hit and miss. Some are great and correctly describe the names of buildings in the picture, some are only vaguely related to the picture.

Ethically this is very questionable. Of course with enough dedication humans can do the same (e.g. Rainbolt has made a Youtube career out of this), but commoditizing this for every stalker around the world has some troubling implications.

wongarsu | 15 days ago

My backyard: Germany because there are trees and a fence (? Also, no). A picture of the farmer's market of my town: correctly assume France but confidently incorrect on the town and landmarks (off by 200-300km I'd say).

coumbaya | 15 days ago

The question is, how does this do at GeoGuessr, where users are given a picture from Google street view, and are asked where it is on the world by clicking on a map of the world. Users get points based on how close it is, user with the most points after N rounds, wins.

The best player in the world, Rainbolt, played against an AI out of Stanford, so I wonder how this one would do.

https://www.geoguessr.com/

https://www.youtube.com/watch?v=ts5lPDV--cU

fragmede | 14 days ago

I put an image of villa isnard, cascina, Pisa, and it was recognized as being from France. It is a villa with French architecture and olive trees. I then tried to upload an image still from Pisa with a building in venetian Gothic style and it was recognized being in Venice. It can be deceived quite easily imho, it looks like it just search for the corresponding architecture (maybe?) and details surrounding it but it doesn't search online. Villa isnard is quite famous (at least, you have results online) and a Google lens search would have found it

amarcheschi | 15 days ago

I'm not convinced by the quality of this. I took some screenshots of street view, not including any icons, and it identified them as completely the wrong city. One of them included the name of the town on a bus stop, which it completely failed to identify, placing the picture across the county, also asserting that it contained featured that it definitely didn't, such as thatched rooves (all rooves in the image were normal slate). I would make trust it to get me in the correct area of the country, but that's about it

voidUpdate | 15 days ago

Assuming this is more of a proof of concept/prototype, that's not bad. It didn't get it[1] right, but at it's core, the guess is not terrible, shift it 560km[2] south-east and you'd be bang on. I'll admit, I did set the bar a bit high.

[1] https://imgur.com/a/67t0TVt

[2] https://imgur.com/a/aspf8px

axegon_ | 15 days ago

It told me the correct country, but the completely wrong city, and then began to describe a typical place in the style of the country - nothing of which was visible on the image.

exar0815 | 15 days ago

> Sweden

Good

> Rural area

good

> [pin in the center of Stockholm, the most urban area in Sweden]

ouch.. not so good.

boxed | 15 days ago

It recognized 2/7 of the pictures I used. The two success are a really well known place in Rome (the roman forum, although it got the arch wrong) and a small but very touristic city. It guessed the country right but was far from the place in 4 cases: landmarks were visible but they are not hugely touristic. In the last case the country was wrong, but it was a picture from my office with no landmark.

poulpy123 | 15 days ago

I've been learning deep learning, and I built a very toy version of this recently. It's really just a classifier that can (maybe) tell you if a photo was taken in one of the 5 cities I trained it on.

https://huggingface.co/spaces/itslenny/fastai-lesson-2-big-m...

itslennysfault | 15 days ago

I had ChatGPT generate some selfies taken in various places, then ran it through this app. My assumption was that this app would do really well, since one model would identify the stereotypical features generated by the other model. It got 1/3. It nailed Minneapolis, it got Damascus, Syria wrong (said Amman, Jordan), and it got the Ballard neighborhood of Seattle wrong (said San Francisco).

karaterobot | 15 days ago

> Explanation: The image is of a residential street in London. The architecture of the buildings is典型的英国风格, and the vegetation is consistent with that of London. The street is also relatively narrow, which is common in London.

Not sure about the mix of languages here. It’s correct, but not specific.

orf | 12 days ago

It was correctly able to identify several photos of my vacation to NC, down to the exact location where the photo was taken on the hiking trail. Pretty scary. Additionally, just to be sure, I used an EXIF data wiper to make sure it wasn’t pulling data from there and tried each photo in a seperate Incognito instance. Still got it correct, all 3 times. Mind boggling.

ethanholt1 | 15 days ago

It's not very accurate, but it seems consistent. However it quite often tells me 'this is in X because the language on the sign' when there are no signs at all. Or just now I got 'The house in the background is made of wood, which is a common building material in Finland.' with a photo of a lake. There is no house, there are trees though :)

boesboes | 15 days ago

I gave it a snippet of Montevideo city skyline, and it responded with:

The photo was taken from a rooftop in Buenos Aires, Argentina. The photo shows a clear view of the city's skyline, including the iconic Obelisk of Buenos Aires. The buildings in the photo are characteristic of Buenos Aires' architecture and the vegetation is typical of the region.

glonq | 14 days ago

I took images directly from Google Images search and it got them wrong. But it was sort of directionally right. My local city hall it said was the courthouse in the same county. The local bridge was put into a wrong state.

Interestingly, it provided reference images and the images I posted were basically in the reference images.

abnry | 15 days ago

Googled 'vacation photo' and picked some off of Flickr. The locations matched the captions, State and Country (FLA and Cancun) correctly.

Obviously uploading a picture of a hot dog will waste compute on trying to figure out what kind of traffic the ketchup is, but it works with snapshots great (not stock photos)

timnetworks | 14 days ago

Childish AI, I gave him two photos, both was totally wrong and hundred thousands miles from actual locations.

Don't recommend.

elsadek | 15 days ago

Funny enough it was accurate all while citing items that were not in the picture (not even cropped out), like tall buildings and signs in a specific language. I'm sure there will be refined versions that are scarily accurate. Another OSINT tool for better or worse.

erkkonet | 15 days ago

Claude Vision can do that for you if you are building something similar. Had similar results with OpenAI.

https://docs.anthropic.com/claude/docs/vision

mightytravels | 14 days ago

I uploaded a photo of a helicopter cockpit, flying up the Talkeetna River in alaska, which was very out of focus in the background. It knew exactly where I was, and even mentioned I was in a helicopter. And that it was fall!

bigwheeler | 14 days ago

I uploaded couple of pics of a beach in Turks and Caicos. It came back with a beach in the Bahamas. Not even close. But I suppose close enough geographically. Also a pic taken from a stationary train in Chicago, came back as NYC.

nirav72 | 15 days ago
[deleted]
| 15 days ago

FirebaseError: Installations: Create Installation request failed with error "400 INVALID_ARGUMENT: API key expired. Please renew the API key." (installations/request-failed).

karma_pharmer | 15 days ago

I uploaded a drone shot of New Taipei City and it gave me Taipei. Close enough. I don’t know if it was cheating though because the image had exif gps coords embedded…

The site worked fine on Firefox on iOS.

Loranubi | 15 days ago

Hmm interesting; one hit, one probably in vaguely the right area; both from scans of ~40 year old photos. (As someone else noted, site is rather brokne on Firefox/Linux but does work).

trebligdivad | 15 days ago

Why use a LLM for this? You'd definitely want a large model, but this seems like a more straightforward classification problem that doesn't require understanding of language.

pphysch | 15 days ago

I'm blown away; it correctly identified a photo taken inside my house - just a picture of my kitchen - as being in eastern Massachusetts, just based on the architecture.

dmd | 15 days ago

It's funny that with a direct match to a precisely located photo in its database, it got the country right by comparing the architectural style, but still got the city wrong.

Sporktacular | 15 days ago

I put in a photo of a small lake near Truckee, CA, several miles from Lake Tahoe, and it reported it was Lake Tahoe. It was wrong, but impressed it was geographically very close.

jimlawruk | 15 days ago

> The photo was taken from a tall structure, possibly a fire tower.

It was way off on the state, but I am still impressed with that spot on description. It was taken from a fire tower.

ghastmaster | 15 days ago

This is what happens when I try to scroll to read the results...?

https://i.imgur.com/ywc1Hn0.png

(Chrome on Windows)

bambax | 15 days ago

Reminds me of a research paper that used ai to accurately pin point where picture was taken, I had hoped this was it. But it’s better than nothing.

Alifatisk | 14 days ago

I uploaded a nondescript scenery photo with no non-natural cues from the Dominican Republic, it got the general area right within 50km.

K0balt | 14 days ago

Interesting concept, and it works somehow. But they definitely needs better web developers. Very strange flickering, what the hell is that?

kome | 15 days ago

Even though it missed the town by few kilometers it also recognized my wife's dress and linked to the webstore for it

rnewme | 15 days ago

I think it just uses EXIF data, then makes guess of other photos from same IP. Fake it till you make it

underlogic | 15 days ago

I’m not sure how this works under the hood. My initial observation is it does not work.

mufty | 15 days ago

Uploaded a photo of the Bell Centre. Easy Habs logo on it. City location: Toronto.

vel0city | 15 days ago

it seems to be a rule of thumb that you can pick a subreddit that operated as some kind of service, ie r/whereisthis, and replace that entire apparatus with an ai of some kind

stainablesteel | 15 days ago

Is the website glitchy on firefox?

pt_PT_guy | 15 days ago

> I'm sorry but GeoSpy is not allowed to process this image. Please try again with a different image or contact support at info@graylark.io

That was with an image I took in London on my phone.

eru | 15 days ago

Entirely wrong result.

onemoresoop | 15 days ago

scary accurate

noashavit | 14 days ago

This seems like another Hotdog/Not Hotdog business model.

salade_pissoir | 15 days ago

The page is very broken for me (Firefox in Linux), locking up, flickering.

I did manage to get it to place a picture of a praying mantis I took in Japan to be from California...

lkramer | 15 days ago