Method of Kinect-based action-recognition