Abstract: Identification of people and mask detection has long been a captivating topic, in terms of research and business. This topic has received increasing attention in recent phases due to the speedy advancement of Artificial Intelligence (AI). Nowadays, a lot of applications, including phone unlocking systems, criminal identification systems, and even home security systems, use face recognition as a common technique. Due to the fact that this method only requires a facial image instead of other dependencies like a key or card, it is more secure. Face detection and face identification are often the first two elements of a human recognition system. Even during COVID-19, it is considered the best way to stop the spread of the COVID-19 virus is by wearing a face mask. The risk of contracting the virus can be reduced by almost 70% only by wearing a face mask. In order to promote community health. This Study aims to produce a highly precise and real-time method that can effectively recognize people and identify non-mask faces in public. When a person stands in front of the device, this application detects the human face automatically using detection, extraction, and recognition algorithms. The proposed work applies the Viola-Jones algorithm for face recognition and the YOLOv5 algorithm for mask detection and classification. When the proposed work is tested, this shows higher accuracy in mask detection which is 92.8%.