Hacker News new | ask | show | jobs
by CarVac 3747 days ago
To me it looked like a ton (two seconds or so) of latency, not pre-recorded video.

And I would expect latency for such heavy DSP work on a phone.

1 comments

This is correct. The movements match up just fine, but the reaction time there is something above 2 seconds.
They need to buffer to get a Fourier transform and to do the autocorrelation.
They say they use an "inaudible high frequency soundwave", so that should be > 20kHz. Shouldn't a buffer of a few milliseconds be more than enough then?
Presumably the buffer is longer to make the system more robust by avoiding spurious detections, not because of some fundamental limit like the Nyquist rate. You would need to set the buffer size experimentally.