You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above image the img value 416 Depends on the dimensions of the images you are using to train and validate and name can be anything you like and all other
33
34
parameters can also be changed.
34
35
35
-
After having a successful run of the above command we will have a new Folder named runs in which there will be a folder named same as the run_name you gave above in the command
36
+
6)After having a successful run of the above command we will have a new Folder named runs in which there will be a folder named same as the run_name you gave above in the command
36
37
Go in that folder and then go in Weights folder and copy the best.pt file in our main Project Directory
37
38
38
39
This File will be used to Detect the Hats(Objects)
39
40
40
-
Now using that Weights File we will run this Command
41
+
7)Now using that Weights File we will run this Command
41
42
python detect.py --source "Path of the images in which you want to detect the Objects" --weights best.pt
42
43
43
-
After Running this Command The Output images will be again in the runs Folder
44
+
8)After Running this Command The Output images will be again in the runs Folder
44
45
45
46
The Diference Between Before Detection and After Can be seen below:
0 commit comments