You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I'm trying to create an .exe with the new version 3.0 of the simple code posted below? I'm trying with pyinstaller but it doesn't work.
I'm able to exec the basic example with cpu mode of the provided code:
# Initialize PaddleOCR instance
from paddleocr import PaddleOCR
ocr = PaddleOCR(
use_doc_orientation_classify=False,
use_doc_unwarping=False,
use_textline_orientation=False)
# Run OCR inference on a sample image
result = ocr.predict(
input="https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_ocr_002.png")
# Visualize the results and save the JSON results
for res in result:
res.print()
But I can't create a .exe that works on Windows, I have seen examples of pyinstaller for version 2.0, is it possible that those don't work for version 3.0 ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I'm trying to create an .exe with the new version 3.0 of the simple code posted below? I'm trying with pyinstaller but it doesn't work.
I'm able to exec the basic example with cpu mode of the provided code:
But I can't create a .exe that works on Windows, I have seen examples of pyinstaller for version 2.0, is it possible that those don't work for version 3.0 ?
Has anyone succeeded?
Beta Was this translation helpful? Give feedback.
All reactions