Skip to content

nbswords/ocr-captchas

Repository files navigation

ocr-captchas

A pratice of OCR model for recognition Captchas by Tensorflow.Keras

Data

Example Dataset is from Kaggle's CAPTCHA Images.

Link

Usage

  • Prepare your data and name the folder captcha_images

    • notice that the label of captchas should be the filename of image just like example data
  • Train and save the model

python ocr_captcha.py
  • Inference with single image named test.png
python predict_example.py

Result

result

Learning curve

learning_curve

model

CRNN + CTC loss

model_structure

Releases

No releases published

Packages

No packages published

Languages