PaddlePaddle/RT-DETR-L_wireless_table_cell_det_onnx

🤗 Hugging Face 来源image-to-textapache-2.0129 MBother✓ 1 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo PaddlePaddle/RT-DETR-L_wireless_table_cell_det_onnx ./model-folder
需要做种者 →

RT-DETR-L_wireless_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_wireless_table_cell_det 82.7 35.00 / 10.45 495.51 / 495.51 124M

Note: The accuracy of RT-DETR-L_wireless_table_cell_det comes from the results of joint testing with RT-DETR-L_wired_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_wireless_table_cell_det --engine onnxruntime

Python API Usage

from paddleocr import TableCellsDetection

model = TableCellsDetection(
    model_name="RT-DETR-L_wireless_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")