pymomentum-cpu 0.1.77.post30__cp313-cp313-manylinux_2_39_x86_64.whl → 0.1.78.post24__cp313-cp313-manylinux_2_39_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pymomentum-cpu might be problematic. Click here for more details.

Binary file
lib64/libaxel.a CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
lib64/libmomentum_io.a CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
lib64/libmomentum_math.a CHANGED
Binary file
Binary file
Binary file
lib64/libmomentum_rerun.a CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,121 @@
1
+ Metadata-Version: 2.1
2
+ Name: pymomentum-cpu
3
+ Version: 0.1.78.post24
4
+ Summary: A library providing foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications (CPU-only version for Linux, macOS Intel, and macOS ARM)
5
+ Keywords: kinematics,motion,optimization,human-motion,inverse-kinematics,forward-kinematics,body-tracking,motion-capture,character-animation,robotics,cpu
6
+ Author-Email: Meta Reality Labs Research <jeongseok@meta.com>
7
+ License: MIT
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Operating System :: POSIX :: Linux
13
+ Classifier: Operating System :: MacOS
14
+ Classifier: Programming Language :: C++
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: Implementation :: CPython
19
+ Classifier: Topic :: Scientific/Engineering
20
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
21
+ Classifier: Topic :: Scientific/Engineering :: Physics
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Project-URL: Homepage, https://github.com/facebookresearch/momentum
24
+ Project-URL: Documentation, https://facebookresearch.github.io/momentum/
25
+ Project-URL: Repository, https://github.com/facebookresearch/momentum
26
+ Project-URL: Bug tracker, https://github.com/facebookresearch/momentum/issues
27
+ Project-URL: Changelog, https://github.com/facebookresearch/momentum/releases
28
+ Requires-Python: <3.14,>=3.13
29
+ Requires-Dist: numpy>=1.20.0
30
+ Requires-Dist: scipy>=1.7.0
31
+ Requires-Dist: torch<2.9,>=2.8.0; platform_system == "Linux" and python_version == "3.12"
32
+ Requires-Dist: torch<2.9,>=2.8.0; platform_system == "Linux" and python_version == "3.13"
33
+ Requires-Dist: torch<2.3,>=2.2.0; platform_system == "Darwin" and python_version == "3.12"
34
+ Requires-Dist: torch<2.7,>=2.6.0; platform_system == "Darwin" and python_version == "3.13"
35
+ Description-Content-Type: text/markdown
36
+
37
+ # Momentum
38
+
39
+ [![CI Windows][ci-windows-badge]][ci-windows]
40
+ [![CI macOS][ci-macos-badge]][ci-macos]
41
+ [![CI Ubuntu][ci-ubuntu-badge]][ci-ubuntu]
42
+ [![Publish Website][website-badge]][website]
43
+
44
+ [ci-windows-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_windows.yml/badge.svg
45
+ [ci-windows]: https://github.com/facebookresearch/momentum/actions/workflows/ci_windows.yml
46
+ [ci-macos-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_macos.yml/badge.svg
47
+ [ci-macos]: https://github.com/facebookresearch/momentum/actions/workflows/ci_macos.yml
48
+ [ci-ubuntu-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_ubuntu.yml/badge.svg
49
+ [ci-ubuntu]: https://github.com/facebookresearch/momentum/actions/workflows/ci_ubuntu.yml
50
+ [website-badge]: https://github.com/facebookresearch/momentum/actions/workflows/publish_website.yml/badge.svg
51
+ [website]: https://github.com/facebookresearch/momentum/actions/workflows/publish_website.yml
52
+
53
+ Momentum provides foundational algorithms for human kinematic motion and
54
+ numerical optimization solvers to apply human motion in various applications.
55
+
56
+ <p align="center">
57
+ <img src="momentum/website/static/img/momentum_1.png" width="30%" alt="Forward and Inverse Kinematics with Interpretable Parameterization" />
58
+ <img src="momentum/website/static/img/momentum_3.png" width="30%" alt="RGBD Body Tracking Solver" />
59
+ <img src="momentum/website/static/img/momentum_4.png" width="30%" alt="Monocular RGB Body Tracking Solver" />
60
+ </p>
61
+
62
+ ## Quick Start
63
+
64
+ ### Installation
65
+
66
+ Pre-built binaries are available for Windows, macOS, and Linux:
67
+
68
+ ```bash
69
+ # Python (PyPI)
70
+ pip install pymomentum-cpu # CPU version
71
+ pip install pymomentum-gpu # GPU version with CUDA
72
+
73
+ # Python (Conda/Pixi)
74
+ pixi add pymomentum # Auto-detects GPU/CPU
75
+ conda install -c conda-forge pymomentum
76
+
77
+ # C++ (Conda/Pixi only)
78
+ pixi add momentum-cpp
79
+ conda install -c conda-forge momentum-cpp
80
+ ```
81
+
82
+ **📦 Browse packages:** [PyPI](https://pypi.org/search/?q=pymomentum) • [conda-forge](https://anaconda.org/conda-forge/momentum) • [prefix.dev](https://prefix.dev/channels/conda-forge/packages/momentum)
83
+
84
+ ### Quick Example
85
+
86
+ ```bash
87
+ # Install and run
88
+ pip install pymomentum-cpu
89
+ python -c "import pymomentum as pm; print(pm.__version__)"
90
+ ```
91
+
92
+ ### Building from Source
93
+
94
+ ```bash
95
+ git clone https://github.com/facebookresearch/momentum
96
+ cd momentum
97
+ pixi run build # Builds C++ library and Python bindings
98
+ pixi run test # Runs tests
99
+ pixi run hello_world # Runs example
100
+ ```
101
+
102
+ **For detailed instructions**, see the comprehensive guides on our website:
103
+ - 📘 [**Python Getting Started**](https://facebookresearch.github.io/momentum/pymomentum/user_guide/getting_started) - Installation, building from source, troubleshooting
104
+ - 📗 [**C++ Getting Started**](https://facebookresearch.github.io/momentum/docs/user_guide/getting_started) - Full build instructions, FBX support, examples
105
+
106
+ ## 📖 Documentation
107
+
108
+ Visit our [**documentation website**](https://facebookresearch.github.io/momentum/) for comprehensive guides, examples, and API references:
109
+
110
+ - 🐍 [**Python API Reference**](https://facebookresearch.github.io/momentum/python_api_doc/index.html) - Complete Python API documentation
111
+ - ⚙️ [**C++ API Reference**](https://facebookresearch.github.io/momentum/doxygen/index.html) - Complete C++ API documentation
112
+
113
+ ## Contributing
114
+
115
+ Check our [contributing guide](CONTRIBUTING.md) to learn about how to contribute
116
+ to the project.
117
+
118
+ ## License
119
+
120
+ Momentum is licensed under the MIT License. A copy of the license
121
+ [can be found here.](LICENSE)
@@ -451,39 +451,39 @@ include/rerun/datatypes/view_coordinates.hpp,sha256=qoKlxS-oQDx4_8SE1kGUJvV0LtSy
451
451
  include/rerun/datatypes/visible_time_range.hpp,sha256=6HIjxAUOXtv7I7g0GflgaRTwLbHHO2WXcyZtMZGqBWk,1778
452
452
  include/rerun/third_party/cxxopts.hpp,sha256=zp6SePNC9y1tAD7ryAodVydRCo0leWDwZRmcf4TbWEc,71577
453
453
  lib/libarrow.a,sha256=Jdj4Gf6N8SKdhtIdOIECmx16n0b15JHdgkxk1iU76J4,33273022
454
- lib/libarrow_bundled_dependencies.a,sha256=xhFC6Wj9nHBLabQIpaQdrncQd2tI9YlTDwHnRwjUECU,244362
454
+ lib/libarrow_bundled_dependencies.a,sha256=zOHb6WppwXYYma0FY39RJx3D1DJrEDXBjTwGce1nBOk,244362
455
455
  lib/librerun_c__linux_x64.a,sha256=JadrhPNhNjgRXq7eo8ZpwZJb4lpOSnvb__ds-OhYPfA,125411548
456
456
  lib/librerun_sdk.a,sha256=uyVoegfVOznC6unXIjF5_WIUdpJ9mydwFvLZuv8gvKE,5552506
457
457
  lib/cmake/rerun_sdk/rerun_sdkConfig.cmake,sha256=Q-pxHnbFc3Ok6T-gxRglfZSsMigx5dCurCzO0H_peD4,3346
458
458
  lib/cmake/rerun_sdk/rerun_sdkConfigVersion.cmake,sha256=pkP-Dk2ua51-lUaTXsyrol2-gkTmJ9cVmQBOc_YBBXk,3252
459
459
  lib/cmake/rerun_sdk/rerun_sdkTargets-release.cmake,sha256=oJmUbA8vo_Af5olAGr7JcaiuRPU4dihtdClmCq11ADY,824
460
460
  lib/cmake/rerun_sdk/rerun_sdkTargets.cmake,sha256=BNlHggsz8G6CC3ypFIFo4xMQVy5c2aSaGJr7nQTmLIM,4255
461
- lib64/libaxel.a,sha256=yrK5zWmawjV5uOf7JqUh-tmP4BDodnMzZFa5hM_Orp0,1225348
462
- lib64/libmomentum_app_utils.a,sha256=cqyXIHEDQfoSQteKu7e7CzTTzVcD5EiIR5Y79KFDsHo,731204
463
- lib64/libmomentum_character.a,sha256=LyUDfB6L-BvggTkyQQeMxvPc8AV8W9kNVOcW01q8jbE,2558960
464
- lib64/libmomentum_character_sequence_solver.a,sha256=QfZu44pqF1NxGNX4bCUDELSU_saIxRYzzgP0vH4oHnQ,3344130
465
- lib64/libmomentum_character_solver.a,sha256=n7ja_puc0p7Kkj0QSWK7BFUhX65VpzcozJjcD8aSR4E,9076330
466
- lib64/libmomentum_common.a,sha256=lQRlu0EDuRUwPXRRsxQxPMzsLZhXxIDKchvutBjl_Js,812114
467
- lib64/libmomentum_diff_ik.a,sha256=PaoLgTp1WwULsMjL6bhtf1zKfa_Nn0UiF6sXsBDQE9Q,4673132
468
- lib64/libmomentum_io.a,sha256=6MAReUpiGwTzs-SEpTR0EkRbikz7mBBoJDAb6rIP9Jk,207354
469
- lib64/libmomentum_io_common.a,sha256=Z-VWRpba8xiwPN6pz8w4X_bsGHRAb97oUB2RL2myLSc,202526
470
- lib64/libmomentum_io_fbx.a,sha256=TW7PE8L1-gLYftIp7-fS4sjbxQGaX-shWJ763SQhUmo,1849894
471
- lib64/libmomentum_io_gltf.a,sha256=spMo0BxggxdiGpgGBk8fnRVPUUvTF4b9YmQ4W0sBI4o,4281270
472
- lib64/libmomentum_io_legacy_json.a,sha256=T2SA07lFJPBRomAmoKW3A40Lzg-Y1AhSEbf2ohwy4p0,714782
473
- lib64/libmomentum_io_marker.a,sha256=e58qbbYj56CKuGsnaZn1xbWcOjpBOjPIU53g_NSEdh4,2283748
474
- lib64/libmomentum_io_motion.a,sha256=kGJu2ri0OlXIufGizrtIRW-ePCYM8gKGxSCRZahgoUU,793718
475
- lib64/libmomentum_io_shape.a,sha256=1VH4Nbsf4EOIRUjfQ031S8vYqXm29HpZMahLwGZ-P9A,1365814
476
- lib64/libmomentum_io_skeleton.a,sha256=JehrJy-0S-ieTykeDxYDOP-jjHl3fbpj2j26fzrkOiw,2684638
477
- lib64/libmomentum_io_urdf.a,sha256=y1M9UBC55W04r-cawPGc72SQL9JxLB7fW0F8gBNxhyo,313770
478
- lib64/libmomentum_marker_tracker.a,sha256=ux-KgbHOEOOK4w_bsGl4GzLgg67-CYgiS6P4KNF9nTU,1963772
479
- lib64/libmomentum_math.a,sha256=GI2DXbHFK4DfrOHQb95wvAyJ6HKYOWnPastKVLRS6a8,1641786
480
- lib64/libmomentum_online_qr.a,sha256=fuD9OVLDaDLMzLLDUMtgnuS6Kl3cfxjmp1v0k0ROYPY,229302
481
- lib64/libmomentum_process_markers.a,sha256=cURr-XRdsifKdztyeRa7EeDc8KGBTcLyJc3RheE4_gQ,1250318
482
- lib64/libmomentum_rerun.a,sha256=NyG-2tRr36SF3-tvUWwGKteuQ6j_HngitaT0Bv4v8bE,1137038
483
- lib64/libmomentum_simd_constraints.a,sha256=Xmw_qTRKeXtODtlZI9M5uoSOwJz44jp0XoM1-nL68LI,776086
484
- lib64/libmomentum_simd_generalized_loss.a,sha256=9Kbe6WtLFbr9Ukx77ihu7fkqvmUPhqUxrX4QyTXHNwA,753012
485
- lib64/libmomentum_skeleton.a,sha256=BDFobIEV9HbHE5mMo6qtzmsOwjOKEliUc3gDXSK6220,789844
486
- lib64/libmomentum_solver.a,sha256=ePgUu34E9CXsdrgbdwxDED9hs2Y38DxX1qgJAphLC_Y,1610354
461
+ lib64/libaxel.a,sha256=V02L043r_4SDDbHdtDPu2M1VvHSgFLY6_LtJQhhloxI,1225348
462
+ lib64/libmomentum_app_utils.a,sha256=uvt14y9dbCkSK2HIGSkfbXTgDyVPnaroN2nzssKfd4Q,731204
463
+ lib64/libmomentum_character.a,sha256=weYna5abJTuxQE9Tjxxk3GeORRacTpuQZG7ux-Ziq14,2558960
464
+ lib64/libmomentum_character_sequence_solver.a,sha256=LOO8f1mYpPlpnfBU6kTjqebNBB4LCCu9r9f5MfGupc8,3344130
465
+ lib64/libmomentum_character_solver.a,sha256=8fCSXRvO921hnEmcrNVII_F3mu0MTYWhP8qazQsOhpU,9076330
466
+ lib64/libmomentum_common.a,sha256=rgyVrmQzg7VUWNMYhOS_5qPtai9CNuMnmsYGFmiSxNI,812114
467
+ lib64/libmomentum_diff_ik.a,sha256=5G6pjDRVUXleDL-vlgbYASo16LZysBlkwaxrvRYnXTU,4673132
468
+ lib64/libmomentum_io.a,sha256=sN3noFevV8JHHd5wxNoBUt5XxhuYYyXG9r3BB7LBvwo,207354
469
+ lib64/libmomentum_io_common.a,sha256=FAXaPPHNNerg1uFOtJi0LOYmFtCvTsH-C0jRNnvrXUw,202526
470
+ lib64/libmomentum_io_fbx.a,sha256=x9iXmbeaLR6O7w4oH_4hdJMHlSkxYpqT87Asx7ILZlo,1849894
471
+ lib64/libmomentum_io_gltf.a,sha256=yyf6_DHAj4JDcWu_2Rr7D2U3BOXCuCsFTNVIhPf1qFw,4281270
472
+ lib64/libmomentum_io_legacy_json.a,sha256=k43OAcDDKEpUFE3fTvfVDrgPhZd9jfkYHi-8Ng-UhIA,714782
473
+ lib64/libmomentum_io_marker.a,sha256=yLrYXVG_p7aePPd7t05Ot35y3eaP_rVLfPFRdeJ1Xmk,2283748
474
+ lib64/libmomentum_io_motion.a,sha256=Ihm-EvfZ-4-mJgC_QzjgXXJfQgeDYyGsyUIJC7s8tWs,793718
475
+ lib64/libmomentum_io_shape.a,sha256=Exlks5MTUxukGpl7kvnwcPe_kJ1ja3rwmDudZdBso70,1365814
476
+ lib64/libmomentum_io_skeleton.a,sha256=mucCWHMnCRGKDEvHU9s7stPEro6uDxhU8TnJlwWUQKk,2684638
477
+ lib64/libmomentum_io_urdf.a,sha256=0W27AnSvJP-F7XSxOqDdD7NWoFOoH4KQJXq5w_Icl_g,313770
478
+ lib64/libmomentum_marker_tracker.a,sha256=qbtxFw9NirRYv9wCbDvYwodIxdI71qkBYpqfTHDu8ak,1963772
479
+ lib64/libmomentum_math.a,sha256=U5GnY14cEfslEzJMnhAwlPAh9V8HjA_Z3aq1t9IEgKQ,1641786
480
+ lib64/libmomentum_online_qr.a,sha256=bwiWKstQCahGocGY5_y4Oe1IGG1zZPm4eNce6xUpZS8,229302
481
+ lib64/libmomentum_process_markers.a,sha256=1jUF2TwEZEVgrA7Cb0jAdUo-Z2LbblT5dEU_cN6hS70,1250318
482
+ lib64/libmomentum_rerun.a,sha256=0YZ18_Z8cwRej0Sp2EV7tCcMEZEb5X2DN0waHgaMvh4,1137038
483
+ lib64/libmomentum_simd_constraints.a,sha256=e-rSfklZ0v8brMwxmaXu00uiQuyqNFHfCBxAxp0xvos,776086
484
+ lib64/libmomentum_simd_generalized_loss.a,sha256=PZqSyfvM_PYGmOKJ8As4Xnl6mBf-O5gylPea3oZbkAE,753012
485
+ lib64/libmomentum_skeleton.a,sha256=0bkN2ff7d1VzXYepw-E6qtdkF1MiSRsN11S8UJS8Sxo,789844
486
+ lib64/libmomentum_solver.a,sha256=QPXS7rFynZxLRv416M39akRxqArJrj9S0uSKKcewWNU,1610354
487
487
  lib64/cmake/axel/axel-config.cmake,sha256=gTDQ-zK9pDcMzFmSoKorPKVbCaeUhK6JVGMmui1QX64,1372
488
488
  lib64/cmake/axel/axelTargets-release.cmake,sha256=S6GMmgGs-IxZC0qBBz_ADcbD7GrHGS1UXSk4BLkz2JI,823
489
489
  lib64/cmake/axel/axelTargets.cmake,sha256=gtHQernEzZl5Kc1GmxzmFX_IXfDNhuXscPsfxzz4fkI,4231
@@ -549,7 +549,7 @@ pymomentum_cpu.libs/libezc3d-4a95ab2c.so,sha256=aryLuqXyWoYK9vUVR2guVfBwnWMXInj4
549
549
  pymomentum_cpu.libs/libre2-985fb83c.so.11,sha256=XtGXahmFHO6kV-x1ROEAdIDmcZVlWGT70joU20kCLYg,718825
550
550
  pymomentum_cpu.libs/libtinyxml2-8d10763c.so.11.0.0,sha256=KoK7Wl1HGQLMYBc4NWufsGh6RqNvjpWBQVGKqUoXgrE,163353
551
551
  pymomentum_cpu.libs/liburdfdom_model-7b26ae88.so.4.0,sha256=OTjp8aTUsvzgCy4OvW3EWM5G8JP4miw_nYc7brW3U6g,227401
552
- pymomentum_cpu-0.1.77.post30.dist-info/METADATA,sha256=-NmweX26hgLiqtFigNKzj0YDhpgfD0YkLWbbyuHmPNk,7384
553
- pymomentum_cpu-0.1.77.post30.dist-info/WHEEL,sha256=Z9pkpzIeLwK5skIlzAeE-wFElm1EDTfAxk4M3ECiFME,118
554
- pymomentum_cpu-0.1.77.post30.dist-info/RECORD,,
555
- pymomentum_cpu-0.1.77.post30.dist-info/licenses/LICENSE,sha256=2m03A-0Ry-Qr0hLHJZV8mNojy_8ZmMBfpLPZdtGljpM,1088
552
+ pymomentum_cpu-0.1.78.post24.dist-info/METADATA,sha256=nvZFBuG2yY59M6RZBxtPZt0NTgBmoWQs2IpA65QmHKU,5740
553
+ pymomentum_cpu-0.1.78.post24.dist-info/WHEEL,sha256=2ADbL3pVf9-n9sIiYH0qdS_3puCuND-aMQYo3y1sVjQ,118
554
+ pymomentum_cpu-0.1.78.post24.dist-info/RECORD,,
555
+ pymomentum_cpu-0.1.78.post24.dist-info/licenses/LICENSE,sha256=2m03A-0Ry-Qr0hLHJZV8mNojy_8ZmMBfpLPZdtGljpM,1088
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: scikit-build-core 0.11.6
2
+ Generator: scikit-build-core 0.10.7
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp313-cp313-manylinux_2_39_x86_64
5
5
 
@@ -1,208 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: pymomentum-cpu
3
- Version: 0.1.77.post30
4
- Summary: A library providing foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications (CPU-only version for Linux, macOS Intel, and macOS ARM)
5
- Keywords: kinematics,motion,optimization,human-motion,inverse-kinematics,forward-kinematics,body-tracking,motion-capture,character-animation,robotics,cpu
6
- Author-Email: Meta Reality Labs Research <jeongseok@meta.com>
7
- License: MIT
8
- Classifier: Development Status :: 4 - Beta
9
- Classifier: Intended Audience :: Developers
10
- Classifier: Intended Audience :: Science/Research
11
- Classifier: License :: OSI Approved :: MIT License
12
- Classifier: Operating System :: POSIX :: Linux
13
- Classifier: Operating System :: MacOS
14
- Classifier: Programming Language :: C++
15
- Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3.13
18
- Classifier: Programming Language :: Python :: Implementation :: CPython
19
- Classifier: Topic :: Scientific/Engineering
20
- Classifier: Topic :: Scientific/Engineering :: Mathematics
21
- Classifier: Topic :: Scientific/Engineering :: Physics
22
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
- Project-URL: Homepage, https://github.com/facebookresearch/momentum
24
- Project-URL: Documentation, https://facebookresearch.github.io/momentum/
25
- Project-URL: Repository, https://github.com/facebookresearch/momentum
26
- Project-URL: Bug Tracker, https://github.com/facebookresearch/momentum/issues
27
- Project-URL: Changelog, https://github.com/facebookresearch/momentum/releases
28
- Requires-Python: >=3.12
29
- Requires-Dist: numpy>=1.20.0
30
- Requires-Dist: scipy>=1.7.0
31
- Requires-Dist: torch<2.9,>=2.8.0
32
- Description-Content-Type: text/markdown
33
-
34
- # Momentum
35
-
36
- [![CI Windows][ci-windows-badge]][ci-windows]
37
- [![CI macOS][ci-macos-badge]][ci-macos]
38
- [![CI Ubuntu][ci-ubuntu-badge]][ci-ubuntu]
39
- [![Publish Website][website-badge]][website]
40
-
41
- [ci-windows-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_windows.yml/badge.svg
42
- [ci-windows]: https://github.com/facebookresearch/momentum/actions/workflows/ci_windows.yml
43
- [ci-macos-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_macos.yml/badge.svg
44
- [ci-macos]: https://github.com/facebookresearch/momentum/actions/workflows/ci_macos.yml
45
- [ci-ubuntu-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_ubuntu.yml/badge.svg
46
- [ci-ubuntu]: https://github.com/facebookresearch/momentum/actions/workflows/ci_ubuntu.yml
47
- [website-badge]: https://github.com/facebookresearch/momentum/actions/workflows/publish_website.yml/badge.svg
48
- [website]: https://github.com/facebookresearch/momentum/actions/workflows/publish_website.yml
49
-
50
- Momentum provides foundational algorithms for human kinematic motion and
51
- numerical optimization solvers to apply human motion in various applications.
52
-
53
- <p align="center">
54
- <img src="momentum/website/static/img/momentum_1.png" width="30%" alt="Forward and Inverse Kinematics with Interpretable Parameterization" />
55
- <img src="momentum/website/static/img/momentum_3.png" width="30%" alt="RGBD Body Tracking Solver" />
56
- <img src="momentum/website/static/img/momentum_4.png" width="30%" alt="Monocular RGB Body Tracking Solver" />
57
- </p>
58
-
59
- ## Getting Started
60
-
61
- This page guides you through the process of building Momentum and running the examples.
62
-
63
- ### Installing Momentum and PyMomentum
64
-
65
- Momentum binary builds are available for Windows, macOS, and Linux via [Pixi](https://prefix.dev/) or the Conda package manager.
66
-
67
- For Windows, please install [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) or greater.
68
-
69
- #### [Pixi](https://prefix.dev/channels/conda-forge/packages/momentum)
70
-
71
- ```
72
- # C++ only
73
- pixi add momentum-cpp
74
-
75
- # Python only (auto-detects GPU/CPU)
76
- pixi add pymomentum
77
-
78
- # Python with specific backend
79
- pixi add pymomentum-gpu # or pymomentum-cpu
80
-
81
- # Both C++ and Python
82
- pixi add momentum
83
- ```
84
-
85
- #### [Conda](https://anaconda.org/conda-forge/momentum)
86
-
87
- ```
88
- # Replace 'pixi add' with 'conda install -c conda-forge'
89
- conda install -c conda-forge momentum-cpp
90
- conda install -c conda-forge pymomentum
91
- conda install -c conda-forge pymomentum-gpu # or pymomentum-cpu
92
- conda install -c conda-forge momentum
93
- ```
94
-
95
- ### Building Momentum from Source
96
-
97
- #### Prerequisite
98
-
99
- Complete the following steps only once:
100
-
101
- 1. Install Pixi by following the instructions on https://prefix.dev/
102
-
103
- 1. Clone the repository and navigate to the root directory:
104
-
105
- ```
106
- git clone https://github.com/facebookresearch/momentum
107
- cd momentum
108
- ```
109
-
110
- Ensure that all subsequent commands are executed in the project's root directory unless specified otherwise.
111
-
112
- #### Build and Test
113
-
114
- - Build the project with the following command (note that the first run may take a few minutes as it installs all dependencies):
115
-
116
- ```
117
- pixi run build
118
- ```
119
-
120
- - Run the tests with:
121
-
122
- ```
123
- pixi run test
124
- ```
125
-
126
- To view all available command lines, run `pixi task list`.
127
-
128
- #### Hello World Example
129
-
130
- To run the `hello_world` example:
131
-
132
- ```
133
- pixi run hello_world
134
- ```
135
-
136
- Alternatively, you can directly run the executable:
137
-
138
- ```
139
- # Linux and macOS
140
- ./build/hello_world
141
-
142
- # Windows
143
- ./build/Release/hello_world.exe
144
- ```
145
-
146
- #### Running Other Examples
147
-
148
- To run other examples:
149
-
150
- ```
151
- pixi run glb_viewer --help
152
- ```
153
-
154
- For more examples, please refer to the [Examples](https://facebookresearch.github.io/momentum/docs/examples/viewers) page.
155
-
156
- #### Clean Up
157
-
158
- If you need to start over for any reason:
159
-
160
- ```
161
- pixi run clean
162
- ```
163
-
164
- Momentum uses the `build/` directory for CMake builds, and `.pixi/` for the Pixi virtual environment. You can clean up everything by either manually removing these directories or by running the command above.
165
-
166
- #### FBX Support
167
-
168
- Momentum uses OpenFBX to load Autodesk's FBX file format, which is enabled by default. To save files in FBX format, you must install the FBX SDK 2020.3.
169
-
170
- ##### Linux
171
-
172
- The FBX SDK will be automatically installed when you run `pixi run config`, so no additional steps are required.
173
-
174
- ##### macOS and Windows
175
-
176
- You can download it from Autodesk's [website](https://aps.autodesk.com/developer/overview/fbx-sdk) or use direct links ([macOS](https://damassets.autodesk.net/content/dam/autodesk/www/files/fbx202037_fbxsdk_clang_mac.pkg.tgz), [Windows](https://damassets.autodesk.net/content/dam/autodesk/www/files/fbx202037_fbxsdk_vs2019_win.exe)). After installing the SDK, build Momentum from source with `MOMENTUM_BUILD_WITH_FBXSDK=ON` option as:
177
-
178
- ```
179
- # macOS
180
- MOMENTUM_BUILD_WITH_FBXSDK=ON pixi run <target>
181
-
182
- # Windows (Powershell)
183
- $env:MOMENTUM_BUILD_WITH_FBXSDK = "ON"; pixi run <target>
184
-
185
- # Windows (cmd)
186
- set MOMENTUM_BUILD_WITH_FBXSDK=ON && pixi run <target>
187
- ```
188
-
189
- For example, file conversion can be run as follows:
190
-
191
- ```
192
- # Windows (Powershell)
193
- $env:MOMENTUM_BUILD_WITH_FBXSDK = "ON"; pixi run convert_model -d <input.glb> -o <out.fbx>
194
- ```
195
-
196
- ## 📖 Documentation
197
-
198
- The full documentation for Momentum can be found on our [website](https://facebookresearch.github.io/momentum/) and the C++ API documentation is available [here](https://facebookresearch.github.io/momentum/doxygen/index.html).
199
-
200
- ## Contributing
201
-
202
- Check our [contributing guide](CONTRIBUTING.md) to learn about how to contribute
203
- to the project.
204
-
205
- ## License
206
-
207
- Momentum is licensed under the MIT License. A copy of the license
208
- [can be found here.](LICENSE)