CogPMRedLineRunParams AccuracyMode Property Cognex VisionPro 9.22 SR1
Gets or sets the desired level of accuracy for result poses. PMRedLine may run faster if your application can tolerate lower accuracy.

Namespace: Cognex.VisionPro.PMRedLine
Assembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 87.1.0.0
Syntax

public CogPMRedLineAccuracyModeConstants AccuracyMode { get; set; }

Property Value

Type: CogPMRedLineAccuracyModeConstants
The desired accuracy. Default value is Standard.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Exceptions

ExceptionCondition
ArgumentOutOfRangeException The supplied value is not a member of CogPMRedLineAccuracyModeConstants.
Remarks

The accuracy of a result pose (including its position, rotation, and scale) is highly dependent upon the quality of the trained pattern and the contents of the runtime image. For most applications the Standard accuracy mode gives a good tradeoff between accuracy and speed.

If you desire more accuracy and are willing to sacrifice some speed you can use the Accurate mode. If you desire more speed and are willing to sacrifice some accuracy you can use the Fast mode. Fast mode is especially useful if you are searching for multiple pattern instances and only want to know how many were found.

See Also