Body Measurement project

Software supplier

ss5.svg

United States

Product

N/A name

Category

The task was to create a solution to precisely calculate anthropometric measurements from a photo person and input basic parameters. The acceptable standard error of the measurements is 5%.

The solution included using Computer Vision and Machine Learning. A person inputs their weight, height, and gender as the basic parameters and takes two full-size photos from the front and the side.

Technology Stack

  • Python 3.7
  • PyTorch
  • Mediapipe
  • Docker
  • Flask
  • PostgreSQL
  • Angular

The algorithm works as follows:

  • A body frame is detected by using CV;
  • Inside the frame, a body contour is calculated using a gradient filter;
  • Using Google’s Mediapipe, the body contour is mapped to a pose model;
  • Cross-width of the contour is calculated at the predefined landmarks, which are mapped to the contour using the pose;
  • ML regression is used for converting linear measurements into circumferences;
  • ML outlier detection and regression are used to validate the calculated measurements and their improvement.

The algorithm calculates ten measurements of different parts of the person’s body: Neck, Elbow, Wrist, Chest, Waist, Hip, Thigh, Knee, Calf, and Ankle. The measurements are given as circumferences. No helper markers are used in the photos.

p5-1.svg

worked on this project

Name

Role

pc5-3-1.png pc5-3-2.png

Do you want to kickstart your software project? Use our free Kickstarter services

right-blue.svg

Free and independent software advise

right-blue.svg

global network of 22.000+ software development companies

right-blue.svg

Our consultants possess expertise in over 4.800+ software projects

© 2019 - 2024 Your Software Supplier. All Rights Reserved.