weiwenlan/Table_Ocr_With_Paddle

Detection issues with multiple line in a single cell

mmaazm opened this issue · 0 comments

Issue description

If a single cell has multiple lines of text, then the algorithm puts the text in a new row in the table.

Steps to reproduce the issue

  1. Running the command
    !python3 tools/infer/predict_table.py --clipboard False --image_dir='/content/image/table-002.png' --det_model_dir="./inference/ch_ppocr_server_v2.0_det_infer" --rec_model_dir="./inference/ch_ppocr_server_v2.0_rec_infer" --cls_model_dir="./inference/ch_ppocr_mobile_v2.0_cls_infer" --use_angle_cls=True --use_space_char=True --use_gpu=False

What's the produced result?

image

Additional details / screenshot

  • Input Table Image

image