Code Monkey home page Code Monkey logo

human-body-measurements-using-computer-vision's Introduction

Human body measurement using computer vision/ 3D modeling

Anthropometric measurement extraction

alt text

Getting human body measurements from image is a very hard problem. This repository provides a starting solution for any one who is working in this domain. It maps single input image onto 3-dimientional model using 3D human reconstruction and then extracts body measurements such as waist, chest etc. All meausrements are in centimeters. 3D reconstruction is done using HMR. Tested on tensorflow==1.13.1.

alt text

Inference

  1. Download the pre-trained models. Type the following command on terminal

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

and save it in 'models' folder.

  1. Download CustomBodyPoints text file and place it in data(make new one) folder.

  2. Install packages pip install -r requirements.txt or pip3 install -r requirements.txt

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

Acknowledgment

HMR

Deep lab v3 +

Humanbody shape

human-body-measurements-using-computer-vision's People

Contributors

farazbhatti avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.