Next Article in Journal
A Physics-Based Digital Twin for Trail Running Race Performance Prediction: A Proof-of-Concept Study
Previous Article in Journal
Oil–Water Flow Monitoring in Wellbores with Inflow Control Valves Using Distributed Acoustic Sensing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Low-Cost RGB-D Sensing Front-End for Stable 3D Hand Landmark Reconstruction Using MediaPipe and ZED2 Stereo Depth

1
School of Mechanical Engineering and Automation, Fuzhou University, Fuzhou 350108, China
2
Fujian Engineering Research Center of Joint Intelligent Medical Engineering, Fuzhou University, Fuzhou 350108, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(12), 3730; https://doi.org/10.3390/s26123730
Submission received: 6 May 2026 / Revised: 3 June 2026 / Accepted: 10 June 2026 / Published: 11 June 2026
(This article belongs to the Section Physical Sensors)

Abstract

Stable three-dimensional hand landmark reconstruction using low-cost RGB-D sensors is important for human–computer interaction, robot teleoperation, and vision-based motion analysis. RGB-based hand landmark detectors provide stable semantic 2D landmarks, but their depth output is not a metric measurement in the physical camera coordinate system. Stereo cameras can provide metric depth, but direct landmark-level back-projection is sensitive to invalid pixels, local depth holes, boundary noise, and partial occlusion. To address these problems, this paper presents a lightweight RGB-D sensing front-end that combines MediaPipe semantic hand landmarks with ZED2 stereo depth. The proposed pipeline detects 21 semantic hand landmarks in the RGB image, obtains landmark-level metric depth from the aligned ZED2 depth map using local median sampling, reconstructs 3D landmarks by camera back-projection, and further applies exponential moving average filtering and a bone-length consistency constraint. Experiments were conducted on a self-collected SVO dataset containing 13 hand actions and 26 recorded sequences, and an additional checkerboard-based reference-distance validation was performed to evaluate the metric depth sampling and 3D back-projection component. Compared with single-pixel sampling, the 5 × 5 local median strategy slightly increased the valid-depth ratio from 0.9731 to 0.9738 and reduced the temporal smoothness metric from 1.7163 mm to 1.6902 mm. To further justify the temporal filtering choice, an additional comparison with the 1 Euro Filter was conducted using the reconstructed win5 trajectories. The 1 Euro Filter produced stronger smoothing, reducing the temporal smoothness metric to 0.196 mm, but also reduced the path-length ratio to 0.484, indicating substantial motion attenuation. EMA0.7 was therefore retained as a more balanced setting, reducing the temporal smoothness metric to 0.826 mm while maintaining a path-length ratio of 0.803. The BL0.5 bone-length constraint reduced the bone-length standard deviation from 2.0727 mm to 1.1995 mm with limited trajectory modification. The final configuration provides a practical low-cost RGB-D front-end for stable 3D hand landmark reconstruction under controlled indoor conditions.

1. Introduction

Three-dimensional hand landmark measurement is an important sensing component for human–computer interaction, robot teleoperation, augmented reality, and vision-based motion analysis [1,2,3]. Compared with full hand mesh reconstruction or marker-based motion capture systems, sparse hand landmarks provide a lightweight representation of hand motion and can be conveniently integrated into downstream interaction and robotic systems. However, obtaining stable and metric 3D hand landmarks with low-cost sensing devices remains challenging, especially when the hand undergoes fast motion, partial occlusion, or viewpoint changes.
Recent RGB-based hand landmark detectors provide an efficient solution for semantic hand localization from monocular images [1]. MediaPipe Hands is particularly attractive for practical applications because it can output 21 semantic hand landmarks with a fixed skeleton topology in real time [4,5,6]. These landmarks provide consistent anatomical correspondence across frames, including the wrist, finger joints, and fingertips. Nevertheless, the depth-related output of RGB-based models is usually a relative model prediction rather than a metric measurement in the physical camera coordinate system. Therefore, additional depth sensing is still required when real-scale 3D hand positions are needed. Recent validation studies on MediaPipe-based hand tracking also indicate that depth-enhanced frameworks can provide useful support for 3D hand movement measurement [7].
Depth and RGB-D sensing have been widely used for 3D hand pose estimation because depth measurements can reduce the scale ambiguity of monocular RGB input [2,8]. Existing studies have investigated depth-image-based regression, voxel representations, point-cloud representations, compact pose priors, RGB-D fusion networks, and stereo-camera-based hand pose estimation [9,10,11,12,13,14]. Large-scale hand pose datasets and benchmark systems, such as InterHand2.6M, have further promoted the development of learning-based 3D hand pose estimation methods with annotated 3D ground truth [3]. These methods demonstrate the importance of depth information, hand topology, and large-scale annotated data for recovering 3D hand structure.
However, many existing approaches are designed to predict complete hand pose or hand mesh parameters using trained regression models and benchmark datasets. They are not primarily designed as a transparent sensing front-end for combining semantic 2D landmarks with metric stereo depth measurements. In contrast, the objective of this work is to develop a lightweight and reproducible RGB-D sensing front-end that does not require training a new hand pose network. The proposed method focuses on landmark-level metric depth acquisition, temporal stability, and skeletal consistency under controlled indoor conditions rather than benchmark-level absolute 3D hand pose accuracy.
Stereo cameras provide a practical way to obtain metric depth in low-cost vision-based sensing systems [15,16]. By combining 2D hand landmarks with an aligned stereo depth map, each semantic landmark can be back-projected into the camera coordinate system. However, direct per-pixel depth sampling is sensitive to invalid pixels, local depth holes, boundary noise, foreground–background discontinuities, and small 2D localization errors, which are common challenges in depth-based hand pose estimation [2]. These problems are particularly evident near fingertips, thin finger regions, self-occluded areas, and fast hand motions. Therefore, directly reading the depth value at the landmark center pixel may lead to unstable 3D trajectories and inconsistent hand skeletons.
Besides depth acquisition, temporal continuity and skeletal consistency are also important for practical hand motion sensing. Temporal filtering is commonly used to reduce frame-to-frame jitter in interactive tracking signals, and the 1 Euro Filter is a representative lightweight method that adaptively balances jitter suppression and response delay [17]. In addition, structured hand representations, anatomical priors, and hand topology modeling have been used to improve the plausibility of reconstructed hand configurations [3,18,19]. Consumer-friendly RGB-D sensing has also been explored for markerless hand movement assessment, indicating the practical value of low-cost RGB-D systems for hand motion analysis [20]. Motivated by these observations, this study combines local median depth sampling, EMA-based temporal filtering, and a lightweight bone-length consistency constraint in a single RGB-D sensing pipeline.
This paper presents a low-cost RGB-D sensing front-end for stable 3D hand landmark reconstruction under controlled indoor conditions using MediaPipe semantic landmarks and ZED2 stereo depth. The proposed method first detects 2D semantic hand landmarks from the RGB image and then obtains landmark-level metric depth from the aligned ZED2 depth map. Instead of relying on a single depth pixel, local median depth sampling is used to reduce the influence of invalid or noisy depth values. The sampled depth values are then combined with camera intrinsic parameters to reconstruct 3D hand landmarks. EMA-based temporal filtering and a bone-length consistency constraint are further introduced to improve temporal continuity and skeletal stability.
The main contributions of this work are summarized as follows:
  • A low-cost RGB-D sensing front-end is developed for metric 3D hand landmark reconstruction by combining the semantic 2D landmark topology of MediaPipe with the stereo depth measurements of the ZED2 camera.
  • A landmark-level local median depth sampling strategy is evaluated to improve depth acquisition robustness under invalid depth pixels, local depth holes, and boundary fluctuations.
  • A lightweight post-processing framework combining EMA-based temporal filtering and a bone-length consistency constraint is introduced to improve temporal continuity and skeletal stability without training a new hand pose regression network.
  • A self-collected SVO dataset containing 13 hand actions and 26 recorded sequences is used to evaluate the effects of depth sampling, temporal filtering, bone-length correction, and lightweight filtering baselines through controlled ablation experiments and statistical analysis.

2. Materials and Methods

2.1. System Overview

The proposed method is designed as a lightweight RGB-D sensing front-end for stable RGB-D-based 3D hand landmark reconstruction under controlled indoor conditions. It combines the semantic 2D landmark topology provided by MediaPipe with the metric depth measurements obtained from the ZED2 stereo camera (Stereolabs, San Francisco, CA, USA). Given an RGB-D hand sequence, the pipeline outputs a sequence of 3D hand landmarks expressed in the left-camera coordinate system.
For each frame, the left RGB image is first processed by MediaPipe to detect 21 semantic 2D hand landmarks. The aligned ZED2 depth map is then used to obtain the metric depth value corresponding to each detected landmark. Instead of directly using the depth value at a single pixel, a local median sampling strategy is applied around each landmark to reduce the influence of invalid depth pixels, local depth holes, and boundary noise. The sampled depth and the camera intrinsic parameters are then used to back-project the 2D landmarks into 3D space.
After geometric reconstruction, two lightweight regularization modules are applied. EMA-based temporal filtering is used to suppress frame-to-frame fluctuations in the reconstructed trajectories, and a bone-length consistency constraint is used to reduce temporal variations in the reconstructed hand skeleton. Therefore, the complete pipeline consists of six steps: semantic landmark detection, stereo depth acquisition, local depth sampling, 3D back-projection, temporal filtering, and bone-length consistency correction.

