OCROperator MethodsCognex VisionPro 9.25 SR1

The OCROperator type exposes the following members.

Methods

  NameDescription
Public methodClearCache

Clears the training cache, this should be used only when the TrainingDatabase entirely changes.

Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(Object).)
Public methodExecute(IImage)

Executes the OCR process with the trained model.

Public methodExecute(IImage, IRegion)

Executes the OCR process with the trained model.

Public methodExecutePretrained

Executes the OCR process with a pre-trained model.

Public methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodResumeAndRaiseChangedEvent

Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent 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.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodSortCharacters

Sorts the character positions into lines.

Public methodSuspendChangedEvent

Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Public methodTrain

Trains the OCR operator using the TrainingDatabase.

Top
See Also