Human height estimation

By detecting the distance between the human head and the floor, using semantic segmentation and depth data, the accuracy problem of human height measurement on mobile devices is solved, achieving efficient measurement in a real-time environment.

CN113397526BActive Publication Date: 2024-09-13APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110282036.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-02-23
Filing Date
2021-03-16
Publication Date
2024-09-13
Estimated Expiration
2041-03-16

AI Technical Summary

Technical Problem

Existing technologies make it difficult to automatically and accurately measure human height on mobile devices, especially in real-time environments where sensor data may be incomplete or lack depth and semantic information, resulting in a lack of accuracy in measurement results.

Method used

By detecting the distance between a part of the human head and the floor, using characteristic parts (such as faces) in the 2D image for semantic segmentation, obtaining depth data to determine the head boundary, and combining RGB and depth sensor data to determine the floor plane, Human body height is calculated and the height estimate is updated iteratively during live video delivery.

Benefits of technology

It realizes the ability to accurately measure human body height on mobile devices, can provide accurate and effective results in real-time environment, and is suitable for scenarios such as tracking human growth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113397526B_ABST
    Figure CN113397526B_ABST
Patent Text Reader

Abstract

The present disclosure relates to human height estimation. Various specific implementations disclosed herein include devices, systems, and methods for determining a distance between a portion of a human head (e.g., a top) and a floor below as an estimate of the height of the human body. For example, an exemplary process may include determining a first position on a human head in a three-dimensional (3D) coordinate system, the first position being determined based on detecting a feature on the head according to a two-dimensional (2D) image of the human body in a physical environment; determining a second position on the floor below the first position in the 3D coordinate system; and estimating the height based on determining the distance between the first position and the second position.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of U.S. Provisional Application Serial No. 62 / 990,589, filed on March 17, 2020, which is incorporated herein by reference in its entirety. Technical Field

[0003] The present disclosure relates generally to the field of mobile devices, and in particular to systems, methods, and devices for determining a height measurement of a person or object based on information detected in a physical environment. Background Art

[0004] Detecting a human body in a physical environment and accurate height measurements of the human body can play an important role in generating accurate reconstructions and providing height information to a user on a mobile device. There are many obstacles to providing a computer-based system to automatically and accurately generate human height measurements based on sensor data. Sensor data acquired about the physical environment (e.g., light intensity images) may be incomplete or insufficient to provide accurate measurements. For example, images typically lack depth and semantic information, and measurements generated without such data may lack accuracy. The prior art does not allow the automatic, accurate and efficient generation of human height measurements using a mobile device, for example, based on user-collected photos or videos or other sensor data. In addition, the prior art may not provide sufficiently accurate and efficient measurements in a real-time environment (e.g., measuring immediately during a scan). Summary of the invention

[0005] Various embodiments disclosed herein include devices, systems, and methods for determining the distance between a portion of a person's head (e.g., the top) and the floor below as an estimate of the person's height. The portion of the person's head (e.g., the top) is determined based on detecting a feature portion (e.g., a face) on the head according to a two-dimensional (2D) image. For example, this may involve identifying the portion of a mask (e.g., a semantic segmentation mask) based on the position of the person's face. Depth data may be used to identify the head boundary in the mask, even if the mask does not indicate the boundary, for example, when another person is standing behind the user's head. Depth data may be used to determine the three-dimensional (3D) position of the floor, even if the portion of the floor below the top of the head is not in the image data. It may be desirable to display the height of the person in a live camera view. It may be desirable to determine the height of the person and store it, for example, in metadata associated with the image. This information may then be used to track the height of the person as the person grows (e.g., to track and record the growth of a child over time).

[0006] In some implementations, segmentation is used to facilitate exclusion of objects from the model. For example, segmentation techniques (e.g., machine learning models) can be used to generate segmentation masks that identify specific types of objects (e.g., humans, animals, etc.). The segmentation mask can indicate pixel locations in the corresponding RGB image using a value of 0 or a value of 1 to indicate whether the pixel location corresponds to an object to be included in the data or an object to be excluded from the data. Segmentation techniques can be used to semantically label objects within the physical environment using a confidence level. Measurement data can then be determined based on a mask of the image (e.g., a segmentation mask that identifies objects determined to be included in the data (such as humans)).

[0007] Some specific implementations of the present disclosure relate to an exemplary method for determining the distance between a portion of a person's head and the floor below as an estimated height of the person. The exemplary method involves, at a device having a processor, determining a first position (e.g., a top) on the head of a person in a 3D coordinate system, the first position being determined based on detecting a feature (e.g., a face) on the head based on a 2D image of the person in a physical environment. In some specific implementations, this may involve obtaining a mask that identifies 2D coordinates corresponding to one or more people. For example, a semantic segmentation mask based on a 2D RGB and / or depth image may be used. This may involve detecting a feature on the head of a person, and identifying a first position as a position within the mask based on the feature. For example, find the center of the face and move upward to find the top of the head within the mask.

[0008] The exemplary method also involves determining a second location on the floor below the first location in the 3D coordinate system. In some implementations, this may involve using the RGB data and / or the depth sensor data to determine the floor plane. Additionally or alternatively, machine learning may be used to classify the plane as a floor (e.g., classifying each data point based on the detected height) to determine the floor plane. In some implementations, a 3D model may be used to determine the floor plane over time, the 3D model being updated using data from each instance.

[0009] The exemplary method also involves estimating the height based on determining a distance between a first location and a second location. For example, a first location on top of a head and a second location on a floor may each have corresponding 3D coordinates that the system may use to determine the height. In some implementations, estimating the height of a person may involve using multiple height estimates acquired over time, discarding outliers, or other means for averaging several data points of measurement data collected over time.

[0010] In some implementations, determining the first position includes obtaining a mask that identifies a portion of an image corresponding to one or more persons; detecting features on a head of a person (or each person if multiple persons); and identifying a first position within a portion of the mask corresponding to the one or more persons based on the one or more features detected on the head of each corresponding person identified. For example, a semantic segmentation mask based on a 2D RGB image, a depth image, or a combination of both an RGB image and a depth image can be utilized. In some implementations, identifying the first position within a portion of the mask can include finding the center of the face and moving upward to find the top of the head within the mask.

[0011] In some implementations, the detected feature on the head is a face. For example, a "face" may be defined as a portion of a head, including one or more of an eye, a nose, a mouth, a cheek, an ear, a chin, etc., but including all when necessary. In some implementations, identifying a first position within the portion of the mask includes determining the center of the face and the orientation of the face; and identifying a portion of the mask in a direction from the center of the face (e.g., from the center of the nose up to the center of the forehead), wherein the direction is based on the orientation. In some implementations, identifying the first position within the portion of the mask also includes generating a bounding box corresponding to the face (e.g., a 2D box for the face, which can be projected to various points on the head in 3D space). For example, the bounding box can provide the position, posture (e.g., orientation and position) and shape of the detected feature of the human body (e.g., the face of the human body). In some implementations, the bounding box is a 3D bounding box. Alternatively, the bounding box is a 2D box, which can be projected to various points on the head in 3D space as a 3D bounding box.

[0012] In some implementations, identifying the first position within the portion of the mask includes identifying the boundaries of the head based on data from the depth sensor. For example, identifying the boundaries of the head of the person may include determining the sides (e.g., ears), the bottom (e.g., chin), and the top (e.g., the top of the forehead or the top position on the head) of the head. In some implementations, the person may be non-upright or the head may be tilted, and the system will use the highest vertex of the person to make a height estimate. For example, if the person's head is tilted to the side, such as resting on its shoulder, the ear may be the highest vertex for making a height estimate. In some implementations, the system may determine that the person is non-upright or its head is tilted, and take this into account when calculating the overall height of the person by making an adjustment based on the determination that the person is non-upright. In some implementations, the height estimate is based on a measurement from the top of the person's head to the floor below their feet. Alternatively, if the person is raising their hands higher than their head, the system may determine a height estimate from the top of the person's hands to the floor plane or to another determined plane. In some implementations, the height estimation system can automatically determine whether a person in the image is holding out both hands and it is desired to automatically calculate their arm span. The height estimation system can then detect features of each hand to determine the estimated arm span of the identified person.

