Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul 7;15(1):24286.
doi: 10.1038/s41598-025-09627-2.

Reliability and validity of OpenPose for measuring HKA angle in dynamic walking videos in patients with knee osteoarthritis

Affiliations

Reliability and validity of OpenPose for measuring HKA angle in dynamic walking videos in patients with knee osteoarthritis

Fanghong Ge et al. Sci Rep. .

Abstract

The hip-knee-ankle (HKA) angle is essential to assess surgical evaluation and disease progression in patients with knee osteoarthritis (KOA). Rapid, radiation-free assessment methods are a key area of research. This study investigates the reliability and validity of OpenPose, video-based human pose estimation method, for determining the HKA angle in KOA patients. In this study, we analyzed 50 knees affected by osteoarthritis. The HKA angle was measured using the pose estimation method and X-ray imaging before total knee arthroplasty. The pose estimation method demonstrated excellent test-retest reliability (ICC 1,1 = 1.000) and good consistency with radiography (ICC 2,1 = 0.897), with linear regression analysis showing a good correlation (R2 = 0.814). Compared with radiography, the pose estimation method exhibited a fixed error of 0.131°. This is the first study to examine the feasibility of measuring the HKA angle from frontal-view videos of patients walking normally by using the pose estimation method. Using the pose estimation method to measure the HKA angle in knee osteoarthritis patients is reliable and valid. The pose estimation method provides a safe, cost-effective, and user-friendly solution for monitoring lower limb alignment, with promising applications in remote healthcare and rehabilitation management. It eliminates radiation exposure, avoiding the health risks associated with X-ray imaging, and it does not require specialized medical equipment, enabling fully automated analysis.

Keywords: Dynamic walking videos; Hip-knee-ankle angle; Knee osteoarthritis; OpenPose.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests. Ethical statement: All procedures conducted in this study, involving human participants, complied with the ethical standards of the 1964 Helsinki Declaration. Approval for the study protocol was granted by the institutional ethical board of China-Japan Union Hospital of Jilin University, with the protocol assigned the identification number 2022-KYYS-075. Authorship declaration: We declare that all authors listed meet the authorship criteria according to the latest guidelines of the International Committee of Medical Journal Editors, and that all authors are in agreement with the manuscript.

Figures

Fig. 1
Fig. 1
Workflow correspondent to the data processing using OpenPose. The illustration shows the workflow for video recording and OpenPose processing. First, a single smartphone captures the walking video of the subject. Then, OpenPose analyzes the video recording, and a custom Python script processes the data. Finally, compare the HKA angle with radiography. (A) Sample image from a participant’s recorded walk; (B) The OpenPose skeletal model and the name of each part. From: Sugiyama Y, Uno K, Matsui Y. Types of anomalies in two-dimensional video-based gait analysis in uncontrolled environments. PLoS Comput Biol. 2023;19(1):e1009989. (C) A sample output of OpenPose with the detected keypoints of interest plotted on the image; (D): Preoperative HKA angle measurement method in Radiographic image. The image was created using BioRender (https://biorender.com/) with publication and licensing rights (Agreement number: US27WFZL9I).
Fig. 2
Fig. 2
Bland–Altman plot for assessing measurement error. Mean hip-knee-ankle angle measurements for OpenPose and radiography are plotted on the x-axis and the difference between measurements on the y-axis. HKA, hip-knee-ankle.
Fig. 3
Fig. 3
Examples of significant errors in OpenPose pose estimation. (A) Clothing and other factors, which are not accounted for in training data, significantly impact the accuracy of joint detection. (B) Large distances reduce OpenPose performance, leading to inaccurate joint localization and increased errors. (C) As the hip-knee-ankle (HKA) angle deviates further from 180 degrees, the accuracy of joint detection and HKA angle calculation decreases significantly.

Similar articles

References

    1. Cao, F. et al. Trends and cross-country inequalities in the global burden of osteoarthritis, 1990–2019: A population-based study. Ageing Res. Rev.99, 102382 (2024). - PubMed
    1. Sunadi, A., Nursalam, Mustikasari, Krisnana, I. & Kurniawati, N. D. Factors correlated with the quality of life after total knee arthroplasties: A literature review. Malays Orthop. J.18, 1–10 (2024). - PMC - PubMed
    1. Cooke, D. et al. Axial lower-limb alignment: comparison of knee geometry in normal volunteers and osteoarthritis patients. Osteoarthr. Cartil.5, 39–47 (1997). - PubMed
    1. Sharma, L. Local factors in osteoarthritis. Curr. Opin. Rheumatol.13, 441–446 (2001). - PubMed
    1. Sharma, L. et al. Varus and valgus alignment and incident and progressive knee osteoarthritis. Ann. Rheum. Dis.69, 1940–1945 (2010). - PMC - PubMed

LinkOut - more resources