Repository navigation
Releases
HumanCalib 0.5.4
No code or data change.
Changed
- README, Validation: camera geometry, kinematics and the RTMPose comparison now cover the 97
trials ofpaper/results/(0.5.3 still showed the 77 trials of the first submission). The
kinematics table reports each chain in its own frame, the article's primary analysis, with
participant-level equivalence.docs/METHOD.md: the RTMPose summary moves to 97 trials. - Documentation brought in line with the 97-trial evaluation: the dataset is named I-MOVE-23
throughout, as inpaper/results/;HOWTO.md(MeTRAbs: 0 failures out of 97);docs/METHOD.md
(vertical error 0.6°, stature measured barefoot, about 0.6 % of scale per centimetre);
docs/EVALUATION_PROTOCOL.mdgains a status note: the protocol stays as written before the
results, and points to the final evaluation. - README: references of the five evaluation datasets (BioCV, I-MOVE-23, OpenCap, LBMC, COMFI),
of the optional backend (RTMPose, VideoPose3D) and of Pose2Sim and OpenSim.
HumanCalib 0.5.3
No code change.
Added
paper/results/: the article's evaluation grows from 77 to 97 trials. The 20 new trials come
from participants never opened during development (I-MOVE-23 subjects 14-25; BioCV P19, P24, P26
and P27) and are flagged by anout_of_samplecolumn. The rows of the 77 original trials are
unchanged.paper/results/: joint-angle RMSD for the HumanCalib-R chain (newenginecolumn), kinematics
against motion capture, stride length, speed and cadence, walking coverage, and scale inside the
walking volume.paper/results/: sensitivity to camera count, synchronisation, intrinsics and stature, and the
reference-free criterion perturbed on the 20 new trials.paper/results/: a simulated pathological gait (OpenCap trunk-sway walks, 27 trials), and the
list of the trials used during development.paper/results/: the analyses still at 77 trials now include the 20 out-of-sample trials: the
walking-duration sweep, the re-optimisation after perturbation, the scale-rule grid
(scale_rule_grid.csv) and the rig size change during bundle adjustment
(rig_size_change_during_adjustment.csv). The rows of the first submission are unchanged.
HumanCalib 0.5.2
Added
paper/results/: the per-trial results of the article (9 CSV files and a README; derived metrics
only, CC BY 4.0), so that each archived release carries them under the same DOI.
Fixed
- 0.5.1's entry counted 2 failed RTMPose calibrations: the second one, BioCV P18_WALK_02 (bystanders
in two cameras), had not finished; its bundle adjustment converged after about 3 h (0.54°).
Failures drop from 7 to 1 (COMFI 4665_StraightWalking). No code change.
HumanCalib 0.5.1
RTMPose backend: the cameras are now initialised like MeTRAbs', camera by camera. Failed
calibrations on the 77 evaluation trials drop from 7 to 2 (30 in 0.4); the calibrations that
succeeded with both initialisations are unchanged (median 1.37°, at most 0.13° apart).
Changed
- Linear initialisation, RTMPose backend (
calib_linear.place_in_camera): each lifted,
root-relative VideoPose3D pose is placed in its camera's space -- per frame, the pelvis
position that makes it reproject onto its own 2D keypoints, a linear least squares -- and
every camera is then aligned to a reference camera by Procrustes, the MeTRAbs path. A camera
only needs frames in common with the reference, where the orientation-based solve wanted
every bone seen by every camera at once, which 10-camera rigs rarely give.
HUMANCALIB_RTMPOSE_INIT=linearrestores the previous initialisation.
Fixed
- RTMPose's derived joints (neck, mid-hip) can be NaN with a confident score; the linear stage
now skips them when triangulating and when computing its reprojection error (MeTRAbs
unchanged).
HumanCalib 0.5.0
The RTMPose backend finds the walking person much more reliably: failed calibrations on the 77
evaluation trials drop from 30 to 7, with the same accuracy where both versions succeed (1.78°
median relative rotation before, 1.64° now). MeTRAbs is unchanged.
Changed
- Person selection, RTMPose backend: the leg swing that tells the walker from everyone else is
now measured in 3D, as for MeTRAbs. Each person's track is lifted by VideoPose3D (the
backend's own lifter) before selection (motion_selection.tracks,lifted_leg_speeds). The
3D swing decides who walks -- in the image, a passer-by crossing the view out-swings a
subject walking straight at the camera; a frame counts as walking when either the 2D or the
3D swing says so, so a camera keeps at least the frames it had. Against the gold-oracle
selection on 59 trials, wrong person 9.3 % -> 4.0 % of kept frames, and no camera is left
empty any more (10 COMFI straight walks had one, which is why they gave no calibration).
Same thresholds as before: nothing was tuned. Falls back to the 2D swing, with a warning,
when onnxruntime or the VideoPose3D model is unavailable.
Added
humancalib run --no_visualize: skips the evaluation images and 3D animations (the
reprojection errors are still computed); rendering dominated batch runs on slow disks.reselect_person --device: where VideoPose3D lifts the tracks for the selection.
HumanCalib 0.4.0
Ready for Pose2Sim's keypoints calibration (extrinsics_method = 'keypoints').
- Installs in recent Pose2Sim environments: numpy 2, Python 3.10 to 3.13. The [gpu] extra installs TensorFlow 2.20 on Linux (cuDNN 9, like onnxruntime-gpu); same accuracy as the validated environment.
- RTMPose backend without PyTorch: VideoPose3D runs on onnxruntime (same 3D poses as the PyTorch original to 2e-4, same calibrations). pip install "humancalib[rtmpose]".
- Native Windows: MeTRAbs can run from its own Python 3.10 environment (HUMANCALIB_METRABS_PYTHON=\python.exe), tested end to end with a Python 3.11 Pose2Sim environment.
- MeTRAbs retries with smaller batches when the GPU runs out of memory.
- results/summary.json: reprojection error per camera, for programs that call the pipeline.
Checked end to end in Pose2Sim on Linux and native Windows, up to OpenSim inverse kinematics. See CHANGELOG.md.
HumanCalib 0.3.1
Easier to install and to call from other software (e.g. Pose2Sim), on Linux, WSL2 and native Windows, with GPU pose extraction from a plain pip install.
pip install "humancalib[gpu]": TensorFlow with CUDA from pip on Linux/WSL2; on Windows, TensorFlow 2.10 in a conda environment with CUDA 11.8 + cuDNN 8.9. Same calibration as the validated environment.- Python API:
humancalib.calibrate(video_dir, intrinsics_toml, output_dir, height)returns the calibrated TOML. --ref_frameis optional (chosen automatically, as in the evaluation): only--heightis needed.- Exported TOML in Pose2Sim's convention (Z up) and .trc in OpenSim's (Y up).
- The MeTRAbs model is downloaded with a progress bar and resumed after an interruption.
- Frame budget (
--frame_budget 100) and linear-initialisation chunks in seconds: BioCV median relative rotation 0.62° → 0.43°, other datasets unchanged. --extract_fps 25: same accuracy, 2 to 8 times faster on video above 50 Hz.
See CHANGELOG.md for details.