Image analysis of human motion