Low Cost Gunshot Detection using Deep Learning on the Raspberry Pi

07/09/2020
by   Alex Morehead, et al.
0

Many cities using gunshot detection technology depend on expensive systems that ultimately rely on humans differentiating between gunshots and non-gunshots, such as ShotSpotter. Thus, a scalable gunshot detection system that is low in cost and high in accuracy would be advantageous for a variety of cities across the globe, in that it would favorably promote the delegation of tasks typically worked by humans to machines. A repository of audio data was created from sound clips collected from online audio databases as well as from clips recorded using a USB microphone in residential areas and at a gun range. One-dimensional as well as two-dimensional convolutional neural networks were then trained on this sound data, and spectrograms created from this sound data, to recognize gunshots. These models were deployed to a Raspberry Pi 3 Model B+ with a short message service modem and a USB microphone attached, using a software pipeline to continuously analyze discrete two-second chunks of audio and alert a set of phone numbers if a gunshot is detected in that chunk. Testing found that a majority-rules ensemble of our one-dimensional and two-dimensional models fared best, with an accuracy above 99% on validation data as well as when distinguishing gunshots from fireworks. Besides increasing the safety standards for a city’s residents, the findings generated by this research project expand the current state of knowledge regarding sound-based applications of convolutional neural networks.

READ FULL TEXT

page 4

page 5

research
04/11/2019

Cross-task learning for audio tagging, sound event detection spatial localization: DCASE 2019 baseline systems

The Detection and Classification of Acoustic Scenes and Events (DCASE) 2...
research
01/15/2020

Deep Learning for MIR Tutorial

Deep Learning has become state of the art in visual computing and contin...
research
01/05/2023

Automatic Sound Event Detection and Classification of Great Ape Calls Using Neural Networks

We present a novel approach to automatically detect and classify great a...
research
05/02/2019

City classification from multiple real-world sound scenes

The majority of sound scene analysis work focuses on one of two clearly ...
research
09/26/2022

Impact of temporal resolution on convolutional recurrent networks for audio tagging and sound event detection

Many state-of-the-art systems for audio tagging and sound event detectio...
research
10/06/2022

Feasibility on Detecting Door Slamming towards Monitoring Early Signs of Domestic Violence

By using low-cost microcontrollers and TinyML, we investigate the feasib...
research
11/15/2018

Audio-based identification of beehive states

The absence of the queen in a beehive is a very strong indicator of the ...

Please sign up or login with your details

Forgot password? Click here to reset