Initially, custom and Kaggle datasets of correctly, improperly, and erroneously donned masks of 9.5k human images were selected and trained using transfer learning via Mobile Net V2. With haarcascade_frontalface_alt2.xml, first the frontal face area is detected in real time, and then the model effortlessly recognizes the categories of face mask detection in humans. reaching up to a 98 percent score on train data and up to a 95 to 96 percent validation score if more epochs are continued. In F1, the precision rate was above 90 percent, and on average, it was 95. Hence, utilizing CV2, sequential learning, transfer learning, and mobilenet v2 with some minor data augmentation, the model performs precisely in real time. Thus, the project was fruitful.
-
Notifications
You must be signed in to change notification settings - Fork 0
Mobile Net V2 was trained using custom and Kaggle datasets of 9.5k human face pictures with properly, poorly, and incorrectly worn masks. The model scores 95–96 percent validation after haarcascade_frontalface_alt2.xml detects the frontal face area in real time.
License
MdAliAhnaf/frontal_3-category_face-mask_detection
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Mobile Net V2 was trained using custom and Kaggle datasets of 9.5k human face pictures with properly, poorly, and incorrectly worn masks. The model scores 95–96 percent validation after haarcascade_frontalface_alt2.xml detects the frontal face area in real time.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published