CheckmarkTrainingData Object (ICheckmarkTrainingData Interface)
This object contains information on checkmark training. This information is created for each checkmark block of type CMT_Custom during checkmark training using the IFRPage::LearnCheckmarks method. The information cannot be edited, but can be used for recognition of checkmarks of the same type.
This object also internally retains information about the values of the BlackThreshold and SuspiciousDistance properties of the CheckmarkBlock object for which it was saved. If you load this object as TrainingData for another checkmark block, these two properties will also be set to the same values.
For the instructions on using this object to recognize checkmarks of custom type, see Recognizing Checkmarks.
The CheckmarkTrainingData object is a persistent object. This means that the object's current state can be written to persistent storage: an area in the global memory or a disk file. Later, the object can be re-created by reading the object's state from persistent storage. The following methods provide persistence of the object: SaveToFile, LoadFromFile, SaveToMemory, and LoadFromMemory.
Properties
Name | Type | Description |
---|---|---|
Application | Engine, read-only | Returns the Engine object. |
Methods
Name | Description |
---|---|
CopyFrom | Initializes properties of the current object with values of similar properties of another object. |
LoadFromFile | Restores the object contents from a file on disk. |
LoadFromMemory | Restores the object contents from the global memory. |
SaveToFile | Saves the object contents into a file on disk. |
SaveToMemory | Saves the object contents into the global memory. |
Related objects
See also
9/17/2024 3:14:41 PM