ViDiDetect
The ViDiDetect function allows you to create a deep learning-based defect detection solution, based on the Red Analyze tool in Unsupervised mode. With this tool, during the training phase you teach it only what a good part looks like, including any and all acceptable variations. Then, at runtime, it will discover any anomalies from the learned appearance, and return a deviation score and a pass/fail result.
To use the ViDiDetect function, perform the following:
- After adding the function, open the ViDi Editor.
-
Add the images that will comprise your training set.
Note: Only add images that are passing, acceptable versions. The tool will automatically remove images that are labeled as "Bad" from the training set. - Label the features that you expect to make up your model.
- Train the tool.
- Review your training images and verify that the results are correct.
- Use your testing images to qualify the results.
ViDiDetect Inputs
General Tab
Parameter | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Image |
This argument must reference a spreadsheet
cell that contains a valid Image data structure; by default, the cell references
A0, the cell containing the Image data structure returned by |
||||||||||
External Fixture |
Specifies a reference to a Fixture or Fixtures data structure. This fixture data will be passed into the ViDi tools, and will be used to define the views for each image. When using an external fixture, within the ViDi tool's Region of Interest (ROI), you will need to select External. Then, from the Image Database menu, select Update All Training Fixtures, and then modify the ViDi tool's ROI. You can also update the ViDi tool's reference to the external fixture data by selecting the ViDi data structure, right-click and select Update Training Fixtures. |
||||||||||
Region |
Also known as the Region of Interest (ROI), specifies the region of the image that undergoes analysis; creates an Interactive Graphics Mode that can be transformed and rotated. With this parameter selected, by pressing the Maximize Region button on the property sheet's Job Edit toolbar, the region will automatically be stretched to cover the entire image.
|
||||||||||
Show |
Specifies the display mode for ViDiDetect tool's graphical overlays on top of the image.
|
Runtime Tab
Allows access to ViDi Processing Tool Parameters that can be modified while the job is online. These parameters do not require that the tool be retrained. You can drag and drop these parameter to the spreadsheet, and publish them to the HMI for operator interaction.
ViDiDetect Outputs
Returns |
A ViDiDetect data structure, containing the results of the trained tool. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Results |
After the ViDiDetect tool has been trained, a result table can be generated, based on the ViDi Results Vision Data Access Functions, by right-clicking on the function's data structure and selecting Insert Getters. Note: When the Vision Data Access functions are automatically generated, the default setting will auto-populate the first five features to the table. If there are more than five features, you will need to manually add them to the table. If you wish to display more entries, you can expand the table by copying the last row and pasting additional rows at the end; make sure to increment the index number of any newly-pasted row so that the proper feature is indexed.
|