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?".
freznel
Posts: 1 Joined: 2013-11-16T17:22:51-07:00
Authentication code: 6789
Post
by freznel » 2013-11-16T17:53:50-07:00
Given images of text like the following
I want to remove the line noise to better OCR it. As the text is always blue I used
Code: Select all
convert $in -fuzz 40% -fill white +opaque blue $out
which resulted in
Is it possible to also fill in the areas of the characters where the line intersects with it to keep the characters contiguous?
Code: Select all
$ convert -version
Version: ImageMagick 6.8.7-3 2013-11-05 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC
Delegates: bzlib djvu fftw fontconfig freetype gslib jng jpeg lcms ltdl lzma png ps png tiff webp xml zlib
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2013-11-16T18:36:12-07:00
IM does not have any inpainting function to my knowledge. (Though someone else knows an approximation in IM commands).
Nevertheless, is this your captcha? If not, then no one will help you to break someone else's captcha system.