2.2. Hardware Platform and SVO Data Acquisition

The experimental platform consisted of a ZED2 stereo camera and a computer workstation. Hand motion sequences were recorded in the SVO format with stereo acquisition enabled. The left camera view was used as the primary RGB input for MediaPipe-based landmark detection. According to the session metadata, the image resolution was 1280 × 720 , and the nominal frame rate was 30 fps. During data acquisition, the hand was placed approximately 30 cm from the camera. The camera was fixed in a front-facing stereo view, and all sequences were recorded under stable indoor LED illumination with a plain dark desk background. The right hand was used in the recorded sequences, and table support was allowed during recording. The camera configuration kept auto-exposure and auto-focus enabled.
The processing program was implemented in Python using OpenCV, MediaPipe, and the ZED Python API. The software environment included Python 3.14.3, OpenCV 4.13.0, MediaPipe 0.10.33, and ZED SDK 5.2.3. The experiments were conducted on a workstation equipped with an AMD Ryzen 7 5800H CPU with 8 cores and 16 logical processors, an NVIDIA GeForce RTX 3060 Laptop GPU, and 16 GB RAM. The implementation was not specifically optimized for GPU acceleration.
Offline SVO playback was used for all subsequent experiments. This design ensured that different depth sampling, temporal filtering, and bone-length constraint settings were evaluated using the same RGB images, depth maps, and temporal sequences. Therefore, the observed differences among the compared strategies were mainly caused by the processing modules rather than by variations in data acquisition.

2.3. MediaPipe-Based Semantic Landmark Detection

MediaPipe Hand Landmarker is used to detect semantic hand landmarks from the left RGB image [4,5,6]. For each detected hand, MediaPipe provides 21 landmarks with fixed semantic definitions, including the wrist, finger joints, and fingertips. These landmarks provide a consistent hand skeleton topology and make it possible to associate each image point with a specific anatomical location.
Let the normalized image coordinate of the i-th landmark be denoted as
p i n = ( x i n , y i n ) ,
where x i n and y i n are normalized by the image width and height, respectively. Given an image with width W and height H, the corresponding pixel coordinate is computed as
u i = x i n W ,
v i = y i n H .
The pixel coordinate of the i-th landmark is therefore represented as
p i = ( u i , v i ) .
This conversion follows the image-coordinate convention used by MediaPipe landmark outputs, in which normalized landmark coordinates are mapped to pixel coordinates according to the image width and height [4,6].
It should be noted that the depth-related output of MediaPipe is a relative model prediction rather than a metric depth measurement in the physical camera coordinate system. Therefore, this study does not use the MediaPipe depth output as the final 3D depth. MediaPipe is used only to provide semantic 2D landmark locations, while the metric depth of each landmark is obtained from the aligned ZED2 stereo depth map.

2.4. ZED2 Stereo Depth Acquisition

The ZED2 stereo camera is used to provide metric depth information for the detected 2D hand landmarks [15,16]. For each SVO sequence, the left RGB image and the corresponding depth map are read frame by frame. The depth map is aligned with the left camera image, so that each pixel location in the RGB image has a corresponding depth value when the stereo matching result is valid. This formulation follows the standard aligned RGB-D sensing setting, where a metric depth value is associated with the corresponding pixel in the reference camera image [16,21].
Let the depth map at frame t be denoted as
D t ( u , v ) ,
where D t ( u , v ) represents the metric depth value at pixel location ( u , v ) . In this study, the depth value is treated as the Z coordinate in the left-camera coordinate system and is used for 3D back-projection together with the camera intrinsic parameters.
Stereo depth maps may contain invalid values, holes, and local fluctuations, especially near object boundaries, thin finger regions, self-occluded areas, and foreground–background transitions. Directly using the depth value at a single landmark pixel may therefore lead to unstable 3D landmark estimates. To address this problem, local depth sampling strategies are introduced to obtain a more robust landmark-level depth value from the neighborhood of each 2D landmark.

2.5. Local Median Depth Sampling

After obtaining the 2D semantic landmarks and the aligned ZED2 depth map, a metric depth value must be assigned to each landmark before 3D back-projection. A straightforward strategy is to directly read the depth value at the landmark pixel. However, stereo depth maps often contain invalid pixels, local holes, boundary noise, and foreground–background discontinuities. When a landmark is located near a fingertip boundary, a thin finger region, or a partially occluded area, single-pixel depth sampling may produce unstable or invalid depth measurements.
To improve landmark-level depth acquisition, this study evaluates three local depth sampling strategies: single-pixel sampling, 3 × 3 median sampling, and  5 × 5 median sampling. The three strategies differ only in the way the landmark depth value d i is obtained, while the MediaPipe landmark detection results, camera intrinsic parameters, and 3D back-projection model remain unchanged. Figure 1 illustrates the three evaluated sampling strategies.
Let the pixel coordinate of the i-th landmark be denoted as
p i = ( u i , v i ) ,
and let the depth map be denoted as
D ( u , v ) ,
where D ( u , v ) represents the metric depth value at pixel location ( u , v ) .
In the single-pixel strategy, denoted as px, the landmark depth is directly obtained from the depth map:
d i = D ( u i , v i ) .
If this depth value is non-finite, missing, or less than or equal to zero, the corresponding landmark is marked as invalid in the current frame.
For local median sampling, a square window is defined around the landmark pixel. For a window radius r, the local neighborhood is defined as
Ω i r = ( u , v ) u [ u i r , u i + r ] , v [ v i r , v i + r ] .
The valid depth set within this neighborhood is defined as
D i r = D ( u , v ) ( u , v ) Ω i r , D ( u , v ) > 0 .
If D i r is non-empty, the landmark depth is computed as the median of the valid depth values. Median filtering is commonly used to reduce the influence of isolated outliers and impulse-like local noise in image and depth measurements [22]:
d i = median D i r .
If no valid depth value exists within the local window, the landmark is marked as invalid in the current frame.
In this study, r = 1 corresponds to the 3 × 3 strategy, denoted as win3, and  r = 2 corresponds to the 5 × 5 strategy, denoted as win5. Compared with px, local median sampling can reduce the influence of isolated invalid or noisy depth pixels. However, a larger window may also include background depth values near hand boundaries or self-occluded regions. Therefore, px, win3, and win5 are quantitatively compared in the experiments to determine a suitable depth sampling strategy for the subsequent 3D hand landmark measurement pipeline.

2.6. 3D Back-Projection

After obtaining the depth value d i for the i-th landmark, the corresponding 2D pixel coordinate is back-projected into the camera coordinate system using the intrinsic parameters of the ZED2 left camera. This back-projection follows the standard pinhole camera model used in projective geometry and RGB-D reconstruction [21,23]. Let f x and f y denote the focal lengths, and let c x and c y denote the principal point coordinates. The 3D coordinate of the i-th landmark is computed as
X i = ( u i c x ) d i f x ,
Y i = ( v i c y ) d i f y ,
Z i = d i .
Thus, the 3D hand landmark in the camera coordinate system is represented as
P i = ( X i , Y i , Z i ) .
It should be noted that the three sampling strategies only affect the estimation of the depth value d i . They do not change the MediaPipe-based 2D landmark detection results or the camera back-projection model. This design ensures that the subsequent comparison focuses only on the influence of local depth sampling window size.
All reconstructed 3D landmarks are expressed in the left-camera coordinate system. The depth value provided by the ZED2 camera is treated as the camera-frame Z coordinate, and all reported 3D coordinates and derived metrics are converted to millimeters for quantitative analysis.

2.7. EMA-Based Temporal Filtering

After 3D back-projection, the reconstructed landmark trajectories may still contain frame-to-frame fluctuations caused by stereo depth noise, small 2D landmark localization errors, and short-term tracking instability. Temporal filtering is commonly used to reduce such fluctuations in interactive tracking signals [17]. The EMA filter is a first-order recursive smoothing filter that updates the filtered signal by combining the current observation with the previous filtered estimate [24]. In this study, an exponential moving average (EMA) filter is applied to the reconstructed 3D landmark sequence as a lightweight temporal smoothing module.
Let P i t denote the reconstructed 3D position of the i-th landmark at frame t, and let P ^ i t denote the filtered position. The EMA filter is defined as
P ^ i t = α P i t + ( 1 α ) P ^ i t 1 ,
where α ( 0 , 1 ] controls the filtering strength. A smaller α produces stronger smoothing but may introduce larger temporal lag and motion attenuation, whereas a larger α preserves rapid hand motion better but provides weaker jitter suppression.
The filter is applied independently to the three coordinate components of each valid 3D landmark. When a landmark is invalid in the current frame, it is not used to update the corresponding filtered trajectory. In the experiments, three values of α , namely 0.3, 0.5, and 0.7, are evaluated to analyze the trade-off between temporal smoothness and motion preservation. The unfiltered win5 output is used as the baseline for comparison.

