Welcome back to the OpenVINO channel
Data is the new Oil, getting the right data set is the first step for an AI application.
But even if you have a great data-set, annotating it can be a real tedious, time consuming task
CVAT is not part of OpenVINO, but it is a free, Open source annotation tool supplied by Intel
and when you combine it with OpenVINO it can save you a huge amount of time..
We always describe the inference journey.. Watch video # 3 for example
But before the training can even begin, we need to arrange the data
So we want to arrange the data: videos or images,
We need to annotate it Make sure it is in the format expected by our DL model
And then move to training..
CVAT can help you annotate the data, save it and then convert it to many public data-set formats,
I'll show you how
In this video I'll show you how to manually annotate the data,
On next video we will use OpenVINO for automatic annotation,
we'll just run inference and hopefully the results will be good enough that we just need to review them,
make minor changes and save a lot of time..
Let's begin.. there are lots of materials all around, but I would like in 2 minutes to help you get started.
You can explore the more advanced modes later..
Google CVAT
go to the github page,
Lot's of materials here, but I will go to the "installation guide"
You can see that it works on ubuntu, windows and macOS..
The instructions are really simple and they work
The last command is to run the CVAT in a docker, let's do it..
Now we need to open the local address, pay attention that it only works with Chrome browser
I open a new task,
create 2 labels: car and person..
When you hover here with mouse you see that there are a lot of options to create these labels
But we'll keep it simple..
Everything will run locally
And let's load a video file, it could be also set of images, anything you like
Submit.
And the video is loaded..
Open the job
I can run the video..
Lets go to frame 5 The default label is car..
Ans we are at "annotation mode", "box"
And I create a new shape with my mouse,
Hit "N" like "nothing" to begin, drag your mouse and hit N again to finish..
And it's a car
This annotation only exist on frame 5..
You can see that it does not exist on frame 4 or on frame 6
Now let's annotate the white car..
And again, these annotations only exist on frame 5
We can do better..
Let's move to interpolation mode..
Annotate a car at frame 10
Jump to frame 30..
And Annotate the same car again ..
And the tool can interpolate the annotation for all the frames in between
And you can see that this car is annotated for all the frames from 10 to 30
Even though the size and location is different..
If we are happy with the annotations we can move to the next step.
Open the menu
It is very important to save your work or you will loose it..
So "save work" And now "dump annotation"
Choose the data-set format you need.
I choose COCO And a Json file is created with all the annotations.
You can use this file for your training..
If you'd like to annotate a different label, just change the label,
I will annotate a person And another car..
And you can see all the different labels on the right..
I can also annotate more complex shapes, like a random polygon
Again, press N like nothing to begin, move your mouse around and press N again to finish..
And again, you have to save your work and dump the annotation to your preferred format..
So we saw how to install and operate the CVAT tool,
only the basic operations, but I believe you can take it from here
Next video, I'll show you how to use OpenVINO inference for automatic annotation and save a lot of time
See you there Thank you