PaddlePaddle / PaddleOCR

Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
https://paddlepaddle.github.io/PaddleOCR/
Apache License 2.0
44.59k stars 7.85k forks source link

ppstructure/predict_system.py报错predict_system.py: error: unrecognized arguments: --return_word_box=True #10882

Closed dengmingD closed 5 months ago

dengmingD commented 1 year ago

version:paddleocr 2.7 执行如下命令 python predict_system.py \ --image_dir=./docs/table/2.png \ --det_model_dir=inference/ch_PP-OCRv3_det_infer \ --rec_model_dir=inference/ch_PP-OCRv3_rec_infer \ --rec_char_dict_path=../ppocr/utils/ppocr_keys_v1.txt \ --table_model_dir=inference/ch_ppstructure_mobile_v2.0_SLANet_infer \ --table_char_dict_path=../ppocr/utils/dict/table_structure_dict_ch.txt \ --layout_model_dir=inference/picodet_lcnet_x1_0_fgd_layout_cdla_infer \ --layout_dict_path=../ppocr/utils/dict/layout_dict/layout_cdla_dict.txt \ --vis_font_path=../doc/fonts/chinese_cht.ttf \ --recovery=True \ --output=../output/ \ --return_word_box=True

dengmingD commented 1 year ago

解决了,退一个版本号就行了(paddleocr) 从2.7退到2.6