Downloads · 30 days
65
19% of all-time downloads
metythorn/ocr-stn-cnn-transformer-base
ocr-stn-cnn-transformer-base is a image-to-text model from metythorn. Use it when you need a caption or text from an image. The card lists the license as apache-2.0.
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 da…
Downloads · 30 days
65
19% of all-time downloads
All-time downloads
347
Public
Repo size
1.4 GB
Likes
1
Public
Click a slice to open those files.
.onnx286 MB · 100%
From the Hugging Face model README
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.
pip install mer
from mer import Mer
model = Mer(markdown=True, device='cuda')
result = model.predict("sample_image.png")
print("Predicted text:", result)