Want to remove lines and only keep the text in the image

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
kdurai
Posts: 1
Joined: 2020-01-01T04:21:37-07:00
Authentication code: 1152

Want to remove lines and only keep the text in the image

Post by kdurai »

Hi,

I want to remove the lines in the image and keep only the text in the image. Also I want to darken the image once lines are removed.

Can you please advise what options that we need to use in convert command. I have tried with few options that were used in some of the post.

That does not work and completely wiped off the image. Can you please advise here?.

I am new to imagemagick and need to the pass the modified image to OCR to extract the text

[img]F:\captcha.img[/img]

Regards,
Durai

User avatar
dlemstra
Posts: 1606
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Want to remove lines and only keep the text in the image

Post by dlemstra »

We will not help you to break a captcha.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

User avatar
fmw42
Posts: 26108
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Want to remove lines and only keep the text in the image

Post by fmw42 »

I agree with dlemstra.

Post Reply