PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

PaddleOCR Freezes on M2 MacOS Ventura version 13.5

Open pranay-009 opened this issue 1 year ago • 25 comments

I installed

  • PyMuPDF-1.20.2 and paddleocr-2.7.0 and PaddlePaddle 2.3.2
  • I was using python 3.8.18
  • System Information :Mac M2 MacOS Ventura version 13.5

I had to force and stop the process

code sample

from paddleocr import PaddleOCR
ocr = PaddleOCR(use_angle_cls=True, lang='en') # need to run only once to download and load model into memory
img_path = '/Users/pranaysaha/Developer/OCR/sample.jpeg'
result = ocr.ocr(img_path, cls=True) 

pranay-009 avatar Oct 13 '23 11:10 pranay-009