Mindket

Chakkhu Khmer OCR

Newversion 1 · updated

Overview

Reads Khmer and English text from pictures of a text line or a printed page, returning the text, a confidence score and line boxes. A CPU demo with a free API, for people who digitize Khmer documents.

Chakkhu Khmer OCR is a kit in the Productivity 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.

At a glance

You need
  • Nothing at all if you only use the online Space
  • Python and pip, for a local copy
  • The Python packages listed in requirements.txt
Runs in
  • A web browser, on the Space's page at Hugging Face
  • Windows, macOS or Linux with Python, as a local copy
  • Your own code, through the free API endpoint named read
Start with
pip install -U huggingface_hub
hf download muyleanging/Chakkhu-OCR-Demo --repo-type space --local-dir Chakkhu-OCR-Demo
cd Chakkhu-OCR-Demo

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

This is a Gradio demo that reads Khmer and English text from pictures. It uses the Chakkhu-OCR-Khmer model, which has 18.6M parameters and runs on a CPU. You upload one line of text or a page of printed text, and a line finder cuts a page into lines first. A free API endpoint returns the text with a confidence score and line boxes.

Who it suits

People who need Khmer or mixed Khmer and English text out of printed pictures, and developers who want an OCR endpoint to call.

IndustryWho uses itHow they use itExample
ArchivesDigitization staffTurn printed Khmer pages into textRead a scanned page of a printed document
BusinessBack-office teamsPull text from printed forms and noticesExtract a line of text from a photo
ResearchLanguage researchersTest an OCR model on Khmer samplesCheck the confidence on a sample line
SoftwareDevelopersCall the read endpoint from their own codeGet text and line boxes for an image

Skip it if your text is handwritten or in another script, since the page speaks only of printed Khmer and English.

Where to use it

  • A web browser, on the Space's page at Hugging Face
  • Windows, macOS or Linux with Python, as a local copy
  • Your own code, through the free API endpoint named read
Use caseWhoWhat they get back
Read one text lineAnyoneThe text of the line with a confidence score
Read a printed pageDigitization staffText for each line the finder cut out, with line boxes
Call the APIDevelopersText, confidence and line boxes in the reply

How to set it up

  • Nothing at all if you only use the online Space
  • Python and pip, for a local copy
  • The Python packages listed in requirements.txt
  1. Open the Space's page at Hugging Face to use it online.
  2. For a local copy, install the Hugging Face hub package and download the Space.
  3. Move into the new folder and install Gradio at the pinned version.
  4. Install the packages from requirements.txt.
  5. Start the app with Python.
pip install -U huggingface_hub
hf download muyleanging/Chakkhu-OCR-Demo --repo-type space --local-dir Chakkhu-OCR-Demo
cd Chakkhu-OCR-Demo
pip install gradio==6.31.0
pip install -r requirements.txt
python app.py

The repository holds an examples folder with sample pictures and a folder for the model code. The page does not say what a local run needs beyond the packages.

How to use it

Online, open the Space and upload a picture of one text line or a printed page. The app returns the recognized text. Developers can call the free read endpoint, which returns text, confidence and line boxes.

ToolWhat it does
UploadTakes a picture of one text line or a printed page
Line finderCuts a page picture into separate lines
readThe API endpoint that returns text, confidence and line boxes
python app.pyStarts the Gradio app on your computer

Example

You upload a picture of a single printed Khmer line from the examples folder. The app returns the recognized text and how confident it is, and you check that against the picture.

For newcomers and experts

If you are new, try one of the bundled example pictures first. They show what a clean printed Khmer line looks like before you use your own scan.

If you know the field, the model is small at 18.6M parameters, and the page reports a character error rate of 4.50 percent on the full KHOB benchmark, against 5.87 percent for Netra-OCR. Those figures are the author's own, so test on your own documents.

  1. You upload a line or a page
  2. The line finder splits a page into lines
  3. The OCR model reads each line
  4. Text, confidence and boxes come back

Good to know

  • License: apache-2
  • Cost to run: none named, and the Space sits on the basic CPU tier at Hugging Face
  • Data it reaches: the pictures you upload, and the model files from Hugging Face
  • Not for: handwriting or other scripts, since the page describes printed Khmer and English
Character error rate on the KHOB benchmark
Chakkhu OCR4.50 percent
Netra-OCR5.87 percent

README and files

README

Chakkhu Khmer OCR

Reads Khmer and English text from pictures of a text line or a printed page, returning the text, a confidence score and line boxes. A CPU demo with a free API, for people who digitize Khmer documents.

