File size: 544 Bytes
4063cea 1dc9116 4063cea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
```CODE:
# See https://www.paddleocr.ai/latest/version3.x/pipeline_usage/PaddleOCR-VL.html to installation
from paddleocr import PaddleOCRVL
pipeline = PaddleOCRVL()
output = pipeline.predict("path/to/document_image.png")
for res in output:
res.print()
res.save_to_json(save_path="output")
res.save_to_markdown(save_path="output")
```
ERROR:
Traceback (most recent call last):
File "/tmp/PaddlePaddle_PaddleOCR-VL_0ZNFH0L.py", line 25, in <module>
from paddleocr import PaddleOCRVL
ModuleNotFoundError: No module named 'paddleocr'
|