Skip to content
ModelListedExternal
Download

Ocr Stn Cnn Transformer Base

This repository contains a ResNet + Transformer decoder checkpoint for Khmer OCR, I don’t have a public paper for this model — everything comes from thousands of experiments across different model architectures and...

KindOtherVersionRevision 0f4b9e9

Model source

Kind
Other
File size
273 MB
Version
vRevision 0f4b9e9
Updated
Sep 17, 2026
Downloads
24
Tasks
Captioning
Source
Hugging Face

Source description

Khmer OCR CNN + Transformer

This repository contains a ResNet + Transformer decoder checkpoint for Khmer OCR, I don’t have a public paper for this model — everything comes from thousands of experiments across different model architectures and datasets.

Installation

pip install mer

Usage

from mer import Mer

model = Mer(markdown=True, device='cuda')
result = model.predict("sample_image.png")
print("Predicted text:", result)

Sources

1 source
Hugging FacePrimaryVersion 0f4b9e958a27bbd785e6d614b5777879ef9525f5
huggingface.co/metythorn/ocr-stn-cnn-transformer-base/tree/0f4b9e958a27bbd785e6d614b5777879ef9525f5

Verified Sep 17

Model artifacts

1 artifact

khmer_ocr.onnx

onnx · 273 MB · SHA-256 d11267a03dc5…8367 · Hugging Face

Download

Source excerpts

2 excerpts

--- language: - km license: apache-2.0 tags: - ocr - transformer - vision pipeline_tag: image-to-text --- # Khmer OCR CNN + Transformer This repository contains a ResNet + Transformer decoder checkpoint for Khmer OCR, I don’t have a public paper for this model — everything comes from thousands of experiments across different model architectures and datasets. ## Installation ```python pip install mer ``` ## Usage ```python from mer import Mer model = Mer(markdown=True, device='cuda') result = model.predict("sample_image.png") print("Predicted text:", result) ```

Source context: 24 downloads · 1 likes · Pipeline image-to-text · Repo metythorn/ocr-stn-cnn-transformer-base