PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

paddleclas.paddleclas.ImageTypeError: Please input legal image!

Open JonhSilver opened this issue 2 years ago • 0 comments

File "C:\Users\1\OneDrive\Desktop\PDF\1.py", line 227, in paddleStruct result = table_engine(img) File "C:\Users\1\AppData\Local\Programs\Python\Python38\lib\site-packages\paddleocr\paddleocr.py", line 624, in call res, _ = super().call( File "C:\Users\1\AppData\Local\Programs\Python\Python38\lib\site-packages\paddleocr\ppstructure\predict_system.py", line 98, in call cls_res = next(cls_result) File "C:\Users\1\AppData\Local\Programs\Python\Python38\lib\site-packages\paddleclas-0.0.0-py3.8.egg\paddleclas\paddleclas.py", line 656, in predict_cls raise ImageTypeError(err) paddleclas.paddleclas.ImageTypeError: Please input legal image! The type of image supported by PaddleClas are: NumPy.ndarray and string of local path or Ineternet URL

JonhSilver avatar Oct 24 '22 16:10 JonhSilver