Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

captcha implementation in java

hii all,

hey am doin my fianl year enginnering project..its about findin a comprehensive metric system for captcha evaluation..so for tat first we need to implemnt a few captchas..so i m not able to find de correct codings in java for the implementations of different types of captchas which are already existing..so pls can any one of u help me in gettin de proper code for captcha implementation
[409 byte] By [krithika] at [2007-11-11 10:19:38]
# 1 Re: captcha implementation in java
http://captchas.net/
Is it what u after?
Kinda Electroni at 2007-11-11 22:31:40 >
# 2 Re: captcha implementation in java
Why do not you try to write youself
just display some random text and ask the user to enter the text in a textbox?
it career at 2007-11-11 22:32:40 >
# 3 Re: captcha implementation in java
yeah but de thing is our proj is not mainly focussed on implementation of captchas..it is jus a very small part of it..plus it ll take a lot of time to implement atleast 5 diff types of captchas..
krithika at 2007-11-11 22:33:44 >
# 4 Re: captcha implementation in java
A captcha is not difficult if you look at the ImageIO (http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/ImageIO.html) class. It has all the methods to write some text onto an image.

I don't know what you mean by different types of captchas but they are basically going to be text written over images in different fonts and backgrouds.
aniseed at 2007-11-11 22:34:38 >
# 5 Re: captcha implementation in java
yeah imageIO classes was a reasonable solution. what i am looking for is some functions that would help me distort the alphabets, say tilt the character by a specific angle or change the glyphs.. please help!
krithika at 2007-11-11 22:35:42 >
# 6 Re: captcha implementation in java
google "java font factory" for many references which should give you ideas for creating your own set of "mixed up fonts" - - - you can randomly choose pieces of (standardly installed) different font families to create your basic font, then randomly change the appearance (weight, size, other attributes) and then rotate in a randomly chosen amount(?)
nspils at 2007-11-11 22:36:41 >
# 7 Re: captcha implementation in java
hi all... i have got to do a project on captcha...can anyone plz give me some ideas on which topic i can do my proj on the same...
Payal at 2007-11-11 22:37:40 >