Automated Young Children’s Pain Detection via Facial Expressions with YOLO v11

Authors

  • Gusgus Ghraha Ramdhanie Universitas Padjadjaran
  • Nurdina Widanti Politeknik Negeri Jakarta
  • Bambang Aditya Nurgraha Universitas Padjadjaran
  • Tomy Abuzairi Universitas Indonesia
  • Nur Agustini Universitas Indonesia
  • Dessie Wanda Universitas Indonesia

DOI:

https://doi.org/10.29207/resti.v10i1.7206

Keywords:

deep learning, facial expressions, pain detection, YOLO v11, young children

Abstract

This study demonstrates that pain detection in young children using a YOLO v11-based deep learning model can be performed effectively. By utilizing image data taken from video recordings of immunization and IV infusion procedures, then processed into photo frames and labeled using Roboflow, the model is able to provide good evaluation results. The dataset was divided into 70:20:10 for training, validation, and testing. Model performance evaluation uses accuracy, precision, recall, and F1-score metrics, and is visualized through a performance curve and confusion matrix. The results show that YOLO v11 has great potential as a pain detection method, with an mAP@0.5 achievement of 0.893, an accuracy of 78%, a precision of 89.3%, a recall of 97%, and an F1-score of 83%. The high recall value indicates the model's excellent ability to recognize pain expressions, making it relevant for use in clinical contexts to ensure pain symptoms are not overlooked. Overall, this performance demonstrates that YOLO v11 can be a more objective and accurate approach than manual instruments, and has the potential to be developed as a tool for healthcare professionals in pediatric pain assessment.

Downloads

Download data is not yet available.

References

M. J. Hockenberry and D. Wilson, Wong’s essentials of pediatric nursing. St. Louis: Mosby, 2016.

S. N. Raja et al., “The revised International Association for the Study of Pain definition of pain: concepts, challenges, and compromises,” Pain, vol. 161, no. 9, pp. 1976–1982, Sep. 2020, doi: 10.1097/j.pain.0000000000001939.

R. C. B. Manworren and J. Stinson, “Pediatric pain measurement, assessment, and evaluation,” Semin Pediatr Neurol, vol. 23, no. 3, pp. 189–200, Aug. 2016, doi: 10.1016/j.spen.2016.10.001.

G. Alaleh et al., “Validation of Persian Version of PedsQLTM 4.0TM Generic Core Scales in Toddlers and Children,” Int J Prev Med. , vol. 3, no. 5, pp. 341–350, 2012, [Online]. Available: https://pmc.ncbi.nlm.nih.gov/articles/PMC3374492/

S. J. Friedrichsdorf, J. Giordano, K. D. Dakoji, A. Warmuth, C. Daughtry, and C. A. Schulz, “Chronic pain in children and adolescents: Diagnosis and treatment of primary pain disorders in head, abdomen, muscles and joints,” Children, vol. 3, no. 4, Dec. 2016, doi: 10.3390/children3040042.

G. G. Ramdhanie, D. Wanda, N. Agustini, and T. Abuzairi, “Identification of technology-based models and efficacy of digital-based pain facial expression assessment tools among children: a systematic review,” BMC Nurs, vol. 24, no. 1, Dec. 2025, doi: 10.1186/s12912-025-03451-9.

K. S. Higgins et al., “Availability of researcher-led eHealth tools for pain assessment and management: Barriers, facilitators, costs, and design,” Pain Rep, vol. 3, no. 7, Sep. 2018, doi: 10.1097/PR9.0000000000000686.

T. Sakulchit, B. Kuzeljevic, and R. D. Goldman, “Evaluation of Digital Face Recognition Technology for Pain Assessment in Young Children,” Clinical Journal of Pain, vol. 35, no. 1, pp. 18–22, Jan. 2019, doi: 10.1097/AJP.0000000000000659.

N. Meesters, T. Dilles, S. Simons, and M. van Dijk, “Do Pain Measurement Instruments Detect the Effect of Pain-Reducing Interventions in Neonates? A Systematic Review on Responsiveness,” Journal of Pain, vol. 20, no. 7, pp. 760–770, Jul. 2019, doi: 10.1016/j.jpain.2018.12.005.

K. Sikka et al., “Automated assessment of children’s postoperative pain using computer vision,” Pediatrics, vol. 136, no. 1, pp. e124–e131, Jul. 2015, doi: 10.1542/peds.2015-0029.

G. D. De Sario et al., “Using ai to detect pain through facial expressions: a review,” Bioengineering, vol. 10, no. 5, May 2023, doi: 10.3390/bioengineering10050548.

C. Blais, D. Fiset, H. Furumoto-Deshaies, M. Kunz, D. Seuss, and S. Cormier, “Facial Features Underlying the Decoding of Pain Expressions,” Journal of Pain, vol. 20, no. 6, pp. 728–738, Jun. 2019, doi: 10.1016/j.jpain.2019.01.002.

Y. Sun et al., “Detecting discomfort in infants through facial expressions,” Physiol Meas, vol. 40, no. 11, Dec. 2019, doi: 10.1088/1361-6579/ab55b3.

U. Nath, “Facial Expressions as Behavioral Indicators for Assessing Pain using Machine Learning Models.” [Online]. Available: www.JSR.org/hs

M. Zhang et al., “Using artificial intelligence to improve pain assessment and pain management: a scoping review,” Journal of the American Medical Informatics Association, vol. 30, no. 3, pp. 570–587, Mar. 2023, doi: 10.1093/jamia/ocac231.

