Abstract
Wearing face masks in public has contributed to reducing the global spread of Covid 19. And the supervision of people in accordance with the Government's guidelines and policies in wearing face masks in public can be done automatically. By using machine learning and image processing, we have developed a program to detect whether someone is wearing a face mask or not and remind people who are not wearing face masks by the voice. In particular, the authors collected data to build up a training model based on the convolutional neural network model (CNN). The program is implemented in Python language and uses some open source libraries such as OpenCV, Tensorflow, Keras,... The trsained model achieved 98,28% accuracy when detecting the face mask on the test data set.