Skip to main content

Package to Calculate Human Body Measurements

Project description

Body Matrix Measurements

Install Package

$ pip install body-matrix

Package Usage

Load Segmentation Model

from body_matrix import load
segmentation_model, segmentation_transforms = load.segmentation_model("cpu")

Load Keypoints Model

from body_matrix import load
keypoints_model, keypoints_transforms = load.segmentation_model("cpu")

Load Video

from body_matrix import load
video, frames_counts, fps, smaple_frame = load.video("/Users/troydo42/Desktop/dt.mov", 90, 1)
print(frames_counts)

Load Image

from body_matrix import load
frames_path = load.image_frames("/Users/troydo42/Desktop/instagram")
print(frames_path)

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

body_matrix-0.0.2.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

body_matrix-0.0.2-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

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