Downloads · 30 days
23
13% of all-time downloads
rania-sr/doctr-Detection-model-v1-arabic
doctr-Detection-model-v1-arabic is a machine learning model from rania-sr. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
23
13% of all-time downloads
All-time downloads
184
Public
Repo size
102 MB
Likes
2
Public
Click a slice to open those files.
.bin102 MB · 100%
From the Hugging Face model README
language: en
<p align="center"> <img src="https://doctr-static.mindee.com/models?id=v0.3.1/Logo_doctr.gif&src=0" width="60%"> </p>Optical Character Recognition made seamless & accessible to anyone, powered by TensorFlow 2 & PyTorch
https://github.com/mindee/doctr
>>> from doctr.io import DocumentFile
>>> from doctr.models import ocr_predictor, from_hub
>>> img = DocumentFile.from_images(['<image_path>'])
>>> # Load your model from the hub
>>> model = from_hub('mindee/my-model')
>>> # If your model is a detection model:
>>> predictor = ocr_predictor(det_arch=model,
>>> reco_arch='parseq',
>>> pretrained=True)
>>> # Get your predictions
>>> res = predictor(img)