Note on gesture recognition