Dear All,
How can i extract text from the below images:
The Images are located on the below link:
http://careeronlinetips.blogspot.com/20 ... -post.html
Please tell me.
As I am new in this area, please provide me guidance and suggestions.
Thanks in advance.
How to extract text from this below images ?
-
- Posts: 3
- Joined: 2011-06-16T02:36:22-07:00
- Authentication code: 8675308
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How to extract text from this below images ?
Imagemagick is an image to image processor, not an image to text character processor. Therefore, Imagemagick does not have any function that will recognize text characters within an image. All it can do is automatically trim the image to the bounding rectangle about the text and output that image.
convert inputimage -fuzz XX% -trim +repage outputimage
where XX is some percent dissimilarity to the color in the corners of the image, so that if the background is not a pure color it can still get to the bounding rectangle.
If I misunderstand your problem/question, then please clarify.
convert inputimage -fuzz XX% -trim +repage outputimage
where XX is some percent dissimilarity to the color in the corners of the image, so that if the background is not a pure color it can still get to the bounding rectangle.
If I misunderstand your problem/question, then please clarify.
Re: How to extract text from this below images ?
Your question is about optical character recognition
which is not an ImageMagick function.
There's lots of info about Captcha and captcha solvers at
http://en.wikipedia.org/wiki/CAPTCHA
which is not an ImageMagick function.
There's lots of info about Captcha and captcha solvers at
http://en.wikipedia.org/wiki/CAPTCHA
-
- Posts: 3
- Joined: 2011-06-16T02:36:22-07:00
- Authentication code: 8675308
Re: How to extract text from this below images ?
Dear,
what I want is, first to make the image more clear, and also I need Black color fonts not (any other color fonts).
So, First I need to use convert command and to make image more clearer.
For this what I need to do ?
and do you know any good OCR ?
Thanks in advance brother.
what I want is, first to make the image more clear, and also I need Black color fonts not (any other color fonts).
So, First I need to use convert command and to make image more clearer.
For this what I need to do ?
and do you know any good OCR ?
Thanks in advance brother.
-
- Posts: 3
- Joined: 2011-06-16T02:36:22-07:00
- Authentication code: 8675308
Re: How to extract text from this below images ?
Dear,
what I want is, first to make the image more clear, and also I need Black color fonts not (any other color fonts).
So, First I need to use convert command and to make image more clearer.
For this what I need to do ?
and do you know any good OCR ?
Thanks in advance.
what I want is, first to make the image more clear, and also I need Black color fonts not (any other color fonts).
So, First I need to use convert command and to make image more clearer.
For this what I need to do ?
and do you know any good OCR ?
Thanks in advance.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How to extract text from this below images ?
convert inputimage -fuzz XX% -fill white -opaque white -fill black +opaque white resultimagewhat I want is, first to make the image more clear, and also I need Black color fonts not (any other color fonts).
where XX% is some percent different from white to allow for colors around the border of the letters to not be exactly the same as the letters due to antialising.
see
http://www.imagemagick.org/Usage/color_basics/#replace
http://www.imagemagick.org/script/comma ... s.php#fuzz
http://www.imagemagick.org/script/comma ... php#opaque