Annotate Data for Object Detection
Last updated
Last updated
You will need to have a computer with Nvidia GPU, should install CUDA, CUDNN, and use Module Downloader Window.
The AugeLab Studio Image Annotation Window allows users to annotate images by drawing bounding boxes around objects of interest and associating them with specific classes.
To open the Image Annotation Window, navigate to the top menu and click on AI Tools
➡️ Image Annotation
.
For image annotation, you need two things:
.class
file
Dataset
To label your data, first you need a classes.names
file, which is a standard text file with .names extension. A normal class file looks like below:
If you do not have such file, you can create your own using the Classes
section:
To create your own classes file:
Type a class name
Click on +
and add your classes.
Click on Save Classes
and you are ready to pick a folder.
You may also click on -
to remove any unwanted classes.
Make sure path to your dataset do not contain any non-english characters.
Click on Open Folder
at the top of the screen and choose the folder that contains all of your images:
Select Image from List: After loading the image folder, a list of available images will be displayed. Click on an image to select it for annotation.
Annotating images are pretty simple. Click on the top left of the object you'd like to detect, drag the mouse and release it when you are done!
Dataset features several functionalities:
Filter
function that allows you to filter several image classes:
All
All images with and without annotation
Annotated
images have annotations with them.
Empty
images do no contain annotations, but included in the training. This means objects that are not annotated may negatively impact training.
Excluded
images do no have an annotation file. This means they do not affect training whatsoever.
Search
functionality will allow you to filter images with their names.
You can also annotate video files using the Video mode on the top side of the window:
Changing video mode will ask you for a file path. Choosing the video will allow you to annotate a video just like a folder!
There are several tools inside the Annotation Tool to help you during your dataset preparation:
Clicking on class frequency analysis will analyze and show you how many classes exist in your dataset.
This is useful to check if you have a balanced dataset or not.
AugeLab Studio automatically applies dataset augmentation. Augmentation is the process of artificially creating similar data.
Clicking on Apply Augmentation
will create artificial data and keep your annotations on the newly created images.
Augmentation process should be done after finishing annotation
Augmentation process may increase the disk size of your dataset up to 10 times.
Preprocess Image tool allows you to change the contrast, brightness and gamma of images that are shown in the window. This feature comes in handy when dealing with very dark or too bright images.
Change Class Id tool will allow you to change the all annotated class instances to a different class.
This tool comes in hand when merging two different datasets.
To train a custom object detection model, please refer to Object Detection Train.