Halo App Body Feature.png
With Amazon Halo's Body feature, individuals can measure their own body fat percentage and track it through a personalized 3D model. To achieve this, Amazon scientists used computer vision, artificial intelligence, and creative problem-solving.

The science behind the Halo Body feature

Scientists discuss the challenges in developing a system that can accurately estimate body fat percentage and create personalized 3D avatars of users from smartphone photos.

With Amazon Halo, a health and wellness membership, individuals can measure their own body fat percentage (BFP) and track it through a personalized 3D model. This level of scanning is usually only possible with expensive and sophisticated machines, but Halo’s Body feature makes it available to anyone with a smartphone via the Halo app. To achieve this, Amazon scientists used ideas from computer vision, computer graphics, artificial intelligence, and creative problem-solving.

The science and engineering team had to deal with two challenges when developing the Body feature: first, estimate BFP from smartphone photos without any other direct measurements; second, create a personalized 3D model of the user’s body.

Solutions to both problems involved a combination of deep neural networks, which are capable of learning tasks by identifying patterns in large amounts of data, and classical algorithms in computer vision and computer graphics.

Estimating body fat percentage from images

Estimating body fat percentage is a complex process. At-home smart scales do not directly measure body fat, but analyze electrical resistance in the body and use equations to convert that to BFP. Based on how hydrated you are throughout the day, this electrical resistance can fluctuate wildly, leading to high errors in BFP.

Amazon Halo adds Movement Health feature
Movement Health is based on functional fitness, which is your body’s readiness to execute everyday movements like bending, reaching, lifting, twisting, pulling, pushing, and walking. Learn more about how Movement Health works.

Commercial-grade measurement tools, such as hydrostatic dunk tanks and air displacement plethysmography, measure body volume that is subsequently converted to BFP and are more accurate than at-home smart scales, but require access to a trainer or special facility, and each scan costs money. Dual-energy X-ray absorptiometry (DXA) is considered the clinical gold standard for body composition and widely used, but these machines require a prescription and can cost as much as $80 per scan.

“All these different methods try to estimate BFP through indirect measures,” said Amit Agrawal, an Amazon principal scientist who has worked on Amazon Halo. “Borrowing the idea of indirect measurement, we challenged ourselves to build a computer vision system that can accurately predict BFP via visual features measured from images such as overall body shape and details of the body such as muscle definition and fat folds.”

We challenged ourselves to build a computer vision system that can accurately predict BFP via visual features measured from images such as overall body shape and details of the body such as muscle definition and fat folds.
Amit Agrawal

The solution: develop a technology utilizing convolutional neural networks (CNN), a class of deep neural networks commonly applied to analyzing images, and semi-supervised learning, which is a machine learning approach to train models with limited ground truth.

The input for the machine learning model is the photos captured from the smartphone, and the output is a number that tells you the body fat percentage. To train the model, it would typically be necessary to collect photos from many users in different scanning conditions and their actual BFP. The problem: it would be too expensive to use the DXA method.

Instead, the team pre-trained a CNN to learn a representation of the human body, which can extract discriminative features from images. The network analyzes the overall shape and details of the body from the images to extract visual features that are relevant to body composition. Then, data from actual DXA scans is used to fine-tune this network via semi-supervised learning.

A recent clinical study, whose results haven’t been published yet, determined that Body is nearly twice as accurate as smart scales in measuring BFP when using DXA as the ground truth.

Building personalized 3D avatars from images

Until recently, if you wanted to have a virtual model of your own body, you would have to stand in a room-sized 3D scanner with multiple synchronized high-end cameras around you. These expensive systems are used for applications in animation and gaming, but aren’t generally available to consumers.

Scientists on the Halo team undertook the ambitious goal of developing a tool capable of producing a 3D virtual representation of a customer’s body from a simple set of smartphone photos.

To do that, they trained a deep neural network which estimates the shape and pose parameters of the underlying statistical model from the captured photos. Again, the key challenge was acquiring the data necessary to train the model.

Learn more about how Amazon Halo can help you achieve a healthier lifestyle.

“You would need the image of a person, as well as the 3D model of the same person captured at the same time, to train this model. That would be very expensive, because you’d have to capture data on a lot of different people with different ethnicity, age, gender, and all those variations,” Agrawal said.

To solve that problem, they decided that instead of building an end-to-end system (from the photo directly to the 3D avatar) they would build a system with two modules. The first starts from the original photo to obtain a silhouette of the user by segmenting the person from the background, producing a black and white two-dimensional image of the body shape.

