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.57k stars 7.85k forks source link

Issue regrading importing PaddleOCR #11846

Closed priyanshudutta04 closed 6 months ago

priyanshudutta04 commented 8 months ago

-System Environment:Google Collab

-Version PaddleOCR:2.7.5

6 from google.colab import files 7 ----> 8 from paddleocr import PaddleOCR 9 10 ocr = PaddleOCR(use_angle_cls=True,lang='en')

1 frames /usr/local/lib/python3.10/dist-packages/paddleocr/paddleocr.py in 573 574 --> 575 class PaddleOCR(predict_system.TextSystem): 576 def init(self, **kwargs): 577 """

NameError: name 'predict_system' is not defined

AliBasarann commented 8 months ago

I resolved the issue and opened a pr #11847

tzktz commented 7 months ago

I resolved the issue and opened a pr #11847

still get same issue.. @AliBasarann

ping40 commented 7 months ago

I get the same issue too.

UserWangZz commented 6 months ago

perdict_system在tools/infer中,可以尝试重新倒入一下