Instructions to use inviolus/InviolusOCR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use inviolus/InviolusOCR with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://inviolus/InviolusOCR") - Notebooks
- Google Colab
- Kaggle
Download alphabet.json from inviolus/InviolusOCR: direct link, hf CLI and curl.
- Browser
- Download file 141 Bytes
-
https://huggingface.co/inviolus/InviolusOCR/resolve/main/alphabet.json
- Command line
-
hf download hf://inviolus/InviolusOCR/alphabet.json
-
curl -L -o alphabet.json https://huggingface.co/inviolus/InviolusOCR/resolve/main/alphabet.json
141 Bytes
| { | |
| "alphabet": "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ çğıİöşüÇĞÖŞÜ.,:;!?-_/()'%", | |
| "blank_id": 89 | |
| } |