Update README.md
Browse files
README.md
CHANGED
|
@@ -75,7 +75,7 @@ paddleocr text_line_orientation_classification \
|
|
| 75 |
You can also integrate the model inference of the text recognition module into your project. Before running the following code, please download the sample image to your local machine.
|
| 76 |
|
| 77 |
```python
|
| 78 |
-
from paddleocr import
|
| 79 |
model = TextLineOrientationClassification(model_name="PP-LCNet_x0_25_textline_ori")
|
| 80 |
output = model.predict(input="m3ZmUPAnst1f9xXvTVLKS.png", batch_size=1)
|
| 81 |
for res in output:
|
|
|
|
| 75 |
You can also integrate the model inference of the text recognition module into your project. Before running the following code, please download the sample image to your local machine.
|
| 76 |
|
| 77 |
```python
|
| 78 |
+
from paddleocr import TextLineOrientationClassification
|
| 79 |
model = TextLineOrientationClassification(model_name="PP-LCNet_x0_25_textline_ori")
|
| 80 |
output = model.predict(input="m3ZmUPAnst1f9xXvTVLKS.png", batch_size=1)
|
| 81 |
for res in output:
|