CogOCVPattern PropertiesCognex VisionPro

The CogOCVPattern type exposes the following members.

Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
Public propertyCharacterPositions
A collection of characters positions to be verified. Each character position in this pattern will indicate which font models should be verified for that position. A character position specifies a font model via the font model's Name and Instance.
Public propertyCharacterRotationUncertainty
A common rotation (in radians) uncertainty for any character position that has its UsePatternCharacterUncertainties set to true. The rotation uncertainty specifies the expected image-to-image variation of a character's rotation. This is an unsigned value.
Public propertyCharacterScalingUncertainty
A common scaling uncertainty for any character position that has its UsePatternCharacterUncertainties set to true. The scaling uncertainty specifies the expected image-to-image variation of a character's scale. This is an unsigned value.
Public propertyCharacterTranslationUncertainty
A common translation uncertainty for any character position that has its UsePatternCharacterUncertainties set to true. The translation uncertainty specifies the expected image-to-image variation of a character's x,y position. This is an unsigned value.
Public propertyFont
The font for this OCV pattern. Each character position in this pattern will indicate which of the font's model(s) should be verified for that position. A character position specifies a font model via the font model's Name and Instance.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyRunTimeCharacterAcceptThreshold
A common accept threshold for any character position that has its UsePatternRunTimeCharacterThresholds set to true. The accept threshold specifies the matching score below which a character will fail verification.
Public propertyRunTimeCharacterConfidenceThreshold
A common confidence threshold for any character position with UsePatternRunTimeCharacterThresholds set to true. A character's matching score must exceed the highest scoring confusing character by the confidence threshold in order to pass verification.
Public propertyRunTimeTimeout
The maximum execution time (msec) allowed to run an OCV inspection. If OCV has not finished by the end of the timeout period, it will stop soon thereafter and return E_Cog_TimeoutExpired. This value only applies if TimeoutEnabled is true.
Public propertyRunTimeTimeoutEnabled
If true then the RunTimeTimeout property limits the execution time of the OCV inspection. If false then timeout is disabled and the RunTimeTimeout property is ignored.
Public propertyTrained
True if the pattern is trained.
Top
See Also