Captcha solver skips the tedious slicing step
A TensorFlow pipeline that reads whole captcha images end-to-end instead of segmenting characters first.

What it does
Trains a neural network to recognize text in captcha images without chopping them into individual characters first. Feed it 128×48 pixel images named like LABEL_*.jpg, run through tfrecord conversion, training, and evaluation scripts. Supports single GPU or multi-GPU training.
The interesting bit The 99.7% accuracy claim comes from a specific generator (lepture/captcha) with 50k samples and 20k steps. Switch generators to Gregwar/CaptchaBundle and accuracy drops to 52.1% even with 100k samples and 200k steps — a useful reminder that “captcha” covers a lot of visual ground.
Key highlights
- End-to-end recognition: no character segmentation preprocessing
- Python 2.7 + TensorFlow 1.1 + Anaconda2 4.3.1 (pinned, dated stack)
- Multi-GPU training script included
- Eval script produces accuracy numbers; recognize script prints predicted strings
- Works with custom datasets or default generated captchas
Caveats
- Python 2.7 and TensorFlow 1.1 are firmly in legacy territory
- Accuracy varies wildly by captcha generator; the 99.7% figure is not universal
- README lacks detail on model architecture or why segmentation-free works here
Verdict Worth a look if you’re researching captcha-breaking techniques or need a baseline end-to-end OCR pipeline to adapt. Skip it if you need modern dependencies or production-ready code — this is a 2017-era research snapshot.
Frequently asked
- What is PatrickLib/captcha_recognize?
- A TensorFlow pipeline that reads whole captcha images end-to-end instead of segmenting characters first.
- Is captcha_recognize open source?
- Yes — PatrickLib/captcha_recognize is open source, released under the Apache-2.0 license.
- What language is captcha_recognize written in?
- PatrickLib/captcha_recognize is primarily written in Python.
- How popular is captcha_recognize?
- PatrickLib/captcha_recognize has 571 stars on GitHub.
- Where can I find captcha_recognize?
- PatrickLib/captcha_recognize is on GitHub at https://github.com/PatrickLib/captcha_recognize.