<< 点击显示目录 >> 主页
mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 诊断 > 常见问题 > 读码器常见问题 优化一维代码 |
对于条形码(一维代码),可使用参数 C1dElementSizeMin 和 C1dElementSizeMax 限制基本元素的大小。这种搜索优化可以大大缩短执行时间。
C1dElementSizeMin/Max 确定条形码类型中最窄条形和空格的最小或最大厚度。
•C1dElementSizeMin 应设置为 1.5,对于低分辨率条形码,有时甚至应设置为 1.2。
•C1dElementSizeMax 应大到足以找到完整符号的候选区域。但是,C1dElementSizeMax 不能太大,以至于两个相邻的条形码合并为一个候选码。
For barcodes (1D codes), the size of a base element can be limited with parameters C1dElementSizeMin and C1dElementSizeMax. This search optimization can significantly shorten the execution time.
C1dElementSizeMin/Max determine the minimum or maximum thickness of the narrowest bars and spaces of the barcode type.
•C1dElementSizeMin should be set to 1.5 or sometimes even up to 1.2 for low resolution barcodes.
•C1dElementSizeMax should be large enough to find the candidate region for the complete symbol. However, C1dElementSizeMax is not permitted to be so large that two adjacent barcodes merge into a single candidate.