Image-to-Text
PaddleOCR
Safetensors
English
Chinese
pp_chart2table
OCR
PaddlePaddle
chart_parsing
custom_code
Instructions to use PaddlePaddle/PP-Chart2Table_safetensors with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-Chart2Table_safetensors with PaddleOCR:
# 1. See https://www.paddlepaddle.org.cn/en/install to install paddlepaddle # 2. pip install paddleocr from paddleocr import ChartParsing model = ChartParsing(model_name="PP-Chart2Table_safetensors") output = model.predict(input="path/to/image.png", batch_size=1) for res in output: res.print() res.save_to_img(save_path="./output/") res.save_to_json(save_path="./output/res.json") - Notebooks
- Google Colab
- Kaggle
Create inference.yml
Browse files- inference.yml +3 -0
inference.yml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mode: paddle
|
| 2 |
+
Global:
|
| 3 |
+
model_name: PP-Chart2Table
|