Views
No views yet
| Model | Accuracy (%) | GPU Inference Time (ms) [Normal Mode / High Performance Mode] | CPU Inference Time (ms) [Normal Mode / High Performance Mode] | Model Storage Size (M) |
|---|---|---|---|---|
| SLANeXt_wired | 69.65 | -- | -- | 351M |
1pip install -U paddleocr
2pip install -U onnxruntime-gpupaddleocr table_structure_recognition -i ./demo.jpg --model_name SLANeXt_wired --engine onnxruntime1from paddleocr import TableStructureRecognition
2
3model = TableStructureRecognition(
4 model_name="SLANeXt_wired",
5 engine="onnxruntime",
6)
7output = model.predict("./demo.jpg", batch_size=1)
8for res in output:
9 res.print()
10 res.save_to_json(save_path="./output/res.json")