gunspot – a gunshot detection application for mobile phones
DESCRIPTION
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 PresentationTRANSCRIPT
GUNSPOT – A GUNSHOT DETECTION APPLICATION FOR MOBILE PHONES
By: Simon KleinsmithSupervisor: Mr Mehrdad GhaziasgarCo-supervisor: Mr James Connan
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.
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.
TOOLS AND TECHNOLOGIES USED Eclipse IDE Android SDK Google Maps API XML JavaScript PHP Java LibSVM
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.
USER INTERFACE SPECIFICATION CONT.
USER INTERFACE SPECIFICATION CONT.
ALGORITHM ON THE PHONE
OBJECT ORIENTATED ANALYSIS
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; }}
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;}
TESTING Sample gunshots
Adjusting the algorithm based on results
Separating training and testing data
Accuracy of location
The Demo