Made by muyleanging on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: This is a Gradio demo that reads Khmer and English text from pictures. It uses the Chakkhu-OCR-Khmer model, which has 18.6M parameters and runs on a CPU. You upload one line of text or a page of printed text, and a line finder cuts a page into lines first. A free API endpoint returns the text with a confidence score and line boxes.

Who it suits: People who need Khmer or mixed Khmer and English text out of printed pictures, and developers who want an OCR endpoint to call.

Industry | Who uses it | How they use it | Example
Archives | Digitization staff | Turn printed Khmer pages into text | Read a scanned page of a printed document
Business | Back-office teams | Pull text from printed forms and notices | Extract a line of text from a photo
Research | Language researchers | Test an OCR model on Khmer samples | Check the confidence on a sample line
Software | Developers | Call the read endpoint from their own code | Get text and line boxes for an image

Skip it if your text is handwritten or in another script, since the page speaks only of printed Khmer and English.

Where to use it:

  • A web browser, on the Space's page at Hugging Face
  • Windows, macOS or Linux with Python, as a local copy
  • Your own code, through the free API endpoint named read
Use case | Who | What they get back
Read one text line | Anyone | The text of the line with a confidence score
Read a printed page | Digitization staff | Text for each line the finder cut out, with line boxes
Call the API | Developers | Text, confidence and line boxes in the reply

How to set it up:

  • Nothing at all if you only use the online Space
  • Python and pip, for a local copy
  • The Python packages listed in requirements.txt
  1. Open the Space's page at Hugging Face to use it online.
  2. For a local copy, install the Hugging Face hub package and download the Space.
  3. Move into the new folder and install Gradio at the pinned version.
  4. Install the packages from requirements.txt.
  5. Start the app with Python.
pip install -U huggingface_hub
hf download muyleanging/Chakkhu-OCR-Demo --repo-type space --local-dir Chakkhu-OCR-Demo
cd Chakkhu-OCR-Demo
pip install gradio==6.31.0
pip install -r requirements.txt
python app.py

The repository holds an examples folder with sample pictures and a folder for the model code. The page does not say what a local run needs beyond the packages.

How to use it: Online, open the Space and upload a picture of one text line or a printed page. The app returns the recognized text. Developers can call the free read endpoint, which returns text, confidence and line boxes.

Tool | What it does
Upload | Takes a picture of one text line or a printed page
Line finder | Cuts a page picture into separate lines
read | The API endpoint that returns text, confidence and line boxes
python app.py | Starts the Gradio app on your computer

Example: You upload a picture of a single printed Khmer line from the examples folder. The app returns the recognized text and how confident it is, and you check that against the picture.

For newcomers and experts: If you are new, try one of the bundled example pictures first. They show what a clean printed Khmer line looks like before you use your own scan.

If you know the field, the model is small at 18.6M parameters, and the page reports a character error rate of 4.50 percent on the full KHOB benchmark, against 5.87 percent for Netra-OCR. Those figures are the author's own, so test on your own documents.

You upload a line or a page
The line finder splits a page into lines
The OCR model reads each line
Text, confidence and boxes come back

Good to know:

  • License: apache-2
  • Cost to run: none named, and the Space sits on the basic CPU tier at Hugging Face
  • Data it reaches: the pictures you upload, and the model files from Hugging Face
  • Not for: handwriting or other scripts, since the page describes printed Khmer and English
Title: Character error rate on the KHOB benchmark
Chakkhu OCR: 4.50 percent
Netra-OCR: 5.87 percent

On Hugging Face, 13 November 2026

  • Likes: 2
  • Built with: gradio
  • License: apache-2.0

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
Chakkhu Khmer OCR This page2gradioapache-2.0
MusicGenShares gradio5,116gradiocc-by-nc-4.0
Kokoro TTSShares gradio3,556gradioapache-2.0
Background RemovalShares gradio2,988gradiomit
Omni Image EditorShares gradio2,922gradiomit
Diffusers Image OutpaintShares gradio2,565gradioapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

DeepSeek-R1-GGUF

unsloth · Kit

GGUF copies of the 671B DeepSeek-R1 reasoning model, with 1.58-bit and 2-bit dynamic quants, for running it in llama.cpp on a local machine with enough memory.

New

Axion-1.0-35B-GGUF

prithivMLmods · Kit

Provides GGUF files of Axion-1.0-35B, a 35B mixture-of-experts model with about 3B active parameters aimed at scientific reasoning, information seeking and too…

New

HEART

Phips · Kit

Upscales low-resolution images with a super-resolution network that trains on one consumer GPU and exports to ONNX. For people who train or run image upscalers.

New

Similar in Productivity

See all in Productivity

ACE-Step 1.5 XL SFT

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…

New

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Frontend Slides

zarazhangrui · Skill

Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…

New32.3k