Skip to content
Discussion options

You must be logged in to vote

To process large images or documents with PaddleOCR for detection and recognition, use the slice operation like this:

ocr_inst = PaddleOCR(**ocr_settings)
results = ocr_inst.ocr(img, det=True, rec=True, slice=slice, cls=False, bin=False, inv=False, alpha_color=False)

For more details, visit: https://paddlepaddle.github.io/PaddleOCR/latest/en/ppocr/blog/slice.html

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

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