Skip to content
Discussion options

You must be logged in to vote

I resolve it by using only.

cpu_threads %2 == 0
from paddleocr import PaddleOCR
from time import perf_counter

def create_model():
    return PaddleOCR(
        use_doc_orientation_classify=False,
        use_doc_unwarping=False,
        use_textline_orientation=False,
        ocr_version="PP-OCRv5",
        device="cpu",
        cpu_threads=4,
        text_det_limit_type="max",
        enable_mkldnn=True,
    )

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mitchou10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant