Reducing or breaking the chain of Covid-19 virus infections during a pandemic is essential. The techniques encouraged are mandatory hand washing, social distancing, and wearing masks. Wearing masks is urgent. Therefore, requiring people to wear masks is the right policy. This study aims to detect people using or not using masks by applying the Viola-Jones method. This study modified the threshold algorithm by applying a masking threshold to optimize facial segmentation. Meanwhile, viola jones was built by combining several concepts of Haar Feature, Integral Image, AdaBoost, and classifier Cascade into the main method for detecting objects. The performance of the proposed method for face detection has an accuracy of 95%, a precision of 94.73%, and a recall of 100%. 5. The masked face detection test has an accuracy of 94%, a precision of 100%, and a recall of 90.90%
Copyrights © 2022