U. Nath, “Facial Expressions as Behavioral Indicators for Assessing Pain using Machine Learning Models,” Journal of Student Research, vol. 12, no. 4, pp. 1–14, 2023, [Online]. Available: www.JSR.org/hs

J.-M. Yue, Q. Wang, B. Liu, and L. Zhou, “Postoperative accurate pain assessment of children and artificial intelligence: a medical hypothesis and planned study,” World J Clin Cases, vol. 12, no. 4, pp. 681–687, Feb. 2024, doi: 10.12998/wjcc.v12.i4.681.

B. Susam et al., “Automated Pain Assessment in Children Using Electrodermal Activity and Video Data Fusion via Machine Learning,” IEEE Trans Biomed Eng, vol. 69, no. 1, pp. 422–431, Jan. 2022, doi: 10.1109/TBME.2021.3096137.

E. Jung and D. Nam, “Lightweight YOLO-based real-time fall detection using feature map-level knowledge distillation,” ICT Express, Aug. 2025, doi: 10.1016/j.icte.2025.08.009.

M. Arfan, A. Nurjalal, M. Somantri, and Sudjadi, “Recognition to Human Activities in Shrimp Pond Areas with a Convolutional Neural Network,” Jurnal RESTI, vol. 5, no. 1, pp. 174–179, Feb. 2021, doi: 10.29207/resti.v5i1.2888.

I. L. Kharisma, I. Nurmalasari, Y. Lestari, S. Dela Septiani, Kamdan, and M. A. S. Yudono, “AI-Powered Sign Language Detection Using YOLO-v11 for Communication Equality,” The 7th International Global Conference Series on ICT Integration in Technical Education & Smart Society, p. 83, Sep. 2025, doi: 10.3390/engproc2025107083.

E. Syahrudin, E. Utami, and A. D. Hartanto, “Enhanced Yolov8 with OpenCV for Blind-Friendly Object Detection and Distance Estimation,” Jurnal RESTI, vol. 8, no. 2, pp. 199–207, Apr. 2024, doi: 10.29207/resti.v8i2.5529.

A. F. Rasheed and M. Zarkoosh, “YOLOv11 Optimization for Efficient Resource Utilization,” Jul. 2025, [Online]. Available: http://arxiv.org/abs/2412.14790

T. Abuzairi, Nurdina Widanti, Arie Kusumaningrum, and Yeni Rustina, “Implementasi Convolutional Neural Network Untuk Deteksi Nyeri Bayi Melalui Citra Wajah Dengan YOLO,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 5, no. 4, pp. 624–630, Aug. 2021, doi: 10.29207/resti.v5i4.3184.

R. D. Ramadhani, A. N. A. Thohari, C. Kartiko, A. Junaidi, T. G. Laksana, and N. A. S. Nugraha, “Optimasi Akurasi Metode Convolutional Neural Network untuk Identifikasi Jenis Sampah,” Jurnal RESTI, vol. 5, no. 2, pp. 312–318, Apr. 2021, doi: 10.29207/resti.v5i2.2754.

X. Xin, X. Lin, S. Yang, and X. Zheng, “Pain intensity estimation based on a spatial transformation and attention CNN,” PLoS One, vol. 15, no. 8 August 2020, Aug. 2020, doi: 10.1371/journal.pone.0232412.

M. Fachrie, “A Simple Vehicle Counting System Using Deep Learning with YOLOv3 Model,” RESTI journal (System Engineering and Information Technology), vol. 4, no. 2, pp. 462–468, 2020, doi: 10.29207/resti.v4i3.1871

R. Khanam and M. Hussain, “YOLOv11: An Overview of the Key Architectural Enhancements,” Oct. 2024, [Online]. Available: http://arxiv.org/abs/2410.17725

S. E. Sorour, M. Aljaafari, A. A. Alarfaj, W. H. A. AlMusallam, and K. S. Aljoqiman, “Fine-tuned Vision Transformers and YOLOv11 for precise detection of pediatric Adenoid Hypertrophy,” Alexandria Engineering Journal, vol. 128, pp. 366–393, Sep. 2025, doi: 10.1016/j.aej.2025.05.038.

Y. Umar, Hanafi, S. Mardi, Nugroho, Susiki, and R. F. Rachmadi, “Deteksi Penggunaan Helm Pada Pengendara,” 2020. https://www.its.ac.id/komputer/wp-content/uploads/sites/28/2020/09/Buku-Yusuf-Umar-Hanafi-07211640000006-Supeno-M-Fuad-R.pdf

Á. Sabater-Gárriz, F. X. Gaya-Morey, J. M. Buades-Rubio, C. Manresa-Yee, P. Montoya, and I. Riquelme, “Automated facial recognition system using deep learning for pain assessment in adults with cerebral palsy,” Digit Health, vol. 10, Jan. 2024, doi: 10.1177/20552076241259664.

Downloads

Published

2026-02-18

Issue

Section

Computer Science Applications

How to Cite

Ramdhanie, G. G., Nurdina Widanti, Bambang Aditya Nurgraha, Tomy Abuzairi, Nur Agustini, & Dessie Wanda. (2026). Automated Young Children’s Pain Detection via Facial Expressions with YOLO v11. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 10(1), 86-94. https://doi.org/10.29207/resti.v10i1.7206