Skip to main content

FinderParams():getImageDetectionAlgorithm()

Get the algorithm used for image detection.

Signature​

getImageDetectionAlgorithm(): number

Returns

number - The image algorithm:

  • 1 = Correlation Coefficient (default)
  • 2 = Cross Correlation
  • 3 = Square Difference

Description​

This is the image-specific name for getDetectionMethod(). The same value is returned by both methods; use whichever reads better in your macro.