Hi Mateusz
After cleaning the the coloured circle, you could try a second Tesseract 
read with PSM Single Line. This should hopefully give you just Text1 
allowing you to filter it from the 'Text1 Text2' read by replacing Text1 
with an empty string.

Thanks
James

On Friday, February 16, 2018 at 4:22:34 PM UTC, Mateusz Dudek wrote:
>
> Hello,
> In brief, from this image I want only extract "text2". When I used 
> "-psm" did not improve the result.
>
> Now I'm doing it by:
> 1) Using Tesseract to extract text from image, so I have: "Text 1 @" <- 
> This @ is propably because of circle.
> 2)Then I use imagemagick to clear colors from image.
> 3) I use again tesseract, and I have "Text1 Text2"
> 4)I compare both results
> 5)Use textreplaces to delete @.
>
> Maybe there is any short way to extract only "text2"?
>
> W dniu poniedziałek, 12 lutego 2018 11:08:13 UTC+1 użytkownik Mateusz 
> Dudek napisał:
>>
>> Hello,
>> I have question about tesseract, is that possible to take text, when it's 
>> in the circle?
>> Like there:
>>
>> <https://i.stack.imgur.com/Fs5Ut.png>
>>
>> I try use filter monochrome, but then I have two words, Text1, and Text2. 
>> The point is to get only "text2".
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/a15df869-5bea-4be1-ac09-c6c11a2312e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to