System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro.Implementation CogSerializableChangedEventBase
Cognex.VisionPro.OCRMax CogOCRMaxTuneData
Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 73.0.0.0
The CogOCRMaxTuneData type exposes the following members.
| Name | Description | |
|---|---|---|
| CogOCRMaxTuneData | ||
| CogOCRMaxTuneData(CogOCRMaxTuneData) |
Copy Constructor
| |
| CogOCRMaxTuneData(SerializationInfo, StreamingContext) |
| Name | Description | |
|---|---|---|
| AddTuneRecord |
Adds an additional tune record to the tune data.
The input record should be verified to be correct by the user. The input record should be a representative example of the image you wish the tuned tool to read. After calling this function the TuneData will be in the "untuned" state. In order to re-enter the tuned state the user should call the Tune() function. | |
| AutoCorrect | AutoCorrect makes educated guesses at a "correct" tune record by searching for an OCRMax result that matches the character codes contained in the partially correct input record. The primary input to AutoCorrect() is a tune record which contains an image, a region, and the correct string of character codes. It is important for the inputRecords to already contain the character codes that the user expects the OCRMaxTool to eventually read in order for the AutoCorrect function to work properly. The output of AutoCorrect() is a set of tune records which now includes the corrected mark and cell rects location of each character. | |
| AutoTune |
Adds the additional tune record to the tune data
and performs an incremental auto tune.
The input record should be verified to be a correct record by the user. The input record should be a representative example of the image you wish the tuned tool to read. After calling this function the TuneData will be in the "tuned" state. When in the tuned state the user can call GetTunedSegmenter(), and GetTunedFont() to extract tuned OCRMax operators. | |
| 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.) | |
| Dispose | ||
| Dispose(Boolean) | ||
| DoesRecordMatchToolResult |
Returns true if the record and the result
of running OCRMax on this record are considered a match.
| |
| Equals | (Inherited from Object.) | |
| Finalize | (Overrides Object Finalize .) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| 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 | (Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).) | |
| 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.) | |
| GetTunedFont(CogOCRMaxTuneParams) |
Returns the tuned OCRMax Font.
| |
| GetTunedFont(CogOCRMaxFont, CogOCRMaxTuneParams) |
Returns the tuned OCRMax Font.
The tuned font is merged with the existing font.
| |
| GetTunedSegmenter |
Returns the tuned OCRMax Segmenter operator.
| |
| GetTuneRecord |
Returns a copy of the Tune Record at the specified index.
| |
| GetTuneRecords |
Returns a collection of the CogOCRMaxTuneRecords
held by this object.
| |
| GetTuneRecordsCount |
Returns the number of Tune Records in the Tune Data.
| |
| 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.) | |
| OnChanged(Int64) |
This method should be called internally whenever the object's state may
have changed.
(Inherited from CogSerializableChangedEventBase.) | |
| OnChanged(CogChangedEventArgs) |
This method may be called internally whenever a derived object's state
may have changed and the derived object expresses this change via a
derived CogChangedEventArgs class.
(Inherited from CogSerializableChangedEventBase.) | |
| RemoveAllTuneRecords |
Removes all tune records from the tune data.
After calling this function the TuneData will be in the "untuned" state. | |
| RemoveTuneRecord |
Removes a record from the tune data.
After calling this function the TuneData will be in the "untuned" state. In order to re-enter the tuned state the user shold call the Tune() function. | |
| ResumeAndRaiseChangedEvent |
Re-enables raising of the Changed event after SuspendChangedEvent
has been called, and raises the Changed event if the
ChangedEventSuspended count is reduced to zero and any changes were
made while events were suspended. Must be called once for each call to
SuspendChangedEvent.
(Inherited from CogSerializableChangedEventBase.) | |
| SuspendChangedEvent |
Temporarily suspends the raising of the Changed event. May be called
more than once, and a corresponding call to ResumeAndRaiseChangedEvent
must be made for each call to SuspendChangedEvent.
(Inherited from CogSerializableChangedEventBase.) | |
| ToString | (Inherited from Object.) | |
| Tune | Performs a full Tune of the CogOCRMaxTuneRecords contained in this object. After calling this function the TuneData will be in the "tuned" state. When in the tuned state the user can call GetTunedSegmenter(), and GetTunedFont() to extract the tuned OCRMax operators. Note that performing a full Tune may produce different results than calling the incremental AutoTune() on the same set of CogOCRMaxTuneRecords data. | |
| Untune |
Causes the TuneData to become "untuned"
|
| Name | Description | |
|---|---|---|
| SfGetTuneRecords |
Set in the EventArgs of the Changed event every time the
value returned by GetTuneRecords() may have changed.
| |
| SfGetTuneRecordsCount |
Set in the EventArgs of the Changed event every time the
value returned by GetTuneRecords() may have changed.
| |
| SfNextSf | ||
| SfTuned |
Set in the EventArgs of the Changed event every time the
value returned by Tuned may have changed.
|
| Name | Description | |
|---|---|---|
| ChangedEventSuspended |
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 CogSerializableChangedEventBase.) | |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| StateFlags |
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 CogSerializableChangedEventBase.) | |
| Tuned |
| Name | Description | |
|---|---|---|
| Changed |
This event is raised when one or more parts of the object's state may
have changed.
(Inherited from CogSerializableChangedEventBase.) |