<< 点击显示目录 >> 主页 mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 用例 > 读码器 - 读取条形码/数据码 |
本节介绍为标准用例配置视觉功能读码器的基本方法。
必须满足以下要求。
•定义NumSearchMax。
•定义MaxStringSize。
•使用符号类型(SymbolType)可从获取的图像中的不同代码类型列表中精确选择要搜索的代码类型。
•如果不知道要搜索的代码类型,则将SymbolType配置为 IdentifySymbolType。
然后为SymbolType 设置在图像采集中识别的代码类型。
信息:
识别算法 IdentifySymbolType (SymbolsType = 0) 仅用于初始识别,不应在循环操作中使用,因为该算法的处理时间可能很长,具体取决于现有的代码。符号类型 MSI 和 PharmaCode 不在此搜索范围内,因为它们不包含校验和,因此无法确保可靠的识别。
•根据代码的极化和所需模式设置ParameterMode。
•使用ParameterMode= 2 时,可以使用之前通过 ParameterOptimization(参数优化)传入的参数集。
•使用ParameterMode= 3 可以手动调整视觉参数。
•使用参数优化。
•通过限制范围来优化执行兴趣区域。
•对于二维代码:使用EnableRobustness。
•如果找不到代码,为超时设置一个合适的值以限制搜索时间。
•分级值
This section describes the basic approach to configuring vision function Code reader for standard use cases.
The following requirements must be met.
•Define NumSearchMax.
•Define MaxStringSize.
•Use SymbolType to select exactly one type of code to be searched for from a list of different code types in the acquired image.
•If the code type being searched for is not known, then configure SymbolType as IdentifySymbolType.
Then set the code type identified in the image acquisition for SymbolType.
Information:
Recognition algorithm IdentifySymbolType (SymbolsType = 0) is intended for initial identification only and should not be used in cyclic operation since the algorithm's processing time can be very long, depending on the existing code. The symbol types MSI and PharmaCode are excluded from this search because they do not contain a checksum and a reliable identification can therefore not be ensured.
•Set ParameterMode according to the polarization of the code and the desired mode.
•Using ParameterMode = 2 allows the parameter set that was previously taught-in via ParameterOptimization to be used.
•Using ParameterMode = 3 allows the vision parameters to be adjusted manually.
•Use ParameterOptimization.
•Optimize the Execution ROI by limiting the scope.
•For 2D codes: Use EnableRobustness.
•If a code cannot be found, set a suitable value for Timeout to limit the search time.
•Search order of IdentifySymbolType
•Size comparison - DataMatrix ECC200
•Handling recipes with ParameterMode "User-defined"
•