Skip to main content

SMPL/SMPLH/SMPLX optimization library for single frames and sequences

Project description

keypoints2body header

keypoints2body

keypoints2body is a Python library for optimizing SMPL-family body model parameters from 3D joints for both single frames and motion sequences.

Install

pip install -e .

Quick usage

import numpy as np
from keypoints2body import optimize_params_frame

joints = np.zeros((22, 3), dtype=np.float32)
result = optimize_params_frame(joints, joint_layout="AMASS")

Documentation

Full documentation lives under docs/ and is intended for Sphinx.

Suggested starting points:

CLI

keypoints2body-fit-frame --help
keypoints2body-fit-seq --help
keypoints2body-eval --help

Project script:

python smpl_fit.py --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keypoints2body-0.1.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keypoints2body-0.1.0-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file keypoints2body-0.1.0.tar.gz.

File metadata

  • Download URL: keypoints2body-0.1.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for keypoints2body-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e96f8b51c1ef7e6bba85aaa5ebdb99cc98d3cc8d88bba81fb6411c874842ceb5
MD5 51f1cff5c9cd2962a73b705383030bb3
BLAKE2b-256 2bf54218f04657e6d5160acc92a704a887ff5ab55460610b621f1b384c68ccfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for keypoints2body-0.1.0.tar.gz:

Publisher: pypi-release.yml on saifkhichi96/keypoints2body

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file keypoints2body-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: keypoints2body-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for keypoints2body-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a3f39df8190c18b6bbb35ce6e1397d25b94a12ff7e2ac2d6ba99d4f6b345eca
MD5 8d15e3e59f28fcfd87a99eab5007208b
BLAKE2b-256 9ba892f59c0e847003d31d1882c3622375e0a729f038e9494ad9b260b054bf54

See more details on using hashes here.

Provenance

The following attestation bundles were made for keypoints2body-0.1.0-py3-none-any.whl:

Publisher: pypi-release.yml on saifkhichi96/keypoints2body

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page