“…Machine learning algorithms address activity recognition tasks aimed to identify specific rehabilitation actions to remotely track patients' adherence to the prescribed therapy and sometimes to measure the treatment outcomes based on patients' activity in real-world life [85]. Most of the reviewed papers covered the problem of recognizing activities for specific body parts like strength training exercises for upper and lower limb [29,41,44,56], exercise to improve range of motion [38], flexibility and balance exercises [37,44], specific rehabilitation exercise for upper limb and lower impaired limb in stroke [31,40,55], and shoulder impairments [32,45,52]. Other articles monitored activities of daily living (ADL), detecting general activities such as standing, sitting, squatting, walking, and running useful for health promotion programs in the elderly [28,44], and other routine activities involving upper limb goal-directed tasks in stroke rehabilitation [50].…”