Skip to content
프로젝트

farazBhatti/Human-Body-Measurements-using-Computer-Vision

GitHub에서 보기

소개

Anthropometric measurement extraction using single image

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+2
in 15 days
+3
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Human body measurement using computer vision/ 3D modeling

Anthropometric measurement extraction

alt text

Accurately obtaining human body measurements from a single image is a challenging task. This repository provides the source code and associated files for a system that leverages computer vision and 3D modeling techniques to achieve precise body part measurements.

The system utilizes OpenCV and TensorFlow for advanced image processing, keypoint detection, and 3D reconstruction. By analyzing a single image of a human subject, it identifies key points and reconstructs a 3D model. This model enables accurate measurements of various body parts, including arm length, waist circumference, and hip width, with results provided in centimeters.

Built on top of the HMR model, this solution serves as a robust starting point for researchers and developers working in this domain. The code has been tested with TensorFlow 1.13.1 for compatibility and reliability.

alt text

alt text

Download pre-trained model

Type the following command on the terminal to download pre-trained model

wget https://people.eecs.berkeley.edu/~kanazawa/cachedir/hmr/models.tar.gz && tar -xf models.tar.gz

and save it in 'models' folder.

CustomBodyPoints

Download CustomBodyPoints text file and place it in the data folder.

Install Packages

pip install -r requirements.txt or pip3 install -r requirements.txt

Easy to Run / Jupyter NoteBook / Quick Demo

A Jupyter notebook has been added and updated for those who quickly want to get inference without much hassle. Simply change the path to your input image. Thanks to Hamza Khalil for adding this notebook.

Inference

python3 inference.py -i <path to Image1> -ht <height in cm>

My LinkedIn

FarazBhatti

Star History

Acknowledgment

HMR

Remove_background

Deep lab v3 +

Humanbody shape

관련 프로젝트 살펴보기

불러오는 중…