Use the Object Detection Module

Please click here to download an image dataset of rotors. In this section, we will use an Object Detection module and train a model to detect the positions of rotors in the image and output the quantity.

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 Object Detection 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 and add the Object Detection module.

    example projects add new module
  2. Import the image dataset of rotors: Unzip the downloaded dataset file. Click the Import button in the upper left corner, select Folder, and import the image data.

    example projects import images
  3. Select an ROI: Click the ROI Tool button example projects icon roi and adjust the frame to select the bin containing rotors in the image as an ROI, and click Apply to save the settings. Setting the ROI can avoid interferences from the background and reduce processing time.

    example projects roi
  4. Split the dataset into the training set and validation set: By default, 80% of the images in the dataset will be split into the training set, and the rest 20% will be split into the validation set. You can click example projects icon slider and drag the slider to adjust the proportion. Please make sure that both the training set and validation set include objects of all classes to be detected. If the default training set and validation set cannot meet this requirement, please right-click the name of the image and then click Switch to training set or Switch to validation set to adjust the set to which the image belong.

    example projects divide dataset
  5. Create Labels: Create labels based on the type or feature of different objects. In this example, the labels are named after the rotors.

    example projects create label
  6. Label images: Make rectangular selections on the images to label all the rotors. Please select the rotors as precisely as possible and avoid including irrelevant regions. Inaccurate labeling will affect the training result of the model. Click here to view how to use labeling tools.

    example projects labeling
  7. Train the model: Keep the default training parameter settings and click Train to start training the model. Click here to view the instructions on training parameter configuration.

    example projects training
  8. Validate the model: After the training is completed, click Validate to validate the model and check the results. Click here to view the instructions on validation parameter configuration.

    example projects validation
  9. Export the model: Click Export, set parameters of the model to be exported in the pop-up window, and then click Export and select a directory to save the exported model.

    example projects 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.