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
. 2024 Oct 23;24(21):6796.
doi: 10.3390/s24216796.

A Non-Contacted Height Measurement Method in Two-Dimensional Space

Affiliations

A Non-Contacted Height Measurement Method in Two-Dimensional Space

Phu Nguyen Trung et al. Sensors (Basel). .

Abstract

Height is an important health parameter employed across domains, including healthcare, aesthetics, and athletics. Numerous non-contact methods for height measurement exist; however, most are limited to assessing height in an upright posture. This study presents a non-contact approach for measuring human height in 2D space across different postures. The proposed method utilizes computer vision techniques, specifically the MediaPipe library and the YOLOv8 model, to analyze images captured with a smartphone camera. The MediaPipe library identifies and marks joint points on the human body, while the YOLOv8 model facilitates the localization of these points. To determine the actual height of an individual, a multivariate linear regression model was trained using the ratios of distances between the identified joint points. Data from 166 subjects across four distinct postures: standing upright, rotated 45 degrees, rotated 90 degrees, and kneeling were used to train and validate the model. Results indicate that the proposed method yields height measurements with a minimal error margin of approximately 1.2%. Future research will extend this approach to accommodate additional positions, such as lying down, cross-legged, and bent-legged. Furthermore, the method will be improved to account for various distances and angles of capture, thereby enhancing the flexibility and accuracy of height measurement in diverse contexts.

Keywords: MediaPipe; height measurement; non-contact.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest.

Figures

Figure 1
Figure 1
System diagram.
Figure 2
Figure 2
Tripod set up and camera.
Figure 3
Figure 3
Height measurement in different postures; (a) standing-upright position; (b) 45-degree rotation position; (c) horizontal 90-degree rotation position; and (d) Kneeling position. Lines and points in each figure represent segments and joints determined from the OpenCV and the MediaPipe libraries.

References

    1. Deaton A. Height, health, and development. Proc. Natl. Acad. Sci. USA. 2007;104:13232–13237. doi: 10.1073/pnas.0611500104. - DOI - PMC - PubMed
    1. Obese H.J.O.R. Body mass index (BMI) Obes. Res. 1998;6:51S–209S. - PubMed
    1. Nuttall F.Q. Body mass index: Obesity, BMI, and health: A critical review. Nutr. Today. 2015;50:117–128. doi: 10.1097/NT.0000000000000092. - DOI - PMC - PubMed
    1. Phan K.N., Anh V.T., Manh H.P., Thu H.N., Thuy N.T., Thi H.N., Thuy A.N., Trung P.N. The Non-Contact Height Measurement Method Using MediaPipe and OpenCV in a 2D Space; Proceedings of the 2023 1st International Conference on Health Science and Technology (ICHST); Hanoi, Vietnam. 28–29 December 2023; pp. 1–6. - DOI
    1. Dennis D.M., Hunt E.E., Budgeon C.A. Measuring height in recumbent critical care patients. Am. J. Crit. Care. 2015;24:41–47. doi: 10.4037/ajcc2015761. - DOI - PubMed

LinkOut - more resources