Street images classification according to COVID-19 risk in Lima, Peru: a convolutional neural networks feasibility analysis
File(s)e063411.full.pdf (373.57 KB)
Published version
Author(s)
Carrillo Larco, Rodrigo
Castillo-Cara, Manuel
Hernadez Santa Cruz, Jose Francisco
Type
Journal Article
Abstract
Objectives: During the COVID-19 pandemic, convolutional neural networks (CNNs) have been used in clinical medicine (e.g., chest X-rays classification). Whether CNNs could inform the epidemiology of COVID-19 classifying street images according to COVID-19 risk is unknown, yet it could pinpoint high-risk places and relevant features of the built environment. In a feasibility study, we trained CNNs to classify the area surrounding bus stops (Lima, Peru) into moderate or extreme COVID-19 risk.
Design: CNN analysis based on images from bus stops and the surrounding area. We used transfer learning and updated the output layer of five CNNs: NASNetLarge, InceptionResNetV2, Xception, ResNet152V2, and ResNet101V2. We chose the best performing CNN which was further tuned. We used GradCam to understand the classification process.
Setting: Bus stops from Lima, Peru. We used five images per bus stop.
Primary and secondary outcome measures: Bus stop images were classified according to COVID-19 risk into two labels: moderate or extreme.
Results: NASNetLarge outperformed the other CNNs except in the recall metric for the moderate label and in the precision metric for the extreme label; the ResNet152V2 performed better in these two metrics (85% vs 76% and 63% vs 60%, respectively). The NASNetLarge was further tuned. The best recall (75%) and F1 score (65%) for the extreme label were reached with data augmentation techniques. Areas close to buildings or with people were often classified as extreme risk.
Conclusions: This feasibility study showed that CNNs have the potential to classify street images according to levels of COVID-19 risk. In addition to applications in clinical medicine, CNNs and street images could advance the epidemiology of COVID-19 at the population level.
Design: CNN analysis based on images from bus stops and the surrounding area. We used transfer learning and updated the output layer of five CNNs: NASNetLarge, InceptionResNetV2, Xception, ResNet152V2, and ResNet101V2. We chose the best performing CNN which was further tuned. We used GradCam to understand the classification process.
Setting: Bus stops from Lima, Peru. We used five images per bus stop.
Primary and secondary outcome measures: Bus stop images were classified according to COVID-19 risk into two labels: moderate or extreme.
Results: NASNetLarge outperformed the other CNNs except in the recall metric for the moderate label and in the precision metric for the extreme label; the ResNet152V2 performed better in these two metrics (85% vs 76% and 63% vs 60%, respectively). The NASNetLarge was further tuned. The best recall (75%) and F1 score (65%) for the extreme label were reached with data augmentation techniques. Areas close to buildings or with people were often classified as extreme risk.
Conclusions: This feasibility study showed that CNNs have the potential to classify street images according to levels of COVID-19 risk. In addition to applications in clinical medicine, CNNs and street images could advance the epidemiology of COVID-19 at the population level.
Date Issued
2022-09-19
Date Acceptance
2022-09-01
Citation
BMJ Open, 2022, 12 (9), pp.1-8
ISSN
2044-6055
Publisher
BMJ Journals
Start Page
1
End Page
8
Journal / Book Title
BMJ Open
Volume
12
Issue
9
Copyright Statement
© Author(s) (or their employer(s)) 2022. Re-use permitted under CC BY. Published by BMJ. https://creativecommons.org/licenses/by/4.0/
This is an open access article distributed in accordance with the Creative Commons Attribution 4.0 Unported (CC BY 4.0) license, which permits others to copy, redistribute, remix, transform and build upon this work for any purpose, provided the original work is properly cited, a link to the licence is given, and indication of whether changes were made. See: https://creativecommons.org/licenses/by/4.0/.
This is an open access article distributed in accordance with the Creative Commons Attribution 4.0 Unported (CC BY 4.0) license, which permits others to copy, redistribute, remix, transform and build upon this work for any purpose, provided the original work is properly cited, a link to the licence is given, and indication of whether changes were made. See: https://creativecommons.org/licenses/by/4.0/.
License URL
Sponsor
Wellcome Trust
Identifier
https://bmjopen.bmj.com/content/12/9/e063411
Grant Number
214185/Z/18/Z
Subjects
COVID-19
EPIDEMIOLOGY
PUBLIC HEALTH
1103 Clinical Sciences
1117 Public Health and Health Services
1199 Other Medical and Health Sciences
Publication Status
Published
Date Publish Online
2022-09-19