/WandCaptcha

A python image CAPCTCHA generator based on wand.

Primary LanguagePythonOtherNOASSERTION

WandCaptcha

A python image CAPCTCHA generator based on wand.

This project is modified from captcha, with the image processing library changed to wand.

The project is still in the preliminary development stage.

To run this code, you need to find a copy of "Roboto-Regular.ttf" font (may from google fonts) and put it under the font directory, or provide the fonts argument when initiating WandCaptcha.

For example:

from WandCaptcha import WandCaptcha

captcha = WandCaptcha(fonts=['/path/to/FontA.ttf', '/path/to/FontB.ttf'])
captcha.write("textBody", "demo.png")

TODO: