Search found 11 matches
- 2017-03-09T19:30:42-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Re: Removing caption background for use in ORC (tessearct)
i use the command convert aaaa.bmp -colorspace HCL -channel g -separate +channel -threshold 10% img.bmp And got 3 pictures : img-0.bmp | img-1.bmp |img-2.bmp. http://image.prntscr.com/image/b7f8411c09614ab4bcb54597c1665cc5.png Figure img-1.bmp is great for character recognition If I use in a gray ...
- 2017-03-09T13:06:55-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Re: Removing caption background for use in ORC (tessearct)
I used part of your command convert print1.bmp -colorspace HCL -channel g -separate +channel -threshold 10%% -negate print1.bmp And got 3 figures. (print1-0.bmp print1-1.bmp print1-2.bmp) Figure print1-1.bmp is perfect for my purpose. Now 90% of my problem is solved. thank you so much. Let's go to ...
- 2017-03-09T11:20:05-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Re: Removing caption background for use in ORC (tessearct)
Try this Unix syntax: convert 9a6c443dfa76445fa95158948cc4e9bd.png \ \( -clone 0 -colorspace HCL -channel g -separate +channel -threshold 40% \) \ -alpha off -compose copy_opacity -composite result.png Please always provide your IM version and platform, since syntax may differ. I´m testing tks
- 2017-03-09T11:19:04-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Re: Removing caption background for use in ORC (tessearct)
Could you help me by putting the code? I got good medium results using the code. convert out.bmp +dither -posterize 2 out1.bmp http://image.prntscr.com/image/339ba2df427645799c79b1ffd7935fc0.png However, in some cases, the following problem occurs: http://image.prntscr.com/image ...
- 2017-03-09T09:42:14-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Re: Removing caption background for use in ORC (tessearct)
Note the colors of the letter S. I have a variety of colors. The fact is that the font seems to be the same and the background is in variations of gray and black http://image.prntscr.com/image/484286bccefb48fdbb5251a3393f7bad.png http://image.prntscr.com/image/bc9270b77a5843b1ae43e23fbb18890d.png ...
- 2017-03-09T04:46:51-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Re: Removing caption background for use in ORC (tessearct)
I did some tests, these comands solve 60% of the problems. To solve it all I need something that does the following: 1) transform all shades of any color (not just green) in the actual color Example: light red, dark red are transformed into red 2) all shades of gray are transformed into white (or ...
- 2017-03-08T11:18:55-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Re: Removing caption background for use in ORC (tessearct)
Thank you so much for your cooperation :D :D :D . I did the test with 4 identical texts and with different backgrounds. Has improved a bit but is not yet readable I was thinking of another solution. It would be possible to normalize the colors of an image. example: An image has pixels: dark green ...
- 2017-03-08T04:43:26-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Re: Removing caption background for use in ORC (tessearct)
For example, this finds the difference between two images. Where the difference is not zero (black), it changes the pixels to white. convert in1.png in2.png -compose Difference -composite -fill White +opaque Black out.png Look the images http://image.prntscr.com/image ...
- 2017-03-07T20:23:44-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Re: Removing caption background for use in ORC (tessearct)
Thank you for answering. Congratulations on the site. He helped me a lot.
I have a question.
1. ok.
2. ok.
3. Sorry, I do not know how to do this. Could you help me with an imagemagick code?
I have a question.
1. ok.
2. ok.
3. Sorry, I do not know how to do this. Could you help me with an imagemagick code?
- 2017-03-07T06:17:49-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Re: Removing caption background for use in ORC (tessearct)
Note: It is possible to obtain 2 or more images with the same text but with different background
- 2017-03-07T05:54:05-07:00
- Forum: Users
- Topic: Removing caption background for use in ORC (tessearct)
- Replies: 20
- Views: 6359
Removing caption background for use in ORC (tessearct)
I have some movies with embedded subtitles. I'm doing a paper that tries to extract the text from these captions. Examples: http://image.prntscr.com/image/70511600e95c4950ae637fd5b96b9cd3.jpg Font colors may change I would like a result like that. http://image.prntscr.com/image ...