Use the Fast Positioning Module
This document provides connector data (click to download) and guides you through training a model using the Fast Positioning module to align the connectors to a uniform orientation.
You can also use your own data. The usage process is overall the same, but the labeling part is different. |
-
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
in the upper right corner of the Modules panel, add the Fast Positioning module, and click OK.
-
Import the image data of connectors: Unzip the downloaded file. Click the Import/Export button in the upper left corner, select Import Folder, and import the image folder.
image::fast-positioning/example-projects-load-images.png[][align="center"] If duplicate images are detected in the image data, you can choose to skip, import, or set an tag for them in the pop-up Import Images dialog box. Since each image supports only one tag, adding a new tag to an already tagged image will overwrite the existing tag. When importing a dataset, you can choose whether to replace duplicate images.
-
Dialog box for the Import Images or Import Folder option:
-
Dialog box for the Import Dataset option:
When you select Import Dataset, you can only import datasets in the DLKDB format (.dlkdb), which are datasets exported from Mech-DLK.
-
-
Label images: The Fast Positioning module provides two default label classes feature1 and feature2. In the labeling toolbar, click
, and label the first feature on the image. After the first label is finished, the system automatically switches to the feature2 class. Then, label the second feature on the image. Each class can contain only one label. If you need to modify an existing label, select the corresponding class in the Classes column and draw a new label. The new label will automatically replace the original one. Repeat the operations to label all images. Click here to view how to use labeling tools.
-
Train the model: Switch to the parameter bar of Training and click Train.
-
Monitor training progress through training information: On the Training tab, the training information panel allows you to view real-time model training details.
-
Adjust images: After the training is completed, in the Validation tab, click Image Adjustment Settings. Drag the slider or click - and + to adjust the image to an expected orientation and position, and click Finish to confirm settings.
-
Validate the model: Click Validate to validate the model and check the results.
-
Export the model: Click Export and select a directory to save the trained model.
The exported model can be used in Mech-DLK SDK. Click here to view the details.