130 likes | 292 Views
By: Simon Kleinsmith Supervisor: Mr Mehrdad Ghaziasgar Co-supervisor: Mr James Connan. GunSpot – A gunshot detection application for mobile phones. What is GunSpot?
E N D
By: Simon Kleinsmith Supervisor: Mr Mehrdad Ghaziasgar Co-supervisor: Mr James Connan GunSpot – A gunshot detection application for mobile phones
What 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. Introduction
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. Requirements
Eclipse IDE Android SDK Google Maps API XML JavaScript PHP Java LibSVM Tools and technologies used
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
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; }
Sample gunshots Adjusting the algorithm based on results Separating training and testing data Accuracy of location Testing