The second module transforms the silhouette image into the 3D avatar. At this stage, the team decided to use synthetic data instead of the expensive 3D scans. The synthetic images were generated using graphics-rendering software that utilizes 3D models to generate their corresponding 2D silhouettes. Then they used these synthetic examples to train the system to predict 3D models from the silhouettes.

With this process, the Body feature can create personalized 3D body models of customers, so they can keep track of body changes in their health journey. They can also simulate how their bodies will change at different levels of body fat.

We're making 3D scanning accessible, particularly in the context of human body composition and how it relates to long-term health.
Prakash Ramu

“We're making 3D scanning accessible, particularly in the context of human body composition and how it relates to long-term health,” said Prakash Ramu, an Amazon senior manager of applied science.  

Ramu, who has 13 years of experience in computer vision and image processing, noted that while Body doesn’t have the same level of fidelity as traditional 3D scanners for things such as muscle definition, it has high accuracy for overall shape and body proportions that are relevant for long-term health, providing an accessible and accurate in-home tool for people interested in measuring and tracking their body shape.

Ramu also noted that privacy is foundational to the design of the Halo. The body scan images used to build the 3D avatar and to measure BFP are automatically deleted from the cloud after processing and, after that, they only live on the customer’s phone unless they have explicitly opted in to cloud backup.

Halo Body’s potential to impact people’s health

One of the most important breakthroughs of the Body feature is that it grants easy access to a health indicator that is much more useful than body mass index (BMI), notes Antonio Criminisi, senior manager of applied science on the Halo team.

Doctors have known for many years that body fat percentage is a better indicator than BMI.
Antonio Criminisi

“Doctors have known for many years that body fat percentage is a better indicator than BMI, because it better predicts medical risks of cardiovascular disease, or even certain types of cancer,” he said. “This issue is particularly important when you become older. At that stage, weight loss tends to be associated with losing muscle mass, and that’s often not good news.”

Criminisi, who has been working for several years in computer vision and machine learning applied to the analysis of medical images, says most often lack of access is what prevents people from using BFP as a health indicator.

“What we’ve done is bridge that gap and make this technology a lot cheaper and easy to use,” he said.

The team knows it still has challenges ahead, but say they’re constantly looking to improve Halo.

“Building a customer-facing product for health applications is inherently challenging due to lack of data and a high bar on clinical accuracy and privacy,” Ramu said. “By building upon ideas in deep learning, classical computer vision and computer graphics, we have tackled the hard challenges in delivering a new product that reaches higher accuracy than alternatives such as bio-impedance scales. We are incredibly excited to share this technology with our customers and will continue to improve it over time to keep delighting our customers with exciting and useful new features.”

View from space of a connected network around planet Earth representing the Internet of Things.
Sign up for our newsletter

Related content

