{'fraction_non_alphanumeric': 0.020933977455716585, 'fraction_numerical': 0.010466988727858293, 'mean_word_length': 5.033980582524272, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Using Deep Learning for COVID-19 Control: Implementing a Convolutional Neural Network in a Facemask Detection Application

The ongoing COVID-19 pandemic has changed people’s lives in ways that many would not have predicted. In the days, weeks and months since mandatory lockdowns and restrictions came into effect worldwide, people have had to adjust their daily lives in an effort to slow and restrict the spread of the virus -- like regularly sanitising their hands, maintaining social distancing in crowded places, and wearing facemasks. The latter is contentious for some but has been a necessary deterrent in slowing the spread of this virus. There is potential for utilising technology as a supplementary deterrent and monitoring tool to help detect non-compliance of mask wearing. This research investigates the efficacy of AI for such purposes, exploring the applicability of a Convolutional Neural Network (CNN), for predicting if a person in a real time video feed is wearing a facemask. A dataset of over 10,000 images was created to effectively evaluate this research. The CNN developed was tested against the validation dataset to evaluate its performance, the model demonstrated 98.47% accuracy on a varied and balanced dataset.