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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for body_matrix-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6825306a2ae49aad47f3611148780ed59a8e1c39da3ef3a3f629421254ad7ff8 |
|
MD5 | d448e5d8c43e525395a66e11a48f7b16 |
|
BLAKE2b-256 | 221f61be387831213ff86cca761fa3564bd172b00a4ac46447cfc178804c5f6f |