LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-11-2007, 06:59 PM   #1
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
howto: Perl CGI, image with random scewed text for accoutn creations


I am writing some web stuff in perl-CGI, I need to have an accoutn registration page, I want to verify it is a real person and not a script the same way most sites do with an image containing random text that has been scewed so an OCR program cannot read it. I am wondering what the best way to accomplish this is.

P.S. I am a teacher, one of my students is blind, he informed me that many sites now also offer an audio alternative to the image, does anyone know about those as well?

Thank you!
 
Old 03-13-2007, 11:04 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
As a general reply, I suggest considering the ImageMagick toolkit. A tutorial that may be of particular interest is http://www.imagemagick.org/Usage/distorts/#wave. While I can't cite a specific reference, I am sure there are ready-made packages out there that do what you want. The buzzword used to describe this technology is 'captcha', and a Google search should turn up lots of useful hits.
--- rod.
 
Old 03-13-2007, 07:36 PM   #3
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Original Poster
Rep: Reputation: 47
Thank you, took em a while but I was able to find the term captcha in another forum, I found a perl module that does the graphical part. However I am still looking for an option for those who need accessibility options such as the blind.

-Chad Granum
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl CGI:Can't locate CGI.pm supermyself Programming 13 09-10-2007 07:22 AM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 06:07 AM
random image with gtk chirita Programming 1 08-29-2003 09:32 PM
Random Image Thread [pic] bkeating General 24 06-24-2002 11:33 PM
dhcp rpm scewed up guanyu Linux - General 2 02-09-2002 04:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration