Changes in the Mask Wearing Rate in Public Areas during the COVID-19 Pandemic as Determined by Artificial Intelligence and CCTV Image Analysis

Authors

  • Taya Kitiyakara Faculty of Medicine Ramathibodi Hospital, Mahidol University
  • Suparee Boonmanunt Faculty of Medicine Ramathibodi Hospital, Mahidol University
  • Ratchainant Thammasudjarit Faculty of Medicine Ramathibodi Hospital, Mahidol University

Keywords:

mask wearing, COVID-19, CCTV, image analysis, artificial intelligence

Abstract

Background: The COVID-19 pandemic has caused immense health and financial loss globally. Standard health precautions, including mask-wearing reduced its spread. Compliance with these measures varied between countries, depending on the culture, the public awareness and the policies enacted by the government. A higher rate of mask-wearing was thought to be more effective in limiting the spread of the disease and methods of monitoring mask-wearing would be useful for campaigns to increase mask-wearing. Although the mask-wearing rate has been estimated with questionnaires and episodic counting studies, there were very few reports visually documenting the rate of mask wearing sequentially over time. In the present study we developed an artificial intelligence (AI) system to analyze images from public CCTV (closed-circuit television) to document the rate of mask wearing in Bangkok, Thailand, and correlate the rate with public health policies and COVID-19 events and determine factors related to improper masking. Methodology: Public CCTV cameras in the Bangkok Metropolitan Area (BMA) were selected in view of their location and camera viewpoints. Every week, 9 hours of video clips from each of these cameras were downloaded and sent for analysis by an AI that had been trained to detect mask-wearing using pictures with and without masks from public databases. A number of the images was also visually checked for accuracy. The rate of mask-wearing was analyzed and correlated to public health measures and COVID-19 infections using panel regression analysis. The images of faces without masks were reviewed to understand factors related to not wearing masks. Results: 39 cameras were selected for weekly data download from 1 April to 15 November 2021. Of these 15 were validated fortnightly by humans. Important COVID-19 events over 8 months of the study included the announcement of the mask mandate and the peak infection of the 4th wave of infection in Thailand. The overall average rate of mask-wearing across BMA in the mobile population increased after the mask mandate from 89% (SD 10%) to 92% (SD 9%) but this did not reach statistical significance (p = 0.3). However, comparing the mask-wearing rate from the mask mandate to the start of the 4th wave, and from the start to the peak of infections of the 4th wave, the mask-wearing rate increased significantly from 92% to 96% (p = 0.0039). Statistical analysis also revealed that the reported number of infections in the prior week, weekends, time of day, and type of location were significant factors associated with the mask-wearing behavior. Analyzing the images showed that males were approximately 3 times more likely to be seen without proper masking. Conclusions: The use of public CCTV and mask-detecting AI can be used for public monitoring of mask-wearing in the real-world. Bangkokians had a high mask-wearing rate in public areas with an 89% mask-wearing rate before the mask mandate. Although mask wearing increased after the mandate to 92%, the maximal rate of mask wearing (96%) correlated with the peak infection in Bangkok. Factors related to improper masking included the reported number of infected people in the prior week, weekends, time of day, and location type. These factors, as well as other factors seen from the CCTV images may be good targets for campaigns to increase proper mask wearing in the future.

References

Cheng VC, Wong SC, Chuang VW, So SY, Chen JH, Sridhar S, et al. The role of community-wide wearing of face mask for control of coronavirus disease 2019 (COVID-19) epidemic due to SARS-CoV-2. J Infect. 2020;81(1):107-14.

Van Dyke ME, Rogers TM, Pevzner E, Satterwhite CL, Shah HB, Beckman WJ, et al. Trends in county-level COVID-19 incidence in counties with and without a mask mandate – Kansas, June 1-August 23, 2020. MMWR Morb Mortal Wkly Rep. 2020;69(47):1777-81.

Lyu W, Wehby GL. Community use of face masks and COVID-19: evidence from a natural experiment of state mandates in The US. Health Aff (Millwood). 2020;39(8):1419-25.

Fischer CB, Adrien N, Silguero JJ, Hopper JJ, Chowdhury AI, Werler MM. Mask adherence and rate of COVID-19 across the United States. PLoS One. 2021;16(4):e0249891.

