The file require to make face mask detector based on YoloV3. Download all files and put it in darknet directory.
- Open powershell
- Go to darknet directory
- Type this code in powershell
./darknet.exe detector train data/obj.data cfg/yolov3-custom.cfg darknet53.conv.74
After finished the training, the weight files will be saved in /backup folder
- Open powershell
- Go to darknet directory
- Type this code in powershell
#Image File
./darknet.exe detector test data/obj.data cfg/yolov3-custom.cfg backup/yolov3-custom_last.weights [file-path/filename].jpg
#Video
./darknet.exe detector test data/obj.data cfg/yolov3-custom.cfg backup/yolov3-custom_last.weights [file-path/filename].mp4 -out_filename [output filename you want].avi