不久,我想在OCR之前进行预处理程序,建议来自ABBYY的技术 http://www.abbyy-developers.eu/en:tech:insideocr:adaptive_binarisation。文章分为两部分:
-
Background Filtering: separate text strings from background.
-
Adaptive Binarization: make lines and words will be correctly detected and higher recognition accuracy will be reached. And they try to impact on characters.
我想知道有什么方法可以通过使用来实现它们opencv
?任何建议或示例代码将不胜感激。
我鼓励您使用此代码:http://liris.cnrs.fr/christian.wolf/software/binarize/ http://liris.cnrs.fr/christian.wolf/software/binarize/特别是 Wolf 的二值化,它在实践中效果非常好,如果您想将它与 opencv 一起使用,则只需对 C++ 代码进行很少的更改。基本上,您必须将指向图像数据的指针传递给此函数。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)