Journal Information
Vol. 29. Issue S1.
II ABRAPG-FT Student Conference
(1 November 2025)
Vol. 29. Issue S1.
II ABRAPG-FT Student Conference
(1 November 2025)
258
Full text access
PROTOTYPE OF A MEDIAPIPE-BASED PROGRAM TO ENHANCE THE TEACHING OF BIOMECHANICS
Visits
114
Geovani Messias da Silva, Heleodório Honorato dos Santos, Alexandre Igor Araripe Medeiros, Gilmário Ricarte Batista
Universidade Federal da Paraíba (UFPB), João Pessoa, PB, Brazil
This item has received
Article information
Special issue
This article is part of special issue:
Vol. 29. Issue S1

II ABRAPG-FT Student Conference

More info
Background

The best way to assess human kinematics is by capturing movements in three dimensions, which is commonly done using an optoelectronic measurement system. However, due to equipment or logistical limitations, only two-dimensional kinematic assessment is performed in practical biomechanics classes in undergraduate and graduate courses. For this reason, practical demonstrations in the classroom by biomechanics professors are limited, especially in universities that do not have access to an optoelectronic measurement system. A program that allows three-dimensional kinematics assessment demonstrations using only a simple camera can be a great improvement in the teaching process.

Objectives

To develop a program to facilitate the practical teaching of kinematics in classrooms.

Methods

A script was prepared in Python using MediaPipe (pose estimation), Matplotlib (three-dimensional graphs), OpenCV (computer vision), NumPy (angle calculations), and Streamlit (data visualization). Using only a cellphone or a webcam with a notebook, the program captures video frames and uses them for kinematic analysis. The main functionality is provided by MediaPipe, a library capable of recognizing a human body in an image or video and detecting 33 three-dimensional landmarks. The script has two modes: live and recorded video. Live mode uses a live camera to capture video frames, recognize the human body, and apply the landmarks, allowing real-time visualization of the body in a three-dimensional perspective. Recorded mode performs the same process but uses pre-recorded videos. The program outputs a video feed (either from a camera or a recorded video) with landmarks overlaid on the body and an X-Y-Z graph representing the body's three-dimensional structure, displayed side by side. Additionally, the program shows joint angles in degrees and angular velocity. A feature to track the linear displacement of a specific joint was included in the X-Y-Z graph.

Results

The program can capture video frames in real time to provide students with a three-dimensional representation of the human body using 33 landmarks. Professors can also use pre-recorded videos to demonstrate three-dimensional kinematic analysis. In both modes, the program allows the visualization of linear and angular segment displacement.

Conclusion

A prototype of a MediaPipe-based program to assist biomechanics professors in practical kinematics classes. The program used only a camera and a laptop, which are commonly used in classes. Future research could explore the use of this type of program in teaching kinematic concepts.

Implications

This study presents a program prototype to improve the tools available for teaching biomechanics to undergraduate and graduate students, which can be used in classrooms.

Keywords:
Kinematics
Graduate
Computer vision
Full text is only available in PDF

Conflict of interest: The authors declare no conflict of interest.

Funding: CAPES - Finance Code 001.

Ethics committee approval: Not applicable.

Registration: Not applicable.

Download PDF
Idiomas
Brazilian Journal of Physical Therapy
Article options
Tools