Towards an understanding of human activities: from the skeleton to the space