Skip to content

Speech recognizer for Marshall Fire public safety scanner response

Notifications You must be signed in to change notification settings

lindseynield/marshall-fire-speech-recognizer

Repository files navigation

Mapping the Marshall Fire via Scanner Audio 🔥

About

While the Marshall Fire was raging in Boulder County in 2021, I was evacuated from my home and glued to all sources of media to try to put together where the fire was and how far it had spread. One of the most useful sources of information was public saftey audio feeds that police and fire departments used to communicate with each other in real time. If the addresses and places communicated over these channels were mapped out in real time, we would probably have a good idea of where the fire had spread within minutes of this information being communicated.

This project builds a speech recognizer using the SpeechRecognition library. Feeding in publicaly available police scanner audio from the day of the Marshall Fire, this recognizer has been able to pinpoint several home addresses mentioned by emergency crews that night. This repo contains a snippet of one of these audio files that correctly identifies a home address that was destroyed in the fire. This address is then used as a jumping off point to analyze changes in the landscape from before and after the fire using Sentinel-2 imagery.

This repo contains source code for the speech recognizer and a notebook demoing the speech recognition tool + Sentinel-2 visual imagery comparisons. Note that the interactive follium maps will not render in GitHub. See this nbviewer to view rendered maps.

Installation

Clone the repo:

git clone [email protected]:lindseynield/marshall-fire-speech-recognizer.git && cd marshall-fire-speech-recognizer

(Optional) Create and activate a local pyenv virtualenv:

pyenv virtualenv 3.8.12 my-venv
pyenv activate my-venv

Install the project dependencies using pip:

pip install .

In addition, to use all of the functionality of the project, you should have:

  • Python 3.7+

Tests

This repo uses pytest testing framework.

First install the test dependencies:

pip install -e .[test]

Use the pytest command to run the tests in your test environment:

pytest

About

Speech recognizer for Marshall Fire public safety scanner response

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published