>>> 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')
>>> # Pass it to the predictor>>> # If your model is a recognition model:>>> predictor = ocr_predictor(det_arch='db_mobilenet_v3_large',
>>> reco_arch=model,
>>> pretrained=True)
>>> # If your model is a detection model:>>> predictor = ocr_predictor(det_arch=model,
>>> reco_arch='crnn_mobilenet_v3_small',
>>> pretrained=True)
>>> # Get your predictions>>> res = predictor(img)
Runs of Felix92 doctr-dummy-tf-fast-small-v2 on huggingface.co
6
Total runs
0
24-hour runs
0
3-day runs
-2
7-day runs
0
30-day runs
More Information About doctr-dummy-tf-fast-small-v2 huggingface.co Model
doctr-dummy-tf-fast-small-v2 huggingface.co
doctr-dummy-tf-fast-small-v2 huggingface.co is an AI model on huggingface.co that provides doctr-dummy-tf-fast-small-v2's model effect (), which can be used instantly with this Felix92 doctr-dummy-tf-fast-small-v2 model. huggingface.co supports a free trial of the doctr-dummy-tf-fast-small-v2 model, and also provides paid use of the doctr-dummy-tf-fast-small-v2. Support call doctr-dummy-tf-fast-small-v2 model through api, including Node.js, Python, http.
doctr-dummy-tf-fast-small-v2 huggingface.co is an online trial and call api platform, which integrates doctr-dummy-tf-fast-small-v2's modeling effects, including api services, and provides a free online trial of doctr-dummy-tf-fast-small-v2, you can try doctr-dummy-tf-fast-small-v2 online for free by clicking the link below.
Felix92 doctr-dummy-tf-fast-small-v2 online free url in huggingface.co:
doctr-dummy-tf-fast-small-v2 is an open source model from GitHub that offers a free installation service, and any user can find doctr-dummy-tf-fast-small-v2 on GitHub to install. At the same time, huggingface.co provides the effect of doctr-dummy-tf-fast-small-v2 install, users can directly use doctr-dummy-tf-fast-small-v2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
doctr-dummy-tf-fast-small-v2 install url in huggingface.co: