Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 712 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 712 Bytes

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