RT-DETR-L_wired_table_cell_det

Introduction

The Table Cell Detection Module is a key component of the table recognition task, responsible for locating and marking each cell region in table images. The performance of this module directly affects the accuracy and efficiency of the entire table recognition process. The Table Cell Detection Module typically outputs bounding boxes for each cell region, which are then passed as input to the table recognition pipeline for further processing.

Model Top1 Acc(%) GPU Inference Time (ms)
[Regular Mode / High-Performance Mode]
CPU Inference Time (ms)
[Regular Mode / High-Performance Mode]
Model Storage Size (M)
RT-DETR-L_wired_table_cell_det 82.7 35.00 / 10.45 495.51 / 495.51 124M

Note: The accuracy of RT-DETR-L_wired_table_cell_det comes from the results of joint testing with RT-DETR-L_wireless_table_cell_det.

Model Usage

Install Dependencies

pip install -U paddleocr
pip install -U onnxruntime-gpu

CLI Usage

paddleocr table_cells_detection -i ./demo.jpg --model_name RT-DETR-L_wired_table_cell_det --engine onnxruntime

Python API Usage

from paddleocr import TableCellsDetection

model = TableCellsDetection(
    model_name="RT-DETR-L_wired_table_cell_det",
    engine="onnxruntime",
)
output = model.predict("./demo.jpg", 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")
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support