Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Computer Scientists Scour Your Holiday Photos

Posted by CmdrTaco on Wed Jun 18, 2008 09:00 AM
from the fanny-pack-detected dept.
Barence writes "Hundreds of thousands of images on Flickr are being used to teach a program to determine the geographic location of an image, simply by looking at it. The program attempts to mimic the way that humans can deduce the location of an image by searching for visual clues, such as similarities to pictures or locations they have seen previously. In its current state it can guess the location of a photo to within 200km, 16% of the time — extremely accurate given the complexity of the problem."
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by tomalpha (746163) * on Wednesday June 18 2008, @09:02AM (#23838477)

    The paper [cmu.edu] referenced in the article has an interesting density map of where their 20 million source photos were taken (ok, so they only ended up using 200 or so of these). It says it uses a logarithmic scale, and seems to imply that the vast majority of photos available to them on Flickr were taken in one of only a handful of locations:

    • London
    • Paris
    • New York
    • Washington
    • Los Angeles
    • Tokyo

    Ok so there are a couple more than this, and my geography is appalling, but these seem to be the only areas that are are coloured red.

    • by elguillelmo (1242866) on Wednesday June 18 2008, @09:19AM (#23838775)
      then... if there are 6 sources of pictures, by blindfold guessing you'll get it right 16.66..% of the time
      • by SteveAyre (209812) on Wednesday June 18 2008, @09:36AM (#23838999)
        So it's actually less accurate than if it just guessed? :)
      • Re: (Score:3, Informative)

        There are way more than 6 sources, check the map.
      • by Rich0 (548339) on Wednesday June 18 2008, @10:39AM (#23839995) Homepage
        If you picked a random point on the globe, and I picked a random point on the globe, then they would be within 200 miles of each other a few percent of the time. If the only logic used by the software was to determine whether or not any land was visible it could probably increase that probability significantly - the earth doesn't have that much dirt poking out of the oceans. 200 miles is a VERY large area of land.
        • by Belial6 (794905) on Wednesday June 18 2008, @11:05AM (#23840425) Homepage
          Now add to that, the fact that populations tend to bunch together, and you can massively increase your odds of those two point being within 200 km of each other. This is without any image recognition at all.

          With the most basic of image recognition, you could narrow things even farther with things like, "Is there ocean in the picture?", "what is the height of buildings in the background?", or "how many people are in the background". One almost needs to ask how they got their accuracy so low...
        • by raehl (609729) <{raehl311} {at} {yahoo.com}> on Wednesday June 18 2008, @11:09AM (#23840483) Homepage
          Actually, the earth is pretty big - you'd have only a 0.0246% of being within 200km of someone, counting water. Get rid of water and you get to around 0.075%.
          • by 1729 (581437) on Wednesday June 18 2008, @12:33PM (#23841895)
            That's if you choose points at random. If you only choose points corresponding to cities with large populations that frequently use internet photo-sharing sites, then your chances of being within 200km of the location become much better.
      • by Falkkin (97268) on Wednesday June 18 2008, @11:23AM (#23840739) Homepage
        If you RTFP, Figure 6 shows the difference between the performance of the algorithm and random guessing. It's pretty significant.
      • then... if there are 6 sources of pictures, by blindfold guessing you'll get it right 16.66..% of the time
        If they're smart, they'll only ever guess one of two points:

        point a) Halfway between NY and Washington DC
        point b) Halfway between London and Paris

        This should give them a better than one-in-three chance of being correct to within 200km, as long as their program can take a decent stab at guessing which of the two sets is the more likely....
        • Re: (Score:3, Interesting)

          I'm not with you in the argument. Assuming there are just 6 cities, and that the proportion from each is the same: 1/6, if you guess randomly you are right 1/6 of the time. It's just like a die... Then, if there are zillions of sources but only six cities amount for most of the pictures, then randomly guessing among them will get you close to this 1/6...
          • Re: (Score:3, Insightful)

            exactly, its like a d6 die... if i have to identify one (and only one) picture i'll have a 1d6 chance of getting it right

            but when you have to roll this for 200 cities, also chosen by a 1d6 roll, you have two dies being rolled 200 times, and you want to know how many times both dies have the same value
            • No, I think you're misunderstanding how this works.

              Given that there are 6 locations where all (or nearly all) of the pictures being used were taken,

              Deriving from this that the probability of getting any 1 of these right by random guessing is 1 in 6,

              Given that the accuracy averaged over 200 pictures is slightly less than 1 in 6,

              The computer does slightly worse than chance.

              However, my guess is that the first given is not entirely correct ;-)

              Dan Aris

  • by stainlesssteelpat (905359) on Wednesday June 18 2008, @09:03AM (#23838501)
    Dude, that's as accurate as my girlfriends map navigation. *sigh*
  • I'll guess...New York City, without even looking at the pictures that should get me in that ballpark.
  • What I need (Score:4, Interesting)

    by Intron (870560) on Wednesday June 18 2008, @09:07AM (#23838583)
    ... is a program that will remember the names of the people in the photos.
  • heh (Score:5, Funny)

    by Kingrames (858416) on Wednesday June 18 2008, @09:07AM (#23838591)
    Show it a picture of the andromeda galaxy and throw its statistics way off.
  • by SlashTon (871960) on Wednesday June 18 2008, @09:10AM (#23838637)
    of the time...

    (Not counting those rich bastards who can afford taking a holiday on the ISS).

  • by UnknowingFool (672806) on Wednesday June 18 2008, @09:13AM (#23838681)
    Just like all statistics getting a good sample population is very important. If this program were to sample the /. population, it would come to one of two conclusions.
    1. We have no holidays as we don't socialize.
    2. We all live within 1.0 km of a basement. :P
  • by Bombula (670389) on Wednesday June 18 2008, @09:14AM (#23838695)
    The Photosynth multi-resolution and image-recognition tech demonstrated at TED looked cooler if you ask me:

    metacafe link here [metacafe.com] and TED link here [ted.com].

  • by Anonymous Coward on Wednesday June 18 2008, @09:15AM (#23838707)
    Machine is shown hundreds of thousands of holiday pictures from Flickr.



    Scientists surprised to discover it is possible for a machine to loose will to live.

  • Source code (Score:5, Funny)

    by RandoX (828285) on Wednesday June 18 2008, @09:18AM (#23838751)
    It's a for loop that spits out "Your mom's basement".
  • This is very hard (Score:5, Insightful)

    by mzs (595629) on Wednesday June 18 2008, @09:19AM (#23838765)
    Look at this set of pictures:

    http://htmlhelp.com/~liam/Hawaii/Kauai/WaimeaCanyon/ [htmlhelp.com]

    Would you know simply by looking at the photos without the sign that this was not say the grand canyon? The whole correct to 200 km aspect is troublesome when the state of the art in computer vision cannot yet even answer that this is a picture of a canyon.
    • by cheebie (459397) on Wednesday June 18 2008, @09:33AM (#23838955)

      Would you know simply by looking at the photos without the sign that this was not say the grand canyon?


      Yes, because there aren't 746 helicopters flying over it.
    • There's an upcoming paper coming from MIT on this topic, Recognition of Natural Scenes from Global Properties: Seeing the Forest Without Representing the Trees [mit.edu] that proves this isn't as hard as you might think.

      To sum up this massive paper in a very small (and likely highly imprecise) nutshell, building models up from basic objects (the traditional method) is only one way to approach this. Using this method, you are correct; it's impossible to understand what a canyon is. Using the new global properties

    • Re: (Score:3, Interesting)

      I would know it was Waimea Canyon because I've been there, and to the Grand Canyon, and as others have said the amount of vegitation and steepness of the walls differentiate the two very clearly, and i know that canyons that large are rare (on earth, above water), so it is unlikely to be some other place i just haven't been. :)
      But i know a lot more than computers.

      This all brings up an interesting point though... When you're in an unfamiliar place, but your friend knows the area, they can always tell you whe
    • Re: (Score:3, Insightful)

      Would you know simply by looking at the photos without the sign that this was not say the grand canyon?

      Yes, because the GC doesn't have so much vegetation growing down the sides.

      The whole correct to 200 km aspect is troublesome when the state of the art in computer vision cannot yet even answer that this is a picture of a canyon.

      The two things arn't related. You don't need to know it's a canyon to be able to locate it - you just find the closest match in your database and give that as the location. You only
  • by stoofa (524247) on Wednesday June 18 2008, @09:19AM (#23838767)
    OsamaBinLaden2001 has deleted his account
  • by jesdynf (42915) on Wednesday June 18 2008, @09:20AM (#23838783) Homepage
    200km, 16% of the time? I guess that sounds sorta neat... except that 84% of the time, it's off by more than 200km. Now, we know that the earth's circumference is 40000km, and it follows that nobody can ever be more than 20000km from any location on Earth.

    So 16% of the time, it's accurate to within one percent of the TOTAL RANGE OF ERROR. The other 84% of the time, you're on your own. I wonder if I could manage that kind of accuracy just by sampling colors, classifying them by terrain, and then just picking a likely spot at random.
    • by SQLGuru (980662) on Wednesday June 18 2008, @12:05PM (#23841453)
      Surface area of a sphere = 4*pi*r^2
      Radius of the Earth = 6 378.1 kilometers (from Google: http://www.google.com/search?hl=en&rlz=1T4ADBS_en__230US231&q=radius+of+earth [google.com] )

      Surface area of Earth: 510,065,600 km2 (http://www.google.com/search?hl=en&rlz=1T4ADBS_en__230US231&q=surface+area+of+earth)

      Percentage of surface area that is land: 29.2% (http://www.physicalgeography.net/fundamentals/8o.html)
      Surface area of Earth that is land: 148,940,000 km2 (same source)

      Area of a circle = pi*r^2
      Radius of "target" = 200km
      Area of target = 125663.7km2

      Number of "target" areas that could fit on the surface of the Earth covered by land (assuming too few landmarks to identify pictures take over water, so they will be excluded): 1185.2

      Chance of being right by pure dumb luck - 1 in 1185.2

      Layne
    • Re: (Score:3, Insightful)

      Your post made me think of something-- the Earth is really BIG! But I'm a nerd, so I had to prove it to myself.

      The surface area of the Earth, not counting water, is 510,072,000 km^2, according to Wikipedia. So, that's roughly 5.1 x 10^14 m^2. Again, according to Wikipedia, there are currently 6.67 x 10^9 people on Earth. That translates to about 7.65 x 10^4 m^2 for each person! In terms that Americans can understand, that's roughly 14 football fields (or to choose a landmark close to me, a little bi
  • by RichMan (8097) on Wednesday June 18 2008, @09:26AM (#23838863)
    From the looks of the test selecting London all the time would have a
    1/6 chance = 16.67% chance.

    They need better double blind testing and a more diverse set of geographical locations.
    • by zappepcs (820751) on Wednesday June 18 2008, @09:49AM (#23839173) Journal
      It's a bit worse than that I think. Trying to identify location of a picture by looking at it in the way that humans do requires that you know the location. As an example of why this implies intimate knowledge to be useful, everyone knows of the big statue of liberty. Not just anyone can guess that your holiday picture with the non-descript base in the background was taken at the base of the statue of liberty. The same goes for > 90% of other places in the world.

      Another example: The forests on planets on the show Stargate One, are they in Missouri, Montanna, Canada? Just looking at them will not necessarily tell you anything unless you are intimately familiar with the actual location.

      A photo in Syntagma Square in Athens may look like it was taken in Central Park in NYC if not enough of the background was included. It will take huge amounts of data and photos to get anywhere close to what a human can do at this job, and even then it is limited to only what it has seen before.

      Other knowledge plays a part too. London bridge is now in Arizona (I think) as it was moved brick by brick and re-assembled. Seeing the bridge does not now mean you know where it is .... it's a trick question. The point is that you need additional information as well. A picture that is a beautiful park setting that has a kangaroo in it? is it in Australia, or a zoo? Additional information is required.

      Hats off to them for working on it. It's a tough problem.
    • Re: (Score:3, Interesting)

      From the looks of the test selecting London all the time would have a
      1/6 chance = 16.67% chance.

      Indeed, not very impressive for London.

      Look at this guy's [wikipedia.org] claim for basic audio analysis:

      "Simply phonetics. The science of speech. That's my profession; also my hobby. Happy is the man who can make a living by his hobby! You can spot an Irishman or a Yorkshireman by his brogue. I can place any man within six miles. I can place him within two miles in London. Sometimes within two streets."

      And that was almost a century ago!

      • Re: (Score:3, Insightful)

        Accents used to be much more pronounced pre-radio/mass media. I know in Boston, individual streets had slight variations so that you could tell the neighborhood of a person by their accent. However, now that a large percentage of the words we hear are from movies/TV/radio our accents get washed out.
  • by BMonger (68213) on Wednesday June 18 2008, @09:51AM (#23839209)
    I propose we all take pictures with blue screen in them (not the whole background, just "enough") and then write a script to randomly replace the blue screen with alternative locations every time the picture loads.
  • by erroneus (253617) on Wednesday June 18 2008, @10:17AM (#23839633) Homepage
    I'd like to present this with Moon landing pictures to see where the moon landing was staged! (hahaha... love it)
  • by hedu (1215514) on Wednesday June 18 2008, @11:33AM (#23840933)
    Reminds me of the experiment done in a Dutch military lab a couple of years ago. They trained a neural network to recognize whether a photograph taken out on a country road had a military vehicle in it or not.

    The system recognized the photos from the training set perfectly, but did no better than random on images fed to it that were taken at different times.

    Turns out all the training shots with a military vehicle in it had been taken on a sunny day, and the control shots without one had been taken when it was overcast. The system had been trained to recognize a different thing from what they intended!
  • Google (Score:4, Interesting)

    by sckeener (137243) <<gro.sreneeksaxet> <ta> <gnilrets>> on Wednesday June 18 2008, @01:50PM (#23843099)
    Google should get behind this. I think their Picasa would benefit from it.

    Generate some autotags.

    What would be nice also is if they had a feature where if you labeled someone in a picture, if you uploaded another picture with that person in the picture, the program would prompt to auto tag.

    I've been going through old family photos and it would save so much time if the programs I am using autolabeled based off details in the picture.
    • Re:It helps.. (Score:4, Insightful)

      by gstoddart (321705) on Wednesday June 18 2008, @12:29PM (#23841817) Homepage

      Do you think it helps or hurts that my photos on Flickr have titles like "Tokyo - Ueno park"?

      For the researchers, it probably helps. They chose pics that had either GPS or location information -- so they could manually verify where the photos originated.

      If they started out with a bunch of pics they didn't have any location information about ... they'd never be able to measure their results. ;-)

      Cheers