[0013] In some implementations, determining the second location on the floor includes determining a floor plane based on image data collected from a camera on the device. For example, this may involve using RGB data and / or depth sensor data to determine the floor plane. In some implementations, the image data includes depth data, the depth data includes a plurality of depth points, and determining the floor plane based on the image data includes classifying a portion of the depth points as a floor plane based on a determined height of each of the depth points; and determining the second location on the floor based on the determined height of each of the depth points corresponding to the floor plane. For example, machine learning may be used to classify the determined plane as a floor to determine the floor plane.

[0014] In some implementations, the image data includes a plurality of image frames captured over a period of time, and determining a floor plane based on the image data includes generating a 3D model based on the image data including the floor plane, and iteratively updating the 3D model for each captured frame of the plurality of image frames. For example, during a live video feed, a plurality of images are captured over time, and the human height estimation system described herein may iteratively update a height estimate for one or more frames of the video feed to determine an accurate depiction of a human height. Each iteration should provide a more accurate height determination.

[0015] In some embodiments, the image data includes an overall picture of a human body from head to feet, wherein the feet are in contact with the floor in the image data. For example, a full human body screenshot showing the entire human body. Alternatively, the height estimation system can determine the height estimate by using the top of the head and determining and extending the floor plane without having to view the entire human body. For example, from different perspectives (e.g., from a top view, such as from a drone, or a person standing on the second floor looking down or a human body standing on a ladder, etc.), the human body whose height is desired to be calculated may not be completely in the image. The human body can be shown from the waist up, even if the human body is standing, but the floor is seen behind the human body in the image data. The height estimation system described herein can still determine the z height position of the 3D coordinates of the floor as a second position; determine the z height position of the 3D coordinates of the top of the head; and determine the estimated height of the human body based on the z height difference between the two positions.

[0016] In some specific implementations, estimating the height based on determining the distance between a first location and a second location includes determining a plurality of distance estimates between the first location and the second location; identifying a subset of the plurality of distance estimates using an averaging technique (e.g., calculating an average, removing outliers); and determining the distance between the first location and the second location based on the data subset.

[0017] In some implementations, the human body is a first human body and the 2D image includes the first human body and a second human body, wherein determining the first position on the head of the first human body is based on determining that the first human body is closer to the center of the 2D image than the second human body is relative to the center of the 2D image. For example, multiple people may be included in the image data, and the human height estimation system described herein may interpret which human body's height is to be calculated based on the center of the camera's reticle or the center of the image focused by the user using the device's camera. In some implementations, the human height estimation system described herein may estimate the height of each detected human body in the image data.

[0018] According to some specific implementations, a device includes one or more processors, non-volatile memory, and one or more programs; the one or more programs are stored in the non-volatile memory and are configured to be executed by one or more processors, and the one or more programs include instructions for performing or causing the execution of any of the methods described herein. According to some specific implementations, a non-volatile computer-readable storage medium stores instructions that, when executed by one or more processors of the device, cause the device to perform or cause the execution of any of the methods described herein. According to some specific implementations, a device includes: one or more processors, non-volatile memory, and means for performing or causing the execution of any of the methods described herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] So that the present disclosure may be understood by those of ordinary skill in the art, a more detailed description may be obtained with reference to aspects of some exemplary implementations, some of which are illustrated in the accompanying drawings.

[0020] Figure 1 is a block diagram of an exemplary operating environment according to some implementations.

[0021] Figure 2 is a block diagram of an exemplary server according to some specific implementations.

[0022] Figure 3 is a block diagram of an exemplary device according to some implementations.

[0023] Figure 4 is a flowchart representation of an exemplary method for determining a distance between a portion of a person's head and an underlying floor as an estimate of the person's height, according to some implementations.

[0024] FIG. 5A to FIG. 5F is a block diagram illustrating an exemplary system flow for determining a distance between a portion of a person's head and an underlying floor as an estimate of the person's height, according to some implementations.

[0025] As is common practice, the various features shown in the drawings may not be drawn to scale. Therefore, the sizes of the various features may be arbitrarily expanded or reduced for clarity. In addition, some drawings may not depict all components of a given system, method, or device. Finally, throughout the specification and drawings, similar reference numerals may be used to represent similar features. DETAILED DESCRIPTION

[0026] Many details are described in order to provide a thorough understanding of the example implementations shown in the accompanying drawings. However, the accompanying drawings only illustrate some example aspects of the present disclosure and should not be considered limiting. One of ordinary skill in the art will appreciate that other effective aspects and / or variations do not include all of the specific details described herein. In addition, well-known systems, methods, components, devices, and circuits are not described in detail in order to avoid obscuring more relevant aspects of the exemplary implementations described herein.

[0027] Figure 11 is a block diagram of an exemplary operating environment 100 according to some implementations. In this example, the exemplary operating environment 100 shows an exemplary physical environment 105 including a chair 140, a table 142, and a door 150. Additionally, the exemplary operating environment 100 includes a person (e.g., user 102) holding a device (e.g., device 120), a person sitting on the chair 140 (e.g., object / person 104), and a person standing in the physical environment 105 (e.g., object / person 106). Although relevant features are shown, a person of ordinary skill in the art will recognize from this disclosure that various other features are not shown for the sake of brevity and in order not to obscure more relevant aspects of the exemplary implementations disclosed herein. To this end, as a non-limiting example, the operating environment 100 includes a server 110 and a device 120. In the exemplary implementation, the operating environment 100 does not include the server 110, and the methods described herein are performed on the device 120.

[0028] In some implementations, the server 110 is configured to manage and coordinate the user experience. In some implementations, the server 110 includes a suitable combination of software, firmware, and / or hardware. Figure 2 The server 110 is described in more detail. In some implementations, the server 110 is a computing device located locally or remotely relative to the physical environment 105. In one example, the server 110 is a local server located within the physical environment 105. In another example, the server 110 is a remote server (e.g., a cloud server, a central server, etc.) located outside the physical environment 105. In some implementations, the server 110 is communicatively coupled to the device 120 via one or more wired or wireless communication channels (e.g., Bluetooth, IEEE 802.11x, IEEE 802.16x, IEEE 802.3x, etc.).

[0029] In some implementations, the device 120 is configured to present an environment to a user. In some implementations, the device 120 includes a suitable combination of software, firmware, and / or hardware. Figure 3 Device 120 is described in more detail. In some implementations, the functionality of server 110 is provided by and / or combined with device 120.

[0030] In some implementations, device 120 is a handheld electronic device (e.g., a smartphone or tablet) configured to present content to a user. In some implementations, user 102 wears device 120 on his head. Device 120 may include one or more displays provided for displaying content. For example, device 120 may surround the field of view of user 102. In some implementations, device 120 is replaced with a chamber, housing, or chamber configured to present content, wherein user 102 does not wear or hold device 120.

