System and method for measuring weight from a user's photo using deep learning networks

The system uses deep learning and machine learning to estimate weight from smartphone images, addressing the accessibility and comfort issues of traditional scales by accurately measuring body weight without specialized hardware.

JP7575747B2Active Publication Date: 2024-10-30BODYGRAM INC
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
JP2021558836
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-04-02
Filing Date
2020-04-02
Publication Date
2024-10-30
Estimated Expiration
2040-04-02

AI Technical Summary

Technical Problem

Existing weight measurement methods rely on scales, which are not always accessible or comfortable for users, and there is a need for a seamless and accurate estimation of body weight using smartphones without specialized hardware.

Method used

A system and method using deep learning networks to estimate weight from user photos taken with a 2D smartphone camera, involving body component segmentation, geometric feature calculation, and machine learning to predict weight based on annotated points and subject parameters.

Benefits of technology

Enables accurate weight estimation directly from smartphone images, eliminating the need for dedicated scales and providing a user-friendly, immediate, and precise weight measurement experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007575747000001
    Figure 0007575747000001
  • Figure 0007575747000002
    Figure 0007575747000002
  • Figure 0007575747000003
    Figure 0007575747000003
Patent Text Reader

Abstract

A system and method for predicting body weight from one or more images is disclosed, the method including the steps of receiving one or more subject parameters, receiving one or more images including the subject, utilizing one or more annotation deep learning networks to identify one or more annotation features of one or more body features beneath the subject's clothing from the one or more images, calculating one or more geometric features of the subject based on the one or more annotation features, and utilizing a weight machine learning module to generate a predicted body weight for the subject based on the one or more geometric features of the subject and the one or more subject parameters.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application is a PCT application claiming benefit of priority from U.S. Serial No. 62 / 828,373, filed April 2, 2019, entitled “SYSTEMS AND METHODS FOR WEIGHT ESTIMATION FROM USER PHOTOS USING DEEP LEARNING NETWORKS.”

[0002] Embodiments of the present invention are in the field of automated body measurements, and in particular, relate to estimating a user's weight using photos taken with a mobile device. [Background technology]

[0003] The statements in the background of the invention are provided to aid in the understanding of the invention and its application and uses and may not constitute prior art.

[0004] There are many useful applications for obtaining an accurate estimate of a user's weight. For example, health tracking and weight loss tracking require an estimate of weight. Similarly, accurate estimation of clothing size and fit based on height measurements can be accomplished using deep learning, but an accurate estimate of weight is a useful input for a more accurate estimation of height measurements.

[0005] Current methods of measuring weight rely on the use of weight scales, a hardware component that is not always available. For example, not everyone has a weight scale at home, and not everyone feels comfortable measuring their weight in a public gym. With the advent of smart phones, users have come to expect a seamless and instantaneous user experience using general-purpose hardware, without the use of specialized sensors or other hardware. Thus, requiring users to purchase a specialized weight scale to measure weight is not a feasible approach for many modern technology applications and would invite unnecessary user backlash. Similarly, having users "guess" their weight is simply not sufficient when accurate estimation of weight is required for other technology applications.

[0006] Therefore, providing a system and method for accurately estimating weight from a user's photograph taken using a regular 2D smart phone camera would be an improvement on the state of the art, so that anyone could easily take a photograph of themselves and benefit from an accurate weight estimation. It is against this background that the present invention has been developed. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] U.S. Serial Number 16 / 195,802 [Patent Document 2] U.S. Patent No. 10,321,728 [Patent Document 3] U.S. Serial Number 62 / 660,377 [Patent Document 4] U.S. Serial Number 16 / 741,620 [Patent Document 5] U.S. Serial Number 62 / 780,737 [Patent Document 6] U.S. Serial Number 16 / 517,391 [Patent Document 7] U.S. Patent No. 10,489,683 [Patent Document 8] U.S. Serial Number 16 / 697,146 [Non-patent literature]

[0008] [Non-Patent Document 1] Hengshuang Zhao et al., "Pyramid Scene Parsing Network", CVPR 2017, December 4, 2016, available at arXiv:1612.01105 [Non-Patent Document 2] Leo Breiman, "Random Forests," Machine Learning, volume 45, pages 5-32, 2001, Kluwer Academic Publishers, The Netherlands, available at doi.org / 10.1023 / A:1010933404324 Summary of the Invention [Means for solving the problem]

[0009] The present invention relates to a method and system for extracting a weight estimate from an image of a user, for example taken using a 2D mobile device camera.

[0010] More specifically, in various embodiments, the invention is a computer-implemented method for estimating or predicting a body weight of a subject, the computer-implemented method being executable by a hardware processor, the method including receiving one or more subject parameters; receiving one or more images including the subject; identifying one or more annotation key points of one or more body components beneath the subject's clothing from the one or more images utilizing one or more annotation deep-learning modules; calculating one or more geometric features of the subject based on the one or more annotation key points; and generating a prediction of the body weight of the subject utilizing a weight machine learning module based on the one or more geometric features of the subject and the one or more subject parameters.

[0011] In some embodiments, the one or more geometric features are selected from the group consisting of body component circumference, body component length, body image area, body component image area, body volume, and body component volume. In some embodiments, the body component circumference includes multiple body component circumferences of at least one body component.

[0012] In one embodiment, generating a prediction of the subject's weight further includes generating a feature vector including one or more geometric features and one or more subject parameters as input to the weight machine learning module.

[0013] In one embodiment, the weight machine learning module includes one or more of a linear regressor, a non-linear regressor, and a random forest algorithm, and the weight machine learning module is trained on ground truth data including one or more sample weights and one or more sample feature vectors for one or more sample subjects.

[0014] In one embodiment, one or more of the subject parameters are used as normalization data for scaling from pixel coordinates to real-world coordinates in one or more images.

[0015] In one embodiment, the subject's height is used as normalization data. In one embodiment, a reference object of known size in the image is used as normalization data.

[0016] In some embodiments, the one or more images include at least two images, the at least two images including the subject in at least two oblique fields of view.

[0017] In one embodiment, the at least two images include at least a front view image and a side view image of the subject, and generating one or more geometric features based on the one or more annotation key points includes one step selected from the group consisting of: (a) calculating at least one circumference of the at least one annotated body component using the annotated front view and side view images and the subject's height; (b) calculating an image area of ​​the at least one body component of the at least one annotated body component using the annotated front view and side view images and the subject's height; and (c) calculating a volume of the at least one body component of the at least one annotated body component using the annotated front view and side view images and the subject's height.

[0018] In one embodiment, the method further includes, after receiving the one or more images, performing body segmentation on the images to identify one or more body components associated with the subject from a background, where the body segmentation utilizes a segmentation deep learning module that has been trained with segmentation training data, the segmentation training data including one or more images for one or more sample subjects and body component segmentations for each body component for the one or more sample subjects.

[0019] In one embodiment, the annotation deep learning module utilizes training data that includes one or more images for one or more sample subjects and one or more annotation key points for each body feature for the one or more sample subjects.

[0020] In one embodiment, the one or more subject parameters are selected from the group consisting of height, a received subject weight estimate, gender, age, race, and demographic information associated with the subject.

[0021] In one embodiment, the predicted value of the subject's weight is a first estimate, and the method further includes generating a second estimate of the subject's weight using a second machine learning module, comparing a first reliability score of the first estimate to a second reliability score of the second estimate, and selecting either the first estimate or the second estimate as the subject's weight based on the first and second reliability scores.

[0022] In one embodiment, the method further includes determining whether the predicted value of the subject's weight corresponds to a confidence level below a predetermined value; in response to determining that the predicted value of the subject's weight corresponds to a confidence level below the predetermined value, comparing the predicted value of the subject's weight with the received subject's weight estimate; the received subject weight estimate is used to guide the weight machine learning module; updating the predicted value of the subject's weight; and replacing the predicted value of the subject's weight with the updated predicted value of the subject's weight.

[0023] In some embodiments, subject parameters are received from a mobile computing device and subject images are received from a camera of the mobile computing device. In some embodiments, receiving the one or more subject parameters from the mobile computing device includes receiving measurements performed by the mobile computing device. In some embodiments, depth data from a depth sensor of the mobile computing device is used as normalization data to scale from pixel coordinates to real world coordinates in the one or more images.

[0024] In one embodiment, the method further includes pre-processing one or more images of the subject and background prior to identifying the annotation key points, the pre-processing including at least perspective correction on the one or more images, the perspective correction being selected from the group consisting of perspective correction utilizing a head of the subject, perspective correction utilizing a gyroscope of the mobile computing device, and perspective correction utilizing another sensor of the mobile computing device.

[0025] In various embodiments, a computer program product is disclosed that may be used for predicting a body weight measurement of a subject and may include a computer-readable storage medium having program instructions or program code embodied therein, the program instructions being executable by a processor to cause the processor to perform the steps described herein.

[0026] In various embodiments, a system for predicting a weight measurement is described that includes a memory that stores computer-executable components and a hardware processor operatively coupled to the memory and that executes the computer-executable components stored in the memory, where the computer-executable components may include components communicatively coupled to the processor that perform the steps described above.

[0027] In another embodiment, the invention is a non-transitory computer readable storage medium storing executable instructions that, when executed by a processor, cause the processor to perform a process for predicting a weight measurement, the instructions causing the processor to perform the steps described above.

[0028] In another embodiment, the invention is a weight measurement prediction system using a 2D camera, the system including a user device having a 2D camera, a processor, a display, and a first memory, a server having a second memory and a data repository, an electrical communication link between the device and the server, and a number of computer codes contained in the first and second memories of the user device and the server, which, when executed, cause the server and the user device to perform a process including the steps described above.

