Skip to main navigation Skip to search Skip to main content

Capturing urban activities and environment across time scales: Object detection and time-series analysis of 6.8 million images in Accra, Ghana

  • Vishwa Nath
  • , Ricky Nathvani
  • , James E. Bennett
  • , Sierra N. Clark
  • , Emily Muller
  • , Allison Hughes
  • , James Nimo
  • , Josephine Bedford Moses
  • , George Owusu
  • , Samuel Agyei-Mensah
  • , Michael Brauer
  • , Raphael E. Arku
  • , Majid Ezzati
  • Imperial College London
  • MRC Centre for Environment and Health
  • City St George's, University of London
  • University of Ghana
  • State University of New York
  • University of Ghana
  • University of British Columbia
  • University of Massachusetts Amherst
  • Imperial Global Ghana Hub

Research output: Contribution to journal › Article › peer-review

1 Citation (Scopus)

Abstract

Cities have complex dynamics on timescales from hourly and daily changes to monthly shifts and annual trends. We used time-lapsed street-view imagery (SVI) to capture and analyse temporal trends of urban environmental features in Accra, Ghana. We collected a novel dataset of 6.8 million street-view images (SVI) at five-minute intervals over five years at ten representative locations in Accra, Ghana. We used a fine-tuned YOLOv7 object detection model to detect and obtain counts of people, large vehicles, small vehicles, two-wheelers, market-related objects, refuse and animals in all images. We used a mixed-effects zero-inflated negative binomial model with indicators for hour of day, day of week, week of year, and year to consistently and coherently identify temporal patterns of object counts across time scales and sites. People and small vehicles were most prevalent in mid-morning and early evening, and market-related objects peaked in early afternoon. The number of people, vehicles and market-related objects declined on weekends at most sites, although two residential sites showed an inverse trend, peaking in all three categories on weekends. Long-term trends over the years indicate a rise in people at high-density residential sites. Over the same period, market-related objects, two-wheelers and small vehicles declined at several locations with different land-use characteristics, suggesting broad shifts in transport and commercial activity. These results demonstrate the potential of SVI and computer vision for urban monitoring to support strategies for improving mobility, traffic congestion, pollution, access to goods and services, and waste management.

Original languageEnglish
Article number107203
JournalCities
Volume177
DOIs
Publication statusPublished - Oct 2026

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 9 - Industry, Innovation, and Infrastructure
    SDG 9 Industry, Innovation, and Infrastructure
  2. SDG 11 - Sustainable Cities and Communities
    SDG 11 Sustainable Cities and Communities
  3. SDG 15 - Life on Land
    SDG 15 Life on Land

Keywords

  • Africa
  • Computer vision
  • Deep learning
  • Object detection
  • Street-view imagery
  • Time-series analysis
  • Urban analytics

Fingerprint

Dive into the research topics of 'Capturing urban activities and environment across time scales: Object detection and time-series analysis of 6.8 million images in Accra, Ghana'. Together they form a unique fingerprint.

Cite this