A Study of Gesture Recognition with Sensor-contained Mobile Devices