90 likes | 273 Views
GunSpot – A gunshot detection application for mobile phones. By Simon Kleinsmith Supervisor: Mr James Connan. Introduction. What is GunSpot? It is an application that runs on mobile phones which detects gunshots, alerts the user of the occurrence and pins the location on a mapping system.
E N D
GunSpot – A gunshot detection application for mobile phones By Simon Kleinsmith Supervisor: Mr James Connan
Introduction • What is GunSpot? It is an application 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 real-time alerts. It is also a method for providing data for statistics.
Requirements analysis • 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 service can be used in this regard.
User interface specification • Currently the application does not require a user interface. One will be built once porting the code to the phone begins. • The UI will be simple as the application requires little or no user intervention.
Object Oriented Design Capture sound from Microphone If(spike in sound is detected) { break the sound into samples; process the samples; 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 co-ordinates of the phone; Pin the point on the mapping system; }
The Prototype • Currently, it is able of detecting gunshots that have been recorded at close range as well as identifying other sounds as not being gunshots.