DetectFlaw

The DetectFlaw function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. is used to identify flaws by comparing the trained data contained in a either a valid TrainFlawModel data structure returned by a TrainFlawModel function, or a FlexFlawModel data structure returned by a FlexFlawModel function, along with the currently acquired image. The DetectFlaw function is capable of identifying the following three types of flaws: Area Defects, Missing Edge Defects and/or Extra Edge Defects.

Area inspections verify whether or not there are defects such as scratches or stains on the surface of the object/part. Edge inspections verify whether or not there are extra or missing edges, or that the boundary of the object/part is consistent. Combining area and edge defects provides the highest degree of inspection verification.

Tip:

DetectFlaw Outputs

Returns

A DetectFlaw data structure containing the detected flaws, or #ERR if any of the input parameters are invalid.

Note: The DetectFlaw data structure may be used as an Image input for other 2D Vision Tools.

Results

When DetectFlaw is initially inserted into a cell, a results table is created in the spreadsheet.