4 ms·
Does this use facial recognition? That is, do you have to actually face the camera, or does it simply use some basic object recognition to determine if somethin
by salmonfamine 9y ago
Does this use facial recognition? That is, do you have to actually face the camera, or does it simply use some basic object recognition to determine if something is moving up and down?
- faris-ssj 9y agoNo, I did try that but it was too slow. I will write up an article once I have improved it if people are interested in. In a nutshell, I take a stream of frames from the camera, then do a diff on the frames to see what has moved, I then see if the diff of pixels over time is what I'd expect a pushup to look like using basic logic. The movement of pixels over time should look similar to a sine wave. I threw in some simple logic to account for noise in the data.
- salmonfamine 9y agoThe pixels' diff over time resembling a sine wave is really interesting -- but it makes sense! I'd read an article/blog post about this. Cool app!
- zhan_eg 9y agoI managed to fool it by hand movements (up and down and bending my fingers), so for sure no face needed.
- vorotato 9y agoThere's always the distinct possibility your hands have a face you haven't noticed.