Metadata-Version: 2.1
Name: Length-of-body-image
Version: 0.2
Summary: Package to measure length up and down at the waist
Home-page: https://github.com/hosson-aka/body.git
Author: Akari Hosokawa
Author-email: s2222057@stu.musashino-u.ac.jp
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: opencv-python
Requires-Dist: matplotlib

# Length_of_body_image

`Length_of_body_image`は、画像から人体の測定を行うためのパッケージです。このパッケージを使用すると、全身の画像から上半身および下半身の長さを簡単に測定できます。

## インストール

```bash
pip install Length_of_body_image
```

## 使い方

以下に、`Length_of_body_image`パッケージを使用して画像から体の測定を行う方法の例を示します。

```python
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} ピクセル")
```