[0029] In yet another embodiment, the present invention is a computerized server for predicting a weight measurement, comprising at least one processor, a memory, and a plurality of computer codes contained in the memory, which, when executed, cause the processor to perform a process including the steps described above.

[0030] Other aspects and embodiments of the present invention include methods, processes, and algorithms that include the steps set forth herein, and further include the processes and modes of operation of the systems and servers set forth herein.

[0031] Still other aspects and embodiments of the invention will become apparent from the detailed description of the invention when read in conjunction with the accompanying drawings.

[0032] Embodiments of the invention presented herein are illustrative and not limiting. Embodiments will now be described, by way of example, with reference to the accompanying drawings, in which: [Brief description of the drawings]

[0033] [Figure 1] FIG. 1 is an exemplary diagram of a weight determination process utilizing a deep learning network (DLN) and machine learning, according to one embodiment of the present invention. [Diagram 2] FIG. 1 is a flow diagram of an example of a weight determination process using a deep learning network (DLN) and machine learning, according to another embodiment of the present invention. [Diagram 3] FIG. 13 is a detailed flow diagram of weight determination using a deep learning network (DLN) and machine learning according to another embodiment of the present invention. [Figure 4] FIG. 1 is a detailed flow diagram of body component segmentation and annotation using a deep learning network (DLN) according to one embodiment of the present invention. [Diagram 5] FIG. 13 is an exemplary diagram of a machine learning algorithm for determining weight from one or more feature vectors obtained from geometric features, calculated based on interest point annotations and one or more subject parameters, according to another embodiment of the present invention. [Figure 6] FIG. 2 is an exemplary client-server diagram for implementing weight measurement, according to one embodiment of the present invention. [Figure 7] FIG. 1 is an example flow diagram for weight determination showing an individual segmented DLN, annotation DLN, and weight machine learning module according to an embodiment of the present invention. [Figure 8] FIG. 2 is a diagram of an exemplary hardware architecture of a server and / or user device for implementing certain embodiments of the present invention. [Figure 9] FIG. 1 illustrates an exemplary system architecture for implementing one embodiment of the present invention in a client-server environment. [Figure 10] FIG. 2 is an exemplary diagram illustrating a use case of the present invention in which a mobile device with a single camera is used to measure a person's weight according to one embodiment of the present invention, showing a graphical user interface (GUI) with instructions for the user to capture a photograph of the subject. [Figure 11] FIG. 13 is an exemplary diagram of a mobile device GUI for receiving one or more subject parameters according to one embodiment of the present invention. [Figure 12] FIG. 13 is an exemplary diagram of a mobile device GUI for capturing a front view photograph showing a template indicating where a subject should stand, according to one embodiment of the present invention. [Figure 13] FIG. 11 is another exemplary diagram of a mobile device GUI for capturing a front view photograph showing a template indicating where a subject should stand superimposed in augmented reality on the subject's image in accordance with one embodiment of the present invention. [Figure 14] FIG. 13 is an exemplary diagram of a mobile device GUI for capturing a side view photograph according to one embodiment of the present invention. [Figure 15] FIG. 13 is an exemplary diagram of a mobile device GUI displayed while the system processes captured photos to predict weight, according to one embodiment of the present invention. [Figure 16] FIG. 13 is an example diagram of a mobile device GUI showing a notification screen when weight prediction is successfully completed, according to one embodiment of the present invention. [Figure 17] FIG. 13 is an exemplary diagram of a mobile device used to predict weight from a user photograph, showing a mobile device GUI with a notification screen if weight prediction is successfully completed, according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0034] Embodiments of the present invention will now be described in detail with reference to the provided drawings.

[0035] In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced without these specific details. In other instances, structures, devices, acts, and methods are shown using schematics, use cases, and / or flow diagrams in order not to obscure the present invention. Although the following description includes many specifics for purposes of explanation, those skilled in the art will understand that many variations and / or modifications to the suggested details are within the scope of the present invention. Similarly, while many of the features of the present invention are described in terms of or in conjunction with one another, those skilled in the art will understand that many of these features may be provided independently of other features. Thus, the present specification is set forth without any loss of generality to the present invention and without limitations thereon.

[0036] In some embodiments, the system may automatically calculate a weight prediction using the input subject photograph, normalized data, and one or more subject parameters (e.g., using one or more AI-based algorithms). Embodiments of the present invention do not require a dedicated hardware camera, a dedicated weight scale, or any dedicated hardware whatsoever. Rather, advanced computer vision techniques utilizing deep learning techniques combined with machine learning algorithms are used instead to predict accurate weight from a photograph provided by a simple mobile device camera, no matter what the subject is wearing. In this disclosure, the term "2D phone camera" is used to refer to any conventional camera built into or connected to a computing device, such as a smart phone, tablet, laptop computer, desktop computer, etc.

[0037] Deep Learning Networks and Machine Learning for Weight Prediction FIG. 1 illustrates an exemplary diagram 100 of a weight prediction process using a deep learning network (DLN) and machine learning, according to one embodiment of the present invention. In step 110, a mobile device with a conventional 2D camera is utilized to capture one or more images (e.g., front 112 and side 113 view images) of a subject, as well as to receive one or more subject parameters. The subject parameters may include normalization data (e.g., the person's height) or other subject parameters, as described in subsequent steps 131 and 170. In step 120, one or more body components (features) associated with the person are identified from the background, and one or more deep learning networks (121, 122) are utilized to annotate the one or more body components (features) beneath clothing that the subject may have been wearing in the images 112 and 113. In one embodiment, the identification of the person from the background is accomplished using one or more segmentation deep learning networks that have been trained on identifying the body features (e.g., body components) of a person from the background. Further, in one embodiment, annotation key points are generated for each body component using one or more annotation deep learning networks that have been trained on each body feature. This is shown in the annotated front view 123 and side view 124 images of FIG. 1. In one embodiment, annotation lines are further generated to connect the key points of the body components, resulting in line-annotated front and side view images. In step 130, the segmented and annotated body components are combined with the received normalization data (e.g., subject height) 131 to calculate an estimate of one or more geometric features (e.g., area of ​​the body component), where the normalization data allows for the conversion of measurements (e.g., distance between annotation key points) from pixel coordinates to real-world coordinates.The generation and use of segmented and annotated body components 130 using normalized data such as subject height 131 to estimate body measurements 190 is described in U.S. Serial No. 62 / 660,377, entitled "SYSTEMS AND METHODS FOR FULL BODY MEASUREMENTS EXTRACTION USING A 2D PHONE CAMERA," filed April 20, 2018, which itself claims the benefit of priority therefrom, and in related applications entitled "SYSTEMS AND METHODS FOR FULL BODY MEASUREMENTS EXTRACTION," issued June 18, 2019 as U.S. Patent No. 10,321,728, both of which are hereby incorporated by reference.

[0038] FIG. 1 illustrates three possible implementation options at steps 140, 150, and 160. In a first option 140, the geometric feature is the circumference of the body component. With this option, the circumference of one or more body components 141 is generated from the annotated body components (features). In one embodiment, the circumference of one or more body components is generated using annotated images of at least the front 123 and side 124. In some embodiments, the circumference of one or more body components is combined into a single body component circumference feature vector 141. In step 142, the subject's weight is estimated or predicted from the circumference of one or more body components 141 and one or more subject parameters 170 (e.g., the subject's height, age, sex, and / or race) utilizing a weight machine learning module. In some embodiments, the inputs of the weight machine learning module, including the circumference of one or more body components 141 and the one or more subject parameters 170, are combined into a single feature vector (not shown in FIG. 1). The weight machine learning module 142 may, in some embodiments, include one or more random forest regressors. Other machine learning methods are also within the scope of the weight machine learning module, as described in more detail below. Finally, at step 180, the subject's predicted weight (e.g., weight estimate) is output. The predicted weight may be output to a user on the mobile computing device, or may be used for other downstream purposes by the mobile computing device or by another server process.

[0039] According to a second option 150, the geometric feature is a body component image area, and one or more body component areas are generated from annotated body components (features) 151. In one embodiment, the one or more body component areas are generated using at least the front 123 and side 124 annotation landmarks. In some embodiments, the one or more body component image areas are combined into a single body component area feature vector (not shown in FIG. 1 ). In some embodiments, the body area feature vector includes full body areas from different body poses (e.g., a frontal full body area and a side full body area based on annotated front 123 and side 124 images). In another embodiment, the body area feature vector includes one or more body component areas based on one or more annotated images (e.g., one or more body component image areas based on annotated front 123 and side 124 images). In step 152, the subject's weight is estimated from the one or more body component areas 151 and one or more subject parameters 170 (e.g., the subject's height, age, sex, and / or race) utilizing a weight machine learning module. In some embodiments, the inputs of the weight machine learning module, including the one or more body component areas 151 and the one or more subject parameters 170, are combined into a single feature vector (not shown in FIG. 1 ). The weight machine learning module 152 may include one or more random forest regressors. Finally, in step 180, the predicted subject's weight is output.

[0040] According to a third option 160, the geometric feature is a body component volume, and one or more body component volumes are generated from the annotated body components 161. In one embodiment, the one or more body component volumes are generated using at least the front 123 and side 124 annotation landmarks. In some embodiments, the one or more body component volumes are combined into a single body volume feature vector (not shown in FIG. 1). In some embodiments, the body volume feature vector includes an estimate of the whole body volume based on different body poses (e.g., annotated front 123 and side 124 images). In another embodiment, the body volume feature vector includes one or more body component volumes based on one or more annotated images (e.g., annotated front 123 and side 124 images). In step 162, the subject's weight is estimated from the one or more body component volumes 161 and one or more subject parameters 170 (e.g., the subject's height, age, sex, and / or race) utilizing a weight machine learning module. In some embodiments, the inputs of the weight machine learning module, including one or more body component volumes 161 and one or more subject parameters 170, are combined into a single feature vector (not shown in FIG. 1). The weight machine learning module 162 may include one or more random forest regressors. Finally, in step 180, the predicted subject weight is output.

