Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,080 --> 00:00:06,730
Okay, Then we'll show you how to set up and use label image on Windows to begin open and control navigate
2
00:00:06,730 --> 00:00:09,480
to by pressing the Windows Key and then tapping Anaconda.
3
00:00:09,960 --> 00:00:11,730
Click on Anaconda Navigator.
4
00:00:17,180 --> 00:00:19,880
If it's already open click environments.
5
00:00:22,380 --> 00:00:23,540
To create environments.
6
00:00:23,550 --> 00:00:26,320
Click, create, then enter the environments name.
7
00:00:26,340 --> 00:00:28,860
In this example, we name the label IMG.
8
00:00:36,280 --> 00:00:42,340
In Python, select Python 3.9 because label image could not be used in Python 3.10 when this course
9
00:00:42,340 --> 00:00:43,060
was created.
10
00:00:44,500 --> 00:00:46,000
Then click the button.
11
00:00:47,280 --> 00:00:49,830
Wait until the environment creation is finished.
12
00:00:55,780 --> 00:00:57,580
It will look like this when it is finished.
13
00:01:05,640 --> 00:01:08,560
Then once the end on the prompt, press the windows key.
14
00:01:08,580 --> 00:01:09,090
Then type.
15
00:01:09,090 --> 00:01:09,810
Anaconda.
16
00:01:10,670 --> 00:01:12,110
Click on any kind of prompt.
17
00:01:18,660 --> 00:01:23,610
After that activate the environment, use the command activate label IMG.
18
00:01:28,650 --> 00:01:31,710
If it looks like this, it means that the environment is active.
19
00:01:37,600 --> 00:01:42,700
Use the following command to install the label image strip install label IMG.
20
00:01:55,020 --> 00:01:57,090
Wait until the installation is finished.
21
00:02:03,810 --> 00:02:05,910
When finished, it will looks like this.
22
00:02:10,720 --> 00:02:13,000
Prepared the data set to be annotated next.
23
00:02:13,030 --> 00:02:16,900
In this example, we will use the previously downloaded face mask dataset.
24
00:02:18,160 --> 00:02:20,200
We never get to the downloads folder.
25
00:02:25,940 --> 00:02:27,590
This is a face mask dataset.
26
00:02:34,760 --> 00:02:38,960
There are two folders in this dataset images folder which stores images.
27
00:02:39,820 --> 00:02:45,460
And the annotations folder which stores the annotated files because we want to show you how to do annotation.
28
00:02:48,330 --> 00:02:50,010
Only the images will be used.
29
00:02:51,240 --> 00:02:56,340
The next step is to extract the dataset in this video extract using tools from Windows 11.
30
00:02:57,590 --> 00:03:00,050
To extract files using Windows 11 tools.
31
00:03:00,050 --> 00:03:00,350
Right.
32
00:03:00,350 --> 00:03:01,730
Click on the file and select.
33
00:03:01,730 --> 00:03:02,660
Extract or.
34
00:03:05,930 --> 00:03:09,250
Select the directory of order to save the extracted results.
35
00:03:09,260 --> 00:03:11,660
In this case, you'll save to the directory.
36
00:03:15,680 --> 00:03:16,580
Click extra.
37
00:03:18,080 --> 00:03:20,060
Wait until the extraction is finished.
38
00:03:24,090 --> 00:03:26,430
When finished, we go to the D directory.
39
00:03:27,510 --> 00:03:29,760
The two extracted folders are shown below.
40
00:03:33,430 --> 00:03:36,040
We'll delete this annotation because we're not using it.
41
00:03:41,340 --> 00:03:44,710
The next step is to create a text file that contains the class names.
42
00:03:44,730 --> 00:03:47,340
There are three classes in this face mask dataset.
43
00:03:47,430 --> 00:03:51,330
Mask, no mask and that mask to create a new file.
44
00:03:51,330 --> 00:03:52,110
Right click.
45
00:03:53,270 --> 00:03:55,220
Then select new text document.
46
00:04:00,050 --> 00:04:01,790
Name the file classes.
47
00:04:07,550 --> 00:04:08,450
Open the file.
48
00:04:09,620 --> 00:04:11,600
In a class one class.
49
00:04:12,780 --> 00:04:14,760
Masks for those who use masks.
50
00:04:15,900 --> 00:04:18,630
Class No mass for those who do not use a mask.
51
00:04:19,610 --> 00:04:22,490
In red masks for those who use mask incorrectly.
52
00:04:29,320 --> 00:04:31,210
Saved by pressing control as.
53
00:04:35,050 --> 00:04:37,660
Move this file to the folder where the dataset is stored.
54
00:04:37,690 --> 00:04:39,670
In this case, the image is folder.
55
00:04:41,080 --> 00:04:43,480
Click the file, then press control X.
56
00:04:49,220 --> 00:04:51,260
Then faced by pressing control fee.
57
00:04:59,820 --> 00:05:01,820
We turn to any kind of prompt after that?
58
00:05:06,130 --> 00:05:08,740
And then we get to the directory that stores the dataset.
59
00:05:12,540 --> 00:05:15,120
Next, open the label image using the command.
60
00:05:17,130 --> 00:05:18,270
Liberal emcee.
61
00:05:19,410 --> 00:05:21,450
Then the folder that stores the dataset.
62
00:05:21,900 --> 00:05:23,910
In this example, the images folder.
63
00:05:24,030 --> 00:05:26,340
Then the file containing the class names.
64
00:05:26,490 --> 00:05:28,260
In this example file classes.
65
00:05:28,260 --> 00:05:30,150
Dot text in the images folder.
66
00:05:31,910 --> 00:05:33,350
Then press the enter key.
67
00:05:35,440 --> 00:05:38,050
The following is an initial view of the label image.
68
00:05:43,530 --> 00:05:45,420
Next, we will annotate the image.
69
00:05:47,620 --> 00:05:50,110
Click create checkbox to add an annotation.
70
00:05:52,940 --> 00:05:56,600
Left click and read the mouse to create a bonding box that includes the object.
71
00:06:03,030 --> 00:06:04,230
Then to a class.
72
00:06:05,340 --> 00:06:06,120
After that, click.
73
00:06:06,120 --> 00:06:06,750
Okay.
74
00:06:07,720 --> 00:06:11,320
In addition, we can also add annotations by pressing the W key.
75
00:06:12,500 --> 00:06:14,300
Press the key on the keyboard.
76
00:06:15,590 --> 00:06:19,310
Left click and drag the mask to create a bonding box that includes the object.
77
00:06:20,540 --> 00:06:22,640
Select the class, then click okay.
78
00:06:40,660 --> 00:06:44,500
When you have finished annotating an image, click Save to save the annotation.
79
00:06:45,670 --> 00:06:48,620
The YOLO annotation file has a text extension.
80
00:06:48,640 --> 00:06:51,520
If the extension is still XML, click cancel.
81
00:06:52,600 --> 00:06:55,930
First change the other format by pressing the following button.
82
00:06:57,090 --> 00:07:00,840
After that we turn it to YOLO format by pressing the following button.
83
00:07:02,050 --> 00:07:02,890
Click Save.
84
00:07:04,050 --> 00:07:06,720
The name of this file is based on the name of the image.
85
00:07:09,970 --> 00:07:12,560
Click Save to move to the next image.
86
00:07:12,580 --> 00:07:13,630
Press the D key.
87
00:07:14,730 --> 00:07:16,320
We annotate this image.
88
00:07:34,950 --> 00:07:38,220
This is an example of an object with incorrect Massachusetts.
89
00:07:39,300 --> 00:07:42,390
If you get it wrong or inaccurate when annotating, you can delete it.
90
00:07:43,840 --> 00:07:46,090
For example, we will delete this box.
91
00:07:47,150 --> 00:07:50,300
To delete it, click the box, then click the red box.
92
00:07:51,280 --> 00:07:53,950
We can also delete annotations with the DEL Key.
93
00:07:56,920 --> 00:07:59,080
Click the box, then press the Del Key.
94
00:08:02,950 --> 00:08:04,780
Annotate all images in the dataset.
95
00:08:07,700 --> 00:08:10,010
If you're finished, close, the label emits.
96
00:08:11,490 --> 00:08:14,190
We have provided an annotated face mask dataset.
97
00:08:14,220 --> 00:08:16,530
The dataset can be downloaded and used.
98
00:08:17,650 --> 00:08:20,650
The data set is available for download at the following link.
99
00:08:23,120 --> 00:08:24,610
See you in the next video.
8058
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.