Spaces:
Sleeping
Sleeping
|
Download smoke_signal/tessdata/README.md from Pointf5ive/Codex_Extractor: direct link, hf CLI and curl.
- Browser
- Download file 740 Bytes
-
https://huggingface.co/spaces/Pointf5ive/Codex_Extractor/resolve/main/smoke_signal/tessdata/README.md
- Command line
-
hf download hf://spaces/Pointf5ive/Codex_Extractor/smoke_signal/tessdata/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Pointf5ive/Codex_Extractor/resolve/main/smoke_signal/tessdata/README.md
740 Bytes
| # Smoke Signal Tessdata Drop Folder | |
| Put custom Tesseract model files here as `.traineddata`. | |
| Naming rule: | |
| - Use lowercase + underscores based on detected font name. | |
| - Example: `Gill Sans Infant` -> `gill_sans_infant.traineddata` | |
| The OCR runtime will auto-pick models from either: | |
| - `/tmp/smoke_signal/tessdata/` | |
| - `smoke_signal/tessdata/` (this folder) | |
| Important: | |
| - `.otf` / `.ttf` files are not Tesseract models. | |
| - A file like `gill_sans_infant.traineddata.otf` is still a font file, not usable by Tesseract OCR. | |
| If your model name is custom and does not match slug, register it once: | |
| ```python | |
| from smoke_signal.scripts.font_library import register_font_model | |
| register_font_model("Gill Sans Infant", model_name="my_model_name") | |
| ``` | |