Text this: Hardware for recognition of human activities: a review of smart home and AAL related technologies