>>> from onnxtr.io import DocumentFile
>>> from onnxtr.models import ocr_predictor, from_hub
>>> img = DocumentFile.from_images(['<image_path>'])
>>> # Load your model from the hub>>> model = from_hub('onnxtr/my-model')
>>> # Pass it to the predictor>>> # If your model is a recognition model:>>> predictor = ocr_predictor(det_arch='db_mobilenet_v3_large',
>>> reco_arch=model)
>>> # If your model is a detection model:>>> predictor = ocr_predictor(det_arch=model,
>>> reco_arch='crnn_mobilenet_v3_small')
>>> # Get your predictions>>> res = predictor(img)
Runs of Felix92 onnxtr-fast-small on huggingface.co
248
Total runs
0
24-hour runs
-1
3-day runs
28
7-day runs
-75
30-day runs
More Information About onnxtr-fast-small huggingface.co Model
onnxtr-fast-small huggingface.co is an AI model on huggingface.co that provides onnxtr-fast-small's model effect (), which can be used instantly with this Felix92 onnxtr-fast-small model. huggingface.co supports a free trial of the onnxtr-fast-small model, and also provides paid use of the onnxtr-fast-small. Support call onnxtr-fast-small model through api, including Node.js, Python, http.
onnxtr-fast-small huggingface.co is an online trial and call api platform, which integrates onnxtr-fast-small's modeling effects, including api services, and provides a free online trial of onnxtr-fast-small, you can try onnxtr-fast-small online for free by clicking the link below.
Felix92 onnxtr-fast-small online free url in huggingface.co:
onnxtr-fast-small is an open source model from GitHub that offers a free installation service, and any user can find onnxtr-fast-small on GitHub to install. At the same time, huggingface.co provides the effect of onnxtr-fast-small install, users can directly use onnxtr-fast-small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.