Configure pass/fail logic for a classification recipe
  • 19 Jul 2024
  • PDF

Configure pass/fail logic for a classification recipe

  • PDF

Article summary

  1. Activate and edit a classification recipe.

  1. Make sure all the AI blocks are trained before you edit the Node-RED logic.  Click Configure IO to enter the Node-RED flow editor.

    1. Locate the Classification Block Logic Node in the default flow, or add it to your flow from the nodes menu on the left.  All purple nodes in Node-RED represent Overview Logic Blocks. These blocks are integral to the overall classification logic. For a comprehensive understanding of each block, refer to the manual page IO Block and Node-RED Logic.

  1. From the dropdown menu on the left, select the ROI you wish to include in the logic.  You may also set a confidence threshold for the inspection.  You can use the confidence to tune sensitivity, but generally it is not required.

  1. Choose the target class that the model should identify. For example, select the corresponding target class if you want the model to pass items with a "pass" classification.

  1. If the model requires additional regions of interest, you can add more ROIs to the logic. Additionally, you may select if any or all of the rules must be true in order for the inspection to pass.  By default all rules must pass.

  1. After configuring all necessary settings, click on the "Deploy" button in the upper right corner of the Node-RED editor to save and deploy the logic. Verify that the model operates as expected by testing with sample data from the HMI page.


Was this article helpful?

ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence