PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

通过LABEL工具 点击表格识别报错,闪退

Open wyf00747 opened this issue 2 years ago • 1 comments

Traceback (most recent call last): File "PPOCRLabel.py", line 2294, in TableRecognition res = self.table_ocr(img, return_ocr_result_in_table=True) File "C:\Users\wyf00747\anaconda3\envs\py38\lib\site-packages\paddleocr\paddleocr.py", line 602, in call res, _ = super().call( File "i:\GITHUB\PaddleOCR\PPOCRLabel..\ppstructure\predict_system.py", line 107, in call ori_im = img.copy() AttributeError: 'NoneType' object has no attribute 'copy' 报了这个错误

wyf00747 avatar Sep 11 '22 15:09 wyf00747

我也报这个错,PPOCRLabel 2.1.2版本,win10

furoce avatar Nov 02 '22 06:11 furoce

Traceback (most recent call last): File "PPOCRLabel.py", line 2294, in TableRecognition res = self.table_ocr(img, return_ocr_result_in_table=True) File "C:\Users\wyf00747\anaconda3\envs\py38\lib\site-packages\paddleocr\paddleocr.py", line 602, in call res, _ = super().call( File "i:\GITHUB\PaddleOCR\PPOCRLabel..\ppstructure\predict_system.py", line 107, in call ori_im = img.copy() AttributeError: 'NoneType' object has no attribute 'copy' 报了这个错误

需要检查你们存放图片的路径,必须是英文路径。

Mrfuhang avatar Mar 07 '23 10:03 Mrfuhang