[0041] Computing geometric features from annotated subject images In some implementations of the first option 140, annotation key points (e.g., annotated front view 123 and side view 124 body components) are used to calculate the circumference for each body component in real world coordinates such as centimeters (cm), inches (in), etc. For example, the distance between the front view and side view annotation key points for the neck feature may be used to calculate the neck circumference in centimeters. The calculated circumference is utilized to generate a circumference feature vector 141. In some implementations, hip and neck circumferences are used in the circumference feature vector. In other implementations, leg and arm circumferences are used in any combination with the hip and / or neck circumference to generate the circumference feature vector. In still other implementations, the circumferences of other body components may be used in various subcombinations as may be recognized by one skilled in the art to generate the circumference feature vector. In some implementations, the circumference of the body component may include the circumferences of multiple body components of at least one body component. For example, more than two or more circumferences measured along the length of a body component (such as an arm, thigh, and leg) may be used. In yet other embodiments, the length of a body component, such as an arm, leg, or torso length, may be used along with the circumference of the body component to generate a subject feature vector.

[0042] Similarly, in some embodiments of the second option 150, the annotation points (e.g., annotated body components in the front view 123 and side view 124) are measured in square centimeters (cm 2 ), square inch (in 2 ) for each body component. For example, the distance between the front view annotation key points 123 of the various body components (neck, waist, wrist, thigh, foot, etc.) is calculated as cm 2 In another embodiment, the front view annotation key points 123 of various body components (neck, waist, wrist, thigh, foot, etc.) can be used to calculate the front view body image area in cm 2The image areas of the body components in the front view and side view may be used to calculate the image area for each body component in the front view. The calculated image areas are utilized to generate an image area feature vector 151. In one embodiment, the front view and side view full body image areas are used for the image area feature vector. In another embodiment, the image areas of the torso, legs, and arms body components in the front view are used in any combination with the front view and / or side view full body image areas to generate the image area feature vector. In yet another embodiment, the image areas of other body components may be used in various subcombinations as can be recognized by one skilled in the art to generate the image area feature vector.

[0043] Additionally, in some implementations of the third option 160, the annotation points (e.g., annotated body components in the front view 123 and side view 124) are expressed in cubic centimeters (cm 3 ), cubic inch (in 3 ) for each body component (body feature). For example, the distance between annotation key points in the front view 123 and the side view 124 for various body components (neck, waist, wrist, thigh, foot, etc.) is in cm. 3 In another embodiment, annotation landmarks in the front view 123 and side view 124 of various body components (neck, waist, wrist, thigh, foot, etc.) can be used to calculate the body volume in cm 3 The calculated volumes are utilized to generate a body volume feature vector 161. In one embodiment, the whole body volume is used for the volume feature vector. In another embodiment, the volumes of the torso, legs, and arms body components are used in any combination with the whole body volume to generate the volume feature vector. In yet another embodiment, the volumes of other body components may be used in various subcombinations, as can be recognized by one skilled in the art, to generate the volume feature vector.

[0044] FIG. 2 illustrates a flow diagram 200 of an example of a process for weight prediction using a deep learning network (DLN) and machine learning, according to another embodiment of the present invention. In step 201, the process includes receiving one or more images from a computing device, the images including a subject and a background. In step 202, the process includes receiving normalization data (e.g., subject height). As described above, the normalization data may further include a reference object of known size in the image, depth data from a depth sensor, and so forth. Optionally, in step 203, the process includes receiving one or more subject parameters (e.g., age, gender, race, etc.) from the computing device. Optionally, in step 204, the process includes identifying one or more body features (e.g., body components) associated with the person, for example, by utilizing a segmentation deep learning network that is utilized to segment the body components from the background. In FIG. 2, optional steps 203 and 204 are indicated by dashed boxes. In step 205, the process includes annotating one or more body features with annotation points corresponding to the significant body feature locations using one or more annotation deep learning networks that have been trained on each body feature. In the absence of optional step 204, step 205 automatically performs identification of one or more body features (e.g., body components) as part of the annotation step without first separating the body components from the background. The annotated body components from step 205 are then combined with the normalized data received from step 202 to calculate or estimate one or more geometric features (e.g., circumference, area, or volume of the body component). Figure 2 shows three possible implementation options at options 210 (body component circumference), 220 (body component area), and 230 (body component volume). These options are similar to options 140, 150, and 160 shown in Figure 1.

[0045] In a first option 210, the geometric feature is the circumference of the body component. According to this option, in step 211, the process includes generating or estimating the circumference of one or more body components from the annotated body components and the normalized data (to convert from pixel coordinates to real-world coordinates). In some embodiments, step 211 includes estimating the circumference of the body components using the annotated body components and the subject's height. In some embodiments, the circumferences of the body components are combined into one circumference feature vector 141. In step 212, the inputs of the weight machine learning module, including the circumference of one or more body components and one or more subject parameters, are combined into a single subject feature vector. In yet other embodiments, the length of the body components, such as arm, leg, or torso length, may be utilized along with the circumference of the body components to generate the subject feature vector. In step 213, the process includes estimating or predicting the subject's weight using a weight machine learning module based on the subject feature vector that has been trained on ground truth data of body component circumference / length (e.g., data showing the correlation between body component circumference / length and weight for given subject parameters such as age, sex, race, etc.) Finally, in step 240, the process outputs the predicted subject's weight for downstream use.

[0046] In a second option 220, the one or more geometric features are body image area or body component image area. According to this option, in step 221, the process includes generating or estimating one or more body component image areas from the annotated body components and the normalized data. In some embodiments, step 221 includes estimating a whole body image area or one or more body component image areas using the annotated body components and the person's height. In some embodiments, the body component image areas are combined into a single body image area vector, as described above in the context of FIG. 1. In step 222, the inputs of the weight machine learning module, including the one or more body component image areas and the one or more subject parameters, are combined into a single subject feature vector. In step 223, the process includes estimating the subject's weight using the weight machine learning module based on the subject feature vector, which has been trained on body area ground truth data (e.g., data showing the correlation between body (component) area and weight for given subject parameters such as age, sex, race, etc.). Finally, in step 240, the process outputs the predicted subject weight.

[0047] In a third option 230, the one or more geometric features are body volume or one or more body component volumes. According to this option, in step 231, the process includes generating or estimating one or more body component volumes from the annotated body components and the normalized data. In some embodiments, step 231 includes estimating a total body volume or one or more body component volumes using the annotated body components and the person's height. In some embodiments, the body component volumes are combined into a single body volume feature vector, as described above in the context of FIG. 1. In step 232, the inputs of the weight machine learning module, including one or more body component volumes and one or more subject parameters, are combined into a single subject feature vector. In step 233, the process includes estimating the subject's weight using the weight machine learning module based on the subject feature vector, which has been trained on body volume ground truth data (e.g., data showing a correlation between body (component) volumes and weight for given subject parameters such as age, sex, race, etc.). Finally, in step 240, the process outputs the predicted subject weight.

[0048] It will be appreciated that the geometric features calculated from the annotation key points 350 are not limited to the circumference of a body component, the image area of ​​a body component, or the volume of a body component, but may include any geometric quantity measurable through analysis of the received 2D image. For example, in one additional option (not shown in FIGS. 1-3), the geometric features may include the lengths of the body components measured in real-world coordinates from the annotation key points generated from the received photograph. These lengths of the body components may then be included in a subject feature vector that includes the geometric features of the subject.

[0049] It will be appreciated that the geometric features may be used separately or in any combination. For example, both the body component circumference and the body component length may be used together to generate a subject feature vector. In another example, the body component circumference, the body component length, and the body component image area may all be used together to generate a subject feature vector. In yet another example, the body component volume may be used separately or in combination with some or all of the other geometric features.

[0050] Subject image / photo In step 201, one or more subject images or photographs may be received from a user device, such as a mobile computing device, a laptop computer, a tablet, a standalone camera, and the like. For example, at least a front and / or side view photograph of the subject may be received. In some embodiments, the photographs may be obtained from a device (e.g., a mobile phone, a laptop computer, a tablet, and the like). In another embodiment, the photographs may be obtained from a database (e.g., a social media database). In another embodiment, the subject photographs include a photograph showing a front view and a photograph showing a side view of the subject's entire body. In some embodiments, as little as one photograph, such as a front view, is utilized, and one photograph is sufficient to perform an accurate weight prediction. Still in other embodiments, three or more photographs are utilized, and in some embodiments, a front view photograph, a side view photograph, and a photograph taken at an angle of about 45 degrees. Other combinations of subject photographs are within the scope of the present invention, as can be recognized by one of ordinary skill in the art. In some embodiments, subject video may be received, including, for example, a front view, a 90 degree, a 180 degree, or even a 360 degree view of the subject. From the subject video, one or more still frames or photographs, such as front, side, and / or 45 degree views of the subject, are extracted from the video and used in subsequent processing.

