Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
tags:
|
| 4 |
+
- biomechanics
|
| 5 |
+
- human-pose
|
| 6 |
+
- joint-contact-force
|
| 7 |
+
- smpl
|
| 8 |
+
- video
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# JCF — Joint Contact Forces from Monocular Video
|
| 12 |
+
|
| 13 |
+
Predicts 3D hip and knee joint contact forces from a monocular video, via SMPL
|
| 14 |
+
pose features (and optional frozen V-JEPA 2 video features). Accompanies
|
| 15 |
+
*"From Pixels to Newtons: Predicting In Vivo Joint Contact Forces from Monocular Video"* ([arXiv](https://arxiv.org/abs/2606.06631)) ·
|
| 16 |
+
code: [jeylau/jcf](https://github.com/jeylau/jcf).
|
| 17 |
+
|
| 18 |
+
## Files
|
| 19 |
+
- `model.pt` — force-predictor weights + architecture config
|
| 20 |
+
- `feat_stats.npz` — feature normalisation statistics (required)
|
| 21 |
+
- `text_vocab.json`, `text_embeddings.npy` — optional, for activity-label conditioning
|
| 22 |
+
|
| 23 |
+
## Usage
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
pip install git+https://github.com/jeylau/jcf.git
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
```python
|
| 30 |
+
from jcf import ForceModel
|
| 31 |
+
|
| 32 |
+
model = ForceModel.from_pretrained("jeylau/jcf")
|
| 33 |
+
result = model.predict("trial.npz", joint="knee", side="right")
|
| 34 |
+
result.forces # (T, 3) in bodyweight (BW) units; also .time, .sigma
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
`trial.npz` is a preprocessed SMPL sequence; see the repo for the video → features pipeline.
|
| 38 |
+
|
| 39 |
+
## Intended use & limitations
|
| 40 |
+
Research use only. Trained on the OrthoLoad
|
| 41 |
+
instrumented-implant cohort (26 patients, 25 activities) and evaluated zero-shot
|
| 42 |
+
on an independent cohort (the Grand Challenge knee load competition data) where
|
| 43 |
+
it matches or outperforms prior published methods. Accuracy
|
| 44 |
+
outside these tested conditions (other activities or populations)
|
| 45 |
+
is not guaranteed.
|
| 46 |
+
|
| 47 |
+
## Citation
|
| 48 |
+
```bibtex
|
| 49 |
+
@article{lauer2026pixels,
|
| 50 |
+
title = {From Pixels to Newtons: Predicting In Vivo Joint Contact Forces from Monocular Video},
|
| 51 |
+
author = {Jessy Lauer},
|
| 52 |
+
journal = {arXiv preprint arXiv:2606.06631},
|
| 53 |
+
year = {2026}
|
| 54 |
+
}
|
| 55 |
+
```
|