<< 点击显示目录 >> 主页
mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 诊断 > 常见问题 > OCR 常见问题解答 建议用于 OCR 分析的字体大小 |
建议的字体大小为 10 至 20 像素,具体取决于字体(OcrClassifier)。字体高度为 20 像素是合理的,特别是对于出现的小写字母。
图像中的字符最好在分割(每个字符的区域)方面尽可能与背景中的干扰(尤其是大小)不同。
此外,为了支持 OCR 算法,使用参数(MinCharHeight、MaxCharHeight、MinCharWidth和MaxCharWidth)限制字符大小也非常有用。
The recommended font size is 10 to 20 pixels depending on the font (OcrClassifier). A height of 20 pixels for a font makes sense especially with regard to lowercase letters that occur.
Characters in the image should ideally differ as much as possible in terms of segmentation (region per character) from disturbances in the background (especially in terms of size).
In addition, to support the OCR algorithm, it is very helpful if the character size is also limited using parameters (MinCharHeight, MaxCharHeight, MinCharWidth and MaxCharWidth).