Skip to content

Tutorial 1: Measurement Tape Detector

This tutorial shows the step by step Machine Learning process in Edgefirst Studio.

Data Collection

Data collection process starts as simple as collecting pictures and videos of the objects. In this example, the objects to detect are measurement tapes.

Data Collection
Data Collection

The image above shows measurement tape images captured from different angles and positions using an iPhone, though any camera will work you just need to be able to transfer the photos and videos to your PC. We recorded both images and videos with varying camera orientations to ensure diverse perspectives.

Follow this tutorial for capturing images and videos with your phone and uploading the files into EdgeFirst Studio for annotation.

After uploading the files, check the gallery view to verify that all data (videos and images) has been imported successfully.

Dataset Gallery
Dataset Gallery

Note

Videos appear as sequences with a play button overlay on the preview thumbnail.

Data Annotation using AGTG

Once the dataset samples has been uploaded to EdgeFirst Studio, you can start annotating the samples via Automatic Ground Truth Generation (AGTG).

After completing the annotations, the gallery will display previews of all annotated videos and images.

Annotations Preview
Annotations Preview

Once your dataset has been fully annotated, you are now ready to begin model training.

Model Training

We will now walk you through training a detection and segmentation model (multitask), but first ensure that your dataset contains training and validation groups. If the GUI shows 0 Groups, you'll need to create training and validation groups before starting training.

Once the groups have been created, follow these steps for training your model.

Model Inference on PC

Now that ModelPack has been trained on your dataset, you can start deploying the trained models on your PC.

Input Image Model Output
Input Image Model Output