Skip to main content

No project description provided

Project description

Example usage:

with open("data/labels.json", "r") as f:
    metadata = json.load(f)

label_map, angle_map = build_label_maps(metadata)

X, y, angles = build_dataset(
    metadata=metadata,
    clip_dir=Path("data"),
    label_to_idx=label_map,
    angle_to_idx=angle_map,
    max_people=2,
    target_len=60,
    fill_mode="last"
)

save_dataset(X, y, angles, Path("data/dataset.npz"))
save_label_maps(label_map, angle_map, Path("data"))

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

movenet_pre_processor-0.1.2.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

movenet_pre_processor-0.1.2-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file movenet_pre_processor-0.1.2.tar.gz.

File metadata

  • Download URL: movenet_pre_processor-0.1.2.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.8 Darwin/24.0.0

File hashes

Hashes for movenet_pre_processor-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1d62516a90fd9e55cf441d79f568d87fa5523ba0ad35c7f89e9de283390a0cfc
MD5 32fecc0f2a723cde3f19de1d16f5140e
BLAKE2b-256 bfe39b3b3b12f9ebdacf904e4c4388846308fd8c5e007890ad17273f95481ec5

See more details on using hashes here.

File details

Details for the file movenet_pre_processor-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for movenet_pre_processor-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 896a5d1f592205a626b31e934f18fc7682f7b3b26203228fad252f3249e4f5fc
MD5 8693f6ee17e22e8a0e681dcc2c364cb6
BLAKE2b-256 04d6530f112a0a6abd3bed8843d5f1a8063d633c0834eeec9b56310c96d26cce

See more details on using hashes here.

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