Skip to content

Processing pedestrian and other counts from UBDC's CCTV image processing data.

License

Notifications You must be signed in to change notification settings

nick-bailey/UBDC-CCTV-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UBDC-CCTV-data

This repository contains some examples of R code written to make use of data created by the Urban Big Data Centre (UBDC - https://www.ubdc.ac.uk) at University of Glasgow. UBDC uses object detection models on images from Glasgow City Council's CCTV system, producing hourly counts of the number of pedestrians, cyclists and vehicles for different locations across the city. The code shows how data can be downloaded via an API (https://glasgow-cctv.ubdc.ac.uk/) and processed to produce a range of urban indicators.

  • 'GALLANT' folder: code to extract data for a subset of cameras (listed in spreadsheet) and for a subset of dates. Processing first produces hourly counts, filling gaps by using rolling averages for hours either side (or for the same hour on same day in weeks before/after) in order to minimise problems with missing data. Then aggregates these to daily and monthly totals, and presents basic figures.

Update 2023

The API was updated in 2023 so older, redundant code has been placed in a separate folder ('Old API').

About

Processing pedestrian and other counts from UBDC's CCTV image processing data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages