I built a face mask detector in real time with TensorFlow and Raspberry Pi to tell if a person wears a face mask and what type of mask they wear.
I decided to train the model with 4 classes (types of face masks): homemade cloth covers, surgical mask, n95 mask and no mask. The corresponding labels are:
- homemade
- surgical
- n95
- bare
