Skip to content

OpenMotionLabel

Marker labeling for optical motion capture: an alternative to the labeling part of Vicon Nexus. OpenMotionLabel reads unlabeled C3D files, labels the markers against a marker set (Plug-in Gait and CGM built in), lets you fix what it got wrong, fills gaps, finds gait events, and writes C3D files that Nexus, pyCGM2 and OpenSim accept.

The OpenMotionLabel window with a labeled walking trial

It runs on your own computer, on macOS, Windows or Linux. A small Python server does the work and the interface opens in your browser; no recording leaves the machine unless you set up remote access yourself.

pip install --pre openmotionlabel
oml example ~/oml-example
oml serve --root ~/oml-example

The quick start walks through a whole session.

What it does

  • Labels markers automatically: a static trial against a marker-set template, then the session's walking trials following the subject's static. Uncertain labels are flagged, and samples that no label fits for sure stay unlabeled instead of getting a doubtful label.
  • Lets you fix labels quickly: click a label, then a marker. Swap, split, unlabel and delete by frame range, with undo and redo. Every edit is logged, so a crash loses nothing and the same edits can be replayed from the command line.
  • Fills gaps: regression, rigid body, pattern, Woltring and spline fills, each previewed with the error it is expected to have, or "the best method" for every gap at once. Zero-lag Butterworth or smoothing-spline filtering on saving.
  • Finds gait events: foot strikes and foot offs from clean force-plate contacts, and from the heel, toe and pelvis markers for the other steps. Events can be moved on the timeline.
  • Shows the force plates: ground reaction forces at the centre of pressure, in 3D and in graphs.
  • Checks labels with the CGM (optional): with pyCGM2 installed, it calibrates CGM1.0 to 2.5 on the static, fits the trial, and reports what pyCGM2 found, including OpenSim's inverse kinematics for CGM2.2 to 2.5.
  • Keeps your files intact: C3D reading and writing is lossless (points, residuals, camera masks, analog channels, force plates, events, and every parameter group).
  • Works in batches: every step is also a command (oml label, oml fill, oml events, oml apply), for scripts and whole folders.

Status

Version 1.0.0rc1 is a release candidate. Labeling, editing, gap filling, events, the force plates and the pyCGM2 bridge work and are tested on macOS. Auto-labeling is reliable on the legs, pelvis and trunk; hand and wrist markers still need checking by eye, especially in statics. See Validation for the measurements and the known limitations, and the changelog for what changed.

Patient data

OpenMotionLabel is research software, not a medical device. Read Privacy and security before using it with patient recordings.