Probabilistic posture classification for human-behavior analysis