CogCNLSearchResult Score Property Cognex VisionPro
The Score is between 0.0 and 1.0 with higher values indicating a closer match between the trained pattern and the pattern in the search image. The Score will be reduced if the result is a partial match and PartialMatchReduceScore is true.

Namespace: Cognex.VisionPro.CNLSearch
Assembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 65.1.0.0
Syntax

public double Score { get; }

Property Value

Type: Double
Remarks

The Score (in the range 0.0 through 1.0) is a measure of the overall similarity between the trained pattern and this pattern instance.

If this pattern instance lies partially outside of the search image and the value of the PartialMatchReduceScore property is true, then the score is equal to AreaScore times AreaCoverageScore. Otherwise, the score (for all algorithms) is equal to the AreaScore.

See Also