I am using tesseract library in my app, there when I capture image of text, and text gets extracted, if there are multiple spaces in image, they are trimmed to only 1 space.
Suppose, in image, the text is kind of,
HELLO WORLD
HI HOW ARE YOU?
I AM FINE
THANK YOU.
So when I get text, the perfect margin should be maintained, as per in image, but I get output as,
HELLO WORLD
HI HOW ARE YOU?
I AM FINE
THANK YOU.
So I don't want this.
So can I make change in any function, to achieve this task?
Please help me, what should I change, and where?
Because I don't know how to get the same text as in image as any trimming function is there in tesseract? Help me out.
Thank you.