PaddleOCR: PaddleOCR Freezes on M2 MacOS Ventura version 13.5
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)
About this issue
- Original URL
- State: open
- Created 9 months ago
- Reactions: 4
- Comments: 24
I’m also facing same issue My configuration: Python 3.9.6 Macos: Sonoma 14.1.1 Apple M2 pro imageio==2.10.1 opencv-contrib-python==4.6.0.66 opencv-python-headless==4.6.0.66 protobuf==3.20.0 paddleocr==2.7.0.3 paddlepaddle==2.4.0
I’m also facing same issue. My configuration:
I tried the same code as @pranay-009 and the execution freezes after this: