CogOCRMaxTuneData AddTuneRecord Method Cognex VisionPro
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.

Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 65.1.0.0
Syntax

public void AddTuneRecord(
	CogOCRMaxTuneRecord record
)
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this function is called.

The following state flag may be affected:

  • SfTuned
Exceptions

ExceptionCondition
ArgumentNullException Thrown if record is null.
ArgumentException
  • Thrown if record does not contain the same number of CharacterCodes, MarkRects, and CellRects.
See Also