Update README.md
Browse files
README.md
CHANGED
|
@@ -25,15 +25,10 @@ https://github.com/mindee/doctr
|
|
| 25 |
|
| 26 |
>>> # Pass it to the predictor
|
| 27 |
>>> # If your model is a recognition model:
|
| 28 |
-
>>> predictor = ocr_predictor(det_arch='
|
| 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='crnn_mobilenet_v3_small',
|
| 35 |
-
>>> pretrained=True)
|
| 36 |
-
|
| 37 |
>>> # Get your predictions
|
| 38 |
>>> res = predictor(img)
|
| 39 |
```
|
|
|
|
| 25 |
|
| 26 |
>>> # Pass it to the predictor
|
| 27 |
>>> # If your model is a recognition model:
|
| 28 |
+
>>> predictor = ocr_predictor(det_arch='db_resnet50',
|
| 29 |
>>> reco_arch=model,
|
| 30 |
>>> pretrained=True)
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
>>> # Get your predictions
|
| 33 |
>>> res = predictor(img)
|
| 34 |
```
|