2.8. Additional Temporal Filtering Baseline

To further evaluate the selected EMA-based temporal filtering strategy, the 1 Euro Filter was implemented as an additional lightweight temporal filtering baseline [17]. The 1 Euro Filter is commonly used in interactive tracking because it adaptively adjusts the cutoff frequency according to the estimated signal velocity, thereby addressing the trade-off between jitter suppression and motion responsiveness.
In this study, the 1 Euro Filter was applied independently to the three coordinate components of each valid reconstructed 3D landmark, using the same win5 trajectories as the input. The filtering parameters were set to mincutoff = 1.0 , β = 0.01 , and  dcutoff = 1.0 . The filtered output was compared with the unfiltered win5 trajectory and the EMA0.7 output using the same sequence-level metrics, including Z-axis standard deviation, temporal smoothness, bone-length standard deviation, path-length ratio, and computational overhead.

2.9. Bone-Length Consistency Constraint

Although temporal filtering can reduce frame-to-frame fluctuations, each 3D landmark is still reconstructed independently from the sampled depth value. As a result, the temporal length of a reconstructed hand bone may vary across frames, even though the anatomical bone length of the same subject should remain approximately constant within a short sequence. Structured hand representations, anatomical priors, and hand topology modeling are commonly used to improve the plausibility of 3D hand pose estimation [3,18,19]. In this study, a lightweight bone-length consistency constraint is applied after EMA filtering to reduce temporal skeletal variation.
The hand skeleton is represented by a set of connected bones B following the MediaPipe hand topology. The bone set follows the semantic hand topology used by MediaPipe and is consistent with common kinematic-chain representations of hand landmarks [4,6,18]. Specifically, the bone set is defined as
B = { ( 0 , 1 ) , ( 1 , 2 ) , ( 2 , 3 ) , ( 3 , 4 ) , ( 0 , 5 ) , ( 5 , 6 ) , ( 6 , 7 ) , ( 7 , 8 ) , ( 0 , 9 ) , ( 9 , 10 ) , ( 10 , 11 ) , ( 11 , 12 ) , ( 0 , 13 ) , ( 13 , 14 ) , ( 14 , 15 ) , ( 15 , 16 ) , ( 0 , 17 ) , ( 17 , 18 ) , ( 18 , 19 ) , ( 19 , 20 ) } .
For a bone connecting the parent landmark i and the child landmark j, the bone length at frame t is computed as
l i j t = P ^ j t P ^ i t 2 ,
where P ^ i t and P ^ j t denote the EMA-filtered 3D positions of the parent and child landmarks, respectively. The reference length of each bone is estimated as the median bone length over valid frames:
l ¯ i j = median t l i j t .
The median is used to reduce the influence of occasional outliers caused by invalid depth values, local depth noise, or temporary tracking instability.
Given the reference length l ¯ i j , the current bone vector is defined as
v i j t = P ^ j t P ^ i t .
The fully projected child landmark position is computed by preserving the current bone direction while enforcing the reference bone length:
P j , proj t = P ^ i t + l ¯ i j v i j t v i j t 2 .
To avoid over-constraining the reconstructed motion, a correction strength λ is introduced:
P j , corr t = ( 1 λ ) P ^ j t + λ P j , proj t .
When λ = 0 , no bone-length correction is applied. When λ = 1 , the child landmark is fully projected onto the reference bone length. In the experiments, two correction strengths are evaluated: λ = 0.5 and λ = 1.0 , denoted as BL0.5 and BL1, respectively. BL0.5 applies a moderate correction toward the reference bone length, whereas BL1 fully enforces the reference length. These two settings are compared to analyze the trade-off between skeletal consistency and motion preservation.

2.10. Dataset and Evaluation Metrics

2.10.1. SVO Dataset Collection and Scenario Design

A self-collected SVO dataset was built to evaluate the proposed RGB-D hand landmark measurement pipeline under different hand poses and motion conditions. During recording, the camera position, background, illumination, and hand motion region were kept consistent. All sequences were recorded using the right hand of the same subject. Each sequence started and ended with a short stable posture to reduce the influence of transient motion at the sequence boundaries.
The dataset contains 13 hand actions, and each action was recorded twice as t1 and t2, resulting in 26 SVO sequences. The actions were designed to cover four types of scenarios: static postures, dynamic motions, self-occlusion cases, and recovery cases. The static sequences were used to evaluate basic depth stability under limited motion, while the dynamic, occlusion, and recovery sequences were used to examine the behavior of the proposed pipeline under more challenging conditions. Table 1 summarizes the recorded actions and their purposes.
For controlled ablation, each SVO sequence was processed using the compared configurations while keeping the input RGB images, depth maps, and temporal order unchanged. The depth sampling experiment compared px, win3, and win5. The temporal filtering experiment was then performed on the selected depth sampling output using EMA parameters of 0.3, 0.5, and 0.7. Finally, the bone-length consistency experiment evaluated two correction strengths, BL0.5 and BL1. This experimental design allowed the contribution of each module to be analyzed separately.
It should be noted that the current dataset is used for preliminary system validation rather than for large-scale benchmark evaluation. Since no external motion-capture ground truth was used, the evaluation focuses on detection availability, depth availability, temporal stability, skeletal consistency, and motion preservation.

2.10.2. Evaluation Metrics

Several metrics were used to evaluate the depth sampling strategies and the subsequent optimization modules. Detection rate and valid-depth ratio measure the availability of hand landmark detection and stereo depth acquisition. The Z-axis standard deviation, temporal smoothness, and bone-length standard deviation measure the stability of the reconstructed 3D landmark sequence. The path-length ratio measures motion preservation after filtering or correction, and the correction displacement quantifies the magnitude of the bone-length correction. All depth-related and 3D geometric metrics are reported in millimeters.
Let T denote the number of frames in a sequence and N l = 21 denote the number of MediaPipe hand landmarks. The detection rate is defined as
R det = 1 T t = 1 T I det t ,
where I det t = 1 if the hand is detected at frame t, and  I det t = 0 otherwise.
For detected frames, the valid-depth ratio is defined as
R valid = 1 T d N l t = 1 T d i = 1 N l I valid t , i ,
where T d is the number of detected frames and I valid t , i = 1 if the i-th landmark has a valid depth value at frame t.
The Z-axis standard deviation is used to evaluate depth-direction jitter:
σ Z = 1 N l i = 1 N l std t Z i t ,
where Z i t is the depth coordinate of the i-th landmark at frame t.
Temporal smoothness is computed using the second-order difference of the 3D landmark trajectory:
S temp = 1 N l ( T d 2 ) i = 1 N l t = 2 T d 1 P i t + 1 2 P i t + P i t 1 2 .
A lower value indicates a smoother local trajectory.
For a bone connecting landmarks i and j, the bone length at frame t is defined as
l i j t = P j t P i t 2 .
The bone-length standard deviation is then computed as
σ bone = 1 | B | ( i , j ) B std t l i j t ,
where B denotes the bone set defined by the MediaPipe hand topology. A lower value indicates better temporal skeletal consistency.
To evaluate whether temporal filtering or structural correction excessively changes the original motion, the path-length ratio is computed as
R path = i = 1 N l t = 2 T d P i , out t P i , out t 1 2 i = 1 N l t = 2 T d P i , base t P i , base t 1 2 ,
where P i , base t and P i , out t denote the baseline and processed trajectories, respectively. A value closer to 1 indicates better preservation of the original trajectory length.
For bone-length correction, the correction displacement is defined as
D corr = 1 N l T d i = 1 N l t = 1 T d P i , corr t P i , in t 2 ,
where P i , in t and P i , corr t are the landmark positions before and after bone-length correction. A lower value indicates a smaller correction magnitude.
Table 2 summarizes the metrics used in the experiments and their preferred directions.

2.11. Statistical Analysis

Because the number of evaluated sequences was limited and normality could not be assumed, paired Wilcoxon signed-rank tests were used to compare sequence-level metrics between paired methods. For the depth sampling experiment, paired tests were performed between the single-pixel baseline and the 5 × 5 local median sampling strategy using valid-depth ratio, Z-axis standard deviation, temporal smoothness, and bone-length standard deviation. For the temporal filtering comparison, paired tests were performed among the unfiltered win5 baseline, EMA0.7, and the 1 Euro Filter. For each statistical test, only sequences with valid paired metric values were included. Therefore, the effective sample size N is reported for each comparison.

2.12. Runtime Evaluation