US, WA, Seattle
Are you excited about building high-performance robotic systems that can perceive, learn, and act intelligently alongside humans? The Robotics AI team is creating new science products and technologies that make this possible, at Amazon scale. We work at the intersection of computer vision, machine learning, robotic manipulation, navigation, and human-robot interaction.The Amazon Robotics team is seeking broad, curious applied scientists and engineering interns to join our diverse, full-stack team. In addition to designing, building, and delivering end-to-end robotic systems, our team is responsible for core infrastructure and tools that serve as the backbone of our robotic applications, enabling roboticists, applied scientists, software and hardware engineers to collaborate and deploy systems in the lab and in the field. Come join us!
US, VA, Arlington
The Central Science Team within Amazon’s People Experience and Technology org (PXTCS) uses economics, behavioral science, statistics, and machine learning to proactively identify mechanisms and process improvements which simultaneously improve Amazon and the lives, well-being, and the value of work to Amazonians. We are an interdisciplinary team, which combines the talents of science and engineering to develop and deliver solutions that measurably achieve this goal. As Director for PXT Central Science Technology, you will be responsible for leading multiple teams through rapidly evolving complex demands and define, develop, deliver and execute on our science roadmap and vision. You will provide thought leadership to scientists and engineers to invent and implement scalable machine learning recommendations and data driven algorithms supporting flexible UI frameworks. You will manage and be responsible for delivering some of our most strategic technical initiatives. You will design, develop and operate new, highly scalable software systems that support Amazon’s efforts to be Earth’s Best Employer and have a significant impact on Amazon’s commitment to our employees and communities where we both serve and employ 1.3 million Amazonians. As Director of Applied Science, you will be part of the larger technical leadership community at Amazon. This community forms the backbone of the company, plays a critical role in the broad business planning, works closely with senior executives to develop business targets and resource requirements, influences our long-term technical and business strategy, helps hire and develop engineering leaders and developers, and ultimately enables us to deliver engineering innovations.This role is posted for Arlington, VA, but we are flexible on location at many of our offices in the US and Canada.
US, VA, Arlington
Employer: Amazon.com Services LLCPosition: Data Scientist IILocation: Arlington, VAMultiple Positions Available1. Manage and execute entire projects or components of large projects from start to finish including data gathering and manipulation, synthesis and modeling, problem solving, and communication of insights and recommendations.2. Oversee the development and implementation of data integration and analytic strategies to support population health initiatives.3. Leverage big data to explore and introduce areas of analytics and technologies.4. Analyze data to identify opportunities to impact populations.5. Perform advanced integrated comprehensive reporting, consultative, and analytical expertise to provide healthcare cost and utilization data and translate findings into actionable information for internal and external stakeholders.6. Oversee the collection of data, ensuring timelines are met, data is accurate and within established format.7. Act as a data and technical resource and escalation point for data issues, ensuring they are brought to resolution.8. Serve as the subject matter expert on health care benefits data modeling, system architecture, data governance, and business intelligence tools. #0000
US, TX, Dallas
Employer: Amazon.com Services LLCPosition: Data Scientist II (multiple positions available)Location: Dallas, TX Multiple Positions Available:1. Assist customers to deliver Machine Learning (ML) and Deep Learning (DL) projects from beginning to end, by aggregating data, exploring data, building and validating predictive models, and deploying completed models to deliver business impact to the organization;2. Apply understanding of the customer’s business need and guide them to a solution using AWS AI Services, AWS AI Platforms, AWS AI Frameworks, and AWS AI EC2 Instances;3. Use Deep Learning frameworks like MXNet, PyTorch, Caffe 2, Tensorflow, Theano, CNTK, and Keras to help our customers build DL models;4. Research, design, implement and evaluate novel computer vision algorithms and ML/DL algorithms;5. Work with data architects and engineers to analyze, extract, normalize, and label relevant data;6. Work with DevOps engineers to help customers operationalize models after they are built;7. Assist customers with identifying model drift and retraining models;8. Research and implement novel ML and DL approaches, including using FPGA;9. Develop computer vision and machine learning methods and algorithms to address real-world customer use-cases; and10. Design and run experiments, research new algorithms, and work closely with engineers to put algorithms and models into practice to help solve customers' most challenging problems.11. Approximately 15% domestic and international travel required.12. Telecommuting benefits are available.#0000
US, WA, Seattle
MULTIPLE POSITIONS AVAILABLECompany: AMAZON.COM SERVICES LLCPosition Title: Manager III, Data ScienceLocation: Bellevue, WashingtonPosition Responsibilities:Manage a team of data scientists working to build large-scale, technical solutions to increase effectiveness of Amazon Fulfillment systems. Define key business goals and map them to the success of technical solutions. Aggregate, analyze and model data from multiple sources to inform business decisions. Manage and quantify improvement in the customer experience resulting from research outcomes. Develop and manage a long-term research vision and portfolio of research initiatives, with algorithms and models that to be integrated in production systems. Hire and mentor junior scientists.Amazon.com is an Equal Opportunity-Affirmative Action Employer – Minority / Female / Disability / Veteran / Gender Identity / Sexual Orientation #0000
US, VA, Arlington
MULTIPLE POSITIONS AVAILABLECompany: AMAZON.COM SERVICES LLCPosition Title: Data Scientist IILocation: Arlington, VirginiaPosition Responsibilities:Design and implement scalable and reliable approaches to support or automate decision making throughout the business. Apply a range of data science techniques and tools combined with subject matter expertise to solve difficult business problems and cases in which the solution approach is unclear. Acquire data by building the necessary SQL / ETL queries. Import processes through various company specific interfaces for accessing Oracle, RedShift, and Spark storage systems. Build relationships with stakeholders and counterparts. Analyze data for trends and input validity by inspecting univariate distributions, exploring bivariate relationships, constructing appropriate transformations, and tracking down the source and meaning of anomalies. Build models using statistical modeling, mathematical modeling, econometric modeling, network modeling, social network modeling, natural language processing, machine learning algorithms, genetic algorithms, and neural networks. Validate models against alternative approaches, expected and observed outcome, and other business defined key performance indicators. Implement models that comply with evaluations of the computational demands, accuracy, and reliability of the relevant ETL processes at various stages of production.Amazon.com is an Equal Opportunity-Affirmative Action Employer – Minority / Female / Disability / Veteran / Gender Identity / Sexual Orientation #0000
US, IL, Chicago
MULTIPLE POSITIONS AVAILABLECompany: AMAZON.COM SERVICES LLCPosition Title: Data Scientist ILocation: Chicago, IllinoisPosition Responsibilities:Build the core intelligence, insights, and algorithms that support the real estate acquisition strategies for Amazon physical stores. Tackle cutting-edge, complex problems such as predicting the optimal location for new Amazon stores by bringing together numerous data assets, and using best-in-class modeling solutions to extract the most information out of them. Work with business stakeholders, software development engineers, and other data scientists across multiple teams to develop innovative solutions at massive scale.Amazon.com is an Equal Opportunity-Affirmative Action Employer – Minority / Female / Disability / Veteran / Gender Identity / Sexual Orientation #0000
US, WA, Seattle
Are you motivated to explore research in ambiguous spaces? Are you interested in conducting research that will improve the employee and manager experience at Amazon? Do you want to work on an interdisciplinary team of scientists that collaborate rather than compete? Join us at PXT Central Science!The People eXperience and Technology Central Science Team (PXTCS) uses economics, behavioral science, statistics, and machine learning to proactively identify mechanisms and process improvements which simultaneously improve Amazon and the lives, wellbeing, and the value of work to Amazonians. We are an interdisciplinary team that combines the talents of science and engineering to develop and deliver solutions that measurably achieve this goal.We are seeking a senior Applied Scientist with expertise in more than one or more of the following areas: machine learning, natural language processing, computational linguistics, algorithmic fairness, statistical inference, causal modeling, reinforcement learning, Bayesian methods, predictive analytics, decision theory, recommender systems, deep learning, time series modeling. In this role, you will lead and support research efforts within all aspects of the employee lifecycle: from candidate identification to recruiting, to onboarding and talent management, to leadership and development, to finally retention and brand advocacy upon exit.The ideal candidate should have strong problem-solving skills, excellent business acumen, the ability to work independently and collaboratively, and have an expertise in both science and engineering. The ideal candidate is not methods-driven, but driven by the research question at hand; in other words, they will select the appropriate method for the problem, rather than searching for questions to answer with a preferred method. The candidate will need to navigate complex and ambiguous business challenges by asking the right questions, understanding what methodologies to employ, and communicating results to multiple audiences (e.g., technical peers, functional teams, business leaders).About the teamWe are a collegial and multidisciplinary team of researchers in People eXperience and Technology (PXT) that combines the talents of science and engineering to develop innovative solutions to make Amazon Earth's Best Employer. We leverage data and rigorous analysis to help Amazon attract, retain, and develop one of the world’s largest and most talented workforces.
US, WA, Bellevue
Job summaryThe Global Supply Chain-ACES organization aims to raise the bar on Amazon’s customer experience by delivering holistic solutions for Global Customer Fulfillment that facilitate the effective and efficient movement of product through our supply chain. We develop strategies, processes, material handling and technology solutions, reporting and other mechanisms, which are simple, technology enabled, globally scalable, and locally relevant. We achieve this through cross-functional partnerships, listening to the needs of our customers and prioritizing initiatives to deliver maximum impact across the value chain. Within the organization, our Quality team balances tactical operation with operations partners with global engagement on programs to deliver improved inventory accuracy in our network. The organization is looking for an experienced Principal Research Scientist to partner with senior leadership to develop long term strategic solutions. As a Principal Scientist, they will lead critical initiatives for Global Supply Chain, leveraging complex data analysis and visualization to:a. Collaborate with business teams to define data requirements and processes;b. Automate data pipelines;c. Design, develop, and maintain scalable (automated) reports and dashboards that track progress towards plans;d. Define, track and report program success metrics.e. Serve as a technical science lead on our most demanding, cross-functional projects.
US, MA, Cambridge
Job summaryMULTIPLE POSITIONS AVAILABLECompany: AMAZON.COM SERVICES LLCPosition Title: Data Scientist IILocation: Cambridge, MassachusettsPosition Responsibilities:Utilize code (Python, R, etc.) to build ML models to solve specific business problems. Build and measure novel online & offline metrics for personal digital assistants and customer scenarios, on diverse devices and endpoints. Research and implement novel machine learning algorithms and models. Collaborate with researchers, software developers, and business leaders to define product requirements and provide modeling solutions. Communicate verbally and in writing to business customers and leadership team with various levels of technical knowledge, educating them about our systems, as well as sharing insights and recommendations.Amazon.com is an Equal Opportunity-Affirmative Action Employer – Minority / Female / Disability / Veteran / Gender Identity / Sexual Orientation #0000