Semi-supervised learning of sparse representations to recognize people spatial orientation