Skip to content

Break 2ch CAPTCHA using OpenCV and FANN

License

Notifications You must be signed in to change notification settings

iamforrest/chaptcha

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chaptcha

Break CAPTCHA at 2ch.hk using OpenCV and FANN. Just for fun (UWBFTP).

CAPTCHA WAS CHANGED, THIS CODE IS LEFT JUST FOR HISTORIC PURPOSES. Maybe I'll update it for the new one some day.

Demo

Demo backend is available at ch.genshiken.org, install userscript to try it out (not tested for compatibility with Dollchan Extension Tools).

Requirements

Usage

# Visualize preprocess/segmentation steps
python chaptcha.py vis -i captcha.png
# Collect training data
python chaptcha.py collect -o captchas/ -k ag.txt
# Train neural network
python chaptcha.py train -i captchas/ -o my.net
# Recognize CAPTCHA
python chaptcha.py ocr -i captcha.png -n my.net
# Host OCR backend (for chaptcha.user.js)
python chaptcha.py serve -n my.net

Links

License

CC0.

About

Break 2ch CAPTCHA using OpenCV and FANN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.2%
  • JavaScript 11.8%