跳到主要内容

FinderParams():getImageDetectionAlgorithm()

获取用于图像检测的算法。

签名​

getImageDetectionAlgorithm(): number

返回值

number - 图像算法:

  • 1 = 相关系数(默认)
  • 2 = 互相关
  • 3 = 平方差

描述​

这是 getDetectionMethod() 针对图像检测的名称。两个方法返回相同的值;在宏中使用哪个更容易理解就用哪个。