Skip to content

Question on the lines when detecting and recognizing text. #1796

Answered by felixdittrich92
HuSSonO3 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @HuSSonO3 👋,

You can pass a higher value for paragraph_break to the ocr_predictor the default is 0.035 so if you pass for example 1 instead it should merge every horizontal in one line.

Example:

model = ocr_predictor(pretrained=True, paragraph_break=1)

Hope this helps :)

Best,
Felix

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HuSSonO3
Comment options

Answer selected by HuSSonO3
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