Install¶
OpenMotionLabel needs Python 3.10 or newer (3.10 to 3.13 are tested) on macOS, Windows or Linux, and a current browser. The interface is developed in Chrome and Edge; Firefox and Safari should work but are less tested.
With pip¶
In a terminal (on Windows: PowerShell or a command prompt), preferably in a virtual environment:
python -m venv oml-env
source oml-env/bin/activate
On Windows, activate it with oml-env\Scripts\activate instead. Then install:
pip install --pre openmotionlabel
--pre is needed while 1.0 is a release candidate. The package includes the browser
interface; there is nothing else to install. Check it with:
oml --version
With uv¶
uv runs it without a separate environment:
uvx --from openmotionlabel --prerelease allow oml serve --root /path/to/your/c3d/folder
Upgrading¶
pip install --pre --upgrade openmotionlabel
Your settings (~/.openmotionlabel/) and the edit logs next to your trials are kept.
Optional: pyCGM2¶
The CGM checks need pyCGM2 in a separate conda environment. Nothing else depends on it; see CGM checks with pyCGM2.
From source¶
git clone https://github.com/MotionFabric/OpenMotionLabel.git
cd OpenMotionLabel && python -m pip install -e ".[dev]"
cd frontend && npm ci && npm run build
Building the interface needs Node.js 20.19 or newer. Architecture explains how the parts fit together.