CogOCRMaxTool PropertiesCognex VisionPro 9.5

The CogOCRMaxTool type exposes the following members.

Properties

  NameDescription
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
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.
(Inherited from CogSerializableChangedEventComponentBase.)
Public propertyClassifier
Classification is the second main step in performing OCRMax. Classification takes in a CogOCRMaxChar produced by the segmenter and returns the best matching character, the score of that best matching character, and the confidence of that best matching character. By classifying all of the segmented characters in a line of text, the classifier determines the result string for the whole line. See the OCRMax Theory Guide for more information.
Public propertyClassifierRunParams
Parameters which control how the classification step is run.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyCurrentRecordEnable
Enable creation of records by bitwise ORing the appropriate CogOCRMaxCurrentRecordConstants.
Public propertyDataBindings
Gets the data bindings for the tool.
(Inherited from CogToolBase.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyFailOnInvalidDataBinding
Specifies that the Run method is to fail if executed while one or more data bindings are invalid.
(Inherited from CogToolBase.)
Public propertyFielding
The Fielding operator. Fielding can be used to improve the classifier results based on prior knowledge of the string being read.
Public propertyFieldingEnabled
Enable or disable the fielding operation
Public propertyHasChanged (Inherited from CogSerializableChangedEventComponentBase.)
Public propertyInputImage
Gets or sets the image on which to run OCRMax.
Public propertyLastRunRecordDiagEnable
Enable creation of records by bitwise ORing the appropriate CogOCRMaxLastRunRecordDiagConstants.
Public propertyLastRunRecordEnable
Enable creation of records by bitwise ORing the appropriate CogOCRMaxLastRunRecordConstants.
Public propertyLineResult
Gets the result of running the OCRMax tool.
Public propertyName
Gets or sets a user-supplied name for the tool.
(Inherited from CogToolBase.)
Public propertyRegion
Gets or sets the optional region which determines where the tool should look for text.
Public propertyRunStatus
Gets general information about the last call to the tool's Run function. Note that serious errors that occur within the tool's Run method may only be detected by examining the RunStatus after calling Run. It is the user's responsibility to examine the tool's RunStatus after calling Run.
(Inherited from CogToolBase.)
Public propertySegmenter
Character Segmentation is the first step performed by the CogOCRMaxTool. Segmentation takes an image as input and extracts a set of segmented character images (CogOCRMaxChar(s)). For example, if an image contains the line of text "ABCD", then character segmentation produces four separate images (CogOCRMaxChar(s)), each of which is an image of a single character. Character segmentation does not know anything about actually determining which letter a character image corresponds to; in the above example, it has no way of knowing that the first image corresponds to the letter "A". See the OCRMax Theory Guide for more information.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventComponentBase.)
Public propertySwapCharSet
The set of characters which have been predetermined to be "swappable" (They appear similar and are hard to distinguish, e.g. '0' (zero) and 'O' (capital oh)).
Public propertyTimeout
Gets or sets the timeout value used by this tool in milliseconds.
Public propertyTimeoutEnabled
Enables the timeout mechanism.
Public propertyTuneData
A collection of CogOCRMaxTuneRecords used to tune the CogOCRMaxTool.
Public propertyTuneParams
Parameters which control the behavior of OCRMax AutoCorrect(), AutoTune(), and Tune() functions.
Public propertyUnknownCharacterMarker
A string which will be used to identify the unknown character code in result strings generated by this tool.
Public propertyUserData
Gets a CogDictionary object that can be used to store application-specific information.
(Inherited from CogToolBase.)
Top
See Also