I used FastStone.

For ImageMagick use this:

- Source
(inet010.png)

- Get rid of transparency
>convert inet010.png -background black -alpha remove inet010_ntransp.png
(inet010_ntransp.png)

- Threshold
>convert inet010_ntransp.png -threshold 40% inet010_ntransp_ts.png
(inet010_ntransp_ts.png)

- Run Tess - perfect
>tesseract.exe inet010_ntransp_ts.png inet010_ntransp_ts.png
(inet010_ntransp_ts.png.txt)

Best regards,
Dmitri Silaev
www.CustomOCR.com





On Mon, May 4, 2015 at 1:29 PM, franck dev <[email protected]> wrote:

> Hi,
>
> I tried with imagemagick:
> -colorspace Gray
> -negate
>
> But tesseract doesn't work after this conversion
> Which command have you used with imagemagic ?
>
> With your picture the ocr works perfetcly
> Thanks
>
>
> On Sunday, May 3, 2015 at 9:35:51 PM UTC+2, franck dev 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/8ab52aa5-30f9-4a2f-b46d-5f76085ae53b%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/8ab52aa5-30f9-4a2f-b46d-5f76085ae53b%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/CAKzLxFNMNBztq-Q9o-mBBMmC%2BAecTfMR5Dd7wg0Q3d3DgB%2B-CA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
-On se ressemble.

 

-Beaucoup.

Reply via email to