anaksor-ocr
Sokheng · Kit
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…
Reads a page image and returns its text as Markdown, with layout grounding. A demo of the LightOnOCR-3 models that runs in the browser on ZeroGPU.
LightOnOCR-3 Demo 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.
pip install -U huggingface_hub hf download lightonai/LightOnOCR-3-Demo --repo-type space --local-dir LightOnOCR-3-Demo cd LightOnOCR-3-Demo
LightOnOCR-3 Demo turns a page image into Markdown text. It does layout grounding, so the result stays tied to how the page is laid out. It demonstrates the LightOnOCR-3 model, which the Space names in 4B, 1B and 0.8B sizes. The Space runs on Hugging Face, so you can try it in a browser with nothing to install.
People who need the text of scanned or photographed pages in an editable form, and developers who want to try an OCR model before building on it.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Document processing | Office teams | Turn a scanned page into Markdown text | Drop one page and read the Markdown |
| Records and archives | Archivists | Digitize printed pages into text | Try a page from the examples folder |
| Software | Developers | Compare the three model sizes on the same page | Run one page against each size the Space names |
| Research | OCR researchers | Look at how layout grounding ties text to the page | Open a page and inspect the grounded output |
Anyone who only needs to read pages by eye can skip it.
It runs in these places.
| Use case | Who | What they get back |
|---|---|---|
| Convert a page to Markdown | Office teams | The page text as Markdown |
| Check the layout grounding | Researchers | Output tied to the page layout |
| Reuse the app code | Developers | A local copy with ocr.py and grounding.py to read |
Using the Space online needs only a browser. A copy on your own computer needs the following.
pip install -U huggingface_hub hf download lightonai/LightOnOCR-3-Demo --repo-type space --local-dir LightOnOCR-3-Demo cd LightOnOCR-3-Demo pip install gradio==6.29.1 pip install -r requirements.txt python app.py
Open the Space's page, or run the app on your computer and open the page Gradio shows. Drop in a page image and read the Markdown that comes back.
python app.py
| Tool | What it does |
|---|---|
| app.py | The main file, it builds the Gradio page |
| ocr.py | Holds the code that reads the page |
| grounding.py | Holds the layout grounding code |
| examples folder | Holds sample pages to try |
You drop in a scanned page of a printed report. You get back the page as Markdown, with the layout grounding applied to it.
OCR means reading the text out of a picture of a page. The first small thing to try is the online Space with one of the sample pages.
The Space names three sizes of LightOnOCR-3, at 4B, 1B and 0.8B. The code is split into ocr.py, grounding.py and render.py. The hosted copy is set to run on Hugging Face's zero-a10g hardware.
The Space states no usage limits, so treat it as a demo you can read and adapt.
Reads a page image and returns its text as Markdown, with layout grounding. A demo of the LightOnOCR-3 models that runs in the browser on ZeroGPU.
Made by lightonai 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.
What it is: LightOnOCR-3 Demo turns a page image into Markdown text. It does layout grounding, so the result stays tied to how the page is laid out. It demonstrates the LightOnOCR-3 model, which the Space names in 4B, 1B and 0.8B sizes. The Space runs on Hugging Face, so you can try it in a browser with nothing to install.
Who it suits: People who need the text of scanned or photographed pages in an editable form, and developers who want to try an OCR model before building on it.
Industry | Who uses it | How they use it | Example
Document processing | Office teams | Turn a scanned page into Markdown text | Drop one page and read the Markdown
Records and archives | Archivists | Digitize printed pages into text | Try a page from the examples folder
Software | Developers | Compare the three model sizes on the same page | Run one page against each size the Space names
Research | OCR researchers | Look at how layout grounding ties text to the page | Open a page and inspect the grounded output
Anyone who only needs to read pages by eye can skip it.
Where to use it: It runs in these places.
Use case | Who | What they get back
Convert a page to Markdown | Office teams | The page text as Markdown
Check the layout grounding | Researchers | Output tied to the page layout
Reuse the app code | Developers | A local copy with ocr.py and grounding.py to read
How to set it up: Using the Space online needs only a browser. A copy on your own computer needs the following.
pip install -U huggingface_hub
hf download lightonai/LightOnOCR-3-Demo --repo-type space --local-dir LightOnOCR-3-Demo
cd LightOnOCR-3-Demo
pip install gradio==6.29.1
pip install -r requirements.txt
python app.py
How to use it: Open the Space's page, or run the app on your computer and open the page Gradio shows. Drop in a page image and read the Markdown that comes back.
python app.py
Tool | What it does
app.py | The main file, it builds the Gradio page
ocr.py | Holds the code that reads the page
grounding.py | Holds the layout grounding code
examples folder | Holds sample pages to try
Example: You drop in a scanned page of a printed report. You get back the page as Markdown, with the layout grounding applied to it.
For newcomers and experts: OCR means reading the text out of a picture of a page. The first small thing to try is the online Space with one of the sample pages.
The Space names three sizes of LightOnOCR-3, at 4B, 1B and 0.8B. The code is split into ocr.py, grounding.py and render.py. The hosted copy is set to run on Hugging Face's zero-a10g hardware.
You drop in a page image
The LightOnOCR-3 model reads the page
Layout grounding ties text to the page
The app shows Markdown
Good to know: The Space states no usage limits, so treat it as a demo you can read and adapt.
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.
README.md 4 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| LightOnOCR-3 Demo This page | 90 | gradio | apache-2.0 | |
| MusicGenShares gradio | 5,116 | gradio | cc-by-nc-4.0 | |
| Kokoro TTSShares gradio | 3,556 | gradio | apache-2.0 | |
| Background RemovalShares gradio | 2,988 | gradio | mit | |
| Omni Image EditorShares gradio | 2,922 | gradio | mit | |
| Diffusers Image OutpaintShares gradio | 2,565 | gradio | apache-2.0 |
Sokheng · Kit
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…
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…
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…
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…
iptv-org · Kit
Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…