The invention is directed to a method for analysing the position of a human body using a computing device, comprising the following steps: (a) capturing at least one frame (b) detecting on the at least one captured image frame the position of joints of the at least one portion of the body (c) registering the detected positions and predefined reference positions of the joints in a common reference system (d) computing a displacement of at least one of the joints that minimizes the error between the detected position and the corresponding predefined reference position of said joints (e) using output means of said computing device, providing an indication of said displacement as an output. In step (d), the computed displacement is at least one rotation of one of the at least one body part.