Skip to content

A simple Captcha parsing algorithm developed for VITacademics.

Notifications You must be signed in to change notification settings

vijaynandwani/CaptchaParser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CaptchaParser

A simple Captcha parsing algorithm developed for VITacademics.

Quickstart

Clone the repo: git clone https://github.com/karthikb351/CaptchaParser.git.

Python Usage

Include the CaptchaParser.py file in the directory you are working in, else install it globally so you can import it from anywhere.

from CaptchaParser import CaptchaParser

img=Image.open("captcha.bmp")
parser=CaptchaParser()
captcha=parser.getCaptcha(img)
print captcha

Nodejs Usage

You'll need the CaptchaParser.js file within the scope of the node environment so you can require it.

var captcha = require("../CaptchaParser");
var fs = require("fs");
var buf = fs.readFileSync("captcha.bmp");

var pixMap = captcha.getPixelMapFromBuffer(buf);

console.log(captcha.getCaptcha(pixMap));

Bugs and feature requests

Have a bug or a feature request? If your problem or idea is not addressed yet, please open a new issue.

Contributing and License

Contribute away. Let's see them PRs.

Code released under the MIT license.

About

A simple Captcha parsing algorithm developed for VITacademics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.6%
  • Python 45.4%