Training custom dataset
You can train your own mask dataset with your own pictures!
Last updated
You can train your own mask dataset with your own pictures!
Last updated
Shown below is our dataset used in this project. You can find dataset in this link - https://github.com/prajnasb/observations
We used 690 images with mask and 686 images without mask.
You can make your own custom dataset in training custom dataset folder. If your model is not working good enough, you can upgrade your model by re-training. Bring your images to create more accurate model.
To do that you need images with mask and without mask.
More image, more accurate model it will be. Once your images are ready create folder name "without_mask" and "with_mask" in dataset folder. And then, put images that wear mask to "with_mask" folder and that dose not wear mask to "without_mask" folder. If your done, type command below.
you will get "plot.png" and in face_detector folder, the "mask_detector.model" will be upgraded.