Machine perception of human emotions using motion patterns