Skip to content
项目

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

在 GitHub 查看

关于

Anthropometric measurement extraction using single image

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
+2
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…