Package to measure length up and down at the waist
Project description
Length_of_body_image
Length_of_body_imageは、画像から人体の測定を行うためのパッケージです。このパッケージを使用すると、全身の画像から上半身および下半身の長さを簡単に測定できます。
インストール
pip install Length_of_body_image
使い方
以下に、Length_of_body_imageパッケージを使用して画像から体の測定を行う方法の例を示します。
import cv2
import matplotlib.pyplot as plt
from Length_of_body_image import bodymeasurements
# 画像パスを指定
image_path = 'path_to_your_image.jpg'
# bodymeasurementsオブジェクトを作成
measurements = bodymeasurements(image_path)
# 測定を実行
measurements.measure()
# 上半身の長さを取得
upper_length = measurements.upper_body_length()
print(f"上半身の長さ: {upper_length} ピクセル")
# 下半身の長さを取得
lower_length = measurements.lower_body_length()
print(f"下半身の長さ: {lower_length} ピクセル")
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Length_of_body_image-0.2.tar.gz.
File metadata
- Download URL: Length_of_body_image-0.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
463bfff7cee4ce2ce76310ffbcb33839a1da8c406be3c584a0d50b93471a2b0b
|
|
| MD5 |
775b39642b9a7b54bf237c77b5ea6b8f
|
|
| BLAKE2b-256 |
00e2d9831c907a2440b2548683f54a7647747897a65affdbf00ab9a3068ca01d
|
File details
Details for the file Length_of_body_image-0.2-py3-none-any.whl.
File metadata
- Download URL: Length_of_body_image-0.2-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d87e7c240122e3bacb98487a3a2bbe5dd005f3f76591038854164d4c62b0771
|
|
| MD5 |
5450e20960ca0123f12b8841d5afd746
|
|
| BLAKE2b-256 |
657bb440ddf2e35fc7b8de9ebcb837450f1930f8b21adb23bb0ab4ff6511bedb
|