Use the Fast Positioning Module

Please click here to download an image folder of connectors. In this section, we will use a Fast Positioning module and train a model to rotate the connectors in the images to a uniform orientation.

You can also use your own data. The usage process is overall the same, but the labeling part is different.
  1. Create a new project and add the Fast Positioning module: Click New Project in the interface, name the project, and select a directory to save the project. Click example projects icon create in the upper right corner of the Modules panel, select Fast Positioning, and click OK.

    example projects fast positioning
  2. Import the image data of network ports: Unzip the downloaded file. Click the Import/Export button in the upper left corner, select Import Folder, and import the image folder.

    ][align="center"
    When you select Import Dataset, you can only import datasets in the DLKDB format (.dlkdb), which are datasets exported from Mech-DLK.
  3. Set a template: Click Set template.

    example projects template

    Click Draw under feature1 to select the first feature and then click Draw under feature2 to select the second feature. Select example projects roate icon of the feature frame to adjust the expected image orientation. Click Next upon the setting.

    example projects feature

    Drag the slider or click and + to adjust the image to an expected orientation and position, and click Finish to confirm settings.

    example projects rotate
  4. Modify the labeling: Click example projects label and then click Set template. You can translate and rotate the feature frames to cover both features. Repeat the operations to label all images. Click here to view how to use labeling tools.

    example projects label image
  5. Train the model: Switch to the parameter bar of Training and click Train.

    example projects training
  6. Validate the model: After the training is completed, click Validate to validate the model and check the results.

    example projects locate validation

    After validation, you can view the fast positioning results of the selected image in the parameter bar of Validation. You can also click on the right side of Original image to switch to the Inference Result. In this way, the original image is switched to the image that has undergone pose correction.

  7. Export the model: Click Export and select a directory to save the trained model.

    example projects locate export model

    The exported model can be used in Mech-Vision and Mech-DLK SDK. Click here to view the details.

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.