Qwen2.5-7B-Instruct-GGUF by Qwen
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who need Khmer OCR in Python.
anaksor-ocr is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install anaksor-ocr pip install "anaksor-ocr[torch]"
anaksor-ocr holds the weights for Khmer OCR, with English and Latin text supported too. Two models work together. A detector finds the lines of text in an image, and a recogniser reads each cropped line. They power the anaksor-ocr Python package.
Developers who need to turn Khmer documents, receipts and sign photos into text, under the Apache 2.0 license.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Administration | Records teams | Digitize Khmer letters and forms | Turn a scanned letter into text |
| Retail and finance | Back-office teams | Read receipts that mix Khmer and Latin text | Pull the text from a receipt photo |
| Software | App developers | Add Khmer OCR to an app | Read a sign photo in a mobile app |
| Research | NLP researchers | Study Khmer text detection and recognition | Compare model versions on a test set |
Skip it if your text is in other scripts, since the model covers Khmer and English.
It runs in Python through the anaksor-ocr package, or from its command line.
| Use case | Who | What they get back |
|---|---|---|
| Document OCR | Back-office teams | The text of a letter or form |
| Receipt reading | Finance teams | The text lines found on a receipt |
| Sign reading | App developers | Text recognised in a photo |
You need Python and the package.
pip install anaksor-ocr pip install "anaksor-ocr[torch]"
You can also download the repository by hand, and pin a release by its tag.
pip install -U huggingface_hub hf download Sokheng/anaksor-ocr --local-dir weights/huggingface hf download Sokheng/anaksor-ocr --revision rec-v4-det-dbpp-v1 --local-dir weights/huggingface
Create the OCR object, pass it an image path, and read the text from the result.
import anaksor
ocr = anaksor.OCR()
result = ocr("letter.jpg")
print(result["text"])The command line does the same. Environment variables pin a release or use local weights with no network.
ANAKSOR_HF_REVISION=rec-v4-det-v3 anaksor letter.jpg anaksor --fetch-models ANAKSOR_WEIGHTS_DIR=./weights anaksor letter.jpg
| Tool | What it does |
|---|---|
| anaksor.OCR | Runs detection and recognition on an image |
| anaksor | Command line that reads an image file |
| anaksor --fetch-models | Downloads the model files ahead of time |
| ANAKSOR_HF_REVISION | Pins a tagged release of the weights |
| ANAKSOR_WEIGHTS_DIR | Uses local weights and no network |
You pass a photo of a typed Khmer letter to the OCR object. The result comes back with a text field, and you print it to read the letter's text.
If you are new to OCR, install the package, run it on one clear photo and print the text. Fetching the models first is a good idea if your network is slow.
If you know the field, recognition is an SVTRv2-B encoder with a CTC head, and detection is a mobile DBNet++ with a RepViT backbone and an Adaptive Scale Fusion block. The package hash-checks each download and caches it. The card adds that loading these file types does not execute code. Load a .pth checkpoint with the .yml config from the same revision.
The card reports recognition v4 at 86.7% line accuracy on real validation lines, against 84.8% for the previous version. Gains are largest on Latin text, while Khmer-only lines are about one point behind v3.
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who need Khmer OCR in Python.
Made by Sokheng on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: anaksor-ocr holds the weights for Khmer OCR, with English and Latin text supported too. Two models work together. A detector finds the lines of text in an image, and a recogniser reads each cropped line. They power the anaksor-ocr Python package.
Who it suits: Developers who need to turn Khmer documents, receipts and sign photos into text, under the Apache 2.0 license.
Industry | Who uses it | How they use it | Example
Administration | Records teams | Digitize Khmer letters and forms | Turn a scanned letter into text
Retail and finance | Back-office teams | Read receipts that mix Khmer and Latin text | Pull the text from a receipt photo
Software | App developers | Add Khmer OCR to an app | Read a sign photo in a mobile app
Research | NLP researchers | Study Khmer text detection and recognition | Compare model versions on a test set
Skip it if your text is in other scripts, since the model covers Khmer and English.
Where to use it: It runs in Python through the anaksor-ocr package, or from its command line.
Use case | Who | What they get back
Document OCR | Back-office teams | The text of a letter or form
Receipt reading | Finance teams | The text lines found on a receipt
Sign reading | App developers | Text recognised in a photo
How to set it up: You need Python and the package.
pip install anaksor-ocr
pip install "anaksor-ocr[torch]"
You can also download the repository by hand, and pin a release by its tag.
pip install -U huggingface_hub
hf download Sokheng/anaksor-ocr --local-dir weights/huggingface
hf download Sokheng/anaksor-ocr --revision rec-v4-det-dbpp-v1 --local-dir weights/huggingface
How to use it: Create the OCR object, pass it an image path, and read the text from the result.
import anaksor
ocr = anaksor.OCR()
result = ocr("letter.jpg")
print(result["text"])
The command line does the same. Environment variables pin a release or use local weights with no network.
ANAKSOR_HF_REVISION=rec-v4-det-v3 anaksor letter.jpg
anaksor --fetch-models
ANAKSOR_WEIGHTS_DIR=./weights anaksor letter.jpg
Tool | What it does
anaksor.OCR | Runs detection and recognition on an image
anaksor | Command line that reads an image file
anaksor --fetch-models | Downloads the model files ahead of time
ANAKSOR_HF_REVISION | Pins a tagged release of the weights
ANAKSOR_WEIGHTS_DIR | Uses local weights and no network
Example: You pass a photo of a typed Khmer letter to the OCR object. The result comes back with a text field, and you print it to read the letter's text.
For newcomers and experts: If you are new to OCR, install the package, run it on one clear photo and print the text. Fetching the models first is a good idea if your network is slow.
If you know the field, recognition is an SVTRv2-B encoder with a CTC head, and detection is a mobile DBNet++ with a RepViT backbone and an Adaptive Scale Fusion block. The package hash-checks each download and caches it. The card adds that loading these file types does not execute code. Load a .pth checkpoint with the .yml config from the same revision.
Load an image
Detector finds the text lines
Crop each line
Recogniser reads each crop
Return the text
Good to know: The card reports recognition v4 at 86.7% line accuracy on real validation lines, against 84.8% for the previous version. Gains are largest on Latin text, while Khmer-only lines are about one point behind v3.
Title: Line accuracy on real validation lines
v3 all lines: 84.8%
v4 all lines: 86.7%
v3 Latin lines: 66.9%
v4 Latin lines: 76.4%
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download Sokheng/anaksor-ocr
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| anaksor-ocr This page | 61 | 4 | — | apache-2.0 | |
| PP-OCRv6_mangaShares text-recognition · text-detection · image-to-text | 437 | 14 | — | apache-2.0 | |
| indra-ocrShares image-to-text · onnx · safetensors | 8,624 | 529 | 1.3M | openrail | |
| Koharu Layout HighResShares text-detection · safetensors | 125 | 5 | 46.6M | apache-2.0 | |
| all-MiniLM-L6-v2Shares pytorch · onnx · safetensors | 174,740,184 | 6,104 | 22.7M | apache-2.0 | |
| bge-small-en-v1.5Shares pytorch · onnx · safetensors | 45,750,548 | 671 | 33.4M | mit |
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
AbdomenAtlas · Kit
Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.