Question on the lines when detecting and recognizing text. #1796
-
Beta Was this translation helpful? Give feedback.
Answered by
felixdittrich92
Nov 25, 2024
Replies: 1 comment 1 reply
-
Hi @HuSSonO3 👋, You can pass a higher value for Example: model = ocr_predictor(pretrained=True, paragraph_break=1) Hope this helps :) Best, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
HuSSonO3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @HuSSonO3 👋,
You can pass a higher value for
paragraph_break
to theocr_predictor
the default is0.035
so if you pass for example1
instead it should merge every horizontal in one line.Example:
Hope this helps :)
Best,
Felix