CogID Execute Method Cognex VisionPro 9.5
Find and decode up to NumToFind symbols within the specified region of the input image.

Namespace: Cognex.VisionPro.ID
Assembly: Cognex.VisionPro.ID (in Cognex.VisionPro.ID.dll) Version: 69.0.0.0
Syntax

public CogIDResults Execute(
	ICogImage image,
	ICogRegion region
)

Parameters

image
Type: Cognex.VisionPro ICogImage
The image containing the symbol(s).
region
Type: Cognex.VisionPro ICogRegion
The Region that specifies the region containing the symbol(s). If the CogRegion is NULL, the entire image is processed.

Return Value

Type: CogIDResults
A CogIDResults object which holds zero or more CogIDResult objects.
Exceptions

ExceptionCondition
CogImageBadTypeException If the supplied input image argument is not a CogImage8Grey.
CogOperatorNoInputImageException If the supplied input image argument is null.
ArgumentException If the supplied input image unbound.
ArgumentException If more than a 2D symbol is enabled.
ArgumentException If the TrainedData does not match the enabled symbol. The tool will untrain in this case.
CogSecurityViolationException If licensing for this operator cannot be confirmed.
Remarks

Find and decode up to NumToFind symbols within the specified region of the input image. The function creates an CogIDResults object which holds zero or more CogIDResult objects
See Also