Dynamics based approach for human activity understanding