摘要:
一、用imagemagic对图片进行预处理,以提高识别率convert -compress none -depth 8 -alpha off -crop 112x15+0+1 -monochrome ./1.png ./1.tif 1.-compress none,必选参数.必须在无压缩模式下进行,否则tesseract可能不接受图片。 2.-depth 8,可选参数。加上据说可以提高识别率。 3.-alpha off,可选参数。加上据说可以提高识别率。 4.-crop ... 可选参数。用来裁掉图片的空白区域和下划线。具体格式为:width x height + x + y,按照矩形... 阅读全文
posted @ 2013-06-15 03:44
k2013
阅读(714)
评论(0)
推荐(0)
浙公网安备 33010602011771号