Runtime was evaluated during offline SVO playback on the same workstation used for the experiments. The processing time per frame and the corresponding processing FPS were recorded for the win5 reconstruction stage. In addition, the computational overhead introduced by EMA0.7 and the 1 Euro Filter was measured separately. The runtime analysis was used to evaluate the computational cost of the proposed lightweight post-processing modules. It should be noted that the implementation was evaluated in offline SVO playback mode and was not specifically optimized for real-time deployment.

2.13. Calibrated Reference-Distance Validation

To provide an external metric reference for the RGB-D reconstruction component, a calibrated checkerboard was used for reference-distance validation. The checkerboard contained 12 × 9 squares, corresponding to 11 × 8 inner corners, and the measured square size was 15.0 mm. The board was fixed on a planar support and recorded by the ZED2 camera at five camera-to-board settings, including frontal and tilted viewpoints.
For each recorded SVO sequence, checkerboard inner corners were detected in the left camera image using OpenCV. The aligned ZED2 depth map was then used to obtain the metric depth value at each detected corner. To remain consistent with the selected win5 setting in the hand landmark experiments, a  5 × 5 local median depth sampling strategy was applied around each detected checkerboard corner. Each corner was then back-projected into the left-camera coordinate system using the ZED2 intrinsic parameters.
Pairwise 3D distances between selected reconstructed checkerboard corners were compared with their known physical distances computed from the measured square size. The mean absolute error (MAE), root mean square error (RMSE), mean signed error, error standard deviation, median absolute error, and maximum absolute error were calculated. This validation experiment was designed to evaluate the metric depth sampling and 3D back-projection component using calibrated reference distances, rather than to claim full articulated hand-pose ground-truth accuracy.

3. Results

3.1. Comparison of Depth Sampling Strategies

The first experiment compares three landmark-level depth sampling strategies: single-pixel sampling (px), 3 × 3 local median sampling (win3), and  5 × 5 local median sampling (win5). The purpose of this experiment is to evaluate how the local depth sampling scale affects depth availability, depth-direction stability, temporal continuity, and skeletal consistency. All three strategies use the same MediaPipe detection results, ZED2 depth maps, and back-projection model; therefore, the differences in the results are caused only by the depth sampling strategy.
Table 3 presents the overall quantitative results. The detection rates are identical because the sampling strategy is applied after MediaPipe hand detection and does not affect the detection stage. Compared with px, both win3 and win5 slightly increase the valid-depth ratio and reduce the temporal smoothness metric. Among the three strategies, win5 obtains the highest average valid-depth ratio and the lowest average temporal smoothness value in the overall comparison. The differences in Z-axis standard deviation and bone-length standard deviation are relatively small, indicating that local median sampling mainly affects landmark-level depth availability and short-term temporal continuity.
Figure 2 compares the Z-axis jitter under static scenarios. The three strategies show similar distributions, suggesting that single-pixel sampling can already provide relatively stable depth measurements when the hand remains still and occlusion is limited. Therefore, static scenarios mainly verify the basic stability of the depth acquisition process, while more challenging scenarios are needed to further compare the sampling strategies.
The outliers in Figure 2 mainly reflect occasional large depth-direction deviations in otherwise static sequences. Such deviations are likely caused by local stereo depth holes, boundary fluctuations near fingertips or finger edges, and small MediaPipe landmark localization variations. Therefore, these outliers indicate local instability in landmark-level RGB-D reconstruction rather than global hand motion. This observation further supports the use of local median depth sampling to reduce the influence of isolated invalid or unstable depth pixels.
To further evaluate the sampling strategies under more difficult conditions, six representative scenarios were selected, including fine pinching, boundary-view placement, wrist rotation, finger opening and closing, self-occlusion, and rapid motion. Figure 3 shows the valid-depth ratio in these scenarios. In several cases, win3 and win5 achieve higher or more stable valid-depth ratios than px, indicating that local-window sampling can compensate for invalid depth values at individual landmark pixels. However, the improvement in valid-depth ratio is relatively small in magnitude, and it should be interpreted together with temporal smoothness and statistical testing rather than as a standalone indicator of reconstruction accuracy.
Figure 4 reports the temporal smoothness results in the selected challenging scenarios. win5 yields lower smoothness values in most selected cases, indicating better temporal continuity among the three strategies under challenging hand motion and occlusion conditions.
Figure 5 compares the bone-length stability under different depth sampling strategies. The differences among the three strategies are relatively limited, suggesting that local depth sampling alone does not explicitly enforce skeletal structural consistency. Nevertheless, the result provides a useful reference for evaluating whether the depth sampling strategy affects the temporal stability of the reconstructed hand skeleton.
Table 4 summarizes the number of best-performing sequences under different evaluation metrics. Tied best values are counted for all corresponding methods. win5 obtains the largest number of best-performing sequences in valid-depth ratio and temporal smoothness, and it also shows more favorable results in bone-length standard deviation than the other two strategies. In contrast, px performs better in Z-axis standard deviation for some sequences, suggesting that single-pixel sampling can still be stable in certain static or locally stable cases.
Overall, win5 provides the most favorable average performance in depth availability and temporal continuity among the three sampling strategies. Although local depth sampling alone does not explicitly constrain the hand skeleton, win5 also shows relatively favorable bone-length stability in the sequence-level comparison. Therefore, win5 is used as the depth sampling configuration for the subsequent temporal filtering and bone-length constraint experiments.
To further clarify whether the observed 5 × 5 sampling improvement was statistically supported, paired Wilcoxon signed-rank tests were performed between the single-pixel sampling baseline px and the win5 strategy using sequence-level metrics. The tests were performed on 11 valid paired segments with available metrics. Table 5 summarizes the results. The temporal smoothness metric was significantly reduced by win5 compared with px ( p = 0.001953 ), indicating improved temporal continuity. However, the differences in valid-depth ratio, Z-axis standard deviation, and bone-length standard deviation were not statistically significant. Therefore, the  5 × 5 sampling strategy is interpreted as providing a modest but statistically supported improvement in temporal continuity, rather than a large overall accuracy gain.

3.2. Calibrated Reference-Distance Validation Results

To provide an external metric reference for the RGB-D reconstruction component, calibrated checkerboard-based reference-distance validation was performed. Five SVO sequences were recorded at different camera-to-board distances and viewpoints. The checkerboard was successfully detected in all processed frames, and the mean valid corner ratio was 1.000.
Table 6 summarizes the validation results. Across 542,276 valid pairwise distance measurements, the proposed win5-based depth sampling and 3D back-projection produced an overall MAE of 0.181 mm and an RMSE of 0.225 mm. The mean signed error was 0.150 mm, indicating a slight underestimation of the reconstructed reference distances. The maximum absolute error was 1.099 mm. These results indicate that the metric depth sampling and camera back-projection component can recover calibrated reference distances with sub-millimeter average error under the tested indoor conditions.
Figure 6 shows the distribution of absolute distance errors under different calibrated reference distances.
The error increased slightly with the reference distance. The MAE increased from 0.117 mm at 15 mm to 0.279 mm at 60 mm, which is consistent with the accumulation of metric reconstruction error over longer pairwise distances. This experiment provides an external calibrated reference for the metric RGB-D reconstruction component. However, because the checkerboard is a rigid planar target, this validation does not replace motion-capture-level ground truth for articulated hand landmarks.

3.3. Evaluation of EMA Temporal Filtering

The second experiment evaluates the effect of EMA-based temporal filtering on the 3D hand landmark trajectories. Based on the previous depth sampling experiment, win5 is used as the input configuration. Three EMA parameters, 0.3, 0.5, and 0.7, are compared with the unfiltered win5 baseline. The purpose of this experiment is to analyze the trade-off between trajectory smoothing and motion preservation.
Table 7 presents the overall quantitative results. Compared with the unfiltered win5 baseline, all EMA settings reduce the temporal smoothness metric, indicating that EMA filtering can suppress frame-to-frame fluctuations in the reconstructed 3D trajectories. Among the three filtered results, EMA 0.3 obtains the lowest temporal smoothness value, decreasing the metric from 1.6902 mm to 0.4950 mm. However, its path-length ratio is only 0.5622, indicating a clear reduction in the reconstructed trajectory length.
EMA 0.7 provides a weaker smoothing effect than EMA 0.3 and EMA 0.5, but it better preserves the original motion trajectory. Specifically, EMA 0.7 reduces the temporal smoothness metric from 1.6902 mm to 1.0995 mm while maintaining a path-length ratio of 0.7999. This result suggests that EMA 0.7 provides a more balanced setting between jitter suppression and motion preservation.
Figure 7 compares the overall temporal smoothness values. The smoothness metric decreases as the EMA parameter becomes smaller, confirming that a smaller α produces stronger temporal smoothing. However, this improvement in smoothness should be interpreted together with the path-length ratio, because stronger smoothing may also attenuate valid hand motion.
A representative Z-axis trajectory of the index fingertip from the B4 sequence is shown in Figure 8. The unfiltered win5 trajectory contains local fluctuations. EMA 0.3 produces the smoothest curve, but it also shows visible lag and amplitude attenuation during rapid depth changes. EMA 0.7 follows the original trajectory more closely while still reducing high-frequency fluctuations. This observation is consistent with the path-length ratio results in Table 7.
Table 8 reports the number of best-performing sequences under different temporal filtering metrics. EMA 0.3 obtains the best temporal smoothness in all evaluated sequences, while the unfiltered win5 baseline best preserves the trajectory length. EMA 0.7 does not achieve the strongest smoothing, but it provides better motion preservation than EMA 0.3 and EMA 0.5.
Overall, EMA 0.3 provides the strongest jitter suppression but also causes substantial motion attenuation. EMA 0.7 provides a more practical trade-off between temporal smoothness and motion preservation. Therefore, EMA 0.7 is used in the subsequent bone-length consistency experiment.

