DOI: 10.3390/bdcc10070204 ISSN: 2504-2289

Recognition of Acupoints on Human Back Based on Machine Vision and Deep Learning

Zhike Zhao, Linman Song, Songying Li, Ruihao Xue, Peng Li

Traditional acupoint localization methods rely heavily on manual operation, resulting in high subjectivity and limited accuracy. To improve the precision and stability of acupoint detection, this study integrates machine vision technology with in situ projection to achieve automated recognition and real-time visualization of human acupoints. First, an automatic calibration method based on image processing is proposed for back acupoints. Spinal features are extracted from the blue channel, enhanced using adaptive histogram equalization, and processed through region of interest extraction, minimum-threshold binarization, and morphological operations. Key spinal curve points are then fitted using Bézier functions. Canny edge detection is used to extract the human silhouette, locate the acromion, and derive the pixel scale of the “cun” measurement, enabling coordinate computation for 141 back acupoints. In the deep learning component, an improved YOLOv8-Pose model is developed for acupoint localization. Unlike existing methods that use local attention or the original Object Keypoint Similarity (OKS) loss, we introduce two innovations: a non-local attention module for global dependency modeling, and a novel Efficient Object Keypoint Similarity (EOKS) loss function that incorporates geometric constraints—namely, width, height, and center distance—in addition to Euclidean distance. A non-local attention mechanism is incorporated into the backbone to enhance global feature extraction, and the EOKS loss function is designed to improve spatiogeometric regression accuracy. An inference mechanism is further introduced to derive the remaining acupoints from 49 detected keypoints; experiments demonstrate that the improved model achieves 95.0% detection accuracy, outperforming the baseline by 2.62%, with an inference time of 14.5 ms. Finally, an in situ projection platform is constructed, combining camera calibration, four-point proportional scaling, and an OpenCV 4.5.4-based interactive interface. The system supports real-time translation, rotation, and scaling, enabling accurate projection of detected acupoints onto the human body.

More from our Archive