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...
Fonte do modelo
Descrição da fonte
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)
Fontes
1 fonteVerificado 17 de set.
Artefatos de modelo
1 artefatoTrechos de fonte
2 trechos--- 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