Adjodah D, Dinakar K, Chinazzi M, Fraiberger SP, Pentland A, Bates S, et al. Association between COVID-19 outcomes and mask mandates, adherence, and attitudes. PLOS ONE. 2021;16(6):e0252315.

Talic S, Shah S, Wild H, Gasevic D, Maharaj A, Ademi Z, et al. Effectiveness of public health measures in reducing the incidence of covid-19, SARS-CoV-2 transmission, and covid-19 mortality: systematic review and meta-analysis. BMJ. 2021;375:e068302.

Elachola H, Gozzer E, Rahman NMM, Ditekemena J, Pan-do-Robles V, Pa K, et al. Photo-epidemiology to estimate face covering use in select areas in Asia versus the Americas and Africa during the COVID-19 pandemic. J Travel Med. 2020;27(8):taaa121. doi: 10.1093/jtm/taaa121.

Soltanian AR, Omidi T, Khazaei S, Bashirian S, Heidarimoghadam R, Jenabi E, et al. Assessment of mask-wearing adherence and social distancing compliance in public places in Hamadan, Iran, during the COVID-19 pandemic. J Res Health Sci. 2021 Aug 30;21(3):e00526. doi: 10.34172/jrhs.2021.61.

Institute of Global Health Innovation ICL. COVID-19 behaviour tracker 2020 [internet]. Available from: https://public.tab-leau.com/profile/ighi#!/vizhome/ICLYouGovCovid-19Track-er_V0_3/1Specificpreventativebehaviourbycountry.

Department of Health, Ministry of Public Health. Anamai poll 5 health surveillance [internet]. 28 December 2020 – 8 January 2021 [cited 2022 Sep]. Available from: https://sites.google.com/view/hia-surveillance/anamai-poll-covid/%E0%B8%84%E0%B8%A3%E0%B8%87%E0%B8%97-5. (in Thai)

Department of Health, Ministry of Public Health. Anamai poll 15 health surveillance [internet]. 1 October -31 October 2021 [cited 2022 Sep]. Available from: https://sites.google.com/view/hia-surveillance/anamai-poll-covid/%E0%B8%84%E0%B8%A3%E0%B8%87%E0%B8%97-15?authuser=0. (in Thai)

Haischer MH, Beilfuss R, Hart MR, Opielinski L, Wrucke D, Zirgaitis G, et al. Who is wearing a mask? Gender-, age-, and location-related differences during the COVID-19 pandemic. PLOS ONE. 2020;15(10):e0240785.

Xinqi Fan, Mingie Jiang. RetinaFaceMask: a single stage face mask detector for assisting control of the COVID-19 pandemic [internet]. arXiv:2005.03950v3. 2020. Available from: https://arxiv.org/abs/2005.03950.

Qin B, Li D. Identifying facemask-wearing condition using image super-resolution with classification network to prevent COVID-19. Sensors. 2020;20(18):5236.

Loey M, Manogaran G, Taha MHN, Khalifa NEM. Fighting against COVID-19: a novel deep learning model based on YOLO-v2 with ResNet-50 for medical face mask detection. Sustain Cities Soc. 2021;65:102600.

Loey M, Manogaran G, Taha MHN, Khalifa NEM. A hybrid deep transfer learning model with machine learning methods for face mask detection in the era of the COVID-19 pandemic. Measurement (Lond). 2021;167:108288.

Tomás J, Rego A, Viciano-Tudela S, Lloret J. Incorrect face-mask-wearing detection using convolutional neural networks with transfer learning. Healthcare. 2021;9(8):1050.

Sethi S, Kathuria M, Kaushik T. Face mask detection using deep learning: an approach to reduce risk of coronavirus spread. Journal of biomedical informatics. 2021;120:103848.

Hussain GKJ, Priya R, Rajarajeswari S, Prasanth P, Niyazuddeen N. The face mask detection technology for image analysis in the Covid-19 surveillance system. Journal of Physics: Conference Series. 2021;1916(1):012084.

