Cascade Modules

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

Cascading modules can help detect defects in complex scenarios such as changing positions of incoming materials and detection points and the scenarios requiring the classification of defects.

Common Cascading Combinations

The following are the common combinations:

  1. Object Detection–Defect Segmentation

    • Feature: Position the to-be-detected objects in an image and then detect defects.

    • Applicable scenarios: There are many objects to be detected in the original image, and the position and number of objects are random; the shapes of defects vary.

      solution selection 1
  2. Object Detection–Classification

    • Feature: Position the to-be-detected objects in an image and then determine the orientations and colors of objects.

    • Applicable scenarios: There are multiple objects to be detected in the original image, and the number and positions of objects are random; the objects need to be classified.

      solution selection 2
  3. Defect Segmentation–Defect Segmentation

    • Feature: The Defect Segmentation module segments the region to be detected and the background, and then the Defect Segmentation module performs defect detection on the extracted region.

    • Applicable scenarios: Complex background, small or inconspicuous defects. The to-be-detected region should be extracted before fine defect detection.

      solution selection 3
  4. Fast Positioning–Defect Segmentation

    • Feature: Single objects with relatively random positions and angles are relatively random. Thus, the images should be rotated to a specified angle and position before defect detection.

    • Applicable scenarios: single objects, random incoming materials, and changing defect shapes.

      solution selection 4
  5. Text Detection–Text Recognition

    • Feature: The Text Detection module can locate and extract the text areas of images to reduce the interference from the background and the text orientations. The Text Recognition module can recognize characters in images, and it cannot be followed by any other module.

    • Applicable scenarios: complex backgrounds and different text orientations.

      alt

Use Cascaded Modules

First, confirm whether the dongle rights include the module cascading function by clicking the + sign in the upper-right corner of the Modules section. If you can click it, the function is enabled. If not, please contact Mech-Mind Sales to upgrade the authorization version.

alt
  1. Train the first module

    Train the first module by the training methods of single modules. After training, check whether the model is applicable.

  2. Train the second module

    Click + in the upper-right corner of the software and add a module according to actual needs.

  3. Import the data from the previous module

    The result of the previous module will be the input for the current module.

    1. Click Import and select Import from previous module.

    2. Select images.

    3. Modify Import Configuration.

      • Expand by: Expand the imported images by a specified number of pixels. The expansion can prevent data loss caused by insufficient accuracy of the previous module. Default value: 0 px

      • Rectify image(s): Rectify all imported images to the positive direction (0°).

      • Keep background: This option determines whether or not to save the pixels other than masks. Only masked images are imported when this option is turned off.

    4. Click Import.

  4. Label and train the current module

    Complete the labeling and training of the current module.

  5. Validate and export the model

    After training, validate the model and export it. The exported model can be used in Mech-Vision and Mech-DLK SDK.

If the previous module is updated, the following module needs to be re-trained.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.