Update README.md
Browse files
README.md
CHANGED
|
@@ -23,15 +23,10 @@ https://github.com/mindee/doctr
|
|
| 23 |
>>> # Load your model from the hub
|
| 24 |
>>> model = from_hub('mindee/my-model')
|
| 25 |
|
| 26 |
-
>>> # Pass it to the predictor
|
| 27 |
-
>>> # If your model is a recognition model:
|
| 28 |
-
>>> predictor = ocr_predictor(det_arch='db_mobilenet_v3_large',
|
| 29 |
-
>>> reco_arch=model,
|
| 30 |
-
>>> pretrained=True)
|
| 31 |
|
| 32 |
>>> # If your model is a detection model:
|
| 33 |
>>> predictor = ocr_predictor(det_arch=model,
|
| 34 |
-
>>> reco_arch='
|
| 35 |
>>> pretrained=True)
|
| 36 |
|
| 37 |
>>> # Get your predictions
|
|
|
|
| 23 |
>>> # Load your model from the hub
|
| 24 |
>>> model = from_hub('mindee/my-model')
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
>>> # If your model is a detection model:
|
| 28 |
>>> predictor = ocr_predictor(det_arch=model,
|
| 29 |
+
>>> reco_arch='parseq',
|
| 30 |
>>> pretrained=True)
|
| 31 |
|
| 32 |
>>> # Get your predictions
|