CogOCRMaxLineResult CreateTuneRecordFromResult Method Cognex VisionPro
Returns a CogOCRMaxTuneRecord based on this result. The record can be corrected and then used to tune the the CogOCRMaxTool.

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

public CogOCRMaxTuneRecord CreateTuneRecordFromResult(
	ICogImage inputImage,
	CogRectangleAffine region
)

Return Value

Type: CogOCRMaxTuneRecord
Exceptions

ExceptionCondition
CogImageBadTypeException Thrown if inputImage is not a CogImage8Grey, CogImage16Grey, or CogImage16Range.
Remarks

NOTE: For input images of type CogImage16Range, non-visible or missing pixels are automatically removed using a neighborhood interpolation filter of the image within the region.

See Also