Activity monitoring system using deep learning for people with dementia