[0031] Figure 2 is a block diagram of an example of a server 110 according to some implementations. Although some specific features are shown, those skilled in the art will recognize from this disclosure that various other features are not shown for the sake of brevity and so as not to obscure more relevant aspects of the implementations disclosed herein. To this end, as a non-limiting example, in some specific implementations, the server 110 includes one or more processing units 202 (e.g., a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a graphics processing unit (GPU), a central processing unit (CPU), a processing core, etc.), one or more input / output (I / O) devices 206, one or more communication interfaces 208 (e.g., a universal serial bus (USB), FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.11x, IEEE 802.16x, Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Global Positioning System (GPS), infrared (IR), Bluetooth, ZIGBEE and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 210, a memory 220, and one or more communication buses 204 for interconnecting these components and various other components.

[0032] In some implementations, the one or more communication buses 204 include circuits for interconnecting system components and controlling communications between system components. In some implementations, the one or more I / O devices 206 include at least one of a keyboard, a mouse, a touchpad, a joystick, one or more microphones, one or more speakers, one or more image sensors, one or more displays, and the like.

[0033] The memory 220 includes a high-speed random access memory, such as a dynamic random access memory (DRAM), a static random access memory (SRAM), a double data rate random access memory (DDR RAM), or other random access solid-state memory devices. In some specific implementations, the memory 220 includes a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 220 optionally includes one or more storage devices located away from the one or more processing units 202. The memory 220 includes a non-transitory computer-readable storage medium. In some specific implementations, the memory 220 or the non-transitory computer-readable storage medium of the memory 220 stores the following programs, modules, and data structures, or a subset thereof, including an optional operating system 230 and one or more application programs 240.

[0034] The operating system 230 includes processes for handling various basic system services and for performing hardware-related tasks. In some implementations, the application 240 is configured to manage and coordinate one or more experiences of one or more users (e.g., a single experience of one or more users, or multiple experiences of corresponding groups of one or more users).

[0035] Application 240 includes mask data unit 242, floor unit 244, feature detection unit 246, and measurement unit 248. Mask data unit 242, floor unit 244, feature detection unit 246, and measurement unit 248 may be combined into a single application or unit, or separated into one or more additional applications or units.

[0036] The mask data unit 242 is configured with instructions that can be executed by the processor to collect image data (e.g., light intensity data, depth data, camera position information, etc.) and generate a mask (e.g., a segmentation mask) that identifies a portion of the image associated with an object (e.g., a human body) based on the image data using one or more of the techniques disclosed herein. For example, the mask data unit 242 collects light intensity data (e.g., RGB data 503) from the light intensity camera 502 and depth data 505 from the depth camera 504, and generates a segmentation mask for all identified people (e.g., identifying all positions of identified people for three-dimensional (3D) data to provide to the feature detection unit 246 and the measurement unit 248). In some specific implementations, the mask data unit 242 collects segmentation data (e.g., RGB-S) from a segmentation unit and generates a segmentation mask based on the segmentation data. Alternatively, the mask data unit 242 generates a segmentation mask directly based on the acquired depth data (e.g., a depth camera on the device 120).

[0037] The floor unit 244 is configured with instructions that can be executed by the processor to collect image data (e.g., light intensity data, depth data, camera position information, etc.) and generate floor data of the physical environment using one or more of the techniques disclosed herein. For example, the floor unit 244 collects a series of light intensity images (e.g., RGB data) from a light intensity camera (e.g., live camera transmission) and depth data from a depth camera, and generates floor data (e.g., identifying a floor plane or a lowest point on the floor relative to one or more human bodies identified in the image data) to provide to the measurement unit 248. In some specific implementations, the floor unit 244 determines the floor plane based on segmentation data that identifies the floor. Alternatively, the floor unit 244 determines the floor plane based on a machine learning unit that is trained to identify floor points in the depth data; and classifies the floor points based on the lowest points identified in the 3D coordinate system. In some specific implementations, the determined floor plane is iteratively updated during the live camera transmission using one or more of the techniques disclosed herein to improve accuracy.

[0038] The feature detection unit 246 is configured with instructions that can be executed by the processor to collect image data (e.g., light intensity data, depth data, camera position information, etc.) and mask data (e.g., segmentation mask), the mask data identifying the portion of the image associated with the object (e.g., a person); and determine the position (e.g., the top) on the head of the person based on the image data and the mask data using one or more of the techniques disclosed herein. For example, the feature detection unit 246 collects a series of light intensity images (e.g., RGB data) from a light intensity camera (e.g., live camera transmission), depth data from a depth camera, and mask data from the mask data unit 242, and determines the position (e.g., 3D coordinates) on the head of the person based on the image data and the mask data using one or more of the techniques disclosed herein to provide to the measurement unit 248. In some specific implementations, the feature detection unit 246 determines the top of the head of the person by: detecting one or more features of the head of the person (such as a face); finding the center of the face; and moving upward to find the top of the head within the mask. For example, a "face" may be defined as a portion of a head, including one or more of an eye, nose, mouth, cheek, ear, chin, etc., but including all when necessary. In some implementations, identifying a first position within the portion of the mask includes determining the center of the face and the orientation of the face; and identifying a portion of the mask in a direction from the center of the face (e.g., from the center of the nose up to the center of the forehead), wherein the direction is based on the orientation. In some implementations, identifying the first position within the portion of the mask also includes generating a bounding box corresponding to the face. For example, the bounding box may provide the position, posture (e.g., orientation and position) and shape of the detected feature of the human body (e.g., the face of the human body). In some implementations, the bounding box is a 3D bounding box. Alternatively, the bounding box is a 2D box that can be projected onto various points on the head in 3D space as a 3D bounding box. In some implementations, the feature detection unit 246 determines the top of the head based on viewing at least some portion of the front of the face. Alternatively, the feature detection unit 246 determines the top of the head based on viewing only the back of the head and based on features of the head (e.g., ears) that can be viewed from the back of the head.

[0039] The measurement unit 248 is configured with instructions that can be executed by the processor to collect image data (e.g., light intensity data, depth data, camera position information, etc.), mask data, floor data, and feature detection data, and determine the distance between a portion of a head of a person and the floor below as an estimated height of the person using one or more of the techniques disclosed herein. For example, the measurement unit 248 collects a series of light intensity images (e.g., RGB data) from a light intensity camera (e.g., live camera transmission) and depth data from a depth camera, obtains mask data from the mask data unit 242, obtains floor data from the floor unit 244, obtains feature detection data (e.g., head top data) from the feature detection unit 246, and determines an estimated height of the person identified by the mask data. For example, a first position at the top of the head and a second position on the floor may each have corresponding 3D coordinates, and the system may determine the height or distance between the two coordinates in a specific direction and axis of the coordinate system. In some implementations, estimating a person's height may involve using multiple distance estimates acquired over time, discarding outliers, or other means for averaging several data points of measurement data collected over time.

[0040] Although these elements are shown as residing on a single device (e.g., server 110), it should be understood that in other implementations, any combination of elements may be located in separate computing devices. Figure 2 It is more of a functional description of various features present in a particular implementation, as opposed to a schematic diagram of the implementations described herein. As one of ordinary skill in the art will recognize, items shown separately may be combined, and some items may be separated. For example, Figure 2 Some functional modules shown separately in the figure may be implemented in a single module, and the various functions of a single functional block may be implemented by one or more functional blocks in various specific implementations. The actual number of modules and the division of specific functions and how the features are distributed among them will vary depending on the specific implementation, and in some specific implementations, it depends in part on the specific combination of hardware, software and / or firmware selected for a particular embodiment.

[0041] Figure 3is a block diagram of an example of a device 120 according to some implementations. While some specific features are shown, those skilled in the art will appreciate from this disclosure that various other features are not shown for the sake of brevity and so as not to obscure more relevant aspects of the implementations disclosed herein. To this end, as a non-limiting example, in some embodiments, the device 120 includes one or more processing units 302 (e.g., microprocessors, ASICs, FPGAs, GPUs, CPUs, processing cores, etc.), one or more input / output (I / O) devices and sensors 306, one or more communication interfaces 308 (e.g., USB, FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE802.11x, IEEE 802.16x, GSM, CDMA, TDMA, GPS, IR, BLUETOOTH, ZIGBEE, SPI, I2C, and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 310, one or more AR / VR displays 312, one or more internal-facing and / or external-facing image sensors 314, a memory 320, and one or more communication buses 304 for interconnecting these and various other components.

[0042] In some implementations, the one or more communication buses 304 include circuits that interconnect and control communications between system components. In some implementations, the one or more I / O devices and sensors 306 include at least one of the following: an inertial measurement unit (IMU), an accelerometer, a magnetometer, a gyroscope, a thermometer, one or more physiological sensors (e.g., a blood pressure monitor, a heart rate monitor, a blood oxygen sensor, a blood glucose sensor, etc.), one or more microphones, one or more speakers, a haptic engine, one or more depth sensors (e.g., structured light, time of flight, etc.), etc.

[0043] In some implementations, one or more displays 312 are configured to present an experience to a user. In some implementations, one or more displays 312 correspond to holographic, digital light processing (DLP), liquid crystal display (LCD), liquid crystal on silicon (LCoS), organic light emitting field effect transistor (OLET), organic light emitting diode (OLED), surface conduction electron emitter display (SED), field emission display (FED), quantum dot light emitting diode (QD-LED), microelectromechanical system (MEMS), and / or similar display types. In some implementations, one or more displays 312 correspond to diffractive, reflective, polarized, holographic, etc. waveguide displays. For example, device 120 includes a single display. As another example, device 120 includes a display for each eye of the user.

[0044] In some implementations, the one or more image sensor systems 314 are configured to acquire image data corresponding to at least a portion of the physical environment 105. For example, the one or more image sensor systems 314 include one or more RGB cameras (e.g., with complementary metal oxide semiconductor (CMOS) image sensors or charge coupled device (CCD) image sensors), monochrome cameras, infrared cameras, event-based cameras, etc. In various implementations, the one or more image sensor systems 314 also include an illumination source that emits light, such as a flash. In various implementations, the one or more image sensor systems 314 also include an on-camera image signal processor (ISP) that is configured to perform multiple processing operations on the image data, the multiple processing operations including at least a portion of the processes and techniques described herein.

[0045] The memory 320 includes a high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid-state memory devices. In some specific implementations, the memory 320 includes a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices or other non-volatile solid-state storage devices. The memory 320 optionally includes one or more storage devices located away from the one or more processing units 302. The memory 320 includes a non-transitory computer-readable storage medium. In some specific implementations, the memory 320 or the non-transitory computer-readable storage medium of the memory 320 stores the following programs, modules and data structures, or a subset thereof, including an optional operating system 330 and one or more application programs 340.

[0046] The operating system 330 includes processes for handling various basic system services and for performing hardware-related tasks. In some implementations, the application 340 is configured to manage and coordinate one or more experiences of one or more users (e.g., a single experience of one or more users, or multiple experiences of corresponding groups of one or more users).

[0047] Application 340 includes mask data unit 342, floor unit 344, feature detection unit 346, and measurement unit 348. Mask data unit 342, floor unit 344, feature detection unit 346, and measurement unit 348 may be combined into a single application or unit, or separated into one or more additional applications or units.

[0048] The mask data unit 342 is configured with instructions that can be executed by the processor to collect image data (e.g., light intensity data, depth data, camera position information, etc.) and generate a mask (e.g., a segmentation mask) that identifies a portion of the image associated with an object (e.g., a human body) based on the image data using one or more of the techniques disclosed herein. For example, the mask data unit 342 collects light intensity data (e.g., RGB data) from a light intensity camera and depth data from a depth camera, and generates a segmentation mask for all identified people (e.g., identifying all positions of identified people for 3D data to provide to the feature detection unit 346 and the measurement unit 348). In some specific implementations, the mask data unit 342 collects segmentation data (e.g., RGB-S) from a segmentation unit and generates a segmentation mask based on the segmentation data. Alternatively, the mask data unit 342 generates a segmentation mask directly based on the acquired depth data (e.g., a depth camera on the device 120).

[0049] The floor unit 344 is configured with instructions that can be executed by the processor to collect image data (e.g., light intensity data, depth data, camera position information, etc.) and generate floor data of the physical environment using one or more of the techniques disclosed herein. For example, the floor unit 344 collects a series of light intensity images (e.g., RGB data) from a light intensity camera (e.g., live camera transmission) and depth data from a depth camera, and generates floor data (e.g., identifying a floor plane or a lowest point on the floor relative to one or more human bodies identified in the image data) to provide to the measurement unit 348. In some specific implementations, the floor unit 344 determines the floor plane based on segmentation data that identifies the floor. Alternatively, the floor unit 344 determines the floor plane based on a machine learning unit that is trained to identify floor points in the depth data; and classifies the floor points based on the lowest points identified in the 3D coordinate system. In some specific implementations, the determined floor plane is iteratively updated during the live camera transmission using one or more of the techniques disclosed herein to improve accuracy.

[0050] The feature detection unit 346 is configured with instructions that can be executed by the processor to collect image data (e.g., light intensity data, depth data, camera position information, etc.) and mask data (e.g., segmentation mask), the mask data identifying the portion of the image associated with the object (e.g., a person); and determine the position (e.g., the top) on the head of the person based on the image data and the mask data using one or more of the techniques disclosed herein. For example, the feature detection unit 346 collects a series of light intensity images (e.g., RGB data) from a light intensity camera (e.g., live camera transmission), depth data from a depth camera, and mask data from the mask data unit 342, and determines the position (e.g., 3D coordinates) on the head of the person based on the image data and the mask data using one or more of the techniques disclosed herein to provide to the measurement unit 348. In some specific implementations, the feature detection unit 346 determines the top of the head of the person by: detecting one or more features of the head of the person (such as a face); finding the center of the face; and moving upward to find the top of the head within the mask. For example, a "face" may be defined as a portion of a head, including one or more of an eye, nose, mouth, cheek, ear, chin, etc., but including all when necessary. In some implementations, identifying a first position within the portion of the mask includes determining a center of the face and an orientation of the face; and identifying a portion of the mask in a direction from the center of the face (e.g., in a direction from the center of the nose up to the center of the forehead), wherein the direction is based on the orientation. In some implementations, identifying a first position within the portion of the mask also includes generating a 3D bounding box corresponding to the face. For example, the 3D bounding box may provide a position, posture (e.g., orientation and position), and shape of a detected feature of a human body (e.g., a face of a human body). In some implementations, the feature detection unit 346 determines the top of the head based on viewing at least some portion of the front of the face. Alternatively, the feature detection unit 346 determines the top of the head based on viewing only the back of the head but based on a feature of the head (e.g., an ear) that can be viewed from the back of the head.

[0051] The measurement unit 348 is configured with instructions that can be executed by the processor to collect image data (e.g., light intensity data, depth data, camera position information, etc.), mask data, floor data, and feature detection data, and determine the distance between a portion of a head of a person and the floor below as an estimated height of the person using one or more of the techniques disclosed herein. For example, the measurement unit 348 collects a series of light intensity images (e.g., RGB data) from a light intensity camera (e.g., live camera transmission) and depth data from a depth camera, obtains mask data from the mask data unit 342, obtains floor data from the floor unit 344, obtains feature detection data (e.g., head top data) from the feature detection unit 346, and determines an estimated height of the person identified by the mask data. For example, a first position at the top of the head and a second position on the floor can each have corresponding 3D coordinates, and the system can determine the height or distance between the two coordinates in a specific direction and axis of the coordinate system. In some implementations, estimating a person's height may involve using multiple distance estimates acquired over time, discarding outliers, or other means for averaging several data points of measurement data collected over time.

[0052] Although these elements are shown as residing on a single device (e.g., device 120), it should be understood that in other implementations, any combination of the elements may be located in separate computing devices. Figure 3 It is more of a functional description of various features present in a particular implementation, as opposed to a schematic diagram of the implementations described herein. As one of ordinary skill in the art will recognize, items shown separately may be combined, and some items may be separated. For example, Figure 3 Some functional modules (e.g., application 340) shown separately in the figure can be implemented in a single module, and the various functions of a single functional block can be implemented by one or more functional blocks in various specific implementations. The actual number of modules and the division of specific functions and how the features are distributed among them will vary depending on the specific implementation, and in some specific implementations, it depends in part on the specific combination of hardware, software and / or firmware selected for a particular embodiment.

[0053] Figure 4 4 is a flowchart representation of an exemplary method 400 for determining a height estimate of a person's head as a distance between a portion of the person's head (e.g., the top) and a floor below the person, according to some implementations. In some implementations, the method 400 is performed by a device (e.g., Figures 1 to 3The method 400 may be performed on a device having a screen for displaying images and / or a screen for viewing stereoscopic images (e.g., a server 110 or device 120). Figure 1 and Figure 3 The method 400 is performed on a device 120 such as a head mounted display (HMD). In some implementations, the method 400 is performed by a processing logic component (including hardware, firmware, software, or a combination thereof). In some implementations, the method 400 is performed by a processor executing code stored in a non-transitory computer readable medium (e.g., a memory). FIG. 5A to FIG. 5F The human height estimation process of method 400 is shown.

[0054] At block 402, method 400 determines a first position (e.g., top) on a head of a person in a 3D coordinate system, the first position being determined based on detecting a feature (e.g., face) on the head based on a two-dimensional (2D) image of the person in a physical environment. In some implementations, this may involve obtaining a mask that identifies 2D coordinates corresponding to one or more persons. For example, a semantic segmentation mask based on a 2D RGB and / or depth image may be utilized. Features on the head of the person are detected and a first position is identified as a position within the mask based on the features. For example, the center of the face is found and moved upward to find the top of the head within the mask.

[0055] In some implementations, determining the first location includes obtaining a mask that identifies a portion of the image corresponding to one or more persons; detecting features on a head; and identifying a first location within a portion of the mask that corresponds to the one or more persons based on the features on the head. For example, a semantic segmentation mask based on a 2D RGB image, a depth image, or a combination of both an RGB image and a depth image can be utilized. In some implementations, identifying the first location within a portion of the mask can include finding the center of the face and moving upward to find the top of the head within the mask.

[0056] In some implementations, the detected feature on the head is a face. For example, a "face" may be defined as a portion of a head including one or more of an eye, a nose, a mouth, a cheek, an ear, a chin, etc., but including all when necessary. In some implementations, identifying a first position within the portion of the mask includes determining a center of the face and an orientation of the face; and identifying a portion of the mask in a direction from the center of the face (e.g., from the center of the nose up to the center of the forehead), wherein the direction is based on the orientation. In some implementations, identifying a first position within the portion of the mask also includes generating a bounding box corresponding to the face. For example, the bounding box may provide a position, a pose (e.g., an orientation and a position), and a shape of a detected feature of a human body (e.g., a face of a human body). In some implementations, the bounding box is a 3D bounding box. Alternatively, the bounding box is a 2D box that can be projected onto various points on the head in 3D space as a 3D bounding box. In some implementations, process 400 determines the top of the head based on viewing at least some portion of the front of the face. Additionally, in some implementations, process 400 determines the top of the head based on viewing only the back of the head and based on features of the head (e.g., ears) that are visible from the back of the head.

[0057] In some implementations, identifying the first position within the portion of the mask includes identifying the boundaries of the head based on data from the depth sensor. For example, identifying the boundaries of the head of the person may include determining the sides (e.g., ears), the bottom (e.g., chin), and the top (e.g., the top of the forehead or the top position on the head) of the head. In some implementations, the person may be non-upright or the head may be tilted, and the system will use the highest vertex of the person to make a height estimate. For example, if the person's head is tilted to the side, such as resting on its shoulder, the ear may be the highest vertex for making a height estimate. In some implementations, the system may determine that the person is non-upright or its head is tilted, and take this into account when calculating the overall height of the person by making an adjustment based on the determination that the person is non-upright. In some implementations, the height estimate is based on a measurement from the top of the person's head to the floor below their feet. Alternatively, if the person is raising their hands higher than their head, the system may determine a height estimate from the top of the person's hands to the floor plane or to another determined plane. In some implementations, the height estimation system can automatically determine whether a person in the image is holding out both hands and it is desired to automatically calculate their arm span. The height estimation system can then detect features of each hand to determine the estimated arm span of the identified person.

[0058] At block 404, method 400 determines a second location on the floor below the first location in the 3D coordinate system. In some implementations, this may involve using RGB data and / or depth sensor data to determine the floor plane. Additionally or alternatively, machine learning may be used to classify a plane as a floor (e.g., classifying each data point based on the detected height) to determine the floor plane. In some implementations, a 3D model may be used to determine the floor plane over time, the 3D model being updated using data from each instance.

[0059] In some implementations, determining the second location on the floor includes determining a floor plane based on image data collected from a camera on the device. For example, the floor plane is determined using RGB data and / or depth sensor data. In some implementations, the image data includes depth data, the depth data includes a plurality of depth points, wherein determining the floor plane based on the image data includes classifying a portion of the plurality of depth points as a floor plane based on a determined height of each of the depth points; and determining the second location on the floor based on the determined height of each of the depth points corresponding to the floor plane. For example, machine learning may be used to classify a plane as a floor to determine the floor plane.

[0060] At block 406, method 400 estimates the height based on determining the distance between the first location and the second location. For example, a first location on top of the head and a second location on the floor may each have corresponding 3D coordinates, and the system may determine the height or distance between the two coordinates in a particular direction and / or axis (e.g., x-axis, y-axis, or z-axis) of the coordinate system. In some implementations, estimating the height of a person may involve using multiple distance estimates acquired over time, discarding outliers, or other means for averaging several data points of measurement data collected over time.

[0061] In some implementations, the image data includes a plurality of image frames captured over a period of time, and determining a floor plane based on the image data includes generating a 3D model based on the image data including the floor plane, and iteratively updating the 3D model for each captured frame of the plurality of image frames. For example, during a live video feed, a plurality of images are captured over time, and the human height estimation system described herein may iteratively update a height estimate for one or more frames of the video feed to determine an accurate depiction of a human height. Each iteration should provide a more accurate height determination.

[0062] In some implementations, estimating the height based on determining the distance between the first location and the second location includes determining a plurality of distance estimates between the first location and the second location; identifying a subset of the plurality of distance estimates using an averaging technique (e.g., calculating an average, removing outliers, etc.); and determining the distance between the first location and the second location based on the subset of data. For example, when acquiring image data (e.g., RGB and depth data), a sliding average of the height estimate can be taken over time. The sliding average can be based on continuously updating a determination of the top of the head, continuously updating a determination of the floor plane, or both.

[0063] In some implementations, the human body is a first human body and the 2D image includes the first human body and a second human body, wherein determining the first position on the head of the first human body is based on determining that the first human body is closer to the center of the 2D image than the second human body relative to the center of the 2D image. For example, multiple people may be included in the image data, and the human height estimation system described herein may interpret which human body's height is to be calculated based on the center of the camera's reticle or the center of the image focused by the user using the device's camera. In some implementations, the human height estimation system described herein may estimate the height of each detected human body in the image data. In some implementations, the human height estimation system described herein may wait for some user interaction with the human body in the image on the screen of the user device. For example, a user may be viewing a live video of a group of people and taps on the person of interest to determine a height estimate.

[0064] In some implementations, a human height estimation system described herein may collect a single frame of a 2D light intensity image (e.g., a single RGB image, such as a photograph), extrapolate depth data from the 2D image, and determine an estimate of the height of a human body based on the 2D image and the depth data. For example, if it is desired to track the height of a child over time, the system may collect several photographs of the child (e.g., scanned or taken from an album of the child) and cause the human height estimation system described herein to determine an estimated height for each photograph. Additionally, if the photographs are digital, the human height estimation system described herein may store the height data in metadata of the digitally stored images.

[0065] In use, for process 400, a user (e.g., Figure 1A user 102 in the example may utilize a device (e.g., a smartphone, such as device 120) to capture an image of a person (or multiple persons) within a room, and the process described herein will capture image data, identify persons within the environment, and determine a height estimate for the person (or each of the multiple persons) as the person is being scanned by a camera on the device. In some implementations, the height estimate for the person may be automatically displayed and updated on the user's device overlaid during a live camera feed. In some implementations, the height estimate for the person may be provided after some type of user interaction, after scanning the physical environment. For example, the user may be presented with options for the identified persons, and the user may select or click on the person for which they would like measurement information, and the measurement information will then be displayed. Thus, as described below with reference to FIG. 5A to FIG. 5F As shown and discussed, the height estimation unit 520 determines the distance between a portion of the head of a person and the floor below as an estimated height of the person by using the mask data unit 530 (e.g., Figure 2 The mask data unit 242 and / or Figure 3 The mask data unit 342 of FIG. 5 ) determines the segmentation mask data (eg, a 2D mask of a human body); using the floor unit 540 (eg, Figure 2 Floor unit 244 and / or Figure 3 floor unit 344) to determine floor plane data; using feature detection unit 550 (e.g., Figure 2 The feature detection unit 246 and / or Figure 3 The feature detection unit 346 detects the feature on the head of the human body; and the measurement unit 560 (for example, Figure 2 The measurement unit 248 and / or Figure 3 The measuring unit 348 determines the distance between the top of the human body's head and the floor plane.

[0066] FIG. 5A to FIG. 5F 1 and 10 are system flow charts of exemplary environments 500A to 500F, respectively, in which the system can use the depth and light intensity image information detected in the physical environment to determine the distance between a portion of a person's head and the floor below as an estimated height of the person. In some specific implementations, the system flow of exemplary environments 500A to 500F is performed on a device (e.g., Figures 1 to 3 The system flow of exemplary environments 500A to 500F may be displayed on a device having a screen for displaying images and / or a screen for viewing stereoscopic images (e.g., Figure 1 and Figure 3The system flow of exemplary environments 500A to 500F is executed on a processing logic component (including hardware, firmware, software, or a combination thereof). In some implementations, the system flow of exemplary environments 500A to 500F is executed on a processor that executes code stored in a non-transitory computer-readable medium (e.g., a memory).

[0067] Figure 5A is a block diagram of an exemplary environment 500A, in which a height estimation unit 520 may use light intensity image information and depth information detected in the physical environment to determine a distance between a portion of a head of a person and a floor below as a height estimation value of the person. The system flow of the exemplary environment 500A acquires a physical environment (e.g., Figure 1 The method further comprises: using light intensity image data 503 (e.g., live camera feed from light intensity camera 502), depth image data 505 (e.g., depth image data from depth camera 504), and other sources of physical environment information (e.g., camera positioning information 507 from position sensor 506) of the physical environment 105 of the human body, and determining the distance between a portion of the head of the human body and the floor below as a height estimate of the human body by: using mask data unit 530 (e.g., Figure 2 The mask data unit 242 and / or Figure 3 The mask data unit 342 of FIG. 5 ) determines the segmentation mask data (eg, a 2D mask of a human body); using the floor unit 540 (eg, Figure 2 Floor unit 244 and / or Figure 3 floor unit 344) to determine floor plane data; using feature detection unit 550 (e.g., Figure 2 The feature detection unit 246 and / or Figure 3 The feature detection unit 346 detects the feature on the head of the human body; and the measurement unit 560 (for example, Figure 2 The measurement unit 248 and / or Figure 3 The measuring unit 348 determines the distance between the top of the human body's head and the floor plane.

[0068] The measurement unit 560 is configured with instructions that can be executed by the processor to collect image data (e.g., light intensity data, depth data, camera position information, etc.), mask data, floor data, and feature detection data, and use one or more of the techniques disclosed herein to determine the distance between a portion of the head of a human body and the floor below as an estimated height of the human body. For example, the measurement unit 560 (e.g., Figure 2 The measurement unit 248 and / or Figure 3The measurement unit 348 of the system collects a series of light intensity images (e.g., RGB data 503) from the light intensity camera 502 (e.g., live camera transmission) and depth data 505 from the depth camera 504, obtains mask data from the mask data unit 530, obtains floor data from the floor unit 540, obtains feature detection data (e.g., head top data) from the feature detection unit 550, and determines an estimated height of the human body identified by the mask data. For example, a first position at the top of the head and a second position on the floor may each have corresponding 3D coordinates, and the system may determine the height or distance between the two coordinates in a particular direction and axis of the coordinate system. In some specific implementations, estimating the height of a human body may involve using multiple distance estimates obtained over time, discarding outliers, or other means for averaging several data points of measurement data collected over time.

[0069] In one exemplary implementation, environment 500A includes an image synthesis pipeline that collects or acquires data of a physical environment (e.g., image data from one or more image sources). Exemplary environment 500A is an example of collecting image data (e.g., light intensity data and depth data) for multiple image frames. Image sources may include a depth camera 504 that collects depth data 505 of a physical environment; and a light intensity camera 502 (e.g., an RGB camera) that collects light intensity image data 503 (e.g., a series of RGB image frames). For positioning information, some implementations include a visual inertial odometry (VIO) system to estimate the distance traveled by determining equivalent odometry information using a camera sequence of images (e.g., light intensity data 503). Alternatively, some implementations of the present disclosure may include a SLAM system (e.g., a position sensor 506). The SLAM system may include a multi-dimensional (e.g., 3D) laser scanning and range measurement system that is independent of GPS and provides real-time simultaneous positioning and mapping. The SLAM system can generate and manage very accurate point cloud data generated by reflections from laser scanning of objects in the environment. Accurately tracking the movement of any point in the point cloud over time allows the SLAM system to use the points in the point cloud as reference points for location, maintaining a precise understanding of its position and orientation as it travels through the environment.

[0070] Figure 5B is a block diagram of an exemplary environment 500B, in which a mask data unit 530 (e.g., Figure 2 The mask data unit 242 and / or Figure 3The mask data unit 342 of the image processing unit 500B can use the collected image data 512 (e.g., depth data, such as 3D point cloud, RGB data, etc.) and / or the collected semantic segmentation data (e.g., RGB-S data of objects and / or people within the semantically labeled image data) to generate the masked data 531 (e.g., segmentation mask). Specifically, the environment 500B is collecting images 512 (e.g., from Figure 1 105, wherein the user 102 is collecting image data including the object / person 104 and the object / person 106). The masked data 532 indicates the object (e.g., person) to be masked, which means that only the identified object (e.g., person) is shown and the remaining information is masked. For example, the masked image data 513 shows the determined mask data, which includes the mask 533a (e.g., the object / person 104) and the mask 533b (e.g., the object / person 106). The mask data unit 530 can send the masked image information to the feature detection unit (e.g., Figure 2 The feature detection unit 246 and / or Figure 3 Alternatively, the mask data unit 530 may send the identified pixel locations of the identified object / person to the feature detection unit, which may then determine whether to include or exclude the identified object / person (e.g., based on a confidence value).

[0071] In some implementations, the mask data unit 530 uses a machine learning model, wherein the segmentation mask model may be configured to identify semantic labels for pixels or voxels of image data. The segmentation mask machine learning model may generate a segmentation mask that identifies a specific type of object (e.g., a human body, a cat) associated with motion (e.g., people often move, while furniture does not move). In some implementations, the mask may indicate an object using a value of 0 or a value of 1 to indicate whether information should be included in the 3D model (e.g., a moving object). In some implementations, the segmentation machine learning model may be a neural network executed by a neural engine / circuitry on a processor chip that is tuned to accelerate AI software. In some implementations, the segmentation mask may include a pixel-level confidence value. For example, a pixel position may be labeled as 0.8 chair, so the system has an 80% confidence that the x, y, z coordinates of the pixel position are chairs. The confidence level may be adjusted as additional data is acquired. In some implementations, the machine learning model is a neural network (e.g., an artificial neural network), a decision tree, a support vector machine, a Bayesian network, etc.

[0072] Figure 5C is a block diagram of an exemplary environment 500C in which a mask data unit 530 (eg, Figure 2 The mask data unit 242 and / or Figure 3 The mask data unit 342 of the image processing unit 500C can use the acquired image data 514 (e.g., depth data, such as 3D point cloud, RGB data, etc.) and / or the acquired semantic segmentation data (e.g., RGB-S data of objects and / or people in semantically marked image data) to generate the masked data 531. Specifically, the environment 500C is a collection image 514 (e.g., from Figure 1 105 ). However, image 514 is different from image 512 in environment 500B because user 102 is collecting image data including object / person 104 and object / person 106, but object / person 106 is standing behind object / person 104 and is partially blocked by object / person 104. Masked data 531 represents the object (e.g., person) to be masked, which means that only the identified object (e.g., person) is shown and the remaining information is masked. For example, masked image data 515 shows determined mask data, which includes mask 534a (e.g., object / person 104) and mask 534b (e.g., object / person 106). In some specific implementations, using the techniques described herein, even if masks 534a and 534b overlap, the feature detection unit can interpret between masks 534a and 534b based on detecting features on the head of the person (such as features on the face) for mask 534a. The mask data unit 530 may send the masked image information to the feature detection unit (eg, Figure 2 The feature detection unit 246 and / or Figure 3 Alternatively, the mask data unit 530 may send the identified pixel locations of the identified object / person to the feature detection unit, which may then determine whether to include or exclude the identified object / person (e.g., based on a confidence value).

[0073] Figure 5D is a block diagram of an exemplary environment 500D in which a floor unit 540 (e.g., Figure 2 Floor unit 244 and / or Figure 3 The floor unit 344 of the environment 500D may use the collected image data 512 (e.g., depth data, such as 3D point cloud, RGB data, etc.) and / or the collected semantic segmentation data (e.g., RGB-S data of features (such as floor) within the semantically labeled image data) to generate floor data 531 (e.g., 3D floor plane, etc.). Specifically, the environment 500D is collecting images 512 (e.g., from Figure 1105, wherein user 102 is collecting image data including object / person 104 and object / person 106). Floor data 542 represents the identified floor plane using the techniques described herein. When estimating the height of a person relative to the top of the person's head and the determined floor or floor plane, floor unit 530 can send floor plane information to measurement unit 560 for use as a second position of the 3D coordinate system.

[0074] Figure 5E is a block diagram of an exemplary environment 500E in which a floor unit 540 (e.g., Figure 2 Floor unit 244 and / or Figure 3 The floor unit 344 of the environment 500E may use the collected image data 512 (e.g., depth data, such as the 3D point cloud 505, RGB data, etc.) and / or the collected semantic segmentation data (e.g., RGB-S data of features (such as the floor) within the semantically labeled image data) to generate floor data 572 (e.g., 3D floor plane 573, etc.). Specifically, the environment 500E is collecting images 512 (e.g., from Figure 1 571 ) and a 3D point cloud 505 for depth data. The floor data 572 represents the identified floor plane using the techniques described herein. For example, the floor unit 540 uses the depth classification unit 570 to determine the floor plane 573 based on machine learning, which is trained to identify floor points in the depth data, as shown in the 3D point cloud 571. The depth classification unit classifies the floor points based on the lowest point identified in the 3D coordinate system. When estimating the height of a human body relative to the top of the head of the human body and the determined floor or floor plane, the floor unit 540 can send the floor plane information 573 to the measurement unit 560 for use as a second position of the 3D coordinate system.

[0075] Fig. 5F is a block diagram of an exemplary environment 500F in which a feature detection unit 550 (e.g., Figure 2 The feature detection unit 246 and / or Figure 3 The feature detection unit 346 of the embodiment of the present invention can use the collected image data (e.g., light intensity data 503, depth data 505) and the collected mask data 531 from the mask data unit 530 to send information related to the top of the head of the human body to the measurement unit. Specifically, the environment 500F is collecting images 512 (e.g., from Figure 1105, wherein the user 102 is collecting the image data) and the mask image data 513 including the mask 533a for the object / person 106 standing. In one exemplary implementation and for the purpose of illustration, the feature detection unit 550 includes a bounding box unit 552, a center determination unit 554, and a head top determination unit 556. The bounding box unit 552 generates bounding box data 553 around the detected features of the head. Specifically, the bounding box unit 552 detects features on the head of the person according to the masked data (e.g., the person) of the mask image data, and recognizes the face based on the detected features. The center determination unit 554 utilizes the bounding box data 553 and determines the side of the head (e.g., the first side 555a and the second side 555b). After determining the side of the head of the person, the center determination unit 554 determines a center line 555c corresponding to the person. The head top determination unit 556 uses the center line 555c and then determines head top data (eg, 3D coordinates), which is sent to the measurement unit to estimate the height of the human body.

[0076] In some implementations, the exemplary environment 500 includes a 3D representation unit configured with instructions that can be executed by a processor to acquire sensor data (e.g., RGB data 503, depth data 505, etc.) and measurement data 562, and generate 3D representation data with measurement results using one or more techniques. For example, the 3D representation unit analyzes the RGB image from the light intensity camera 402 using a sparse depth map from a depth camera 404 (e.g., a time-of-flight sensor) and other sources of physical environment information (e.g., camera positioning information, such as position / motion data 507 from a sensor 506 or a camera SLAM system, etc.) to generate 3D representation data (e.g., representation data). Figure 1105). In some implementations, the 3D representation data may be a 3D representation of a surface in a 3D environment using a 3D point cloud with associated semantic tags. The 3D representation may be a 3D bounding box for each detected object of interest (such as a person 104 / 106, a table 142, and a chair 140). In some implementations, the 3D representation data is a 3D reconstruction mesh generated using a meshing algorithm based on depth information detected in the physical environment, and the depth information is integrated (e.g., fused) to reshape the physical environment. A meshing algorithm (e.g., a double marching cube meshing algorithm, a Poisson meshing algorithm, a tetrahedron meshing algorithm, etc.) may be used to generate a mesh representing a room (e.g., the physical environment 105) and / or objects in the room (e.g., the person 104 / 106, the table 142, the chair 140, etc.). In some implementations, for 3D reconstruction using meshes, in order to effectively reduce the amount of memory used during the reconstruction process, a voxel hashing method is used, in which the 3D space is divided into voxel blocks, which are referenced by a hash table using their 3D position as a key. Voxel blocks are constructed only around the surface of the object, freeing up memory that would otherwise be used to store empty space. The voxel hashing method is also faster than competing methods at the time, such as octree-based methods. In addition, it supports data flow between GPUs and CPUs, where memory is usually limited and CPUs, where memory is more abundant.

[0077] In some implementations, the exemplary environment 500A also includes an integration unit configured with instructions that can be executed by a processor to obtain a subset of image data (e.g., light intensity data 403, depth data 405, etc.) and positioning information (e.g., camera pose information from position / motion sensor 506) and integrate (e.g., fuse) the subset of image data using one or more known techniques. For example, the image integration unit receives a subset of depth image data 505 (e.g., sparse depth data) and a subset of intensity image data 503 (e.g., RGB) from image sources (e.g., light intensity camera 502 and depth camera 504), and integrates the subset of image data and generates 3D data. The 3D data may include a dense 3D point cloud (e.g., an imperfect depth map and camera pose of multiple image frames around an object), which is sent to a 3D representation unit (e.g., a unit that generates a 3D model of the image data). The 3D data may also be voxelized.

[0078] In some implementations, the exemplary environment 500A also includes a semantic segmentation unit that is configured with instructions that can be executed by a processor to obtain a subset of the light intensity image data (e.g., light intensity data 503) and use one or more known techniques to identify and segment wall structures (walls, doors, windows, etc.) and objects (e.g., human bodies, tables, teapots, chairs, vases, etc.). For example, the segmentation unit receives a subset of the intensity image data 503 from an image source (e.g., light intensity camera 502) and generates segmentation data (e.g., semantic segmentation data, such as RGB-S data). In some implementations, the segmentation unit uses a machine learning model, wherein the semantic segmentation model can be configured to identify semantic labels for pixels or voxels of image data. In some implementations, the machine learning model is a neural network (e.g., an artificial neural network), a decision tree, a support vector machine, a Bayesian network, etc.

[0079] Numerous specific details are set forth herein to provide a comprehensive understanding of the claimed subject matter. However, those skilled in the art will appreciate that the claimed subject matter may be practiced without these specific details. In other instances, methods, devices, or systems known to those of ordinary skill are not described in detail so as not to obscure the claimed subject matter.

[0080] Unless otherwise specifically noted, it should be understood that throughout the specification, discussions utilizing terms such as "process," "compute," "calculate," "determine," and "identify" refer to the actions or processes of a computing device, such as one or more computers or similar electronic computing devices, that manipulate or transform data represented as physical electronic or magnetic quantities within a memory, register, or other information storage device, transmission device, or display device of a computing platform.

[0081] The one or more systems discussed herein are not limited to any particular hardware architecture or configuration. A computing device may include any suitable arrangement of components that provide results conditioned on one or more inputs. Suitable computing devices include multi-purpose microprocessor-based computer systems that access stored software that programs or configures the computing system from a general-purpose computing device to a dedicated computing device that implements one or more specific implementations of the subject matter of the present invention. Any suitable programming, scripting, or other type of language or combination of languages ​​may be used to implement the teachings contained herein in software for programming or configuring a computing device.

[0082] The specific implementation of the method disclosed herein can be performed in the operation of such a computing device. The order of the blocks presented in the above examples can be changed, for example, the blocks can be reordered, combined and / or divided into sub-blocks. Some blocks or processes can be executed in parallel.

[0083] The use of "suitable for" or "configured to" herein is meant to be open and inclusive language that does not exclude devices that are suitable for or configured to perform additional tasks or steps. In addition, the use of "based on" is meant to be open and inclusive, as a process, step, calculation, or other action "based on" one or more of the stated conditions or values ​​may in practice be based on additional conditions or values ​​beyond those stated. The headings, lists, and numbers included herein are for ease of explanation only and are not intended to be limiting.

[0084] It will also be understood that, although the terms "first", "second", etc. may be used to describe various elements in this article, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first node may be referred to as a second node, and similarly, a second node may be referred to as a first node, which changes the meaning of the description, as long as all occurrences of the "first node" are consistently renamed and all occurrences of the "second node" are consistently renamed. Both the first node and the second node are nodes, but they are not the same node.

[0085] The terms used herein are only for describing specific implementations and are not intended to limit the claims. As used in the description of this specific implementation and the appended claims, the singular forms of "a" and "the" are intended to also cover the plural forms, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" used herein refers to and covers any and all possible combinations of one or more items in the associated listed items. It will also be understood that the term "comprising" when used in this specification specifies the presence of stated features, integers, steps, operations, elements and / or parts, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts, and / or their grouping.

[0086] As used herein, the term “if” may be interpreted to mean “when the antecedent is true” or “when the antecedent is true” or “in response to determining” or “upon determining” or “in response to detecting” that the antecedent is true, depending on the context. Similarly, the phrase “if it is determined that [the antecedent is true]” or “if [the antecedent is true]” or “when [the antecedent is true]” is interpreted to mean “upon determining that the antecedent is true” or “in response to determining” or “upon determining” that the antecedent is true or “when detecting that the antecedent is true” or “in response to detecting” that the antecedent is true, depending on the context.

[0087] The foregoing description and summary of the present invention should be understood to be illustrative and exemplary in every aspect, rather than restrictive, and the scope of the present invention disclosed herein is determined not only by the detailed description of the exemplary specific implementations, but by the full breadth allowed by the patent law. It should be understood that the specific implementations shown and described herein are only illustrative of the principles of the present invention, and that various modifications can be implemented by those skilled in the art without departing from the scope and essence of the present invention.

Claims

1. A method for estimating altitude, comprising: At a device with a processor: obtaining a mask that identifies portions of the image corresponding to one or more persons; Detecting a feature on the head of the human body based on a two-dimensional (2D) image of the human body in a physical environment; Determining a first position of the human body on the head in a three-dimensional 3D coordinate system based on the detected feature and the portion of the mask; determining a second location on the floor below the first location in the 3D coordinate system; as well as A height of the human body is estimated based on determining a distance between the first location and the second location. The method of claim 1 , wherein the feature is a face.

3. The method of claim 2, wherein determining the first position on the head of the human body within the portion of the mask comprises: determining a center of the face and an orientation of the face; as well as A portion of the mask is identified in a direction from the center of the face, wherein the direction is based on the orientation. 4 . The method of claim 3 , wherein determining the first position on the head of the person within the portion of the mask further comprises generating a bounding box corresponding to the face. 5 . The method of claim 1 , wherein determining the first position on the head of the person within the portion of the mask comprises identifying a boundary of the head of the person based on data from a depth sensor. The method of claim 1 , wherein determining the second position on the floor comprises determining a floor plane based on image data acquired from a camera on the device.

7. The method of claim 6, wherein the image data includes depth data, the depth data including a plurality of depth points, wherein determining the floor plane based on the image data comprises: classifying a portion of the plurality of depth points as the floor plane based on a determined height of each of the depth points; as well as The second position on the floor is determined based on the determined height of each of the depth points corresponding to the floor plane.

8. The method of claim 6, wherein the image data comprises a plurality of image frames acquired over a period of time, wherein determining the floor plane based on the image data comprises: generating a 3D model based on the image data including the floor plane; as well as The 3D model is iteratively updated for each acquired frame of the plurality of image frames.

9. The method of claim 1 , wherein estimating the height of the human body based on determining the distance between the first position and the second position comprises: determining a plurality of distance estimates between the first location and the second location; identifying a subset of data associated with the plurality of distance estimates using an averaging technique; as well as The distance between the first location and the second location is determined based on the subset of data.

10. The method of claim 1, wherein the human body is a first human body and the 2D image includes the first human body and a second human body, wherein determining the first position on the head of the first human body is based on determining that the first human body is closer to the center of the 2D image than the second human body is relative to the center of the 2D image.

11. An electronic device, comprising: a non-transitory computer-readable storage medium; and One or more processors, the one or more processors coupled to the non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium includes program instructions, and when the program instructions are executed on the one or more processors, the electronic device performs operations including the following: obtaining a mask that identifies portions of the image corresponding to one or more persons; Detecting a feature on the head of the human body based on a two-dimensional (2D) image of the human body in a physical environment; Determining a first position of the human body on the head in a three-dimensional 3D coordinate system based on the detected feature and the portion of the mask; determining a second location on the floor below the first location in the 3D coordinate system; as well as A height of the human body is estimated based on determining a distance between the first location and the second location.

12. The electronic device of claim 11, wherein the feature is a face.

13. The electronic device of claim 12, wherein determining the first position on the head of the human body within the portion of the mask comprises: determining a center of the face and an orientation of the face; as well as A portion of the mask is identified in a direction from the center of the face, wherein the direction is based on the orientation.

14. The electronic device of claim 12, wherein determining the first position on the head of the human body within the portion of the mask further comprises generating a bounding box corresponding to the face. 15 . The electronic device of claim 11 , wherein determining the first position on the head of the person within the portion of the mask comprises identifying a boundary of the head of the person based on data from a depth sensor.

16. The electronic device of claim 11, wherein determining the second position on the floor comprises determining a floor plane based on image data acquired from a camera on the electronic device.

17. The electronic device of claim 16, wherein the image data comprises depth data, the depth data comprising a plurality of depth points, wherein determining the floor plane based on the image data comprises: classifying a portion of the plurality of depth points as the floor plane based on a determined height of each of the depth points; as well as The second position on the floor is determined based on the determined height of each of the depth points corresponding to the floor plane.

18. A non-transitory computer-readable storage medium storing computer-executable program instructions on a computer to perform operations comprising: obtaining a mask that identifies portions of the image corresponding to one or more persons; Detecting a feature on the head of the human body based on a two-dimensional (2D) image of the human body in a physical environment; Determining a first position of the human body on the head in a three-dimensional 3D coordinate system based on the detected feature and the portion of the mask; determining a second location on the floor below the first location in the 3D coordinate system; as well as A height of the human body is estimated based on determining a distance between the first location and the second location.