3.4. Comparison with the 1 Euro Filter

To further evaluate the selected EMA filtering strategy, an additional lightweight temporal filtering baseline, the 1 Euro Filter, was implemented and compared with EMA0.7 using the same win5 reconstructed trajectories. All 26 reconstructed SVO sequences were processed by the compared filters. This additional filtering-baseline comparison was computed from the reprocessed win5 trajectories generated for the revision experiments. Therefore, the values in this subsection are used to compare the temporal filters under the same reprocessed input condition, whereas the earlier EMA ablation summarizes the original module-level temporal filtering experiment. For statistical testing, sequence-level metrics with insufficient valid paired samples or missing values were excluded, and the effective sample size N is reported in the statistical comparison table. In the present filtering comparison, the Wilcoxon tests for smoothness, Z-axis standard deviation, bone-length standard deviation, and path-length ratio were performed on 23 valid paired sequences.
Table 9 summarizes the overall comparison. Compared with the unfiltered win5 baseline, both EMA0.7 and the 1 Euro Filter reduced the temporal smoothness metric. The 1 Euro Filter produced the strongest smoothing effect, reducing the temporal smoothness metric from 1.321 mm to 0.196 mm. However, its path-length ratio decreased to 0.484, indicating substantial motion attenuation. In contrast, EMA0.7 reduced the temporal smoothness metric to 0.826 mm while maintaining a higher path-length ratio of 0.803. Therefore, EMA0.7 was retained as the final temporal filtering setting because it provided a more balanced trade-off between jitter suppression and motion preservation.
The Wilcoxon signed-rank test further confirmed the filtering effect. EMA0.7 significantly reduced the temporal smoothness metric compared with the win5 baseline. The 1 Euro Filter also significantly reduced the temporal smoothness metric compared with both win5 and EMA0.7. However, the path-length ratio was also significantly lower for the 1 Euro Filter than for EMA0.7, confirming stronger motion attenuation. Table 10 summarizes the paired statistical comparison results.

3.5. Evaluation of Bone-Length Consistency Constraint

The third experiment evaluates the effect of the bone-length consistency constraint. Based on the previous experiments, win5+EMA0.7 is used as the input configuration. Two correction strengths are compared: BL0.5 and BL1. The purpose of this experiment is to analyze whether the bone-length constraint can improve skeletal consistency while preserving the reconstructed hand motion.
Table 11 presents the overall quantitative results. In this experiment, win5+EMA0.7 is used as the baseline, and BL0.5 and BL1 are applied on top of this baseline. Compared with the baseline, both BL0.5 and BL1 reduce the bone-length standard deviation. BL0.5 reduces the bone-length standard deviation from 2.0727 mm to 1.1995 mm, while BL1 further reduces it to 0.1915 mm. This indicates that the bone-length constraint effectively improves skeletal structural consistency.
However, stronger correction also introduces larger trajectory modification. Compared with BL0.5, BL1 produces a higher temporal smoothness value, a larger path-length ratio, and a larger correction displacement. Specifically, the correction displacement increases from 0.5571 mm for BL0.5 to 1.8347 mm for BL1. These results suggest that full bone-length projection can over-constrain the reconstructed hand motion, whereas BL0.5 provides a more moderate correction.
Figure 9 compares the overall bone-length standard deviation under different constraint settings. Both BL0.5 and BL1 reduce bone-length variation compared with the baseline, and the reduction is most pronounced for BL1.
Figure 10 shows the temporal variation in the distal bone length of the index finger in the B4 sequence. The baseline curve exhibits noticeable fluctuations during dynamic finger motion. BL0.5 suppresses large bone-length deviations while preserving the general temporal trend. In contrast, BL1 almost enforces a constant bone length throughout the sequence, indicating stronger structural correction but reduced flexibility in representing local motion variations.
Table 12 reports the number of best-performing sequences under different bone-length constraint settings. Tied best values are counted for all corresponding methods. BL1 obtains the best bone-length standard deviation in all evaluated sequences, confirming its strong structural correction effect. However, BL0.5 obtains more best-performing sequences in temporal smoothness. The baseline achieves the best path-length ratio and correction displacement because no correction is applied.
Overall, BL1 provides the strongest bone-length consistency but also introduces larger trajectory modification. BL0.5 provides a better trade-off between skeletal consistency and motion preservation. Therefore, BL0.5 is used as the bone-length correction setting in the final pipeline.

3.6. Overall Evaluation of the Complete Pipeline

The final experiment evaluates the overall effect of the complete pipeline. Three configurations are compared: win5, win5+EMA0.7, and win5+EMA0.7+BL0.5. The win5 configuration represents the output after local median depth sampling and 3D back-projection. The win5+EMA0.7 configuration further applies temporal filtering, and the win5+EMA0.7+BL0.5 configuration additionally applies the bone-length consistency constraint.
Table 13 summarizes the overall results. Compared with win5, adding EMA 0.7 reduces the temporal smoothness metric from 1.6902 mm to 1.0995 mm, corresponding to a reduction of approximately 34.9%. This indicates that temporal filtering mainly improves trajectory continuity by suppressing frame-to-frame fluctuations. The Z-axis standard deviation is also slightly reduced from 8.0328 mm to 7.9664 mm.
After applying BL0.5, the bone-length standard deviation decreases from 2.0727 mm to 1.1995 mm, corresponding to a reduction of approximately 42.1%. This indicates that the bone-length consistency constraint mainly improves skeletal structural stability. The temporal smoothness value changes only slightly from 1.0995 mm to 1.1127 mm, suggesting that moderate bone-length correction does not substantially degrade trajectory smoothness. The Z-axis standard deviation increases slightly from 7.9664 mm to 8.1059 mm, indicating that the structural correction primarily affects skeletal consistency rather than depth-direction jitter.
Overall, the three modules contribute to different aspects of the final output. Local median depth sampling provides the landmark-level metric depth for 3D reconstruction, EMA filtering improves temporal continuity, and the bone-length consistency constraint reduces temporal skeletal variation. The final configuration, win5+EMA0.7+BL0.5, provides a balanced setting for stable RGB-D-based 3D hand landmark reconstruction in the evaluated SVO sequences.

3.7. Runtime Analysis

Runtime analysis was performed during offline SVO playback on the experimental workstation. The win5 reconstruction stage required 20.45 ms per frame on average, corresponding to approximately 51.20 FPS. The additional computational overhead introduced by the temporal filtering modules was small. EMA0.7 required 0.130 ms per frame, while the 1 Euro Filter required 0.151 ms per frame. Table 14 summarizes the runtime analysis results.
These results indicate that the computational cost of the additional filtering modules is negligible compared with the RGB-D reconstruction stage. However, the current implementation was evaluated in offline SVO playback mode and was not specifically optimized for real-time deployment.

4. Discussion

4.1. Effect of Local Depth Sampling

The results show that local median depth sampling mainly improves landmark-level depth availability and temporal continuity. Compared with single-pixel sampling, win3 and win5 can use neighboring valid depth values when the center pixel is invalid or affected by local noise. This is particularly useful near fingertips, hand boundaries, and partial self-occlusion regions, where stereo depth maps are more likely to contain holes or foreground–background discontinuities.
However, the advantage of win5 should not be interpreted as universal superiority across all metrics. In the overall comparison, win5 provides the highest valid-depth ratio and the lowest temporal smoothness value, but px still obtains better Z-axis standard deviation in some sequences. This suggests that single-pixel sampling can be competitive when the hand surface is locally stable and the landmark falls on a valid depth region. Therefore, the main benefit of win5 is not absolute depth stabilization in every case, but improved robustness to invalid or locally unstable depth measurements.

4.2. Trade-Off Between Temporal Smoothing and Motion Preservation

Temporal filtering effectively reduces frame-to-frame fluctuations in the reconstructed 3D landmark trajectories, but stronger smoothing may also attenuate valid hand motion. The comparison among EMA settings showed that smaller EMA parameters produced smoother trajectories but lower path-length ratios. This indicates that the smoothest trajectory is not necessarily the most useful output for hand motion sensing, because excessive smoothing may suppress rapid finger motion, delay response, or distort motion amplitude.
The additional comparison with the 1 Euro Filter further supports this interpretation. The 1 Euro Filter produced the strongest smoothing effect among the compared lightweight filtering methods, but its path-length ratio decreased to 0.484, indicating substantial motion attenuation. In contrast, EMA0.7 provided a less aggressive smoothing effect while maintaining a higher path-length ratio of 0.803. Therefore, EMA0.7 was selected not because it produced the lowest temporal smoothness metric, but because it provided a more practical balance between jitter suppression and motion preservation in the evaluated sequences.

4.3. Effect of Bone-Length Consistency Constraint

The bone-length consistency constraint mainly improves the skeletal stability of the reconstructed hand sequence. Since each 3D landmark is independently reconstructed from the sampled depth value, local depth fluctuations may cause the reconstructed bone lengths to vary over time. By estimating a sequence-level reference bone length and correcting child landmarks along the current bone direction, the proposed constraint reduces this temporal skeletal variation.
The comparison between BL0.5 and BL1 further shows the trade-off between structural consistency and motion preservation. BL1 enforces the strongest bone-length consistency and achieves the lowest bone-length standard deviation. However, it also introduces a larger correction displacement and a higher path-length ratio, indicating that the reconstructed trajectory is more strongly modified. In contrast, BL0.5 reduces the bone-length standard deviation from 2.0727 mm to 1.1995 mm while keeping the correction displacement relatively small. Therefore, BL0.5 is more suitable as a moderate structural correction setting for the final RGB-D sensing front-end.
It should be emphasized that the reduced bone-length variation should be interpreted as improved temporal skeletal consistency rather than improved absolute 3D landmark accuracy. Since the bone-length constraint explicitly modifies child landmark positions along the current bone direction, it may also alter the reconstructed motion. Therefore, the correction strength should be selected as a trade-off between structural consistency and motion preservation.

4.4. Difference from Learning-Based Hand Pose Estimation

The proposed method is not intended to replace learning-based 3D hand pose estimation models, including recent RGB-D fusion and topology-aware hand pose estimation methods [14,19]. Learning-based methods based on voxel representations, point clouds, compact pose priors, or parametric hand models are usually designed to predict complete 3D hand pose from RGB, depth, or RGB-D inputs. These methods are typically evaluated on benchmark datasets with ground-truth 3D annotations.
In contrast, this work focuses on a lightweight RGB-D sensing front-end that combines an existing semantic landmark detector with metric stereo depth measurements. The objective is to obtain stable metric 3D landmark trajectories through geometric back-projection and lightweight temporal and structural regularization, without training a new hand pose regression network. Therefore, the evaluation emphasizes depth availability, temporal stability, skeletal consistency, and motion preservation rather than benchmark-level pose accuracy. This positioning is consistent with the intended use of the proposed method as a practical front-end for low-cost hand motion measurement and interaction prototyping.

4.5. Practical Implications for Low-Cost RGB-D Hand Motion Sensing

The proposed pipeline provides a practical way to combine semantic RGB-based landmarks with metric stereo depth. MediaPipe contributes stable landmark semantics and a fixed hand topology, while the ZED2 camera provides metric depth for camera-frame 3D reconstruction. The local median sampling strategy improves the robustness of landmark-level depth acquisition, EMA filtering improves temporal continuity, and the bone-length constraint improves skeletal consistency.
Another practical advantage is that the method does not require additional model training or expensive marker-based motion capture equipment. The complete pipeline can be implemented using a commercial RGB-D stereo camera and open-source vision tools. This makes it suitable for low-cost hand motion measurement, human–computer interaction experiments, robot teleoperation front-end development, and preliminary hand motion analysis. Nevertheless, the current results should be interpreted as system-level stability validation rather than evidence of absolute 3D pose accuracy.

4.6. Limitations

Several limitations should be noted. First, the current hand-motion experiments were conducted on a self-collected dataset recorded from a single subject under controlled indoor conditions. This design was useful for controlled module-level ablation, but it does not fully evaluate generalization across different users, hand sizes, skin tones, lighting conditions, backgrounds, viewpoints, and camera-to-hand distances. Therefore, the current hand-motion results should be interpreted as preliminary system-level validation rather than large-scale benchmark evaluation.
Second, although the revised manuscript includes a checkerboard-based calibrated reference-distance validation experiment, this validation evaluates the metric depth sampling and 3D back-projection component using a rigid planar target. It does not provide motion-capture-level ground truth for articulated hand landmarks. Therefore, the reported hand-motion results mainly support improvements in depth availability, temporal stability, skeletal consistency, and motion preservation, rather than absolute 3D hand landmark accuracy. Future work should introduce motion-capture systems, calibrated wearable markers, or other external reference measurements to evaluate the absolute 3D error of articulated hand landmarks.
Third, severe occlusion and hand–object interaction remain challenging. When MediaPipe fails to detect landmarks or the ZED2 depth map contains large invalid regions, the proposed local depth sampling and post-processing modules cannot fully recover missing 3D information. In addition, the current bone-length constraint only enforces a simple skeletal consistency prior and does not model full hand kinematics, joint-angle limits, or object contact. Future work will include multi-subject validation, real-time deployment evaluation, stronger kinematic constraints, and more challenging manipulation scenarios.

5. Conclusions

This paper presented a low-cost RGB-D sensing front-end for stable RGB-D-based hand landmark reconstruction by combining MediaPipe semantic hand landmarks with ZED2 stereo depth. The proposed pipeline obtains landmark-level metric depth from the aligned stereo depth map, reconstructs 3D landmarks through camera back-projection, and further applies EMA-based temporal filtering and a bone-length consistency constraint to improve the temporal and structural stability of the reconstructed hand landmark sequence.
Experiments on a self-collected SVO dataset showed that the proposed modules contribute to different aspects of the final output. The 5 × 5 local median sampling strategy slightly improved depth availability and temporal continuity compared with single-pixel sampling, with statistical testing showing a significant reduction in the temporal smoothness metric. EMA 0.7 provided a practical trade-off between jitter suppression and motion preservation. The BL0.5 bone-length constraint reduced bone-length variation while introducing limited trajectory modification. The final configuration, win5+EMA0.7+BL0.5, provided a balanced setting for the evaluated RGB-D hand landmark sequences.
The current results should be interpreted as system-level evidence of improved temporal stability and skeletal consistency under controlled indoor conditions, rather than as full validation of absolute 3D hand landmark accuracy. Future work will include multi-subject validation, more diverse recording conditions, real-time deployment evaluation, and external ground-truth measurements such as calibrated markers or motion-capture systems to assess absolute 3D reconstruction error. In addition, stronger kinematic constraints and hand–object interaction modeling will be explored for more challenging manipulation scenarios.

Author Contributions

Conceptualization, L.P. and B.H.; methodology, L.P.; software, L.P.; validation, L.P. and T.L.; formal analysis, L.P.; investigation, L.P. and T.L.; resources, B.H.; data curation, L.P. and T.L.; writing—original draft preparation, L.P.; writing—review and editing, L.P., T.L. and B.H.; visualization, L.P.; supervision, B.H.; project administration, B.H.; funding acquisition, B.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Fujian Provincial Department of Science and Technology University–Industry–Research Joint Innovation Project, grant number 2023Y4019; the Fujian Provincial Health Technology Project, grant number 2024ZD01004; and the High-level Talent Training Program of Fujian Cancer Hospital, grant number 2024YNG01.

Institutional Review Board Statement

Ethical review and approval were waived for this study because the experiments only involved non-invasive hand motion recording from one of the authors and did not collect personally identifiable or clinical data.

Informed Consent Statement

Informed consent was obtained from the subject involved in the study.

Data Availability Statement

The processed data supporting the findings of this study are available from the corresponding author upon reasonable request. The raw SVO files are not publicly available due to their large file size.

Acknowledgments

The authors would like to thank the laboratory members for their support during the experimental setup and data collection. During the preparation of this manuscript, the authors used ChatGPT (OpenAI, GPT-5.5) for language editing, structural organization, and formatting assistance. The authors declare that generative artificial intelligence tools were not used for study design, data acquisition, data analysis, or the generation of scientific conclusions. All AI-assisted content was critically reviewed and verified by the authors to ensure its accuracy and integrity. The authors take full responsibility for the content of this manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
RGB-DRed–green–blue-depth
SVOStereo video object
EMAExponential moving average
BLBone-length constraint
HCIHuman–computer interaction

References

  1. Zimmermann, C.; Brox, T. Learning to Estimate 3D Hand Pose from Single RGB Images. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 4903–4911. [Google Scholar]
  2. Yuan, S.; Garcia-Hernando, G.; Stenger, B.; Moon, G.; Chang, J.Y.; Lee, K.M.; Molchanov, P.; Kautz, J.; Honari, S.; Ge, L.; et al. Depth-Based 3D Hand Pose Estimation: From Current Achievements to Future Goals. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 2636–2645. [Google Scholar]
  3. Moon, G.; Yu, S.I.; Wen, H.; Shiratori, T.; Lee, K.M. InterHand2.6M: A Dataset and Baseline for 3D Interacting Hand Pose Estimation from a Single RGB Image. In Proceedings of the Computer Vision—ECCV 2020; Springer: Berlin/Heidelberg, Germany, 2020; pp. 548–564. [Google Scholar] [CrossRef]
  4. Zhang, F.; Bazarevsky, V.; Vakunov, A.; Tkachenka, A.; Sung, G.; Chang, C.L.; Grundmann, M. MediaPipe Hands: On-device Real-time Hand Tracking. arXiv 2020, arXiv:2006.10214. [Google Scholar]
  5. Lugaresi, C.; Tang, J.; Nash, H.; McClanahan, C.; Uboweja, E.; Hays, M.; Zhang, F.; Chang, C.L.; Yong, M.G.; Lee, J.; et al. MediaPipe: A Framework for Building Perception Pipelines. arXiv 2019, arXiv:1906.08172. [Google Scholar] [CrossRef]
  6. Google AI Edge. Hand Landmarks Detection Guide. 2026. Available online: https://ai.google.dev/edge/mediapipe/solutions/vision/hand_landmarker (accessed on 29 April 2026).
  7. Amprimo, G.; Masi, G.; Pettiti, G.; Olmo, G.; Priano, L.; Ferraris, C. Hand Tracking for Clinical Applications: Validation of the Google MediaPipe Hand (GMH) and the Depth-Enhanced GMH-D Frameworks. Biomed. Signal Process. Control. 2024, 96, 106508. [Google Scholar] [CrossRef]
  8. Huang, L.; Zhang, B.; Guo, Z.; Xiao, Y.; Cao, Z.; Yuan, J. Survey on Depth and RGB Image-Based 3D Hand Shape and Pose Estimation. Virtual Real. Intell. Hardw. 2021, 3, 207–234. [Google Scholar] [CrossRef]
  9. Moon, G.; Chang, J.Y.; Lee, K.M. V2V-PoseNet: Voxel-to-Voxel Prediction Network for Accurate 3D Hand and Human Pose Estimation from a Single Depth Map. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 5079–5088. [Google Scholar] [CrossRef]
  10. Ge, L.; Cai, Y.; Weng, J.; Yuan, J. Hand PointNet: 3D Hand Pose Estimation Using Point Sets. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018; pp. 8417–8426. [Google Scholar] [CrossRef]
  11. Oberweger, M.; Lepetit, V. DeepPrior++: Improving Fast and Accurate 3D Hand Pose Estimation. In Proceedings of the IEEE International Conference on Computer Vision Workshops, Venice, Italy, 22–29 October 2017; pp. 585–594. [Google Scholar]
  12. Sun, X.; Wang, B.; Huang, L.; Zhang, Q.; Zhu, S.; Ma, Y. CrossFuNet: RGB and Depth Cross-Fusion Network for Hand Pose Estimation. Sensors 2021, 21, 6095. [Google Scholar] [CrossRef]
  13. Li, Y.; Xue, Z.; Wang, Y.; Ge, L.; Ren, Z.; Rodriguez, J. End-to-End 3D Hand Pose Estimation from Stereo Cameras. In Proceedings of the British Machine Vision Conference, Cardiff, UK, 9–12 September 2019; p. 161. [Google Scholar]
  14. Liu, X.; Ren, P.; Gao, Y.; Wang, J.; Sun, H.; Qi, Q.; Zhuang, Z.; Liao, J. Keypoint Fusion for RGB-D Based 3D Hand Pose Estimation. In Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, Canada, 20–27 February 2024; Volume 38, pp. 3756–3764. [Google Scholar] [CrossRef]
  15. Stereolabs. ZED 2: AI Stereo Camera. 2026. Available online: https://www.stereolabs.com/products/zed-2 (accessed on 29 April 2026).
  16. Stereolabs. Depth Sensing Overview. 2026. Available online: https://www.stereolabs.com/docs/depth-sensing (accessed on 29 April 2026).
  17. Casiez, G.; Roussel, N.; Vogel, D. 1 Euro Filter: A Simple Speed-Based Low-Pass Filter for Noisy Input in Interactive Systems. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, Austin, TX, USA, 5–10 May 2012; pp. 2527–2530. [Google Scholar] [CrossRef]
  18. Romero, J.; Tzionas, D.; Black, M.J. Embodied Hands: Modeling and Capturing Hands and Bodies Together. ACM Trans. Graph. 2017, 36, 245:1–245:17. [Google Scholar] [CrossRef]
  19. Liu, Y.; Fan, W.; Wang, C.; Wen, S.; Yang, X.; Zhang, Q.; Wei, X.; Zhou, D. GTIGNet: Global Topology Interaction Graphormer Network for 3D Hand Pose Estimation. Neural Netw. 2025, 185, 107221. [Google Scholar] [CrossRef] [PubMed]
  20. Wirth, V.; Liphardt, A.M.; Coppers, B.; Bräunig, J.; Heinrich, S.; Leyendecker, S.; Kleyer, A.; Schett, G.; Vossiek, M.; Egger, B.; et al. ShaRPy: Shape Reconstruction and Hand Pose Estimation from RGB-D with Uncertainty. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops, Paris, France, 2–3 October 2023; pp. 2625–2633. [Google Scholar]
  21. Hartley, R.; Zisserman, A. Multiple View Geometry in Computer Vision, 2nd ed.; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
  22. Gonzalez, R.C.; Woods, R.E. Digital Image Processing, 4th ed.; Pearson: New York, NY, USA, 2018. [Google Scholar]
  23. Szeliski, R. Computer Vision: Algorithms and Applications, 2nd ed.; Springer: Cham, Switzerland, 2022. [Google Scholar] [CrossRef]
  24. Smith, S.W. The Scientist and Engineer’s Guide to Digital Signal Processing; California Technical Publishing: San Diego, CA, USA, 1997. [Google Scholar]
Figure 1. Illustration of local depth sampling strategies for hand landmarks. (a) The px strategy uses only the depth value at the landmark center pixel. (b) The win3 strategy uses the median of valid depth values within a 3 × 3 neighborhood. (c) The win5 strategy uses the median of valid depth values within a 5 × 5 neighborhood.
Figure 1. Illustration of local depth sampling strategies for hand landmarks. (a) The px strategy uses only the depth value at the landmark center pixel. (b) The win3 strategy uses the median of valid depth values within a 3 × 3 neighborhood. (c) The win5 strategy uses the median of valid depth values within a 5 × 5 neighborhood.
Sensors 26 03730 g001
Figure 2. Comparison of Z-axis jitter under different depth sampling strategies in static scenarios. Outliers indicate frames or landmark trajectories with larger depth-direction deviations, which may be caused by local stereo depth holes, boundary fluctuations, or temporary landmark localization instability even under nominally static hand postures.
Figure 2. Comparison of Z-axis jitter under different depth sampling strategies in static scenarios. Outliers indicate frames or landmark trajectories with larger depth-direction deviations, which may be caused by local stereo depth holes, boundary fluctuations, or temporary landmark localization instability even under nominally static hand postures.
Sensors 26 03730 g002
Figure 3. Comparison of valid-depth ratio under different depth sampling strategies in representative challenging scenarios. The figure was reformatted with a non-overlapping legend to improve visual readability.
Figure 3. Comparison of valid-depth ratio under different depth sampling strategies in representative challenging scenarios. The figure was reformatted with a non-overlapping legend to improve visual readability.
Sensors 26 03730 g003
Figure 4. Comparison of temporal smoothness under different depth sampling strategies in representative challenging scenarios.
Figure 4. Comparison of temporal smoothness under different depth sampling strategies in representative challenging scenarios.
Sensors 26 03730 g004
Figure 5. Comparison of bone-length standard deviation under different depth sampling strategies.
Figure 5. Comparison of bone-length standard deviation under different depth sampling strategies.
Sensors 26 03730 g005
Figure 6. Distribution of absolute distance errors under different calibrated reference distances. The error increases slightly with the reference distance but remains below 0.3 mm in terms of MAE for all evaluated reference-distance groups.
Figure 6. Distribution of absolute distance errors under different calibrated reference distances. The error increases slightly with the reference distance but remains below 0.3 mm in terms of MAE for all evaluated reference-distance groups.
Sensors 26 03730 g006
Figure 7. Temporal smoothness comparison of different filtering settings.
Figure 7. Temporal smoothness comparison of different filtering settings.
Sensors 26 03730 g007
Figure 8. Index fingertip Z-axis trajectory under different EMA settings in the B4 sequence.
Figure 8. Index fingertip Z-axis trajectory under different EMA settings in the B4 sequence.
Sensors 26 03730 g008
Figure 9. Overall comparison of bone-length standard deviation under different bone-length constraint settings.
Figure 9. Overall comparison of bone-length standard deviation under different bone-length constraint settings.
Sensors 26 03730 g009
Figure 10. Temporal variation in index distal bone length under different bone-length constraint settings in the B4 sequence.
Figure 10. Temporal variation in index distal bone length under different bone-length constraint settings in the B4 sequence.
Sensors 26 03730 g010
Table 1. Experimental actions and scenarios in the self-collected SVO dataset.
Table 1. Experimental actions and scenarios in the self-collected SVO dataset.
CategoryIDAction NameScenario DescriptionDuration (s)RepsPurpose
StaticA1static_open_centerOpen hand at the frame center102Baseline stability
A2static_pinch_centerThumb–index pinch posture102Fingertip posture
A3static_half_fist_centerHalf-fist posture102Finger bending
A4static_open_edgeOpen hand near the image edge102Edge-view stability
DynamicB1move_left_rightLeft–right hand translation102Translation
B2move_near_farNear–far depth movement102Depth variation
B3rotate_wristFront-to-side wrist rotation102Viewpoint change
B4open_close_fingersRepeated finger opening and closing102Finger motion
OcclusionC1self_occlusion_sideSide rotation with self-occlusion102Self-occlusion
C2partial_occlusion_indexPartial index-finger occlusion102Partial occlusion
C3grasp_simple_objectSimple object grasping102Object interaction
RecoveryD1fast_motionRapid hand or finger motion82Fast motion
D2leave_and_returnHand leaving and re-entering frame82Re-detection
Table 2. Evaluation metrics used in the experiments.
Table 2. Evaluation metrics used in the experiments.
MetricFieldDescriptionPreference
Detection ratedetected_rateRatio of frames with successful MediaPipe hand detectionHigher
Valid-depth ratiomean_valid_depth_ratioRatio of detected landmarks with valid ZED2 depth valuesHigher
Z-axis std.mean_std_ZDepth-direction jitter of reconstructed 3D landmarksLower
Temporal smoothnessmean_smooth_xyzMean second-order difference of 3D landmark trajectoriesLower
Bone-length std.mean_bone_stdTemporal variation in reconstructed hand bone lengthsLower
Path-length ratiopath_length_ratioRatio of processed trajectory length to baseline trajectory lengthCloser to 1
Correction displacementmean_correctionMean landmark displacement introduced by bone-length correctionLower
Table 3. Overall quantitative results of different depth sampling strategies.
Table 3. Overall quantitative results of different depth sampling strategies.
MethodDetectionRateValid-DepthRatioZ-Std. (mm)Smoothness(mm)Bone Std.(mm)
px0.80580.97318.03071.71632.2263
win30.80580.97368.03271.70232.2366
win50.80580.97388.03281.69022.2388
Note: Higher values are preferred for detection rate and valid-depth ratio, whereas lower values are preferred for Z-std., smoothness, and bone std. Bold values indicate the best-performing result for each metric.
Table 4. Number of best-performing sequences under different evaluation metrics.
Table 4. Number of best-performing sequences under different evaluation metrics.
MetricCriterionNpxwin3win5
Valid-depth ratioHigher1191011
Z-axis std.Lower11533
Temporal smoothnessLower110110
Bone-length std.Lower11326
Table 5. Paired Wilcoxon signed-rank test results for the 5 × 5 local median depth sampling strategy compared with single-pixel sampling.
Table 5. Paired Wilcoxon signed-rank test results for the 5 × 5 local median depth sampling strategy compared with single-pixel sampling.
MetricN Valid PairsMean Differencep-Value
Valid-depth ratio11 + 0.000759 0.500000
Z-axis std.11 + 0.002159 mm0.577148
Smoothness11 0.026197 mm0.001953
Bone std.11 + 0.012485 mm0.413086
Note: N denotes the number of valid paired segments used in the paired Wilcoxon signed-rank test. Two segments with missing sequence-level metric values were excluded from the statistical comparison.
Table 6. Calibrated reference-distance validation results using the checkerboard board.
Table 6. Calibrated reference-distance validation results using the checkerboard board.
MetricValue
Number of SVO sequences5
Number of valid distance measurements542,276
Mean valid corner ratio1.000
MAE0.181 mm
RMSE0.225 mm
Mean signed error 0.150 mm
Error std.0.168 mm
Median absolute error0.156 mm
Maximum absolute error1.099 mm
Table 7. Overall quantitative results of temporal filtering.
Table 7. Overall quantitative results of temporal filtering.
MethodZ-Std.SmoothnessBone Std.Path Ratio
(mm) (mm) (mm)
win58.03281.69022.23881.0000
EMA 0.37.77730.49502.29340.5622
EMA 0.57.90340.78022.18410.6819
EMA 0.77.96641.09952.16810.7999
Table 8. Number of best-performing sequences under different temporal filtering metrics.
Table 8. Number of best-performing sequences under different temporal filtering metrics.
MetricCriterionNwin5EMA 0.3EMA 0.5EMA 0.7
Z-axis std.Lower115600
Temporal smoothnessLower1101100
Bone-length std.Lower111712
Path-length ratioCloser to 11313000
Table 9. Comparison between EMA0.7 and the 1 Euro Filter using the win5 reconstructed trajectories.
Table 9. Comparison between EMA0.7 and the 1 Euro Filter using the win5 reconstructed trajectories.
MethodZ-Std.SmoothnessBone Std.Path RatioOverhead
(mm) (mm) (mm) (ms/Frame)
win5 raw7.3991.3211.7901.0000.000
EMA0.77.3130.8261.6930.8030.130
1 Euro Filter7.0060.1961.6780.4840.151
Table 10. Paired Wilcoxon signed-rank test results for temporal filtering comparison.
Table 10. Paired Wilcoxon signed-rank test results for temporal filtering comparison.
ComparisonMetricNp-Value
EMA0.7 vs. win5 rawSmoothness23 2.38 × 10 7
EMA0.7 vs. win5 rawPath ratio23 2.38 × 10 7
1 Euro vs. win5 rawSmoothness23 2.38 × 10 7
1 Euro vs. win5 rawPath ratio23 2.38 × 10 7
1 Euro vs. EMA0.7Smoothness23 2.38 × 10 7
1 Euro vs. EMA0.7Path ratio23 2.38 × 10 7
Table 11. Overall quantitative results of the bone-length consistency constraint.
Table 11. Overall quantitative results of the bone-length consistency constraint.
MethodZ-Std.SmoothnessBone Std.Path RatioCorrection
(mm) (mm) (mm) (mm)
Baseline7.96641.09952.07271.00000.0000
+BL0.58.10591.11271.19951.01570.5571
+BL18.65421.97170.19151.26821.8347
Table 12. Number of best-performing sequences under different bone-length constraint settings.
Table 12. Number of best-performing sequences under different bone-length constraint settings.
MetricCriterionNwin5+EMA0.7BL0.5BL1
Z-axis std.Lower11335
Temporal smoothnessLower11371
Bone-length std.Lower110011
Path-length ratioCloser to 1131300
Correction displacementLower131300
Table 13. Overall comparison of the complete RGB-D-based 3D hand landmark reconstruction pipeline.
Table 13. Overall comparison of the complete RGB-D-based 3D hand landmark reconstruction pipeline.
MethodZ-Std.SmoothnessBone Std.
(mm) (mm) (mm)
win58.03281.69022.2388
win5+EMA0.77.96641.09952.0727
win5+EMA0.7+BL0.58.10591.11271.1995
Table 14. Runtime analysis during offline SVO playback for the RGB-D reconstruction and temporal filtering modules.
Table 14. Runtime analysis during offline SVO playback for the RGB-D reconstruction and temporal filtering modules.
ModuleProcessing TimeEstimated FPS/Overhead
win5 reconstruction20.45 ms/frame51.20 FPS
EMA0.7 filtering0.130 ms/frameAdditional overhead
1 Euro Filter0.151 ms/frameAdditional overhead
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Peng, L.; Liu, T.; He, B. A Low-Cost RGB-D Sensing Front-End for Stable 3D Hand Landmark Reconstruction Using MediaPipe and ZED2 Stereo Depth. Sensors 2026, 26, 3730. https://doi.org/10.3390/s26123730

AMA Style

Peng L, Liu T, He B. A Low-Cost RGB-D Sensing Front-End for Stable 3D Hand Landmark Reconstruction Using MediaPipe and ZED2 Stereo Depth. Sensors. 2026; 26(12):3730. https://doi.org/10.3390/s26123730

Chicago/Turabian Style

Peng, Laixin, Tiansheng Liu, and Bingwei He. 2026. "A Low-Cost RGB-D Sensing Front-End for Stable 3D Hand Landmark Reconstruction Using MediaPipe and ZED2 Stereo Depth" Sensors 26, no. 12: 3730. https://doi.org/10.3390/s26123730

APA Style

Peng, L., Liu, T., & He, B. (2026). A Low-Cost RGB-D Sensing Front-End for Stable 3D Hand Landmark Reconstruction Using MediaPipe and ZED2 Stereo Depth. Sensors, 26(12), 3730. https://doi.org/10.3390/s26123730

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop