CompareGoldenTemplate2
Compares an image with a multi-image model using an ensemble of image features approach.
Applications:Finding general object defects by analyzing brightness deviations from a template image.
Syntax
C++
C#
Python
def CompareGoldenTemplate2( inImage: Image, inModel: GoldenTemplate2Model, outDefects: Region, /, *, inSensitivityA: float = 1.0, inSensitivityB: float = 0.95 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inModel | GoldenTemplate2Model | |||
![]() |
inSensitivityA | float | 0.0 - ![]() |
1.0 | Usually influences small, distinctive defects. |
![]() |
inSensitivityB | float | 0.0 - ![]() |
0.95 | Usually influences bigger, extensive defects. |
![]() |
outDefects | Region |



