Find and decode up to NumToFind
symbols within the specified region of the input image.
Namespace: Cognex.VisionPro.IDAssembly: Cognex.VisionPro.ID (in Cognex.VisionPro.ID.dll) Version: 75.1.0.0
Syntax
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: CogIDResultsA CogIDResults object which holds zero or more CogIDResult objects.
Exceptions
| Exception | Condition |
|---|---|
| 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
See Also