CogOCVResult GetPoseWithRespectToPattern Method Cognex VisionPro 9.10
Returns the determined Pose of the character location in relative to pattern space.

Namespace: Cognex.VisionPro.OC
Assembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 79.0.0.0
Syntax

public CogTransform2DLinear GetPoseWithRespectToPattern()

Return Value

Type: CogTransform2DLinear

The returned pose.

Exceptions

ExceptionCondition
CogOCVNoFontModelFoundException

Score is 0.

Remarks

Returns the position of the found font model's origin with respect to the pattern's origin. You can use the returned transform to map a point relative to the model's origin to a point relative to the pattern's origin.

Mapping the point (0, 0) through the returned CogTransform2DLinear returns the origin of the found model relative to the pattern's origin.

See Also