Instructions to use keras-io/ocr-for-captcha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use keras-io/ocr-for-captcha with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("keras-io/ocr-for-captcha") - Notebooks
- Google Colab
- Kaggle
Keras Implementation of OCR model for reading captcha π€π¦Ήπ»
This repo contains the model and the notebook to this Keras example on OCR model for reading captcha.
Full credits to: Aakash Kumar Nain
Background Information
This example demonstrates a simple OCR model built with the Functional API. Apart from combining CNN and RNN, it also illustrates how you can instantiate a new layer and use it as an "Endpoint layer" for implementing CTC loss.
This model uses subclassing, learn more about subclassing from this guide.

- Downloads last month
- 104