detects and logs hand and finger data (uses sample code)