CogPMRedLinePattern Trained Property Cognex VisionPro 9.22
Gets whether this pattern is currently trained.

Namespace: Cognex.VisionPro.PMRedLine
Assembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 87.0.0.0
Syntax

public bool Trained { get; }

Property Value

Type: Boolean
"True" if the pattern is trained. "False" otherwise. Default value is "false".
Remarks

Once your pattern is trained you can search for instances of the pattern in a runtime input image. You can do this in one of two ways:

  1. You can call the Execute(ICogImage, ICogRegion, CogPMRedLineRunParams) method of this class, or
  2. You can call the Run  method of a CogPMRedLineTool class that contains this pattern object.

See Also