human pose estimation with Euclidean geometric analysis and a Deterministic Finite State Machine (FSM) for
biomechanical validation. The FSM evaluates movement sequences and ensures that only repetitions satisfying
predefined range-of-motion requirements are considered valid. In addition, a locally deployed Meta Llama 3
Large Language Model (LLM) is integrated to generate personalized coaching feedback based on validated
exercise metrics. By performing pose estimation, biomechanical validation, and feedback generation entirely
on the edge device, the proposed system supports real-time responsiveness while reducing dependence on
cloud infrastructure and preserving user privacy. The remainder of this paper is organized as follows. Section
2 presents the methodology and system architecture. Section 3 discusses the experimental results and
performance evaluation. Section 4 concludes the study and outlines future research directions.
2. Literature review
The application of computer vision in fitness monitoring has gained considerable attention due to its ability to
automate exercise assessment and posture correction. Recent studies have demonstrated that vision-based
systems can effectively detect body movements and provide real-time feedback without requiring specialized
wearable sensors. Kotte et al. proposed a computer vision-based approach for gym exercise monitoring,
emphasizing performance analysis and posture correction through visual feedback mechanisms.
[4]
Similarly,
Kaushik et al. developed an AI-driven posture correction framework using pose estimation techniques for real-
time exercise tracking.
[5]
Human Pose Estimation (HPE) has emerged as a fundamental component of modern
exercise monitoring systems. Pose estimation frameworks transform visual data into structured skeletal
representations, enabling biomechanical analysis of human movement. Kanase et al. utilized pose estimation
techniques to identify exercise posture and provide corrective feedback.
[1]
Among available frameworks,
MediaPipe BlazePose has gained significant popularity due to its lightweight architecture, real-time processing
capability, and suitability for deployment on consumer-grade devices.
[3,6]
Recent developments in edge computing have further enhanced the practicality of AI-based fitness systems.
Traditional cloud-based architectures often introduce latency and raise privacy concerns due to the
transmission of sensitive video data. Edge AI systems address these limitations by performing computation
directly on local devices. This approach improves responsiveness while reducing dependence on network
connectivity and external servers. Biomechanical posture analysis requires more than simple motion detection.
Accurate exercise evaluation depends on measuring joint angles, range of motion (ROM), and movement
consistency. Mathematical approaches based on Euclidean geometry and vector analysis have been widely
adopted for extracting meaningful biomechanical information from skeletal landmarks. Such methods provide
interpretable and computationally efficient alternatives to complex deep-learning-based classifiers. Finite State
Machines (FSMs) have been increasingly employed for exercise repetition tracking and movement validation.
Unlike threshold-based counters that may incorrectly count incomplete repetitions, FSM-based systems
enforce predefined movement sequences and biomechanical constraints. This deterministic validation
mechanism improves the reliability of repetition counting and reduces false-positive detections during exercise
monitoring.
The emergence of Large Language Models (LLMs) has introduced new opportunities for personalized fitness
assistance. By combining validated exercise metrics with natural language generation capabilities, LLMs can
provide contextual coaching feedback and exercise recommendations. However, most existing
implementations rely on cloud-based services. The proposed work extends this concept by integrating a locally
deployed LLM with an edge-computing biomechanical analysis framework, thereby enabling privacy-
preserving and real-time AI-assisted coaching.
3. Methodology
The experimental setup and methodology used to build the edge-computing biomechanical posture analysis
system are described in detail in this section. Our research design combines deterministic mathematical
modelling, generative artificial intelligence, and localized computer vision techniques to achieve real-time,
privacy-preserving exercise validation. The approach is set up to methodically handle state-based movement
validation, offline AI-driven coaching, geometric posture computation, and continuous data collection. The
experimental setup is carefully set up to minimize latency while optimizing the accuracy of human pose tracking
using common consumer-grade hardware, favoring edge-based inference over cloud-reliant architectures.
3.1 System overview
In order to create and cultivate a reliable, multi-scalable, and adaptable biomechanical posture analysis system
that generates extremely accurate exercise validation in real time using a live video feed via a standard webcam,
the suggested system is implemented using an edge computing architecture. To guarantee appropriate range
of motion (ROM), the continuous input feed passes through a localized computing pipeline before deciding on
the outcome based on stringent geometric parameters. Data acquisition, an Edge Computing Pipeline (pose
estimation and logic calculation), AI personalization, and final delivery to the user are some of the many