Open Access iconOpen Access



Force Sensitive Resistors-Based Real-Time Posture Detection System Using Machine Learning Algorithms

Arsal Javaid1, Areeb Abbas1, Jehangir Arshad1, Mohammad Khalid Imam Rahmani2,*, Sohaib Tahir Chauhdary3, Mujtaba Hussain Jaffery1, Abdulbasid S. Banga2,*

1 Department of Electrical and Computer Engineering, COMSATS University Islamabad, Lahore Campus, Lahore, 54000, Pakistan
2 College of Computing and Informatics, Saudi Electronic University, Riyadh, 11673, Saudi Arabia
3 Department of Electrical and Computer Engineering, College of Engineering, Dhofar University, Salalah, 211, Oman

* Corresponding Authors: Mohammad Khalid Imam Rahmani. Email: email; Abdulbasid S. Banga. Email: email

Computers, Materials & Continua 2023, 77(2), 1795-1814.


To detect the improper sitting posture of a person sitting on a chair, a posture detection system using machine learning classification has been proposed in this work. The addressed problem correlates to the third Sustainable Development Goal (SDG), ensuring healthy lives and promoting well-being for all ages, as specified by the World Health Organization (WHO). An improper sitting position can be fatal if one sits for a long time in the wrong position, and it can be dangerous for ulcers and lower spine discomfort. This novel study includes a practical implementation of a cushion consisting of a grid of 3 × 3 force-sensitive resistors (FSR) embedded to read the pressure of the person sitting on it. Additionally, the Body Mass Index (BMI) has been included to increase the resilience of the system across individual physical variances and to identify the incorrect postures (backward, front, left, and right-leaning) based on the five machine learning algorithms: ensemble boosted trees, ensemble bagged trees, ensemble subspace K-Nearest Neighbors (KNN), ensemble subspace discriminant, and ensemble RUSBoosted trees. The proposed arrangement is novel as existing works have only provided simulations without practical implementation, whereas we have implemented the proposed design in Simulink. The results validate the proposed sensor placements, and the machine learning (ML) model reaches a maximum accuracy of 99.99%, which considerably outperforms the existing works. The proposed concept is valuable as it makes it easier for people in workplaces or even at individual household levels to work for long periods without suffering from severe harmful effects from poor posture.


Cite This Article

A. Javaid, A. Abbas, J. Arshad, M. K. I. Rahmani, S. T. Chauhdary et al., "Force sensitive resistors-based real-time posture detection system using machine learning algorithms," Computers, Materials & Continua, vol. 77, no.2, pp. 1795–1814, 2023.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1193


  • 177


  • 3


Share Link