>>> 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-master on huggingface.co
274
Total runs
0
24-hour runs
3
3-day runs
-11
7-day runs
-6
30-day runs
More Information About onnxtr-master huggingface.co Model
onnxtr-master huggingface.co is an AI model on huggingface.co that provides onnxtr-master's model effect (), which can be used instantly with this Felix92 onnxtr-master model. huggingface.co supports a free trial of the onnxtr-master model, and also provides paid use of the onnxtr-master. Support call onnxtr-master model through api, including Node.js, Python, http.
onnxtr-master huggingface.co is an online trial and call api platform, which integrates onnxtr-master's modeling effects, including api services, and provides a free online trial of onnxtr-master, you can try onnxtr-master online for free by clicking the link below.
Felix92 onnxtr-master online free url in huggingface.co:
onnxtr-master is an open source model from GitHub that offers a free installation service, and any user can find onnxtr-master on GitHub to install. At the same time, huggingface.co provides the effect of onnxtr-master install, users can directly use onnxtr-master installed effect in huggingface.co for debugging and trial. It also supports api for free installation.