Adhikarla E, Davidson BD. Face mask detection on real-world webcam images. Proceedings of the Conference on Information Technology for Social Good (GoodIT ’21). September 9–11, 2021, Roma, Italy. ACM, New York, NY, USA. 2021. p. 139–44. Available from: https://doi.org/10.1145/3462203.3475903.

Kasem S, Paisan R, Ngamphol S, Panisa S, Natsuda K, Thanaruk T. Reflecting on public behavior with artificial intelligence-assisted detection of face mask wearing during the COVID-19 pandemic. Research Square. 2022.

Deng J, Guo J, Zhou Y, Yu J, Kotsia I, Zafeiriou S. Retina-Face: single-stage dense face localisation in the wild. arXiv:190500641v2. 2019.

Earp SWF, Noinongyao P, Cairns JA, Ganguly A. Face detection with feature pyramids and landmarks. arXiv:191200596v2. 2019.

Sommana B, Watchareeruetai U, Ganguly A, Earp SWF, Kitiyakara T, Boonmanunt S, et al. Development of a face mask detection pipeline for mask-wearing monitoring in the era of the COVID-19 pandemic: a modular approach. arXiv:211215031v1 2021.

Goldberg MH, Gustafson A, Maibach EW, Ballew MT, Bergquist P, Kotcher JE, et al. Mask-wearing increased after a government recommendation: a natural experiment in the U.S. during the COVID-19 pandemic. Frontiers in Communication. 2020;5.

Official statistics registration systems [Internet]. [cited Sep 2022]. Available from: https://stat.bora.dopa.go.th/stat/statnew/statMenu/newStat/home.php. (in Thai)

Tam SY, Tam VCW, Law HKW, Khaw ML, Lee SWY. Rationale for mass masking in controlling the COVID-19 pandemic. Front Public Health. 2021;9:665708.

Liu Y, Rocklov J. The reproductive number of the Delta variant of SARS-CoV-2 is far higher compared to the ancestral SARS-CoV-2 virus. J Travel Med. 2021;28(7).

Campbell F, Archer B, Laurenson-Schafer H, Jinnai Y, Konings F, Batra N, et al. Increased transmissibility and global spread of SARS-CoV-2 variants of concern as at June 2021. Euro Surveill. 2021;26(24).

Howard MC. Gender, face mask perceptions, and face mask wearing: are men being dangerous during the COVID-19 pandemic? Personality and Individual Differences. 2021;170:110417.

Palmer CL, Peterson RD. Toxic mask-ulinity: the link between masculine toughness and affective reactions to mask wearing in the COVID-19 era. Politics & Gender. 2020;16(4):1044-51.

Badillo-Goicoechea E, Chang T-H, Kim E, LaRocca S, Morris K, Deng X, et al. Global trends and predictors of face mask usage during the COVID-19 pandemic. BMC Public Health. 2021;21(1):2099.

Salas-Rodriguez J, Gomez-Jacinto L, Hombrados-Mendieta I, Del Pino-Brunet N. Applying an evolutionary approach of risk-taking behaviors in adolescents. Front Psychol. 2021;12:694134.

Pawlowski B, Atwal R, Dunbar RIM. Sex differences in everyday risk-taking behavior in humans. Evolutionary Psychology. 2008;6(1):147470490800600104.

Estrada F, Bäckman O, Nilsson A. The darker side of equality? The declining gender gap in crime: historical trends and an enhanced analysis of staggered birth cohorts. The British Journal of Criminology. 2015;56(6):1272-90.

Tamas V, Kocsor F, Gyuris P, Kovacs N, Czeiter E, Buki A. The young male syndrome-an analysis of sex, age, risk taking and mortality in patients with severe traumatic brain injuries. Front Neurol. 2019;10:366.

Downloads

Published

29-03-2023

How to Cite

1.
Kitiyakara T, Boonmanunt S, Thammasudjarit R. Changes in the Mask Wearing Rate in Public Areas during the COVID-19 Pandemic as Determined by Artificial Intelligence and CCTV Image Analysis. J Health Syst Res [internet]. 2023 Mar. 29 [cited 2025 Sep. 12];17(1):149-67. available from: https://he04.tci-thaijo.org/index.php/j_hsr/article/view/3216

Issue

Section

original article