pose recording and recognition