根据官方的列子,识别出的文字结果为空. paddleocr ocr -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_ocr_002.png --use_doc_orientation_classify False --use_doc_unwarping False --use_textline_orientation False #17559
Unanswered
tenglintao
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
大家好。我先简要说明以下当前的环境,我第一次是用python -m pip install paddlepaddle-gpu==3.3.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu129/和PaddleOCR-release-3.3.3源码实现的安装,发现和我已有的torch(pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128)冲突,后面我分别卸载,然后统一安装的cu126.但目前识别不出文字,以下是执行过程及结果:
PS D:\work\2026\rag_project> paddleocr ocr -i https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_ocr_002.png --use_doc_orientation_classify False --use_doc_unwarping False --use_textline_orientation False
Checking connectivity to the model hosters, this may take a while. To bypass this check, set
DISABLE_MODEL_SOURCE_CHECKtoTrue.信息: 用提供的模式无法找到文件。
C:\Users\tengl\AppData\Local\Python\pythoncore-3.12-64\Lib\site-packages\paddle\utils\cpp_extension\extension_utils.py:712: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md
warnings.warn(warning_message)
Creating model: ('PP-OCRv5_server_det', None)
Model files already exist. Using cached files. To redownload, please delete the directory manually:
C:\Users\tengl\.paddlex\official_models\PP-OCRv5_server_det.WARNING: Logging before InitGoogleLogging() is written to STDERR
W0127 17:03:27.385476 42204 gpu_resources.cc:116] Please NOTE: device: 0, GPU Compute Capability: 12.0, Driver API Version: 12.9, Runtime API Version: 12.6
Creating model: ('PP-OCRv5_server_rec', None)
Model files already exist. Using cached files. To redownload, please delete the directory manually:
C:\Users\tengl\.paddlex\official_models\PP-OCRv5_server_rec.Connecting to https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/general_ocr_002.png ...
Downloading general_ocr_002.png ...
[==================================================] 100.00%
[2026/01/27 17:03:33] paddleocr INFO: Processed item 0 in 912.4197959899902 ms
{'res': {'input_path': 'C:/Users/tengl/.paddlex/predict_input/general_ocr_002.png', 'page_index': None, 'model_settings': {'use_doc_preprocessor': False, 'use_textline_orientation': False}, 'dt_polys': array([], dtype=float64), 'text_det_params': {'limit_side_len': 64, 'limit_type': 'min', 'thresh': 0.3, 'max_side_limit': 4000, 'box_thresh': 0.6, 'unclip_ratio': 1.5}, 'text_type': 'general', 'text_rec_score_thresh': 0.0, 'return_word_box': False, 'rec_texts': [], 'rec_scores': array([], dtype=float64), 'rec_polys': array([], dtype=float64), 'rec_boxes': array([], dtype=float64)}}
Beta Was this translation helpful? Give feedback.
All reactions