# Image verification -- keeps bots out, and humans too!

**URL:** <https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210>\
**Category:** The BBQ Pit\
**Created:** [August 20, 2007, 2:46am UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210 "2007-08-20T02:46:36Z")\
**Posts on this page:** 19\
**Page:** 3

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [August 20, 2007, 11:58pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/41 "2007-08-20T23:58:40Z")

</div>

[QUOTE=Jayrot]  
The big point that most people miss when trying to come up with some clever new CAPTCHA system like the kittens and puppies, is that there has to be a finite number of possible pictures. Even if there are a thousand pictures of cats and dogs a human could easily go through and associate each one with the proper definition. Then all the bot has to do is recognize (most likely a hashed down version of the jpeg) and consult the list.  
[/QUOTE]

[Petfinder](http://www.petfinder.com/) currently has 253,065 animals listed on it. I’m almost certain that 200,000 of those animals are cats or dogs. Let’s say that half of those have pictures (it’s probably more–most groups use pictures these days). It’s a busy spammer who is going to go through and identify all those pictures.

And next week, they’ll have to do it again: Petfinder draws from animal shelters, where animals are constantly cycling in and out.

If image recognition software becomes good enough that a computer can figure out that [this is a cat](http://search.petfinder.com/petnote/displaypet.cgi?petid=4258790) and [this is a dog](http://search.petfinder.com/petnote/displaypet.cgi?petid=6670761), then this system will stop working. But I’m not aware of software that is that good yet.

Daniel

---

<div class="post-metadata">

**Author:** ![EllisDee](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ellisdee/32/4531_2.png) [@EllisDee](https://boards.straightdope.com/u/EllisDee)\
**Post date:** [August 21, 2007, 3:44am UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/42 "2007-08-21T03:44:47Z")

</div>

[QUOTE=Left Hand of Dorkness]  
If image recognition software becomes good enough that a computer can figure out that [this is a cat](http://search.petfinder.com/petnote/displaypet.cgi?petid=4258790) and [this is a dog](http://search.petfinder.com/petnote/displaypet.cgi?petid=6670761), then this system will stop working. But I’m not aware of software that is that good yet.  
[/QUOTE]  
I would say it’s quite a bit better, actually. All it has to do is identify the eyes and nose. Once you do that, it becomes immediately obvious by the ratio of the distance between eyes compare to the distance from the midpoint between the eyes to the nose.

Look at those pictures again. How hard would it be to identify the eyes and nose?

---

<div class="post-metadata">

**Author:** ![CaveMike](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cavemike/32/16379_2.png) [@CaveMike](https://boards.straightdope.com/u/CaveMike)\
**Post date:** [August 21, 2007, 5:02am UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/43 "2007-08-21T05:02:23Z")

</div>

[QUOTE=Ellis Dee]  
I would say it’s quite a bit better, actually. All it has to do is identify the eyes and nose. Once you do that, it becomes immediately obvious by the ratio of the distance between eyes compare to the distance from the midpoint between the eyes to the nose.

Look at those pictures again. How hard would it be to identify the eyes and nose?  
[/QUOTE]  
That is an interesting point, but it seems like it is a bit more difficult than that. The camera’s orientation relative to the subject would change the perceieved distance between the eyes and nose. For example, a picture of a dog taken directly in front of the dog’s nose would make the distance appear closer than a picture taken from above the dog’s head.

Likewise, the dog example up-thread shows another pair of complications. The second and third pictures show two dogs and one of the dogs is facing sideways. So the picture has exactly three dog eyes. A similar effect could be generated dynamically by croping the picture randomly on the fly.

---

<div class="post-metadata">

**Author:** ![Aitara](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@Aitara](https://boards.straightdope.com/u/Aitara)\
**Post date:** [August 21, 2007, 6:04am UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/44 "2007-08-21T06:04:54Z")

</div>

There is a partnership between [Petfinder](http://www.petfinder.com) and Microsoft called [Asirra](http://research.microsoft.com/asirra/). Images on petfinder are already classified by species, not just limited to dogs and cats. If you include adopted animals, there are well over a million images from which to select. Additionally, each image has a link to the animal’s details which will hopefully help to raise awareness.

I am not sure how many web sites have implemented this or how well it has worked as a CAPTCHA or if it has increased adoptions.

---

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [August 21, 2007, 10:46am UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/45 "2007-08-21T10:46:17Z")

</div>

[QUOTE=Aitara]  
There is a partnership between [Petfinder](http://www.petfinder.com) and Microsoft called [Asirra](http://research.microsoft.com/asirra/). Images on petfinder are already classified by species, not just limited to dogs and cats. If you include adopted animals, there are well over a million images from which to select. Additionally, each image has a link to the animal’s details which will hopefully help to raise awareness.

I am not sure how many web sites have implemented this or how well it has worked as a CAPTCHA or if it has increased adoptions.  
[/QUOTE]

Thanks for the link! Trying it out on that site makes it clear that **Ellis Dee’s** method wouldn’t work:  
-Some of the animals are in profile  
-Some of the animals have closed eyes  
-Some of the calico cats have weird patterns that could frustrate computer identification of their eyes  
-Some of the pictures have multiple animals  
-Some of the pictures have multiple pictures (i.e., they’re sort of a collage).

Daniel

---

<div class="post-metadata">

**Author:** ![saoirse](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@saoirse](https://boards.straightdope.com/u/saoirse)\
**Post date:** [August 21, 2007, 4:01pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/46 "2007-08-21T16:01:51Z")

</div>

[QUOTE=Jayrot]

YES, the squiggly letters are uniquely generated and obfuscated ON THE FLY.

[/QUOTE]

So do they get all wavy when the creator crosses his legs?

---

<div class="post-metadata">

**Author:** ![Troy\_McClure\_SF](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/troy_mcclure_sf/32/4150_2.png) [@Troy\_McClure\_SF](https://boards.straightdope.com/u/Troy_McClure_SF)\
**Post date:** [August 21, 2007, 5:20pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/47 "2007-08-21T17:20:42Z")

</div>

I don’t like CAPCHAs. I once got [turded](http://www.flickr.com/photos/troymccluresf/41747769/) by one, and it was _not_ a good night.

---

<div class="post-metadata">

**Author:** ![netsplit](https://avatars.discourse-cdn.com/v4/letter/n/ecc23a/32.png) [@netsplit](https://boards.straightdope.com/u/netsplit)\
**Post date:** [August 21, 2007, 6:14pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/48 "2007-08-21T18:14:59Z")

</div>

[QUOTE=saoirse]  
So do they get all wavy when the creator crosses his legs?  
[/QUOTE]

Nah it takes the trip the teleport machine to do that.

---

<div class="post-metadata">

**Author:** ![Mighty\_Girl](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@Mighty\_Girl](https://boards.straightdope.com/u/Mighty_Girl)\
**Post date:** [August 22, 2007, 3:36am UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/49 "2007-08-22T03:36:57Z")

</div>

[QUOTE=Troy McClure SF]  
I don’t like CAPCHAs. I once got [turded](http://www.flickr.com/photos/troymccluresf/41747769/) by one, and it was _not_ a good night.  
[/QUOTE]  
A few weeks back I forgot the password for one of my bank accounts and submitted a request for a new password. The new one was UCUNT. :eek:

I am still wondering if it is actually an automated task.

---

<div class="post-metadata">

**Author:** ![GusNSpot](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/gusnspot/32/436_2.png) [@GusNSpot](https://boards.straightdope.com/u/GusNSpot)\
**Post date:** [August 22, 2007, 6:04pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/50 "2007-08-22T18:04:30Z")

</div>

Small site, just make them do a back and forth email exchange of about 2-3 cycles. And / Or get a recommendation from an existing member.

Big sites are another problem…

---

<div class="post-metadata">

**Author:** ![hekk](https://avatars.discourse-cdn.com/v4/letter/h/50afbb/32.png) [@hekk](https://boards.straightdope.com/u/hekk)\
**Post date:** [August 24, 2007, 7:16am UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/51 "2007-08-24T07:16:56Z")

</div>

[QUOTE=Mangetout]  
I stumbled across a collection of unreadable or otherwise inappropriate CAPTCHAs a day or two ago - but I can’s seem to find it again  
[/QUOTE]

Was [this](http://www.tonsai.de/blog-english/2007/craziest-captchas-on-the-web/) it?

It’s pretty funny.

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [August 24, 2007, 8:07am UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/52 "2007-08-24T08:07:53Z")

</div>

That’s the one - thanks!

---

<div class="post-metadata">

**Author:** ![chappachula](https://avatars.discourse-cdn.com/v4/letter/c/d2c977/32.png) [@chappachula](https://boards.straightdope.com/u/chappachula)\
**Post date:** [August 24, 2007, 12:36pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/53 "2007-08-24T12:36:07Z")

</div>

I once saw a site use a captcha based on numbers:  
You had to type in the answer to the math problem shown in the captcha window  
the problem was something like :  
“346 plus one equals” (this was shown as a gif graphic or something similar, easy to read for a person, and I presume not so easy for a computer)

this seems like a perfect system to me: the human user only has to type 3 digits, and the bot presumably can’t read the question.  
Am I missing something here?

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [August 24, 2007, 12:52pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/54 "2007-08-24T12:52:49Z")

</div>

[QUOTE=chappachula]  
I once saw a site use a captcha based on numbers:  
You had to type in the answer to the math problem shown in the captcha window  
the problem was something like :  
“346 plus one equals” (this was shown as a gif graphic or something similar, easy to read for a person, and I presume not so easy for a computer)

this seems like a perfect system to me: the human user only has to type 3 digits, and the bot presumably can’t read the question.  
Am I missing something here?  
[/QUOTE]

If that text can be OCR’ed, it can easily be [parsed](http://www.google.co.uk/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-GB%3Aofficial&hs=mVY&q=346+plus+one&btnG=Search&meta=) for the answer.

---

<div class="post-metadata">

**Author:** ![iamthewalrus\_3](https://avatars.discourse-cdn.com/v4/letter/i/258eb7/32.png) [@iamthewalrus\_3](https://boards.straightdope.com/u/iamthewalrus_3)\
**Post date:** [August 24, 2007, 10:18pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/55 "2007-08-24T22:18:45Z")

</div>

A whole bunch of these potential CAPTCHAs are actually more limited than the existing ones because they either have an existing key that just has to be mined or are only good for small sites.

For a CAPTCHA to be good, it has to be useful to anyone. Any solution where each site has to make up its own questions or design its own solution that’s obscure enough that no one will bother to figure it out is not particularly helpful. It might be an ok solution for a few small sites, and there’s nothing wrong with that, but it will require a lot of reproduced work and won’t solve the general problem, since it won’t solve the problem for any site big enough to be a major target on its own.

For all the ones using pictures, the big problem is that the stash of pictures is known and public. Most of them are even tagged by users. The bots don’t have to use image recognition to figure it out, they can just get a site dump of Petfinder or Flickr or whatever and associate tags and other meta information with the image. Furthermore, given enough time, the bot will learn from its mistakes. Even though some of the photos it has are likely to be mislabeled, it can figure that out pretty quickly if it’s allowed repeated access to the authentication procedure.

---

<div class="post-metadata">

**Author:** ![Mighty\_Girl](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@Mighty\_Girl](https://boards.straightdope.com/u/Mighty_Girl)\
**Post date:** [August 24, 2007, 11:24pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/56 "2007-08-24T23:24:29Z")

</div>

The only accurate solution I can think of is a retina scan accompanied by a photocopy of their social security and a valid driver’s license. And a DNA test.

I am only half kidding.

---

<div class="post-metadata">

**Author:** ![Left\_Hand\_of\_Dorkness](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/left_hand_of_dorkness/32/7156_2.png) [@Left\_Hand\_of\_Dorkness](https://boards.straightdope.com/u/Left_Hand_of_Dorkness)\
**Post date:** [August 25, 2007, 12:35pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/57 "2007-08-25T12:35:14Z")

</div>

[QUOTE=iamthewalrus(:3=]  
For all the ones using pictures, the big problem is that the stash of pictures is known and public. Most of them are even tagged by users. The bots don’t have to use image recognition to figure it out, they can just get a site dump of Petfinder or Flickr or whatever and associate tags and other meta information with the image. Furthermore, given enough time, the bot will learn from its mistakes. Even though some of the photos it has are likely to be mislabeled, it can figure that out pretty quickly if it’s allowed repeated access to the authentication procedure.  
[/QUOTE]

Again, Petfinder has literally hundreds of thousands of images, and these images rotate in and out on an hourly basis as animals at shelters are adopted/returned to owners/euthanized. IT would be extremely difficult for a user to tag all the images, or for a bot to learn all the images.

Daniel

---

<div class="post-metadata">

**Author:** ![Aitara](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@Aitara](https://boards.straightdope.com/u/Aitara)\
**Post date:** [August 26, 2007, 5:02pm UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/58 "2007-08-26T17:02:38Z")

</div>

[QUOTE=iamthewalrus(:3=]  
For all the ones using pictures, the big problem is that the stash of pictures is known and public. Most of them are even tagged by users. The bots don’t have to use image recognition to figure it out, they can just get a site dump of Petfinder or Flickr or whatever and associate tags and other meta information with the image. Furthermore, given enough time, the bot will learn from its mistakes. Even though some of the photos it has are likely to be mislabeled, it can figure that out pretty quickly if it’s allowed repeated access to the authentication procedure.  
[/QUOTE]

Petfinder gave the Microsoft developers access to their entire database, not just the public images - about 3 million images and growing at about 10,000 per day. Only about 10% of the database represents animals for adoption and therefore publicly available. Additionally, the bots would not just have to guess right on one photo, Asirra presents 12 images where the viewer needs to identify a specific animal.

Microsoft also limits the number of challenges in a day, over 500 failed HIP challenges will result in automatic failure for several hours and also alerts network admins.

Granted, this is all based on information from the [Microsoft web site](http://research.microsoft.com/asirra/security.aspx) , so I am sure that there will be holes discovered later.

---

<div class="post-metadata">

**Author:** ![Cuckoorex](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@Cuckoorex](https://boards.straightdope.com/u/Cuckoorex)\
**Post date:** [August 27, 2007, 6:25am UTC](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210/59 "2007-08-27T06:25:16Z")

</div>

Best solution: find at least ONE of the spammers responsible for, well, SPAM, and publicly torture and kill them, Inquisition-style, and put out notice that we WILL find other spammers and they WILL suffer the same fate. And maybe to drive the message home even more we invade a small country, declare that the name of the country is changed to “Spam” and that the inhabitants are “Spammers” then we send in troops to rape, pillage, and kill the entire country on live TV, then have a stern voice-over say “Are YOU a spammer? THIS is what will happen to your family, friends, everyone you ever cared about. And it’s just the BEGINNING of what will happen to you. Stop now and repent, or you will find yourself praying for a death that will not come.” Then put one of those disclaimers at the bottom of the screen, you know, the ones that they put on car commercials where a truck gets attacked and spat out by the Loch Ness Monster and it says “DRAMATIZATION” just in case someone tries to complain about the announcement. Yeah, that’ll work.

[Previous page](https://boards.straightdope.com/t/image-verification-keeps-bots-out-and-humans-too/416210.md?page=2)
