Hello guys, i removed the lines using the following script:
Code: Select all
convert img1.jpg -write MPR:source -morphology close "2x15: \
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, \
0,1,1,1,1,1,1,1,1,1,1,1,1,1,0" \
-morphology erode square MPR:source -compose Lighten -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-morphology erode square MPR:source -composite \
-sigmoidal-contrast 50,80% \
img2.jpg;
But, lines together to the text don't are removed:
it seems is a hard problem, none answer until now...