Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Apr 9;19(8):4548.
doi: 10.3390/ijerph19084548.

Training Computers to See the Built Environment Related to Physical Activity: Detection of Microscale Walkability Features Using Computer Vision

Affiliations

Training Computers to See the Built Environment Related to Physical Activity: Detection of Microscale Walkability Features Using Computer Vision

Marc A Adams et al. Int J Environ Res Public Health. .

Abstract

The study purpose was to train and validate a deep learning approach to detect microscale streetscape features related to pedestrian physical activity. This work innovates by combining computer vision techniques with Google Street View (GSV) images to overcome impediments to conducting audits (e.g., time, safety, and expert labor cost). The EfficientNETB5 architecture was used to build deep learning models for eight microscale features guided by the Microscale Audit of Pedestrian Streetscapes Mini tool: sidewalks, sidewalk buffers, curb cuts, zebra and line crosswalks, walk signals, bike symbols, and streetlights. We used a train−correct loop, whereby images were trained on a training dataset, evaluated using a separate validation dataset, and trained further until acceptable performance metrics were achieved. Further, we used trained models to audit participant (N = 512) neighborhoods in the WalkIT Arizona trial. Correlations were explored between microscale features and GIS-measured and participant-reported neighborhood macroscale walkability. Classifier precision, recall, and overall accuracy were all over >84%. Total microscale was associated with overall macroscale walkability (r = 0.30, p < 0.001). Positive associations were found between model-detected and self-reported sidewalks (r = 0.41, p < 0.001) and sidewalk buffers (r = 0.26, p < 0.001). The computer vision model results suggest an alternative to trained human raters, allowing for audits of hundreds or thousands of neighborhoods for population surveillance or hypothesis testing.

Keywords: Google Street View; built environment; computer vision; deep learning; microscale; walkability.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Figures

Figure 1
Figure 1
Example of individual-level buffers and macroscale walkability components and index values for a single participant’s neighborhood. Note: In the example in Figure 1, land-use mix shows residential, recreational, and civic uses. Other land uses such as office, food, entertainment, and retail were possible but not present in this example.
Figure 2
Figure 2
Classifier training and evaluation process.

References

    1. Sallis J.F., Spoon C., Cavill N., Engelberg J.K., Gebel K., Parker M., Thornton C.M., Lou D., Wilson A.L., Cutter C.L., et al. Co-benefits of designing communities for active living: An exploration of literature. Int. J. Behav. Nutr. Phys. Act. 2015;12:30. doi: 10.1186/s12966-015-0188-2. - DOI - PMC - PubMed
    1. Alfonzo M., Boarnet M.G., Day K., Mcmillan T., Anderson C.L. The relationship of neighbourhood built environment features and adult parents’ walking. J. Urban Des. 2008;13:29–51. doi: 10.1080/13574800701803456. - DOI
    1. Sallis J.F., Cerin E., Kerr J., Adams M.A., Sugiyama T., Christiansen L.B., Schipperijn J., Davey R., Salvo D., Frank L.D., et al. Built Environment, Physical Activity, and Obesity: Findings from the International Physical Activity and Environment Network (IPEN) Adult Study. Annu. Rev. Public Health. 2020;41:119–139. doi: 10.1146/annurev-publhealth-040218-043657. - DOI - PubMed
    1. Cain K.L., Millstein R.A., Sallis J.F., Conway T.L., Gavand K.A., Frank L.D., Saelens B.E., Geremia C.M., Chapman J., Adams M.A., et al. Contribution of streetscape audits to explanation of physical activity in four age groups based on the Microscale Audit of Pedestrian Streetscapes (MAPS) Soc. Sci. Med. 2014;116:82–92. doi: 10.1016/j.socscimed.2014.06.042. - DOI - PMC - PubMed
    1. Casagrande S.S., Whitt-Glover M.C., Lancaster K.J., Odoms-Young A.M., Gary T.L. Built environment and health behaviors among African Americans: A systematic review. Am. J. Prev. Med. 2009;36:174–181. doi: 10.1016/j.amepre.2008.09.037. - DOI - PubMed

Publication types

LinkOut - more resources