Contains a the result for a single character position in a CogOCRMaxLineResult.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro.OCRMax CogOCRMaxPositionResult
Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 65.1.0.0
Syntax
The CogOCRMaxPositionResult type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogOCRMaxPositionResult |
Construct a default CogOCRMaxPositionResult object.
| |
| CogOCRMaxPositionResult(CogOCRMaxPositionResult) |
Constructs a deep copy of the supplied CogOCRMaxPositionResult object.
| |
| CogOCRMaxPositionResult(SerializationInfo, StreamingContext) |
Serialization constructor for CogOCRMaxPositionResult.
|
Methods
| Name | Description | |
|---|---|---|
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetCharacter |
Gets a CogOCRMaxChar representation of this position result. CogOCRMaxChars
contain information about a character which is necessary for training
the classifier. Usually CogOCRMaxChars are extracted from the result and
added to the Classifier's Font using the OCRMaxTool.Classifier.Font.Add()
method. This process is repeated until the training information in the
font enables the classifier to successfully read all the characters of
interest to the OCRMax application.
| |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetObjectData |
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.) | |
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetProperties( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetString |
Returns a string which represents this CogOCRMaxPositionResult.
| |
| GetString(String) |
Returns a string which represents this CogOCRMaxPositionResult.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToString | (Overrides Object ToString .) |
Properties
| Name | Description | |
|---|---|---|
| AlternativeCharacters |
The list of alternative characters. These characters induced scores
satisfying the alternative score threshold.
| |
| CellRect |
The cell rectangle of position result in the image. The
cell rectangle is a bounding box that encloses not only all of the
foreground (e.g. ink) pixels of a character image, but also typically
additional padding region. Cell rectangles are typically height of the
full line of text containing the character. Ideally, all of the cell
rectangles in a line of text touch their adjacent neighbors.
| |
| CharacterCode |
The character code, which is a Unicode UTF-32 code point.
| |
| ConfidenceScore |
The confidence score, in the range [0, 1].
| |
| ConfusionCharacter |
The confusion character.
| |
| ConfusionExplanation |
The reason that lead to the Confused status.
| |
| ID |
Gets a unique ID used to identify this result.
This ID also corresponds to the index of this result
in the CogOCRMaxLineResult to which this result belongs.
| |
| MarkRect |
The mark rectangle of the position result in the image. The mark
rectangle of a character is a tight bounding box enclosing all of
foreground (e.g. ink) pixels in the character image.
| |
| Polarity |
The Polarity of the character.
| |
| ProcessedImage |
The processed image, which is generated from the input rectified image
and used for classification.
| |
| Score |
The position result score.
| |
| SkippedTrainCharacterIndices |
The list of indices to training character instances that were skipped
(i.e., not considered) during classification, e.g., due to violating
scale/size constraints.
| |
| Status |
The status of the OCRMax read operation at this character position
summarized into one of four discrete states.
|
Remarks
| MarkRect and CellRect | Position of the found character in the image |
| CharacterCode | What Character was read at this position (also available via GetString()) |
| Score | How closely the character matched the font character |
| Key | Which character in the CogOCRMaxFont was the matching character |
| ConfidenceScore | A measure of how certain the Tool is of the chosen match when compared with the next best match |
| ConfusionCharacter | The next best matching character |
| AlternativeCharacters | A list of other characters that were near matches |
| Status | Information about the position result sumarized into a set of discrete status values |
| ID | A unique ID used to identify this result. This ID also corresponds to the index of this result in the CogOCRMaxLineResult to which this result belongs. |
See Also