Page 1 of 1
comparing Text from Image
Posted: Thu Jul 10, 2008 11:08 pm
by dumlee
How to insert Image containing text in Registration Page and compare the text entered by user with that present in Image.
Re: comparing Text from Image
Posted: Thu Jul 10, 2008 11:36 pm
by Benjamin
Re: comparing Text from Image
Posted: Fri Jul 11, 2008 12:40 am
by Apollo
You mean a CAPTCHA, there are plenty of ready-to-use implementations available. See also
this topic.
Re: comparing Text from Image
Posted: Fri Jul 11, 2008 1:47 am
by Rovas
Another method for Turing test of distinguishing humas and computer is to put a image containing an object so that the user can put his name. The implementations is a MySQL table that contains the image and correct answer. You make a script that randomly picks one of the images and verify the answer. Another method is to mathematical equations or simple calculus which are also simple to implement.
Re: comparing Text from Image
Posted: Fri Jul 11, 2008 3:03 am
by onion2k
Rovas wrote:Another method for Turing test of distinguishing humas and computer is to put a image containing an object so that the user can put his name. The implementations is a MySQL table that contains the image and correct answer. You make a script that randomly picks one of the images and verify the answer.
Interesting idea, but if you displayed an image of, for example, a car how would validate people who enter "automobile" or "red car" or "Ferrari F430"? They'd all be correct but they wouldn't match what's in the database.
Re: comparing Text from Image
Posted: Fri Jul 11, 2008 6:25 am
by jayshields
Maybe he means something more simple like "Identify which shape is shown" and then you can show a square, triangle, circle, etc.
Re: comparing Text from Image
Posted: Fri Jul 11, 2008 6:50 am
by Rovas
onion2k wrote:
Interesting idea, but if you displayed an image of, for example, a car how would validate people who enter "automobile" or "red car" or "Ferrari F430"? They'd all be correct but they wouldn't match what's in the database.
If you put a picture of a cat do you think that a majority of people will say: "That' s a male Chartreux!" and input male Chartreux no they put cat, the same goes for the Ferrari F430. Also like Jay said you could put geometric shapes or everyday objects: chair, table, a bottle, etc.
Re: comparing Text from Image
Posted: Fri Jul 11, 2008 9:49 am
by jayshields
Speaking from zero experience, I think that with CAPTCHA's, aslong as you write your own it doesn't matter how simple it is, it's going to be fine. No ones going to write a bot to spam one website (with some exceptions).
I say this because my example of geometric shapes would be much easier to crack than some of the mega obscure text CAPTCHA's out there now - which leads me onto another topic - how annoying it is when you have to guess a CAPTCHA more than once.