Human Activity Recognition
: Deep learning techniques for an upper body exercise classification system

  • Paolo Nardi

Student thesis: Bachelor


Most research behind the use of Machine Learning models in the field of Human Activity Recognition focuses mainly on the classification of daily human activities and aerobic exercises. In this study, we focus on the use of 1 accelerometer and 2 gyroscope sensors to build a Deep Learning classifier to recognise 5 different strength exercises, as well as a null class. The strength exercises tested in this research are as followed: Bench press, bent row, deadlift, lateral rises and overhead press. The null class contains recordings of daily activities, such as sitting or walking around the house. The model used in this paper consists on the creation of consecutive overlapping fixed length sliding windows for each exercise, which are processed separately and act as the input for a Deep Convolutional Neural Network. In this study we compare different sliding windows lengths and overlap percentages (step sizes) to obtain the optimal window length and overlap percentage combination. Furthermore, we explore the accuracy results between 1D and 2D Convolutional Neural Networks. Cross validation is also used to check the overall accuracy of the classifiers, where the database used in this paper contains 5 exercises performed by 3 different users and a null class. Overall the models were found to perform accurately for window’s with length of 0.5 seconds or greater and provided a solid foundation to move forward in the creation of a more robust fully integrated model that can recognize a wider variety of exercises.

Date of Award2019-Jun-13
Original languageEnglish
SupervisorFredrik Frisk (Supervisor) & Dawit Mengistu (Examiner)

Educational program

  • Bachelor programme in Computer Science and Engineering

University credits

  • 15 HE credits

Swedish Standard Keywords

  • Computer Engineering (10206)


  • human activity recognition
  • deep learning
  • machine learning
  • exercise classification
  • convolutional neural network

Cite this