Skip to content

How to use Recognition Only in Paddle OCR #7600

Discussion options

You must be logged in to vote

@ahmadmustafaanis

First initialize your model with:

Paddle = paddleocr.PaddleOCR(use_angle_cls=True, lang=your_language, use_gpu=if_gpu_available)

Then call the recognition only by setting the flags as follows:

result = Paddle.ocr(image, cls=False, det=False, rec=True)

In the result variable you can find all your text OCR predictions.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Evezerest
Comment options

You must be logged in to vote
3 replies
@matteoPiccoli
Comment options

@rahmatdinar
Comment options

@Lahari-77
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants