3D pose estimationScientific Reports

Computer vision for kinematic metrics of the drinking task in a pilot study of neurotypical participants

Two RGB cameras reconstruct upper-body motion during a drinking task

Justin Huber, Stacey Slone, Jihye Bae

One-minute overview

Two cameras record a seated drinking task. The computer vision pipeline detects shoulders, elbows and wrists in each view and triangulates their positions. The study filters the tracks, aligns them with a marker-based reference and computes three motion measures for each trial.

Why this paper is included

Metrics such as task duration can agree well on average even when instantaneous joint positions differ. The simultaneous comparison shows how much error remains at the joint level and in measurements derived from the reconstructed motion.

Problem, inputs and outputs

Arm and trunk movement must be reconstructed in 3D while hands approach the cup and face. Occlusion and jitter can affect instantaneous keypoints and threshold-based measures such as the start or end of a movement.

Inputs

  • Two calibrated frontal-oblique RGB video streams recorded at 60 frames per second
  • Simultaneous five-camera infrared marker-based recordings used as the comparison reference

Outputs

  • Time-varying 3D trajectories for shoulders, elbows and wrists
  • Movement time, number of movement units and trunk displacement calculated from filtered trajectories

Author figure

An annotated laboratory photo distinguishes two computer-vision cameras from the surrounding marker-based cameras and shows the axes beside the cup on the table.

Figure 2 · The authors’ Figure 2 shows the study’s capture layout. Blue arrows identify the two RGB cameras, red arrows identify the five infrared reference cameras, and the table marks the coordinate axes.

Figure credit · Justin Huber, Stacey Slone, Jihye Bae

Method pipeline

  1. Record the same movement with both systems

    Record each trial with two calibrated 1280 × 1024 RGB cameras at 60 frames per second and five infrared cameras tracking reflective markers. The RGB cameras view the seated participant from the front and above.

  2. Lift RGB landmarks into 3D

    Detect shoulder, elbow and wrist keypoints per view using a MediaPipe-based detector. Use known intrinsics and extrinsics with direct linear triangulation to recover the corresponding 3D positions.

  3. Align and filter the two tracks

    Align recordings at upper-limb movement onset and register reference frames with a rotation estimated by the Kabsch method. Apply metric-specific filtering to the computer vision trajectories.

  4. Compute the movement measures

    Derive movement units and movement duration from wrist motion, and estimate trunk displacement from the midpoint of the shoulders. Use a higher wrist-velocity threshold for timing in the computer vision branch to reduce the effect of jitter.

Key design choices

  • Compare simultaneous recordings

    Recording the same physical trial with both systems controls for repetition differences. The study matches detected wrist positions to marker positions at the wrist and compares shoulder-midpoint displacement across systems.

  • Evaluate positions and derived measures separately

    The protocol compares shoulder, elbow and wrist trajectories in a common global coordinate system. It separately tests the three motion measures after filtering and other metric-specific processing.

Reading the experiments

Datasets and splits
Ten neurotypical adult volunteers completed five trials each in one laboratory session. The motion includes reaching, bringing the cup to the mouth, drinking, returning the cup and returning the arm to its starting position.
Baselines
The comparison uses the simultaneously recorded five-camera Qualisys marker-based system. The two systems use anatomically corresponding landmarks where possible and different filtering for raw trajectories.
Metrics and units
Joint position accuracy uses 3D root mean square error (RMSE) in millimeters. The trial measures use counts for movement units, millimeters for trunk displacement and seconds for movement time. The paper reports mean differences and Bland–Altman limits of agreement.
Key results
Right-side RMSE was 52.3 ± 12.0 mm at the shoulder, 80.2 ± 14.8 mm at the elbow and 60.9 ± 10.6 mm at the wrist. Computer vision versus marker capture means were 4.42 versus 4.54 movement units, 33.63 versus 30.19 mm trunk displacement and 6.78 versus 6.63 s movement time.
Trade-offs
None of the three mean differences reached the study’s significance threshold. Trial-level limits of agreement still span −21.66 to 28.54 mm for trunk displacement and −1.33 to 1.63 s for movement time, so average agreement leaves substantial variation between measurements.

Limitations and applicability

  • Author-reported limitation

    The study uses a small neurotypical sample and one recording session per participant. Its video keypoints omit the fingers, and the sparse marker layout does not support all torso rotations or detailed inverse kinematics.

  • Editorial assessment

    The findings characterize one tuned dual-camera laboratory protocol. Its processing choices and the fixed seated task limit what can be inferred about general capture accuracy, repeated-session reliability or performance on movements absent from this study.

Sources and reading guide

The experiments are author-reported. The analysis labels editorial observations separately.