EVALUASI KINERJA ALGORITMA MACHINE LEARNING DALAM KLASIFIKASI POSTUR DUDUK MENGGUNAKAN YOLOV8N-POSE

PERFORMANCE EVALUATION OF MACHINE LEARNING ALGORITHMS FOR SITTING POSTURE CLASSIFICATION BASED ON YOLOV8N-POSE KEYPOINTS

Authors

  • Naufal Aqil Hidayat Universitas Bina Sarana Informatika
  • Muhammad Rafli Universitas Bina Sarana Informatika
  • Andre Saputra Universitas Bina Sarana Informatika
  • Khahfiana Rosida Universitas Bina Sarana Informatika
  • Muhammad Robis Alfaf Universitas Bina Sarana Informatika
  • Jordy Lasmana Putra Universitas Bina Sarana Informatika

DOI:

https://doi.org/10.52972/hoaq.vol17no2.p341-350

Keywords:

ergonomi digital, computer vision, YOLOv8n-Pose, Random Forest, klasifikasi postur duduk

Abstract

Penggunaan perangkat digital yang meningkat memperpanjang durasi duduk dan berisiko menimbulkan gangguan muskuloskeletal akibat postur yang tidak ergonomis. Penelitian ini mengembangkan sistem klasifikasi postur duduk berbasis citra menggunakan YOLOv8n-Pose (Nano) untuk ekstraksi 17 titik sendi tubuh, yang kemudian diratakan (flattening) menjadi vektor 51 fitur numerik dan dinormalisasi dengan Standard Scaler. Dataset gabungan dari Roboflow dan Kaggle, yang terdiri atas 3.558 citra dengan rincian 1.044 good_form dan 2.514 bad_form, diuji pada lima algoritma yaitu Random Forest, KNN, SVM, MLP, dan Deep MLP, menggunakan skema hold-out 80:20 berbasis stratified sampling. Pada data uji, Random Forest mencatat performa generalisasi paling seimbang dengan akurasi 0,9775 dan Macro F1-Score 0,9728, sedikit mengungguli MLP Neural Network yang menunjukkan performa yang juga kuat, meskipun Random Forest sebelumnya menunjukkan indikasi overfitting pada fase pelatihan. Sistem kemudian diimplementasikan sebagai aplikasi web bernama SitSmart di Hugging Face Spaces. Penelitian ini mengindikasikan bahwa kombinasi ekstraksi koordinat pose dan model klasifikasi ensemble mampu memberikan hasil kompetitif untuk pemantauan ergonomi otomatis, meski validasi lapangan real-time masih diperlukan pada tahap lanjut.

 

Rising use of digital devices has extended sitting durations, thereby increasing the risk of musculoskeletal disorders from poor posture. This study develops an image-based sitting posture classification system using YOLOv8n-Pose (Nano) to extract 17 body keypoints, which are then flattened into a 51-feature numeric vector and normalized with Standard Scaler. A combined Roboflow and Kaggle dataset, consisting of 3,558 images with 1,044 good_form and 2,514 bad_form samples, was evaluated across five algorithms, namely Random Forest, KNN, SVM, MLP, and Deep MLP, using an 80:20 stratified hold-out split. On the test set, Random Forest achieved the most balanced generalization, with an accuracy of 0.9775 and a Macro F1-Score of 0.9728, narrowly ahead of MLP Neural Network, which also showed strong performance, although Random Forest had previously shown signs of overfitting during training. The best-performing model was then deployed as a web application called SitSmart on Hugging Face Spaces. These findings suggest that combining pose-based coordinate extraction with an ensemble classifier can yield competitive results for automated ergonomic monitoring, although real-world and real-time field validation remains necessary as a direction for future work.

References

Z. Rakauskas, V. Macaitis, A. Vasjanov, and V. Barzdenas, “Ergonomic Innovation: A Modular Smart Chair for Enhanced Workplace Health and Wellness,” Sensors, vol. 25, no. 13, p. 4024, Jun. 2025, https://doi.org/10.3390/s25134024.

B. Putsa, W. Jalayondeja, K. Mekhora, P. Bhuanantanondh, and C. Jalayondeja, “Factors associated with reduced risk of musculoskeletal disorders among office workers: a cross-sectional study 2017 to 2020,” BMC Public Health, vol. 22, no. 1, p. 1503, Aug. 2022, https://doi.org/10.1186/S12889-022-13940-0.

A. R. Kett, T. L. Milani, and F. Sichting, “Sitting for Too Long, Moving Too Little: Regular Muscle Contractions Can Reduce Muscle Stiffness During Prolonged Periods of Chair-Sitting,” Frontiers in Sports and Active Living, vol. 3, p. 760533, Nov. 2021, https://doi.org/10.3389/fspor.2021.760533.

J. Piruta and W. Ku?ak, “Physiotherapy in Text Neck Syndrome: A Scoping Review of Current Evidence and Future Directions,” Journal of Clinical Medicine, vol. 14, no. 4, p. 1386, Feb. 2025, https://doi.org/10.3390/jcm14041386.

A. R. Tsantili, D. Chrysikos, and T. Troupis, “Text Neck Syndrome: Disentangling a New Epidemic,” Acta Medica Academica, vol. 51, no. 2, pp. 123–127, Dec. 2022, https://doi.org/10.5644/ama2006-124.380.

J. Leppe-Zamora, S. Ramos-Fuster, B. Muñoz-Monari, S. Roa-Alcaino, and O. L. Sarmiento, “The effect of computer prompt in breaks of sedentary behaviour among office workers: a systematic review and meta-analysis,” International Journal of Behavioral Nutrition and Physical Activity, vol. 22, no. 1, p. 75, Jun. 2025, https://doi.org/10.1186/s12966-025-01781-0.

J. Lee, H. Choi, and J. Kim, “Classification Algorithm for Sitting Postures Using Weighted Random Forest,” IET Image Processing, vol. 19, no. 1, p. e70126, Jan. 2025, https://doi.org/10.1049/ipr2.70126.

R. Zemp et al., “Application of Machine Learning Approaches for Classifying Sitting Posture Based on Force and Acceleration Sensors,” BioMed Research International, vol. 2016, no. 1, p. 5978489, Jan. 2016, https://doi.org/10.1155/2016/5978489.

J. Ahmad, J. Sidén, and H. Andersson, “A Proposal of Implementation of Sitting Posture Monitoring System for Wheelchair Utilizing Machine Learning Methods,” Sensors, vol. 21, no. 19, p. 6349, Sep. 2021, https://doi.org/10.3390/S21196349.

C. Dong and G. Du, “An enhanced real-time human pose estimation method based on modified YOLOv8 framework,” Scientific Reports, vol. 14, no. 1, pp. 8012-, Apr. 2024, https://doi.org/10.1038/s41598-024-58146-z.

T. Lu, K. Cheng, X. Hua, and S. Qin, “KSL-POSE: A Real-Time 2D Human Pose Estimation Method Based on Modified YOLOv8-Pose Framework,” Sensors, vol. 24, no. 19, p. 6249, Sep. 2024, https://doi.org/10.3390/s24196249.

F. Wang, G. Wang, and B. Lu, “YOLOv8-PoseBoost: Advancements in Multimodal Robot Pose Keypoint Detection,” Electronics, vol. 13, no. 6, p. 1046, Mar. 2024, https://doi.org/10.3390/electronics13061046.

S. Cai, H. Xu, W. Cai, Y. Mo, and L. Wei, “A human pose estimation network based on YOLOv8 framework with efficient multi-scale receptive field and expanded feature pyramid network,” Scientific Reports, vol. 15, no. 1, pp. 15284-, May 2025, https://doi.org/10.1038/s41598-025-00259-0.

C. Singhtaun, S. Natsupakpong, and P. Lorprasertkul, “Ergonomic Risk Assessment Using Human Pose Estimation with MediaPipe Pose,” ACM International Conference Proceeding Series, vol. 1, pp. 465–471, Jul. 2025, https://doi.org/10.1145/3719384.3719453.

D. F. Odesola, J. Kulon, S. Verghese, A. Partlow, and C. Gibson, “A Smart System for Continuous Sitting Posture Monitoring, Assessment, and Personalized Feedback,” Sensors, vol. 25, no. 18, p. 5610, Sep. 2025, https://doi.org/10.3390/S25185610.

H. Q. Chu, “Sitting-Posture-Recognition,” Kaggle. [Online]. Available: https://www.kaggle.com/datasets/huyquangchu/test-dataset.

Min, “Sitting Posture v2 Computer Vision Dataset,” Roboflow. [Online]. Available: https://universe.roboflow.com/min-bnvzi/sitting-posture-v2.

Downloads

Published

03-11-2026

How to Cite

Hidayat, N. A., Rafli, M., Saputra, A., Rosida, K., Alfaf, M. R., & Putra, J. L. (2026). EVALUASI KINERJA ALGORITMA MACHINE LEARNING DALAM KLASIFIKASI POSTUR DUDUK MENGGUNAKAN YOLOV8N-POSE: PERFORMANCE EVALUATION OF MACHINE LEARNING ALGORITHMS FOR SITTING POSTURE CLASSIFICATION BASED ON YOLOV8N-POSE KEYPOINTS. HOAQ (High Education of Organization Archive Quality) : Jurnal Teknologi Informasi, 17(2), 341–350. https://doi.org/10.52972/hoaq.vol17no2.p341-350