Hi Franck,

It seems the problem here is not character color itself but rather char
outlines and image transparency.

To get rid of all of these problems at once try converting your images to
monochrome (use same old ImageMagick), like this - see the attachment. Tess
then produces perfect results. If your other subtitle images have similar
structure this method should work regardless of char color.

Best regards,
Dmitri Silaev
www.CustomOCR.com





On Sun, May 3, 2015 at 10:31 PM, franck dev <[email protected]> wrote:

> Hi, I have tried to do ocr on subtitles picture but depending on the color
> of subtitle font it works or not
> When the subtitle characters are in green it doesn't work
> Could you give me some advices on parameters for tesseract I should use or
> how i should transform the picture before calling tesseract ?
>
> Thanks,
> Franck
>
> --
> 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 http://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/36028dbe-721f-4806-b120-b38a96d45bf1%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/36028dbe-721f-4806-b120-b38a96d45bf1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAKzLxFMrcB%2Bx4Z%2B6%2Bp3eo0JbEcmKBAnomDD8K%2Bj_Yi_Ua-tEbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to