[0051] In one embodiment, the image may be taken at a specified distance (e.g., approximately 10 feet away from the computing device's camera). In another embodiment, multiple images of a given location (e.g., front and side view photographs) may be taken and an average image may be determined for each location. This may be performed to improve accuracy. In another embodiment, the subject may be placed against a particular type of background (e.g., a neutral color, or a predefined background image). In some embodiments, the subject may be placed against any type of background. In some embodiments, the front and side view photographs may be taken under similar lighting conditions (e.g., a given brightness, shade, etc.).

[0052] In some embodiments, an image may be taken of the subject in a particular pose (e.g., arms in position, legs shoulder-width apart, back straight, etc.). In some embodiments, the input image shows the subject in a pose with hands at a 45 degree angle ("A-pose"). Although a particular user pose such as "A-pose" may be used in some embodiments, one skilled in the art will understand that any pose is within the scope of the present invention, including "A-pose", hands at sides, or any other pose. An optimal pose would clearly show legs and arms away from the body. One advantage of the present invention is that the subject can stand in almost any legal pose and against any type of background. The subject does not need to stand against a blank background or be specially positioned where the photo is taken.

[0053] In some embodiments, the subject may indicate whether they are wearing tight, normal, or loose clothing for more accurate results. In some embodiments, the front and side view photographs may include images of the subject wearing normally fitted clothing (e.g., not too loose or not too tight). Alternatively, or in addition, the front and side view photographs may include images of the subject wearing partially fitted clothing (e.g., no shirt) or with a different type of fit (e.g., tight, loose, etc.), depending on the embodiment.

[0054] FIG. 3 shows a detailed flow diagram 300 of weight prediction using deep learning networks (DLNs) and machine learning according to another embodiment of the present invention. Inputs to the weight prediction process include a frontal photo 310, a side photo 320, a subject height 330, and other subject parameters (e.g., subject weight estimate, age, sex, race, etc.) 340. The frontal photo 310 is pre-processed in step 311, while the side photo 320 is pre-processed in step 321. Examples of pre-processing steps, such as perspective correction, person cropping, image resizing, etc., are described below. In step 312, the pre-processed frontal photo is used as input to DLN1 (described in more detail in connection with FIG. 4) to extract annotation key points for the frontal photo 310. In step 322, the pre-processed side photo is used as input to DLN2 to similarly extract annotation key points for the side photo 320. The annotation key points per body component from the front view 313 are output from DLN1, and the annotation key points per body component from the side view 323 are output from DLN2. In step 350, the two sets of annotation key points from the front photo 310 and the side photo 320 are used along with normalized data (e.g., height) 331 to calculate the geometric features (e.g., circumference, area, and / or volume of the body components) described in connection with Figs. 1 and 2. In step 360, the geometric features along with height and other subject parameters 341 are used in a machine learning algorithm, such as Random Forest (described in more detail in connection with Fig. 5), to predict one or more subject weight estimates. Finally, in step 370, the predicted weight is output.

[0055] Target parameters In some embodiments, one or more of the subject parameters are utilized as inputs to the weight machine learning module. For example, height, age, sex, race, athleticism, and other subject parameters may be used as inputs to the weight machine learning module, as may be recognized by one of skill in the art. Specifically, according to one embodiment, a subject's unique best "guess-take" of their own weight may further be used as a subject parameter as an input to the weight machine learning module. As an illustrative example, the subject's gender may be used as one subject parameter as an input to the weight machine learning module. For example, women may have more fat distribution on their body and therefore may have a different density than men, and thus the subject's gender may be one useful parameter of input to the weight machine learning module. There are many other subject parameters that may also be within the scope of the present invention as inputs to the weight machine learning module, as may be recognized by one of skill in the art. The weight machine learning module may discover user parameters that are not previously recognized because they are significant in the correlation between user parameters and weight.

[0056] Subject parameters (e.g., height, weight, demographic data, athleticism, etc.) may be received from a user and / or the parameters may be automatically generated by a camera of a mobile computing device. In various aspects, subject parameters may be determined automatically (e.g., using computer vision algorithms or retrieved from one or more databases) or received from a user (e.g., user input).

[0057] In various embodiments, steps 201 (receiving an input image), 202 (receiving normalization data), and 203 (receiving subject parameters) may be performed in any order in various embodiments of the invention, or the steps may be performed in parallel. In some embodiments, the normalization data is one of the subject parameters (e.g., the subject's height), and thus steps 202 and 203 are effectively combined.

[0058] In another embodiment, a received subject weight estimate may be received and used in conjunction with height. Both subject parameters may be determined or estimated automatically (e.g., using a computer vision algorithm or retrieved from one or more databases) or received from a user (e.g., user input). In one embodiment, a body mass index (BMI) may be calculated from these subject parameters. The BMI may be used to improve the accuracy of weight prediction using both the received subject weight estimate and height.

[0059] Thus, the subject parameters may include, among others, one or more of height, received subject weight estimate, sex, age, race, country of origin, athleticism, and / or other demographic information associated with the subject. Subject parameters such as height, received subject weight, BMI index, age, sex, etc. may be used to generate a weight-prediction feature vector. In various embodiments, the subject parameters may be obtained automatically from the device, from one or more third party data sources, or from a server.

[0060] Standardized data and subject height In various embodiments of the present invention, the normalization data (131, 202) may include one of the subject parameters, such as subject height 330. The normalization data is obtained, generated, and / or measured for scaling from pixel coordinates to real-world coordinates to perform the normalization.

[0061] In some embodiments, subject height may be used to normalize or scale front and / or side view photographs and provide a reference scale for subjects in the photographs. In some embodiments, subject height is received from measurements performed by a mobile computing device. In some embodiments, subject height is known from conventional measurements, conventional user input, and / or database queries. In some embodiments, subject height may be measured by a mobile computing device using a height measurement process using position guidance in augmented reality (AR), as described in related U.S. Serial No. 16 / 741,620, filed January 13, 2020, entitled “METHODS AND SYSTEMS FOR HEIGHT ESTIMATION FROM A 2D IMAGE USING AUGMENTED REALITY,” which is hereby incorporated by reference.

[0062] In one embodiment, the system may determine geometric features using the received subject height as input to normalize the image data from pixel coordinates to real-world coordinates (e.g., centimeters). To do this, in one embodiment, the annotation DLN draws a "full body" annotation line with two annotation points indicating the location of the subject's height, with one point representing the bottom of the subject's feet and another point representing the top of the subject's head. This "full body" annotation line is used to normalize the distance between annotation interest points by the subject's known height provided in step 131, 202, or 330. That is, the subject's height in the image is detected and used along with the received actual height to normalize all annotation interest point measurements. This process may be viewed as "height reference normalization," using the subject's known height as the standard measurement for normalization. Once normalization is performed, the real-world distances (perimeter and length), areas, and volumes of body components may be calculated, predicted, or inferred from the pixel distances (perimeter and length) in the input image and the pixel areas of the body components.

[0063] In yet another embodiment, the normalization data may be real-world coordinates mapped onto the input image by a depth sensor. The depth sensor data may then be used to convert the known position of the subject from pixel coordinates to real-world coordinates. The depth sensor provides Z coordinate data, the Z axis being the distance direction from the camera, which may be used to normalize the distance to the subject from pixel coordinates to real-world coordinates. This is performed similarly to height-based normalization.

[0064] In yet another embodiment, the normalized data may be an object of known size, such as a letter or A4 paper, a credit card, etc., that serves as a scale standard. In preparation for capturing an image of a subject, a rectangular reference object, such as an 8.5x11 piece of paper or a credit card, is placed on or near the subject. The size and aspect ratio of the reference rectangle may be determined in other ways, and may be determined explicitly or automatically. In one embodiment, a user may identify a reference rectangle to be used, such as an A4 or 8.5x11 piece of paper, a 3x5 note card, or an ISO / IEC standard size credit card. A rectangle scoring algorithm may then find the explicitly identified rectangle. That is, the normalized data, which scales from pixel coordinates to real-world coordinates, may receive the dimensions of the reference rectangle from the user. In another embodiment, the process automatically determines the size of the reference rectangle based on characteristics of the captured image when compared to a data store of common document sizes. If multiple rectangles are found in the photograph and one rectangle is selected, the dimensions of the rectangle are estimated from a list of allowed dimensions and aspect ratios. Alternatively, any text or logo on the reference rectangle, as well as the size and rounded corners, may indicate a credit card, with the size being extrapolated from known credit card sizes. In another embodiment, the user may be asked to select from a provided list of common items that may be used as the reference rectangle, such as a credit card, a dollar bill, or a standard size piece of paper.

[0065] Preprocessing of subject images In some embodiments, pre-processing of one or more subject photos, such as perspective correction, may be performed on the subject photos as needed. For example, the system may use OpenCV, an open source machine vision library, to use head features and subject height in the front and side view photos as a basis for perspective correction. In this way, embodiments of the invention may more accurately determine annotation key points. Optionally, a perspective side photo showing where the camera is located relative to the person being photographed may result in even more accurate perspective correction by allowing the system to calculate the distance between the camera and the subject. In some embodiments, the system may instead use gyroscope data provided by the device (or peripherals connected to the device, such as a computing device accessory) to detect the perspective angle of the photo and perform perspective correction based on the perspective angle of the photo.

[0066] In some embodiments, one or more additional pre-processing steps (not shown in FIGS. 1-3) may be performed on the photograph(s) of the subject(s). A variety of computer vision techniques may be utilized to further pre-process the image(s). Other examples of pre-processing steps may include contrast, lighting, and other image processing techniques to improve the quality of the image(s) prior to further processing.

[0067] Segmented Deep Learning Network (DLN) In some embodiments of the invention, computer vision techniques and deep learning are applied to front and side view photographs of a subject, as well as the subject's height, to detect key points on the subject's body under clothing using one or more deep learning networks that have been trained with the subject's body contours under clothing on images from thousands of sample subjects. The key point annotations are used along with the subject's height to generate one or more geometric feature measurements of the subject in real world coordinates. The geometric feature measurements are used along with the height and possibly other subject parameters (such as gender, age, race, etc.) to predict the subject's weight using one or more machine learning modules that have been trained on ground truth weight data of the sample subjects. As more data is collected by the system, the accuracy of the predicted weight automatically improves.

[0068] As described above, the geometric feature measurements (length, circumference, area, and / or volume of one or more body components) are used as inputs to a weight machine learning module to predict the subject's weight. In some embodiments, body feature segmentation from the background and body feature landmark annotation of the geometric feature measurements are performed using one or more deep learning networks. Accordingly, the segmentation and annotation deep learning networks used for landmark annotation to detect the subject's under-clothed body are now described in detail.

[0069] In steps 204 and 706, body features such as body components of the subject (e.g., neck, arms, legs, etc.) may be segmented from the image using a first deep learning network (DLN), known as a segmentation DLN. In one embodiment, "deep learning" may refer to a class of machine learning algorithms that use a cascade of multiple layers of nonlinear processing units of feature extraction and transformation modeled after neural networks. In one embodiment, successive layers may use the output from the previous layer as input. In one embodiment, the "deep" in "deep learning" may refer to the number of layers through which data is transformed. An example of a body feature segmentation DLN is described below with reference to FIG. 4.

[0070] Before performing this segmentation step on data from actual users, the system may first be trained on sample photos of people, for example, in different environments, wearing different clothing against different backgrounds, and in a pose, for example, with hands at a 45 degree angle ("A pose"). In some embodiments, the segmentation DLN algorithm may be trained on segmentation training data. In some embodiments, the segmentation training data may include thousands of sample photos that include people with segmented physical features. The sample photos segment the physical features from the background of the photo.

[0071] In some embodiments, the training data includes medical data, e.g., from CAT scans, MRI scans, etc. In some embodiments, the training data includes data from traditional 3D body measurements, including 3D body scans from a 3D body scanner. In some embodiments, a 3D body scan may be used to extract a close frontal and / or side view photograph if the frontal and side view photographs are not explicitly available. In some embodiments, the ground truth data includes data from a 3D body scan. In some embodiments, 3D body scan data from the “SizeUSA” dataset, which is a commercial sample of 3D body scans acquired on approximately 10,000 subjects (both males and females), may be utilized. In other embodiments, 3D body scan data from the “CAESAR” dataset, which is another commercial sample of 3D body scans acquired on approximately 4,000 subjects and further includes ground truth data, may be utilized. Still in other embodiments, organizations utilizing the present invention may capture their own frontal and side photographs along with suitable ground truth data for training a segmented DLN.

[0072] In one embodiment of the invention, the identified body components may be segmented, separated or cropped from the rest of the person and the background using the segmentation map generated in steps 204 and 706. The cropping may be real or virtual. The portion of the image corresponding to each identified body component may be cropped, segmented or separated from the rest of the image, and that portion of the image is passed to the annotation steps (205 and 708). By cropping or separating the identified body components from the rest of the image, the DLN used in the annotation steps (205 and 708) is trained individually or separately for each separated body component, increasing both accuracy and reliability.

[0073] Annotation Deep Learning Networks (DLN) In step 205, the annotation key points for each body component identified in step 204 may be delineated to detect the subject's body shape under clothing using one or more deep learning networks (DLNs) known as annotation DLNs. In one embodiment, there is one annotation DLN for the entire body. In another embodiment, there is a separate annotation DLN for each body component. The advantage of using separate annotation DLNs for each body component is improved accuracy and reliability in the body component annotation. Each body component annotation DLN may be trained separately on separate unique data for each body component. The uniqueness of the data for each body component improves the accuracy and reliability of the DLNs and further improves the convergence speed of the neural network training. An example of a body feature key point annotation DLN is described below with reference to FIG. 4.

[0074] In one embodiment, the annotation DLN identifies annotation key points from signals obtained from the body features. The annotation key points may be different for each body feature and may be drawn differently. For example, for the biceps width or circumference, the system may draw a line perpendicular to the bone line at the biceps position and annotate the end of the line as the annotation key point, and for the chest, the system may annotate two chest points instead. From the annotation of each body feature, a body feature measurement may then be obtained by normalizing to the subject's height received in step 131, 202, or 330 as described herein.

[0075] Before performing this annotation step on data from actual subjects, the system may first be trained on sample photographs of people, e.g., in different environments, wearing different clothing, and in a pose, e.g., with hands at a 45 degree angle ("A pose"), as described further below, to identify the subject's physical features and interest point annotations underneath the clothing.

[0076] Exemplary Deep Learning Network (DLN) Module Architecture With respect to the deep learning network (DLN) used in the present invention, any suitable deep learning architecture may be used, such as a deep neural network, a deep belief network, and / or a recurrent neural network. In some embodiments, the deep learning algorithm may learn in a supervised (e.g., classification) and / or unsupervised (e.g., pattern analysis) manner. Furthermore, the deep learning algorithm may learn multiple representation levels corresponding to different abstraction levels of information encoded in the image (e.g., whole body, body components, etc.). In some embodiments, an image (e.g., front and side photos) may be represented as a matrix of pixels. In one embodiment of the DLN, a first representation layer of the DLN may abstract the pixels and encode edges, a second layer may synthesize and encode edge configurations, a third layer may encode noses and eyes, a fourth layer may recognize that an image includes a face or other body features, etc.

[0077] FIG. 4 shows a detailed flow diagram 400 of body component segmentation and annotation according to one embodiment of the present invention. In one embodiment, body component segmentation and annotation is done using a deep learning network (DLN) using training data as described above. In one embodiment, body component segmentation and annotation is performed using a convolutional neural network (CNN) combined with a pyramid scene parsing network (PSPNet) for improved global and local context information. In PSPNet, processing may utilize global and local context information from different sized regions integrated via a "pyramid pooling module." As shown in FIG. 4, at least one input image 401 is first passed through a convolutional neural network (CNN) 402 to obtain a feature map 403 that classifies or segments each pixel into a given body component and / or annotation point. Next, global and local context information is extracted from the feature maps using a pyramid pooling module 404, which combines information from images at different size scales. Finally, the data is passed through a final convolutional layer 405, which classifies each pixel into body component segments and / or annotation interest points 406.

[0078] More specifically, from an input image 401, a CNN 402 is first used to obtain a feature map 403, then a pyramid pooling module 404 is used to extract features of different sub-regions, followed by up-sampling and concatenation layers to form a final feature representation, which conveys both local and global context information. Finally, the feature representation is fed to a final convolutional layer 405 to obtain a final pixel-wise prediction. In the example shown in FIG. 4, the pyramid pooling module 404 combines features under four different scales. The largest scale is global. Subsequent levels separate the feature map into different sub-regions. The output of the different levels of the pyramid pooling module 404 includes feature maps under different scales. In one embodiment, in order to maintain the weights of the global features, a convolutional layer may be used after each pyramid level to reduce the dimensions of the context representation. Then, the low-scale feature map is up-sampled to obtain features of the same size as the initial feature map. Finally, the different feature levels are concatenated with the original feature map 404 for the output of a pyramid pooling module 404. In one embodiment, as shown, by using a four level pyramid, the pooling window covers the whole, half and even smaller parts of the original image 401.

[0079] In one embodiment, the PSPNet algorithm is an implementation as shown in Hengshuang Zhao et al., "Pyramid Scene Parsing Network," CVPR 2017, December 4, 2016, available at arXiv:1612.01105, which is hereby incorporated by reference in its entirety as if fully set forth herein. PSPNet is merely one exemplary deep learning network algorithm within the scope of the present invention, and the present invention is not limited to the use of PSPNet. Other deep learning algorithms are also within the scope of the present invention. For example, in one embodiment of the present invention, a convolutional neural network (CNN) is utilized to identify body segments (segmentation) and a separate CNN is utilized to annotate each body segment (annotation).

[0080] An Exemplary Machine Learning (ML) Module Architecture Once the geometric features are calculated (e.g., steps 141, 151, 161 of FIG. 1), weight prediction can be made using one or more weight machine learning (ML) algorithms. In one embodiment, the weight ML algorithm includes a random forest machine learning module. In some embodiments, there is one weight ML module for the whole body. In some embodiments, there is a separate weight ML module for each body component, and the predicted weight is the sum of the predicted body component weights. For example, in the third option (steps 160 and 230) of FIGS. 1 and 2, a separate ML module may predict the weight of a given body component based on the body component feature vector and one or more subject parameters, including the area or volume of that body component. Finally, the predicted weight is the sum of the predicted weights of all the subject's body components.

[0081] FIG. 5 illustrates an exemplary diagram 500 of a machine learning (ML) module for weight prediction 502 from one or more subject feature vectors 501, including geometric features obtained from a deep learning network (DLN), according to an embodiment of the present invention. FIG. 5 illustrates subject geometric features (e.g., circumference, area, and / or volume of body components) and subject parameters (e.g., height, age, sex, etc.) as input feature vector 501. That is, the input to the ML module is the subject feature vector 501, which may include, for example, circumference, area, and / or volume of body components obtained from a deep learning network, height, and other subject parameters, for example, as described in option 1 (steps 140 and 210) of FIGS. 1-2. The output of the ML module is a predicted weight 502.

[0082] In one embodiment, shown diagrammatically in FIG. 5, the ML module uses an exemplary machine learning algorithm, the Random Forest algorithm. The Random Forest algorithm uses a large number of decision tree predictors, such that each decision tree depends on the values ​​of any subset of the training data, thereby minimizing the chance of overfitting. In one embodiment, the Random Forest algorithm is an implementation as shown in Leo Breiman, "Random Forests," Machine Learning, Vol. 45, pp. 5-32, 2001, Kluwer Academic Publishers, The Netherlands, available at doi.org / 10.1023 / A:1010933404324, which is hereby incorporated by reference in its entirety as if fully set forth herein. The Random Forest algorithm is merely one exemplary machine learning algorithm within the scope of the present invention, and the present invention is not limited to the use of the Random Forest algorithm.

[0083] It will be appreciated that Random Forest has been selected as the Weight ML module algorithm in the above examples, by way of example and without limitation, and other ML algorithms may be implemented in the Weight ML module, such as, but not limited to, other linear and non-linear regressors, such as, but not limited to, K-means and Support Vector Machines (SVMs), in accordance with the examples disclosed herein. In some embodiments, a simple linear regressor, such as a correlation coefficient, may also be utilized. The correlation coefficient may simply correlate weight and body volume for a given gender, age, etc. Other machine learning algorithms are within the scope of the present invention to further implement the Weight ML module, including, but not limited to, nearest neighbors, decision trees, Support Vector Machines (SVMs), Adaboost, various neural networks including deep learning networks, evolutionary algorithms, and the like. Other exemplary machine learning algorithms include, but are not limited to, expert systems, fuzzy logic, data fusion engines, naive Bayes, Bayesian belief networks, fuzzy logic models, probabilistic classification models, and / or statistical regression models.

[0084] In an embodiment of the present invention, the weight ML module is trained with ground truth data including one or more sample weights and one or more sample feature vectors of one or more sample subjects. For example, in this embodiment of the first option (steps 140 and 210 of Figs. 1 and 2), the weight ML module is trained with ground truth data including one or more sample weights and one or more sample feature vectors, the sample feature vectors including one or more subject parameters and one or more body component circumferences. Similarly, in this embodiment of the second option (steps 150 and 220 of Figs. 1 and 2), the weight ML module is trained with ground truth data including one or more sample weights and one or more sample feature vectors, the sample feature vectors including one or more subject parameters and one or more body component image areas. Also, in this embodiment of the third option (steps 160 and 230 in FIGS. 1 and 2), the weight ML module is trained with ground truth data including one or more sample weights and one or more sample feature vectors, where the sample feature vectors include one or more subject parameters and one or more body component volumes.

[0085] It will be appreciated that the first option (steps 140 and 210 in Figs. 1-2) will result in the simplest ML module implementation since the perimeter calculation requires simpler operations. However, the associated ML module is expected to be less accurate since training data for the body component perimeter does not provide as much information as the body component area or volume. On the other hand, the third option (steps 160 and 230 in Figs. 1-2) may require subject photographs and accompanying 3D body scans as training data, along with sample weight and other subject parameters. This option requires more complex training data and more complex operations such as keypoint annotation conversion from 2D images to 3D body component volume estimation, but is expected to result in the most accurate weight predictions. The second option (steps 150 and 220 in Figs. 1-2) may be viewed as a compromise option that requires moderate processing complexity and is expected to provide sufficiently accurate results.

[0086] Deep Learning Networks (DLN) and Machine Learning (ML) Module Training The starting point for any machine learning method, such as that used by the deep learning components described above, is a documented data set (e.g., training data) that contains multiple examples of system inputs and ground truth outcomes. This data set can be used to train the machine learning system and to evaluate and optimize the performance of the trained system using methods known in the art, including standardized machine learning methods such as, but not limited to, parametric classification methods, non-parametric methods, decision tree learning, neural networks, methods that combine both inductive and analytical learning, and modeling techniques such as regression models. The quality of the output of a machine learning system depends on (a) the parameterization of the patterns, (b) the machine learning design, and (c) the quality of the training database.

[0087] Training the segmentation DLN, annotation DLN, and weight ML modules utilized in generating a weight prediction value will now be described in detail according to an example embodiment. The training algorithm receives one or more photographs. For example, front and side view photographs of a given subject may be received. In another embodiment, the photographs may be obtained from a device (e.g., a mobile phone, a laptop computer, a tablet, etc.). In another embodiment, the photographs may be obtained from a database (e.g., a social media database). In some embodiments, one or more processing steps, such as perspective correction, may be performed on the front and side view photographs as needed. Pre-processing steps, such as contrast, lighting, or other image processing techniques may be utilized to pre-process the received images to aid in subsequent steps.

[0088] Upon receiving the photograph, an annotator may segment body features, such as body components, from the background. In one embodiment, the body components may be color coded for convenience. Specifically, body segmentation may be performed by a human to extract the subject from the background of the photograph. For example, an annotator may be used to visually edit (e.g., trace out and color code) the photograph to extract the subject from the background and indicate which body components correspond to which parts of the photograph. In one embodiment, the photograph may include a subject posing in different environments, wearing different clothing, with hands at 45 degrees ("A pose"). As described above, an accurate body contour may be drawn by a human annotator from the background. The body contour may be drawn on any suitable software platform and may use a peripheral device (e.g., a smart pen) to facilitate annotation. Furthermore, at least a portion of such segmented images may be used as training data that may be fed to a deep learning network. In one embodiment, the segmented images are utilized to train the segmentation DLN used in step 204 of FIG. 2.

[0089] The annotator may then draw estimated annotation key points for each under-clothing body feature. As described above, accurate annotation key points may be drawn by the annotator to estimate the body under clothing. The annotation key points may be drawn on any suitable software platform and may use a peripheral device (e.g., a smart pen) to facilitate annotation. Furthermore, at least a portion of such annotated image may be used as training data that may be fed to a deep learning network. In one embodiment, the key point annotations are utilized to train the annotation DLN used in step 205 of FIG. 2.

[0090] In some embodiments, training of the deep learning network may be performed using synthetically generated training data generated as described in U.S. Serial No. 62 / 780,737, filed December 17, 2018, entitled "SYSTEMS AND METHODS FOR GENERATING MASSIVE TRAINING DATA SETS FOR TRAINING DEEP LEARNING NETWORKS FOR BODY MEASUREMENTS," and related application U.S. Serial No. 16 / 517,391, filed July 19, 2019, which itself claims the benefit of priority therefrom, and U.S. Patent No. 10,489,683, issued November 26, 2019, the entire disclosures of both of which are hereby incorporated by reference herein. In this example, training data for body segmentation from background and under-clothed body keypoint annotation is generated using synthetic 2D images extracted from a real 3D body scan model.

[0091] In another embodiment, training of the deep learning network may be performed using training data generated as described in related application U.S. Serial No. 16 / 697,146, filed November 26, 2019, entitled "METHODS AND SYSTEMS FOR GENERATING 3D DATASETS TO TRAIN DEEP LEARNING NETWORKS FOR MEASUREMENTS ESTIMATION," the entire disclosure of which is hereby incorporated by reference. In this embodiment, training data for body from background segmentation and under-cloth body interest point annotation is generated using 2D images of a subject that are registered to a 3D body scan model of the same subject.

[0092] Finally, actual weight measurements for each subject (e.g., as determined by scaling) may be received to serve as ground truth data. The actual weight measurements may be used as validation data and used to train the algorithms used by the system. For example, the actual weight measurements may be used to minimize an error or loss function (e.g., mean squared error, likelihood loss, logarithmic loss, hinge loss, etc.) associated with a machine learning algorithm.

[0093] One or more weight ML modules may then be trained. In one embodiment, the weight ML module may be trained using the received weight values. For example, the weight ML module may be presented with labeled data (e.g., subject feature vectors and associated actual weight measurement data received from a scaling or database) and may determine an error function (e.g., from a loss function, as described above) based on the results of the weight ML module and the actual received weight measurements. The weight ML module may be trained to reduce the magnitude of the error function.

[0094] In another embodiment, one or more weight ML modules may be individually trained to extract weight measurements from a particular geometric feature, e.g., circumference, area, or volume, of a particular body component, such as an arm, a leg, or a neck. In another embodiment, a single weight ML module may be individually trained to extract a whole body weight measurement from a group of body geometric features. In another embodiment, separate training data sets may be used for separate weight ML modules, each corresponding to a different feature vector (e.g., circumference, image area, and / or volume). In some embodiments, training of the weight ML modules may be performed at least partially in the cloud. In some embodiments, ground truth weight data is utilized to train the weight ML modules used in steps 213, 223, or 232 of FIG. 2.

[0095] Exemplary Client-Server Implementation FIG. 6 illustrates an exemplary client-server diagram 600 for performing weight prediction, according to one embodiment of the present invention. A client 609 is shown at the top, while a server 603 is shown at the bottom. The client 609 begins the process by sending front and side images at 602. Upon receiving the images, the server 603 checks the images for correct formatting and performs other typological checks at 604. If the images are not in the correct format at 605 or have other typological issues such as incorrect pose, poor contrast, too far or too close, subject not in view, subject partially occluded, etc., the process returns this information to the client at 601. An error message or other communication of information may be displayed at the client 609 at 601, allowing the user to retake the image in one embodiment.

[0096] If the image is in the correct format at 605 and has no other formatting issues, the image is pre-processed at 606 so that it can be handled by weight estimation module 608. The image is then processed through weight estimation module 608 to determine subject weight result 610, as previously described. Weight result 610 is returned from server 603 to client 609. Client 609 examines the weight result at 612. If the weight result has any formatting issues, such as out of range, unreasonably small or large, etc., as determined at 613, processing returns to 601, similarly with an error message or other communication being presented to the user to allow the user to retake the image. If there are no formatting issues with the weight result, as determined at 613, processing ends with the predicted weight ready for display or use.

[0097] It will be appreciated that image analysis, formatting correction, and other formality checks performed at server 603 in step 604 may instead be performed at client 609 (e.g., as a bandwidth saving measure). Similarly, weight result checks performed by client 60 in step 612 may instead be performed by server 603. In general, the various steps illustrated herein may be performed by either client 609 or server 603, as can be appreciated by those skilled in the art.

[0098] Alternative architectures: integration of DLN and / or ML modules Various alternative architectures for implementing the segmentation DLN of step 204, the annotation DLN of step 205, and the weight ML module of steps 213, 223, and 233 are described. For example, Fig. 7 corresponds to the architecture shown in Fig. 2, in which the segmentation DLN, annotation DLN, and weight ML modules are separate modules. In contrast, Fig. 1 corresponds to an alternative architecture, in which the segmentation DLN and annotation DLN are integrated into a single annotation DLN (effectively performing both segmentation and annotation) that leads to a weight ML module. Finally, yet another alternative architecture (not shown) is possible, in which the segmentation DLN, annotation DLN, and weight ML modules are all integrated into a single weight DLN that effectively performs all functions of segmentation, annotation, and weight measurement. Similarly, the annotation DLN and weight ML can be implemented as one weight DLN that annotates and performs weight measurements, or as two separate modules, an annotation DLN that annotates each body feature, and a separate weight ML module that performs weight measurements. These options are described in turn.

[0099] FIG. 7 illustrates an example flow diagram 700 for weight prediction (using individual segmentation DLN, annotation DLN, and weight ML modules) according to an embodiment of the present invention. In one embodiment, front and side images are received from a subject at 702. The images are pre-processed as described at 704. Once pre-processed, the pre-processed images are sent to a segmentation DLN at 706 to generate a segmentation map, as previously described. The segmentation map is integrated with the remaining portion of the data at 714. The pre-processed images are provided to an annotation DLN at 708 along with the segmentation map to generate annotation interest points, as previously described. The annotation map is integrated with the remaining portion of the data at 714. In one embodiment, the annotation map is provided to a weight machine learning (ML) module 710 to calculate geometric features for each body component that has been segmented and annotated based on the annotation interest points, as previously described. The weight results are integrated with the remaining portion of the data at 714. The weight results are output at 712 to one or more external systems for various uses as described herein. Finally, all of the integrated and structured data (1) pre-processed front and side images, (2) segmentation map, (3) annotation map, and (4) weight results, integrated at 714, are stored in a database for further DLN training at 716. The training database 716 grows with each subject that is measured, and the accuracy of the system continually improves with use.

[0100] In another embodiment, step 706 is optional, and physical feature identification is performed in step 708, and step 714 is only required to output the annotation map (e.g., annotation interest points) from step 708. According to this embodiment of the present invention, weight measurement determination can be performed using a unified segmentation-annotation DLN and weight ML module. Front and side images are received from the subject 702 and preprocessed 704 as described above. After preprocessing, the preprocessed images are sent directly to the annotation DLN 708 to generate the annotation map as described above. In this alternative embodiment, instead of first performing physical feature segmentation 706, annotation interest points are drawn directly on the image without explicitly segmenting the physical features from the background using a specially trained unified segmentation-annotation DLN, which effectively integrates the functions of both the segmentation DLN 706 and the annotation DLN 708 into a single annotation DLN (shown in the embodiment of FIG. 7). In effect, physical feature segmentation is performed implicitly by the annotation DLN 708.

[0101] In yet another embodiment, the annotation DLN 708 and the weight ML 710 may be further integrated. Front and side images are received from the user at 702, as previously described, and the images are preprocessed at 704. After preprocessing, the preprocessed images are sent directly to the weight DLN at 710 to generate a complete weight prediction, as previously described. In this alternative embodiment, instead of first performing body feature segmentation and annotation, the weight is extracted directly from the preprocessed images using a specially trained weight DLN that effectively combines the features of the segmentation DLN, annotation DLN, and weight ML modules into a single weight DLN (not shown in FIG. 7) without explicitly segmenting the body features from the background (and without explicitly drawing interest point annotations). In effect, the body feature segmentation and annotation is performed implicitly by the weight DLN in one or more of its neural network layers.

[0102] Hardware, Software, and Cloud Implementations As explained, data described throughout this disclosure (e.g., photographs, descriptions, etc.) may include data stored in databases that are stored and hosted on a cloud computing platform. Although the present disclosure includes detailed descriptions of cloud computing below, it is understood that implementations of the teachings described herein are not limited to a cloud computing environment. Rather, embodiments of the present invention may be practiced in conjunction with any other type of computing environment now known or hereafter developed.

[0103] Cloud computing can refer to a service delivery model that enables network access to a shared pool of convenient, on-demand, configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be quickly provisioned and released with minimal administrative effort or interaction with a service provider. A cloud computing environment is service oriented to be stateless, loosely coupled, modular, and semantically interoperable. At the heart of cloud computing is an infrastructure that includes a network of interconnected nodes.

[0104] A cloud computing environment may include one or more cloud computing nodes with which local computing devices used by cloud users, such as, for example, personal digital assistants (PDAs) or mobile phones, desktop computers, laptop computers, and / or automobile computer systems, may communicate. The nodes may communicate with each other. They may be physically or virtually grouped in one or more networks, such as private, community, public, or hybrid clouds, or a combination thereof. This allows the cloud computing environment to provide infrastructure, platforms, and / or software as a service without the cloud user having to maintain resources on a local computing device. The types of computing devices are intended to be exemplary only, and it is understood that the computing nodes and cloud computing environment may communicate with any type of computerized device through any type of network and / or network addressable connection (e.g., using a web browser).

[0105] FIG. 8 shows a diagram of an exemplary hardware architecture of a server and / or user device for implementing certain embodiments of the present invention. Many components of the system, such as networks, interfaces, etc., are not shown so as not to obscure the present invention. However, one of ordinary skill in the art will understand that the system necessarily includes these components. The user device is hardware that includes at least one processor 840 coupled to memory 850. The processor may represent one or more processors (e.g., microprocessors), and the memory may represent a random access memory (RAM) device including the main storage of the hardware, and any secondary levels of memory, such as cache memory, non-volatile or backup memory (e.g., programmable or flash memory), read-only memory, etc. In addition, the memory may be considered to include memory storage physically located anywhere in the hardware, such as any cache memory in the processor, and storage capacity used as virtual memory, for example, when stored in a mass storage device.

[0106] The user device hardware also typically receives many inputs 810 and outputs 820 for communicating information with the outside world. For example, to interface with the user, the hardware may include one or more user input devices (e.g., a keyboard, a mouse, a scanner, a microphone, a web camera, etc.) and a display (e.g., a Liquid Crystal Display (LCD) panel). For additional storage, the hardware may further include one or more mass storage devices 890, such as a floppy or other removable disk, a hard disk drive, a Direct Access Storage Device (DASD), an optical drive (e.g., a Compact Disk (CD) drive, a Digital Versatile Disk (DVD) drive, etc.), and / or a tape drive, among others. Additionally, the hardware may include interfaces, one or more external databases 830, and one or more networks 880 (e.g., a local area network (LAN), a wide area network (WAN), a wireless network, and / or the Internet, among others) to enable communication of information with other computers coupled to the network. It will be understood that the hardware will typically include suitable analog and / or digital interfaces for communicating with each other.

[0107] The hardware operates under the control of an operating system 870 and executes various computer software applications 860, components, programs, code, libraries, objects, modules, etc., collectively indicated by reference numerals, to perform the methods, processes, and techniques described above.

[0108] FIG. 9 shows an exemplary system architecture for implementing an embodiment of the present invention in a client-server environment. Client-side computing devices 910 may include a smart phone 912, a laptop computer 914, a desktop PC 916, a tablet 918, or other devices. Such computing devices 910 access the services of a system server 930 through some network connection 920, such as the Internet. As described, the entire system may be implemented and provided to end users and operators across the Internet in a so-called cloud implementation. No local installation of software or hardware is required, and end users and operators can access the system of the present invention directly through the Internet using either a web browser or equivalent software on a client, which may be a desktop computer, laptop computer, mobile device, etc. This eliminates the need for any proprietary software installation on the client side, improving the flexibility of service delivery (Software-as-a-Service) and increasing user satisfaction and ease of use. A variety of business models, revenue models, and delivery methods of the present invention are anticipated and all should be considered within the scope of the present invention.

[0109] Generally, the methods performed to practice embodiments of the present invention may be implemented as part of an operating system or a specific application, component, program, object, module, or sequence of instructions, referred to as a "computer program" or "computer code." A computer program typically comprises one or more instructions stored at various times in various memory and storage devices of a computer, which, when read and executed by one or more processors of the computer, cause the computer to perform operations essential to implementing elements that comprise various aspects of the present invention. Furthermore, while the present invention has been described in the context of fully functional computers and computer systems, those skilled in the art will appreciate that various embodiments of the present invention may be distributed as program products in a variety of forms, and that the present invention applies regardless of the particular machine or computer readable medium used to actually effect the distribution. Examples of computer readable media include, but are not limited to, recordable types of media, such as volatile and non-volatile memory devices, floppy and other removable disks, hard disk drives, optical disks (e.g., Compact Disk Read-Only Memory (CD ROM), Digital Versatile Disks (DVDs), etc.), and digital and analog communications media.

[0110] Illustrative use cases for the present invention 10-17 show an exemplary diagram of a use case of the present invention in which a mobile device with a single camera is used to measure a person's weight, and show a mobile graphical user interface (GUI) in some embodiments in which the present invention is implemented. FIG. 10 shows an exemplary diagram of a mobile device GUI including user instructions for capturing a picture of a subject. FIG. 11 shows an exemplary diagram of a mobile device GUI for receiving one or more subject parameters. For example, FIG. 11 shows a GUI screen for receiving a subject's height through input from a user. Although people do not have an accurate estimate of their own weight, almost all adult people know their own height with a high degree of accuracy. As described, the subject's height is used as normalization data for measuring geometric features (e.g., circumference of the subject's body components) in real world coordinates from pixel measurements. The GUI screen of FIG. 11 may further receive other subject parameters such as gender, age, and race. For example, the GUI screen of FIG. 11 shows a drop-down menu and radio buttons for this purpose.

[0111] FIG. 12 shows an exemplary view of a mobile device GUI for capturing a front view photograph showing a template of an A-pose indicating where the subject should stand. FIG. 13 shows another exemplary view of a mobile device GUI for capturing a front view photograph showing a template indicating where the subject should stand superimposed in augmented reality (AR) on a real-time image of the subject. FIG. 14 shows an exemplary view of a mobile device GUI for capturing a side view photograph. FIG. 15 shows an exemplary view of a mobile device GUI displayed while the system processes the captured photograph to predict weight. Finally, FIG. 16 shows an exemplary view of a mobile device GUI showing a notification screen if weight prediction is successfully completed. The predicted weight result is displayed to the user.

[0112] FIG. 17 is an exemplary diagram of a use case of the present invention in which a single camera of a mobile device is used to measure a person's weight, showing a frontal view of a person standing against a normal background wearing typical clothing. The mobile device shown in FIG. 17 includes at least one camera, a processor, a non-transitory storage medium, and wireless communication (not shown) to a server. In one embodiment, the hardware architecture of the mobile device and server is as shown in FIG. 8. In one embodiment, one or more photos of the subject's body are sent to a server that performs the operations described herein. In one embodiment, one or more photos of the subject's body are analyzed locally by the processor of the mobile device. The operations performed return one or more weight prediction values, which may be stored on the server and further presented to the user, as shown in FIG. 17. Additionally, the weight prediction values ​​may then be utilized for many purposes, including, but not limited to, providing the subject with one or more custom clothing items for sale, custom body suits, custom PPE (personal protection equipment), custom diets, custom exercise, gym, or training routines, etc. Additionally, the weight prediction may be output to a third party mobile device and / or a third party server, in some embodiments, the output may be in the form of a text message, an email, a textual or visual display on a mobile application or website, combinations thereof, etc.

[0113] Without loss of generality, the weight prediction may be output, transmitted, and / or utilized for any purpose for which weight is useful. In particular, the weight prediction may be output to a computing device and / or a corresponding server associated with a business that, for example, makes exercise, fitness, dietary recommendations based on the weight measurement. Those skilled in the art will recognize that the output of the weight measurement may be utilized for any purpose for which an accurate and concise weight measurement is useful, such as, but not limited to, fitness, health, shopping, etc.

[0114] In conclusion, the present invention can achieve accurate weight measurements comparable to a standard weight scale using only two photographs. The system does not require the use of any dedicated hardware sensors, does not require the user to stand against any special background, does not require special lighting, and can be used with photos taken at any distance and with the user wearing any type of clothing. The outcome is a weight measurement system that works with any mobile device so that anyone can easily take their own photos and benefit from automatic weight measurement determination.

[0115] Those skilled in the art will appreciate that the use cases, structures, diagrams, and flow charts may be performed in other sequences or combinations, while the technical concept of the present invention is retained without departing from the broad scope of the present invention. Every embodiment may be unique, and the methods / steps may be shortened or extended, overlapped with another operation, postponed, delayed, and continued after a time interval, so that every user may be accommodated to perform the method of the present invention.

[0116] Although the present invention has been described with reference to specific exemplary embodiments, it will be apparent that various modifications and changes can be made to these embodiments without departing from the broad scope of the present invention. The present specification and drawings will therefore be regarded as being in an illustrative rather than a restrictive sense. It will be further apparent to those skilled in the art that the above-described embodiments are specific illustrations of a single broad invention that may have a broader scope than any of the sole descriptions taught. Many modifications can be made herein without departing from the scope of the present invention.

Claims

1. 1. A computer-implemented method for predicting a subject's body weight, the method being executable by a hardware processor, comprising: Receiving one or more subject parameters; receiving one or more two-dimensional (2D) images including the subject; utilizing one or more annotation deep learning modules to identify one or more annotation key points of one or more under-clothing body components of the subject from the one or more 2D images; calculating one or more geometric features of the subject based on the one or more annotation key points; and generating a predicted value of the body weight of the subject using a weight machine learning module based on the one or more geometric features of the subject and the one or more subject parameters calculated from the one or more annotation key points identified by the one or more annotation deep learning modules from the one or more body components based on the one or more 2D images.

2. 2. The method of claim 1 , wherein the one or more geometric features are selected from the group consisting of body component circumference, body component length, body image area, body component image area, body volume, and body component volume.

3. The method of claim 2 , wherein the body component perimeter comprises a plurality of body component perimeters of at least one body component.

4. generating the prediction of the body weight of the subject, 10. The method of claim 1, further comprising generating a feature vector comprising the one or more geometric features and the one or more subject parameters as input to the weight machine learning module.

5. the weight machine learning module includes one or more of a linear regressor, a non-linear regressor, and a random forest algorithm; 5. The method of claim 4, wherein the weight machine learning module is trained with ground truth data comprising one or more sample weights and one or more sample feature vectors of one or more sample subjects.

6. The method of claim 1 , wherein one or more of the subject parameters are used as normalization data for scaling from pixel coordinates to real world coordinates in the one or more 2D images.

7. The method of claim 6 , wherein the subject's height is used as the normalization data.

8. The method of claim 1 , wherein the one or more 2D images include at least two 2D images, the at least two 2D images including a subject in at least two oblique views.

9. the at least two 2D images include at least a front view image and a side view image of the subject; generating the one or more geometric features based on the one or more annotation key points; (a) calculating at least one circumference of at least one annotated body component using the annotated front view and side view images and a height of the subject; (b) calculating an image area of ​​at least one body component of at least one annotated body component using the annotated front view and side view images and the subject's height; (c) calculating a volume of at least one body component of the at least one annotated body component using the annotated front view and side view images and the subject's height.

10. After said receiving the one or more 2D images, performing body segmentation on the 2D image to identify the one or more body components associated with the subject from a background; 2. The method of claim 1 , wherein the body segmentation utilizes a segmentation deep learning module that has been trained with segmentation training data, the segmentation training data including one or more 2D images for the one or more sample subjects and body component segmentations for each body component for the one or more sample subjects.

11. 2. The method of claim 1 , wherein the annotation deep learning module utilizes training data comprising one or more 2D images for one or more sample subjects and one or more annotation key points for each body feature for the one or more sample subjects.

12. 2. The method of claim 1, wherein the one or more subject parameters are selected from the group consisting of height, a received subject weight estimate, gender, age, race, and demographic information associated with the subject.

13. The predicted value of the body weight of the subject is a first estimate, and the method further comprises: generating a second estimate of the body weight of the subject using a second machine learning module; and comparing a first reliability score of the first estimate with a second reliability score of the second estimate; 2. The method of claim 1, further comprising: selecting either the first estimate or the second estimate as the subject's body weight based on the first and second reliability scores.

14. determining whether the predicted value of the body weight of the subject corresponds to a confidence level below a predetermined value; responsive to determining that the predicted value of the body weight of the subject corresponds to a confidence level below the predetermined value; comparing the predicted value of the subject's weight with a received subject's weight estimate; updating the predicted value of the weight of the subject, the received subject weight estimate being used to guide the weight machine learning module; The method of claim 1 , further comprising: replacing the predicted value of the subject's weight with an updated predicted value of the subject's weight.

15. The method of claim 1 , wherein the one or more subject parameters are received from a mobile computing device and the 2D image of the subject is received from a camera of the mobile computing device.

16. 16. The method of claim 15, wherein the one or more subject parameters received from the mobile computing device comprises receiving measurements performed by the mobile computing device.

17. 16. The method of claim 15, wherein depth data from a depth sensor of the mobile computing device is used as normalization data for scaling from pixel coordinates to real world coordinates in the one or more 2D images.

18. and pre-processing the one or more 2D images of the subject and background prior to identifying the annotation interest points; said pre-processing including at least perspective correction on one or more 2D images; 16. The method of claim 15, wherein the perspective correction is selected from the group consisting of perspective correction utilizing a head of the subject, perspective correction utilizing a gyroscope of the mobile computing device, and perspective correction utilizing another sensor of the mobile computing device.

19. 1. A computer program product for predicting a body weight of a subject, comprising: a non-transitory computer readable storage medium having program instructions embodied therein, the program instructions being executable by a processor, the processor comprising: Receiving one or more subject parameters; receiving one or more two-dimensional (2D) images including the subject; utilizing one or more annotation deep learning modules to identify one or more annotation key points of one or more under-clothing body components of the subject from the one or more 2D images; calculating one or more geometric features of the subject based on the one or more annotation key points; and generating a prediction of the body weight of the subject using a weight machine learning module based on the one or more geometric features of the subject and the one or more subject parameters calculated from the one or more annotation key points identified by the one or more annotation deep learning modules from the one or more body components based on the one or more 2D images.

20. 20. The computer program product of claim 19, wherein the one or more geometric features are selected from the group consisting of body component circumference, body component length, body image area, body component image area, body volume, and body component volume.

Citation Information

Patent Citations

  • System for estimating weight based on face image

    JP2017041218A

  • NL/10.1023/A

  • US10,321,728

  • US10,489,683

  • Systems and methods for full body measurements extraction

    US10321728B1