In collaboration with the Office for National Statistics’ (ONS) Natural Capital team, we have developed an experimental computer vision method for estimating the density of trees and vegetation present at 10 metre resolution along the road network for all 112 major towns and cities in England and Wales.
Urban trees provide a wide range of environmental, social and economic benefits such as improving air quality and are known to be associated with lower crime levels and greater community cohesion. Within the ONS, the Natural capital accounts team wish to create an inventory of natural capital across the UK for use in their processes. This project will focus on detecting urban-street-vegetation which can be difficult to detect with satellite imagery.
The main outputs of this work will be:
- Data products: 112 GeoJSON files describing the density of vegetation along the road network for cities around England and Wales.
- Reusable code and tools: An end-to-end image processing pipeline capable of replicating the data production process. This may be extended and/or used by other cities and areas within or outside of the UK.
- A series of accessible and technical articles detailing various components of the project.
The project has been delivered in 2 strands:
2) Implementation of an image segmentation algorithm capable of detecting and quantifying the amount of vegetation present in an arbitrary street-level image. This component has been integrated into step (1), completing the end-to-end process. The segmentation algorithm has been developed in 3 sub-stages, starting with an MVP which utilised a “green pixel” based detection method, a machine learning approach utilising random forests and Bayesian hyper-parameter optimisation and finally a deep-learning approach making use of the latest image segmentation models used in autonomous driving research. The final model uses a Pyramid Scene Parsing Network
Both stages have been written up in the form of technical reports. The final stage has been validated using ground-truth data from Mapillary Vistas dataset yielding a system capable of detecting vegetation with 90% class balanced accuracy (in terms of pixel-wise classification error).
Currently, ONS Natural capital team.
Code and outputs
Final report - Final abstract and technical report published on main blog.
RSS Urban forest talk - Slides used in RSS 2018 talk.
Google Street View image processing pipeline - Technical blog post, detailing the data engineering component of the project.
Visualising the urban forest with R and Shiny - A technical blog post detailing a tool to visualise some of the project’s data using R by Joe Peskett.
Github: street-view-pipeline - end-to-end distributed Google street view image processing code. (Python). The repository also contains example GeoJSON and CSV output data for Cardiff. The repository has also been highlighted in the DSC’s technical blog
Github: openstreetmap-network-sampling - Code for extracting road network data from Open Street Map (OSM), city polygon intersection and point interval calculation. This (Java) code is used as a pre-processing stage before use of the street-view-pipeline. The repository has also been detailed in our technical blog - along with an early discovery relating to the non-uniform distribution of sampled road network bearings.
Related and existing work
- Treepedia - MIT Senseable City Lab - Exploring the Green Canopy in cities around the world.
Please contact email@example.com for more information.