Top Banner
GUNSPOT – A GUNSHOT DETECTION APPLICATION FOR MOBILE PHONES By: Simon Kleinsmith Supervisor: Mr Mehrdad Ghaziasgar Co-supervisor: Mr James Connan
13

GunSpot – A gunshot detection application for mobile phones

Feb 25, 2016

Download

Documents

alaqua

By: Simon Kleinsmith Supervisor: Mr Mehrdad Ghaziasgar Co-supervisor: Mr James Connan. GunSpot – A gunshot detection application for mobile phones. What is GunSpot? - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: GunSpot – A gunshot detection application for mobile phones

GUNSPOT – A GUNSHOT DETECTION APPLICATION FOR MOBILE PHONES

By: Simon KleinsmithSupervisor: Mr Mehrdad GhaziasgarCo-supervisor: Mr James Connan

Page 2: GunSpot – A gunshot detection application for mobile phones

INTRODUCTIONWhat is GunSpot?

It is a system that runs on mobile phones which detects gunshots, alerts the user of the occurrence and pins the location on a mapping system.

How can this system be used? GunSpot can be used to increase the response time

of emergency services as well as police to the scene due to its nature of near real-time alerts. It is also a method for generating statistical data. Used for gunshot localization.

Page 3: GunSpot – A gunshot detection application for mobile phones

REQUIREMENTS A mobile phone capable of running the GunSpot

software, i.e. a fast enough processor and an appropriate software stack.

A server to keep track of the locations where gunshots have been identified. The Google Maps API has been used in this regard.

Page 4: GunSpot – A gunshot detection application for mobile phones

TOOLS AND TECHNOLOGIES USED Eclipse IDE Android SDK Google Maps API XML JavaScript PHP Java LibSVM

Page 5: GunSpot – A gunshot detection application for mobile phones

USER INTERFACE SPECIFICATION The user interface has two components. That of the

mapping system and the interface for the application running on the phone.

The UI for the phone is limited as the application is focused as being a service.

The UI for the mapping system integrates clickable markers with information windows, controls to change the zoom level and basic controls to choose the map type.

Page 6: GunSpot – A gunshot detection application for mobile phones

USER INTERFACE SPECIFICATION CONT.

Page 7: GunSpot – A gunshot detection application for mobile phones

USER INTERFACE SPECIFICATION CONT.

Page 8: GunSpot – A gunshot detection application for mobile phones

ALGORITHM ON THE PHONE

Page 9: GunSpot – A gunshot detection application for mobile phones

OBJECT ORIENTATED ANALYSIS

Page 10: GunSpot – A gunshot detection application for mobile phones

OBJECT ORIENTED DESIGN - PHONE

While(true) { Capture the sound; Break the sound into samples; if(spike in sound) { process the samples; construct the threshold; compare the samples to the stored values; if(certain number of samples fall within range) A gunshot has been detected; Notify the user of the occurrence; Determine the location of the phone; Send the location and samples to the server; }}

Page 11: GunSpot – A gunshot detection application for mobile phones

OBJECT ORIENTED DESIGN - SERVER

Initialize the map;

foreach(location) { read latitude and longitude; convert the coordinates to an address; create the marker; create information windows for each marker; display the marker on the map;}

Page 12: GunSpot – A gunshot detection application for mobile phones

TESTING Sample gunshots

Adjusting the algorithm based on results

Separating training and testing data

Accuracy of location

Page 13: GunSpot – A gunshot detection application for mobile phones

The Demo