-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
表格识别算法ch_ppstructure_openatom_SLANetv2_infer报错 #14199
Comments
试试paddleocr 2.8版本 |
@ViCtOr-dev13, please open a new issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug (问题描述)
使用PPStructure表格识别ch_ppstructure_openatom_SLANetv2_infer算法,输出都是空白,是什么原因?PPOCRv4版本
🏃♂️ Environment (运行环境)
python 3.10
paddlepaddle 2.6.1
paddleocr 2.7.2
🌰 Minimal Reproducible Example (最小可复现问题的Demo)
models_dir = "/data/models/paddle_ocr/"
rec_model_dir = models_dir + "ch_PP-OCRv4_rec_infer"
det_model_dir = models_dir + "ch_PP-OCRv4_det_infer"
table_model_dir = models_dir + "ch_ppstructure_openatom_SLANetv2_infer"
layout_model_dir = models_dir + "picodet_lcnet_x1_0_fgd_layout_table_infer"
table_engine = PPStructure(show_log=False,table_model_dir = table_model_dir,layout_model_dir = layout_model_dir,det_model_dir = det_model_dir,
rec_model_dir = rec_model_dir)
image = "/data/uploaded_images/cropped_image_2200.614990234375.jpg"
img = cv2.imread(image)
result = table_engine(img)
print(result)
The text was updated successfully, but these errors were encountered: