Patent ID: 9747796
Date: 2017-08-29
CPC Classifications: B60Q,G08G

Claim:
1. A method for detecting an approaching vehicle comprising: recording, by a device, a sound waveform; determining, by the device, whether the recorded sound waveform is associated with a vehicle; determining, by the device, whether the vehicle is approaching the device which recorded the sound waveform, based on the determination that the recorded sound waveform is associated with a vehicle; generating, by the device, an alert indicating that the vehicle is approaching the device, based on the determination that the vehicle is approaching the device; wherein the step of determining, by the device, whether the recorded sound waveform is associated with a vehicle comprises: decomposing the sound waveform into a plurality of trigonometric functions; generating an intensity versus frequency histogram using the plurality of trigonometric functions, wherein each of a plurality of frequency bins are assigned an intensity value based on the plurality of trigonometric functions; evaluating the intensity values in one or more of the frequency bins to determine whether the sound waveform is associated with the vehicle; and wherein the step of evaluating further comprises: determining that the sound waveform is associated with a vehicle if an intensity value of a frequency bin having a greatest intensity value among all of the bins in a frequency range associated with sound generated by vehicles is greater than an intensity value of a frequency bin having a greatest intensity value among all of the bins in a frequency range associated by sound generated by human voices.