design

main interfaces...

The two main interfaces of this package are :

  • Captcha : a representation of the 'are you human' test
    • It is basically composed of a question, a challenge, and a validation routine.
  • CaptchaFactory : the Captcha builder, that use others Core components to build captchas

...and components

This module defines also a component sub package that contains components used by factories to build captchas. Components are used by Captcha factories to build captchas.

Word

Package

Component

Feature

Interface

com.octo.captcha.wordgenerator

WordGenerator

Generate random localized strings

ComposeDictionnayWordGenerator (use a dictonnary to compose meaningless words)

Image

Package

Component

Feature

Interface

com.octo.captcha.image

image components

Generate images

See sub packages

com.octo.captcha.image.backgroundgenerator

background component

Generate background images

FileReaderBackgroundGenerator

com.octo.captcha.image.deformation

deformation component

Apply deformation to images

ImageDeformationByFilters

com.octo.captcha.image.textpaster

text past component

Past a text on a backgroung

SimpleTextePaster

com.octo.captcha.image.fontgenerator

font component

generate a font

TwistedAndShearedRandomFontGenerator

com.octo.captcha.image.wordtoimage

word to image component

create an image from a string

DeformedComposedWordToImage

Sound

Package

Component

Feature

Interface

com.octo.captcha.sound

sound components

Generate sounds

See sub packages