Low power food tracking with duplication avoidance
A low-power food tracking method using occasional image capture and machine learning distinguishes new food items from consumption changes, improving efficiency and accuracy in tracking food items.
Patent Information
- Application Number
- US18/136004
- Authority / Receiving Office
- US · United States
- Patent Type
- Patents(United States)
- Current Assignee / Owner
- Priority Date
- 2022-04-19
- Filing Date
- 2023-04-18
- Publication Date
- 2026-12-01
- Estimated Expiration
- 2044-09-07
AI Technical Summary
Existing food tracking systems are inefficient and inaccurate, particularly in distinguishing new food items from items that change appearance over time, such as during consumption.
A low-power food tracking method using sensor data, including images captured occasionally (e.g., every 30 seconds), generates feature vectors to identify changes in a user's eating area, employing machine learning to distinguish between new food items and changes due to consumption, with adaptive capture rates based on user context.
This approach enhances food tracking efficiency and accuracy by minimizing power consumption while effectively identifying additions and consumption of food items, reducing double-logging of foods.
Smart Images

Figure US12818495-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Application Ser. No. 63 / 332,414 filed Apr. 19, 2022, which is incorporated herein in its entirety.TECHNICAL FIELD
[0002] The present disclosure generally relates to electronic devices that use sensor data to make assessments of physical environments, including devices that use sensor data to track food.BACKGROUND
[0003] Existing food tracking systems may be improved with respect to efficiency and accuracy.SUMMARY
[0004] Various implementations disclosed herein provide power efficient techniques for tracking foods in a user's eating area (e.g., on the user's dinner plate or plates) by distinguishing new food items from items that otherwise change appearance, e.g., as the user eats. The techniques track food without necessarily requiring capturing images or other sensor data at a fast rate and thus can provide relatively low power food tracking. For example, images may be occasionally captured (e.g., every 30 seconds) and used to generate representations (e.g., feature vectors) representing the current state of the food. These representations can be used to track foods by identifying foods that are added to, changed, or removed from the user's eating area, e.g., on the user's plate or plates. Changes between representations that occur over time may be identified by comparing representations. A representation may be compared with a prior representation (e.g., from 30 seconds prior) to determine whether a change corresponds to a new food item or an item otherwise changing appearance, e.g., as the user eats. In some implementations, the rate of sensor data capture (e.g., image capture) may be tailored to the user's eating speed or other context factors to further improve food tracking efficiency.
[0005] In some implementations, a processor performs a method by executing instructions stored on a computer readable medium. The method generates representations of an area within a physical environment (e.g., a space that includes one or more plates, glasses, etc., within a threshold distance in front of the user) using sensor data obtained in the physical environment. The representations include a first representation associated with a first time and a second representation associated with a second time occurring after the first time. Sensor data (e.g., images) may be captured occasionally (e.g., every 30 seconds). Sensor data (e.g., images) may be captured by a sensor on a device worn by the user and oriented to capture data corresponding to the environment in front of the user, e.g., capturing images of a top surface of a table in front of the user including the user's plate(s) and their content, etc. Audio, motion, and / or depth sensor data may additionally or alternatively be captured. The representations generated from the sensor data may have various forms, for example, providing feature vectors descriptive of one or more food items within a defined area. For example, a feature vector may include features identified using sensor data limited using a bounding box on each image.
[0006] The method further involves performing a comparison of the first representation and the second representation, e.g., using one or more similarity metrics, and determining a cause of a change between the first representation and the second representation. This comparison may involve determining a difference using a similarity metric (e.g., Euclidian distance, signed distance, etc.) between the representations. The comparison may additionally or alternatively involve estimating and comparing food volumes represented in each representation. In some implementations, a comparison is performed using a machine learning model (e.g., a detection network) trained to determine one or more particular results, e.g., whether a new food item has been added in an area, whether a change in food in an area corresponds to a food item having been partially or entirely eaten, whether a change in food in an area corresponds to or was the result of an event other than eating, a source or cause of a change in food in an area, etc. Determining the cause of the change may involve determining a difference (e.g., an increase or decrease in volume, a difference between feature vectors, etc.) between the first representation and the second representation and determining whether the food item is the same food item or a new food item based on the difference.
[0007] In accordance with some implementations, a device includes one or more processors, a non-transitory memory, and one or more programs; the one or more programs are stored in the non-transitory memory and configured to be executed by the one or more processors and the one or more programs include instructions for performing or causing performance of any of the methods described herein. In accordance with some implementations, a non-transitory computer readable storage medium has stored therein instructions, which, when executed by one or more processors of a device, cause the device to perform or cause performance of any of the methods described herein. In accordance with some implementations, a device includes: one or more processors, a non-transitory memory, and means for performing or causing performance of any of the methods described herein.BRIEF DESCRIPTION OF THE DRAWINGS
[0008] So that the present disclosure can be understood by those of ordinary skill in the art, a more detailed description may be had by reference to aspects of some illustrative implementations, some of which are shown in the accompanying drawings.
[0009] FIGS. 1A, 1B, and 1C illustrate a physical environment in which an electronic device is used in accordance with some implementations.
[0010] FIGS. 2A, 2B, and 2C illustrate examples of image portions that may be used to track food in accordance with some implementations.
[0011] FIGS. 3A and 3B illustrate examples of image portions that may be used to track food in accordance with some implementations.
[0012] FIG. 4 is a flowchart illustrating a method for tracking food in accordance with some implementations.
[0013] FIG. 5 is a block diagram of an electronic device in accordance with some implementations.
[0014] In accordance with common practice the various features illustrated in the drawings may not be drawn to scale. Accordingly, the dimensions of the various features may be arbitrarily expanded or reduced for clarity. In addition, some of the drawings may not depict all of the components of a given system, method or device. Finally, like reference numerals may be used to denote like features throughout the specification and figures.DESCRIPTION
[0015] Numerous details are described in order to provide a thorough understanding of the example implementations shown in the drawings. However, the drawings merely show some example aspects of the present disclosure and are therefore not to be considered limiting. Those of ordinary skill in the art will appreciate that other effective aspects or variants do not include all of the specific details described herein. Moreover, well-known systems, methods, components, devices and circuits have not been described in exhaustive detail so as not to obscure more pertinent aspects of the example implementations described herein.
[0016] FIGS. 1A, 1B, and 1C illustrate a physical environment 100 in which a user 102 uses an exemplary electronic device 110. The physical environment 100 in this example is room that includes a table 130. The electronic device 110 includes one or more cameras, microphones, depth sensors, or other sensors that can be used to capture information about and evaluate the physical environment 100 and the objects within it, as well as information about the user 102. The information about the physical environment 100 or user 102 may be used to assess the physical environment 100 (e.g., tracking food, the user's consumption of food, etc.) and / or to provide visual and audio content. The electronic device 110 may be a hand-held device or a device worn by the user such as a head-mounted device (HMD), ear-mounted device, smart watch, bracelet, etc.
[0017] In FIG. 1A, the top surface of the table 130 has a large dish 150 with pizza slices and plates 120a-b with pizza slices 125a-b, respectively, placed upon it. The user is in front of the plate 120a, e.g., that plate 120a is within an eating area defined by the device 110 for the user 102. An eating area may be defined in various ways for example using various criteria, e.g., based on a threshold distance in front of the user (e.g., within arm's reach), based on identifying an area that is closer to the user than another user, based on user preferences, based on user input identifying the eating area, based on user interactions (e.g., detecting the user interacting within an area), etc.
[0018] FIG. 1B shows the physical environment 100 of FIG. 1A at a later point in time (e.g., 5 seconds later, 15 seconds later, 30 seconds later, 2 minutes later, etc.). The physical environment 100 has changed from FIG. 1A to FIG. 1B. For example, the contents of plate 120a has changed. In particular, user 102 has eaten some of the pizza slice 125a and set the remaining portion of the pizza slice 125a back down on the plate 120a.
[0019] FIG. 1C shows the physical environment 100 of FIGS. 1A and 1B at a later point in time (e.g., 5 seconds later, 15 seconds later, 30 seconds later, 2 minutes later, etc.) after the time depicted in FIG. 1B. The physical environment 100 has changed from FIG. 1B to FIG. 1C. For example, the contents of plate 120a has again changed. In particular, user 102 has eaten the remaining portions of the pizza slice 125a and moved another pizza slice 125c from the large dish 150 onto plate 120a.
[0020] FIGS. 2A, 2B, and 2C illustrates examples of portions of images captured in the physical environment 100 that may be used to track food in accordance with some implementations. In this example, the first image 210 corresponds to the physical environment 100 at the time depicted in FIG. 1A, the second image 212 corresponds to the physical environment 100 at the time depicted in FIG. 1B, and the third image 214 corresponds to the physical environment 100 at the time depicted in FIG. 1C.
[0021] The images 210, 212, 214 may themselves be used as representations of different food states. Additionally, or alternatively, the images 210, 212, 214 may be analyzed via algorithm, machine learning, or other analytic techniques to generate representations of different foods states. For example, a machine learning model may process each image to generate one or more feature vectors corresponding to food items. In one example, a portion of less than all each of a set of captured images is identified as depicting a user's eating area and / or food items within such an eating area. For example, a region of 20×50 pixels within an image of 100×200 pixels may be identified as depicting a user's eating area or a particular food item and the identified region may be processed to generate representations of food states, e.g., identifying features of the food item or items depicted within that region of the image.
[0022] In some implementations, the images 210, 212, 214 may be analyzed to identify one or more bounding boxes corresponding to a user's eating area and / or to food items within such an area. The portions of the images 210, 212, 214 within such bounding boxes may then be analyzed to determine representations of food items (e.g., feature vectors having values corresponding to different food item characteristics, e.g., size, shape, color, texture, food type, whether one or more sub-portions match with a particular pattern or patterns, etc.
[0023] In some implementations, the images 210, 212, 214 are analyzed to produce semantics (e.g., semantic masks) that identify portions of the images corresponding to a user's eating area and / or food items. Such semantics may identify types of food. In some implementations, the images 210, 212, 214 are analyzed to identify sizes, dimensions, and / or volumes of one or more food items within a user's eating area. Semantics, sizes, dimensions, and / or volumes may be represented in feature vectors or other multi-attribute representations corresponding to different instants in time that are generated based on sensor data and used to facilitate food tracking.
[0024] In some implementations, a machine learning model is trained to generate a feature vector having features that are useful for comparison to determine whether new food item has been added, whether a portion of a food item has been eaten, whether a food item had changed due to a particular cause or not due to a particular cause, etc. In some implementations, a machine learning model is optimized or otherwise trained to generate feature vectors that enable making such determinations accurately and / or efficiently, e.g., using images separated in time sufficiently such that the image capture device can operate in a relatively low-power state.
[0025] The images 210, 212 of FIGS. 2A and 2B may be used to generate representations, and these representations may be used to facilitate food tracking. For example, a representation based on image 210 is compared with a representation based on image 212 to determine that the change / difference between the images 210, 212 corresponds to a portion of a food item having been eaten rather than to a new food item having been added. In this example, image 210 includes a depiction 220a of plate 120a and a depiction 225a of pizza slice 125a at a first point in time and image 212 includes a depiction 220a of the plate 120a and a depiction 225a of the pizza slice 125a at a second point in time (i.e., depicting the portion of the pizza slice 125a after the user 102 has eaten some of it).
[0026] These representations are compared to make the food tracking determinations. In some implementations, an algorithm, machine learning model, or other automated comparison technique is used to make the food tracking determinations. Changes in the attributes (e.g., size, dimensions, volume, color, shape, texture, etc.) represented in the representations may be indicative of a particular type of change, e.g., increases in a food item size / volume may be indicative of a new food item being added to replace a prior food item.
[0027] In some implementations, a single machine learning model (e.g., neural network) is inputted the images 210, 212 and outputs a food tracking determination. Such a machine learning model may have been trained to both generate and compare representations (e.g., feature vectors) to produce output providing one or more food tracking determinations. In some implementations, such a machine learning model is trained to produce multiple outputs, e.g., whether a new food item has been added, how much of a food item has been consumed, a rate of food consumption, a type of a food item, a volume of a food item, etc.
[0028] The images 212 and 214 of FIGS. 2B and 2C may be used to generate representations, and these representations may be used to facilitate food tracking. For example, a representation based on image 212 may be compared with a representation based on image 214 to determine that the change / difference between the images 212, 214 corresponds to a new food item having been added. In this example, image 212 includes a depiction 220a of plate 120a and a depiction 225a of pizza slice 125a at a second point in time and image 214 includes a depiction 220a of the plate 120a and a depiction 225c of the pizza slice 125c at a third point in time (i.e., no longer depicting the portion of the pizza slice 125a and instead depicting the entire pizza slice 125c). These representations are compared to make the food tracking determinations, e.g., whether a new food item has been added, how much of a food item has been consumed, a rate of food consumption, a type of a food item, a volume of a food item, etc. In some implementations, a determined decrease in food volume (e.g., of less than a threshold percentage) is used as an indication that the food item is the same food item and / or that the user has consumed a portion of an already-identified food item. In some implementations, a determined increase in food volume is used to identify a new food item has been introduced and / or whether a portion of the new food item has been eaten. For example, detection of an increased food volume may be used determined that an entire new slice of pizza has been added or that the user has obtained a new slice of pizza and already taken one or more bites from it, e.g., based on size or shape expectations of new pizza slices.
[0029] In some implementations, an algorithm, machine learning model, or other analytical process is inputted two or more representations that are generated based on sensor data representing states of a user and / or a user's eating environment at multiple points in time. For example, a set of a number (e.g., 2, 3, 5, 10, 50) of most recent representations (e.g., all three images 210, 212, 214) may be input to a machine learning model trained to make food tracking determinations, e.g., whether a new food item has been added, how much of a food item has been consumed, a rate of food consumption, a type of a food item, a volume of a food item, etc.
[0030] In some implementations, food tracking is performed by an electronic device (e.g., AR glasses) worn by a user. The device may track and log foods identified as new food items that appear over the course of a meal while avoiding double-logging of foods that happen to appear at multiple points in time at which sensor data is captured. Sensors may obtain information about the food, e.g., images, depth data, etc., and / or the user, e.g., when and how much the user is chewing, which food or food containers the user interacts with, etc., that is used to track foods over time. This may involve storing a past n number of representations (e.g., feature vectors generated by a detection network), searching for matches in previously-stored representations, and rerunning the sensor data capture and / or detection processes occasionally.
[0031] Sensor data may be timed or spaced to capture sufficient information to enable accurate food tracking while also using device resource efficiently. For example, for a particular user, capturing sensor data every 10 seconds may be sufficiently frequently to enable detection of new additions of a food items to a user's plate(s) (e.g., as illustrated and described with respect to FIGS. 2B and 2C) while capturing sufficient data that comparisons can accurately detect when the contents of a user's plate at two or more times corresponds to the same food item (e.g., as illustrated and described with respect to FIGS. 2A and 2B).
[0032] The frequency at which the images are captured can be changed dynamically, for example, depending on type of food consumed. For example, in the circumstance of a bag of chips in which a user is expected to eat entire chips rather than taking bites and laying a half-eaten chip down, the device can increase the image capturing frequency to better corresponding to a timing that will capture the user having eaten individual chips. Similarly, certain types of food may require significant amounts of time between bites, e.g., bites of steak between which the user will take time to cut each piece and thus the device may alter the timing of the image capture to the type of food and / or eating timing expectations. In another example, the timing may be altered based on context, e.g., slowed down at a cocktail party during which a user is only sporadically taking bites of food during a conversation. The timing may be adapted based on confidence values associated with food predictions, e.g., increased when confidence values are low and decreased when confidence values are high to balance efficiency and accuracy.
[0033] In some implementations, a device is configured to operate features associated with food tracking (e.g., sensors, food tracking algorithms, machine learning, or other analytic processes, etc.) at rates that are determined based on context, e.g., based on the particular user, the user's preferences, the user's current consumption rate, a type of the current environment (e.g., kitchen, restaurant, etc.), a type of the current event / circumstances (e.g., dinner, snack, eating alone, eating with others, etc.). For example, the presence of utensils may be detected and recognized as an indication that the food time may take longer to eat. Similarly, the type of food and / or the type of environment (e.g., a restaurant with linen table coverings versus gas station food counter with no tables) may be detected and used as indications of an amount of time and / or eating pace that may be expected, and the food tracking may be configured accordingly.
[0034] In some implementations, a device operates in a relatively high-power state when the user is eating, e.g., capturing and / or processing an image stream at a relatively higher frequency. During the course of the day, the device may generally operate in a relatively low-power state and then switch to the high-power state at certain times, e.g., based on detecting that it is meal-time or that the user has started eating. In some implementations, a device starts at a relatively high rate and then slows down based on detecting that a user is not eating or is eating at a slow rate. Detection of chewing (e.g., via audio, motion, or other sensor) may trigger image capture and / or trigger in increase in sensor data capture rate.
[0035] In some implementations, criteria are used to distinguish food that are associated with a user (e.g., within an eating range determined for the user) from shared food, e.g., distinguishing the pizza slices 125a, 125c when they are on the user's plate from pizza that is on the large dish150. Such distinctions may be based on distance (e.g., excluding the food on large dish 150 and plate 125b based on their distance from user 102 being greater than a threshold value), size of the food or its container (e.g., excluding food on large dish 150 based on identifying it as a serving size container rather than a meal-size container), the type of the container (e.g., excluding food on large dish 150 based on determining that it is one a container that is a serving dish), the presence of other people / diners indicative of shared food, etc.
[0036] The sensor data may include image and / or other sensor data representing all of table 130 and thus may use such image data to make determinations about which foods to consider within a user's eating area.
[0037] A food tracking technique may also adapt based on context. For example, food tracking may be adapted to account for shared eating areas / containers, e.g., multiple users eating from the same potato chip bag, dipping into the same cheese fondu bowl, etc. For example, in such cases, a high frequency sensor data capturing and processing state may be initiated so that food tracking processes have sufficient data to track the user putting individual portions of food in their mouth, e.g., capturing a sufficient rate to track every bite of food.
[0038] FIGS. 3A and 3B illustrate examples of images that may be used to track food in accordance with some implementations. In this example, the image 312 and image 314 corresponds to the physical environment 100 at two times, e.g., 60 seconds apart. The images 312, 314 may be used as representations of different food states. Additionally, or alternatively, the images 312, 314 may be analyzed via algorithm, machine learning, or other analytic techniques to generate representations as discussed with respect to FIGS. 2A-C above.
[0039] In the present example using FIGS. 3A and 3B, a representation of each of the images 312 and 314 is generated and used to facilitate food tracking. For example, a representation based on image 312 is compared with a representation based on image 314 to determine that the change / difference between the images 312, 314 corresponds eating of some of an existing food item and to a new food item having been added. In this example, image 312 includes a depiction 320a of plate 120a and a depiction 325a of pizza slice 125a at a point in time and image 314 includes a depiction 320a of the plate 120a, a depiction 325a of the slice (reduced by some eating) and a depiction 325c of the pizza slice 125c at a later point in time. These representations are compared to make the food tracking determinations, e.g., whether a new food item has been added, how much of a food item has been consumed, a rate of food consumption, a type of a food item, a volume of a food item, etc. In this case, the representations are compared to determine that a new food item (pizza slice 125c) has been added, that some of an existing pizza item has been eaten (some of pizza slice 125a), and that some on existing pizza item remains (e.g., some of pizza slice 125a).
[0040] FIG. 4 is a flowchart illustrating a method 400 for tracking food. In some implementations, a device such as electronic device 110 performs method 400. In some implementations, method 400 is performed on a mobile device, desktop, laptop, HMD, or server device. The method 400 is performed by processing logic, including hardware, firmware, software, or a combination thereof. In some implementations, the method 400 is performed on a processor executing code stored in a non-transitory computer-readable medium (e.g., a memory).
[0041] At block 402, the method 400 generates representations of an area within a physical environment (e.g., a space that includes one or more plates, glasses, etc., within a threshold distance in front of the user) using sensor data obtained in the physical environment. The area within the physical environment may be identified using various criteria. For example, the area may be identified by identifying an area within a threshold distance in front of the user. As another example, the area may be identified by identifying a bounding region in an image or 3D space. As another example, the area may be identified by identifying one or more bounding regions above one or more pieces of tableware.
[0042] The sensor data may include images and the representations may be feature vectors generated based on the images. The representations include a first representation associated with a first time and a second representation associated with a second time occurring after the first time. Sensor data (e.g., images) may be captured occasionally (e.g., every 20 seconds).
[0043] Sensor data (e.g., images) may be captured by a sensor on a device worn by the user and oriented to capture data corresponding to the environment in front of the user, e.g., capturing images of a top surface of a table in front of the user including the user's plate(s), etc. The sensor data may be obtained by capturing images via an outward facing camera a top surface of a table in front of the user. The sensor data may include images captured and / or processed at a rate that is less than one image per twenty seconds. Audio, motion, and / or depth sensor data may be captured. The rate of sensor data capture and / or processing may be adapted based on determining a context, e.g., whether the user is eating, the user's rate of consumption, the type of food, how many other people are nearby, etc.
[0044] The representations generated from the sensor data may have various forms, for example, providing feature vectors descriptive of one or more food items within a defined area. For example, a feature vector may include features identified using sensor data limited using a bounding box on each image.
[0045] At block 404, the method 400 performs a comparison of the first representation and the second representation, e.g., using one or more similarity metrics. This comparison may involve determining a difference (e.g., Euclidian distance, signed distance, etc.) between the representations. The comparison may additionally or alternatively involve estimating and comparing food volumes represented in each representation. In some implementations, a comparison is performed using a machine learning (e.g., a detection network).
[0046] At block 406, based on the comparison, the method 400 determines a cause of a change between the first representation and the second representation. This may involve, as shown in block 408, determining a difference (e.g., an increase or decrease in volume, a difference between feature vectors, etc.) between the first representation and the second representation and, as shown in block 410, determining whether the food item is the same food item or a new food item based on the difference. Larger differences may be determined to correspond to new food items, while smaller differences may be determined to correspond to the same food item. Certain types of differences (e.g., volume increases) may be determined to correspond to new food items, while others (e.g., volume decreases corresponding to removal of bite sized portions) may be determined to correspond to the same food items.
[0047] In some implementations, a machine learning model determine one or more particular results, e.g., whether a new food item has been added in an area, whether a change in food in an area corresponds to a food item having been partially or entirely eaten, whether a change in food in an area corresponds to an even other than eating, a cause of a change in food in an area, etc. In some implementations, the method 400 uses a determination of whether a volume of food has increased to determine whether the change between the first representation and the second representation corresponds to the addition of the new food item in the area between the first time and the second time. In some implementations, the method 400 determining that a change or difference between the representations is the result of the user eating an existing food item.
[0048] In some implementations, the method 400 determines the end of an eating event (e.g., the end of a meal or snack). Such a determination may be used to alter a tracking mode, e.g., switching back to a relatively lower rate of sensor data capture and processing. Such a determination may be used to determine foods that the user has consumed versus food that the user placed in the user's eating area but left there without eating it, as illustrated in FIGS. 3A-B.
[0049] In some implementations, a head mounted device (HMD) comprising one or more front-facing sensors (e.g., a front facing image sensor, a front facing depth sensor, etc.) is used to perform method 400.
[0050] In some implementations, the device that provides food tracking also provides views of an extended reality (XR) environment. Such an XR environment may include views of a 3D environment that is generated based on camera images or depth camera images of the physical environment 100 as well as a representation of user 102 based on camera images or depth camera images of the user 102. Such an XR environment may include virtual content that is overlain on views of the physical environment 100 or that is positioned at 3D locations relative to a 3D coordinate system associated with the XR environment, which may correspond to a 3D coordinate system of the physical environment 100. For example, virtual content may be displayed based on food tracking determinations, e.g., showing indicators when a new food item has been detected within a user's eating area, showing indicators tracking the calories, macro-nutrients, etc., that are in the food added to a user's eating area and / or consumed by the user 102.
[0051] A physical environment refers to a physical world that people can sense or interact with without aid of electronic systems. The physical environment may include physical features such as a physical surface or a physical object. For example, the physical environment corresponds to a physical park that includes physical trees, physical buildings, and physical people. People can directly sense or interact with the physical environment, such as through sight, touch, hearing, taste, and smell. In contrast, an extended reality (XR) environment refers to a wholly or partially simulated environment that people sense or interact with via an electronic device. For example, the XR environment may include augmented reality (AR) content, mixed reality (MR) content, virtual reality (VR) content, or the like. With an XR system, a subset of a person's physical motions, or representations thereof, are tracked, and, in response, one or more characteristics of one or more virtual objects simulated in the XR environment are adjusted in a manner that comports with at least one law of physics. As one example, the XR system may detect rotational head movement and, in response, adjust graphical content and an acoustic field presented to the person in a manner similar to how such views and sounds would change in a physical environment. As another example, the XR system may detect rotational or translational movement of the electronic device presenting the XR environment (e.g., a mobile phone, a tablet, a laptop, or the like) and, in response, adjust graphical content and an acoustic field presented to the person in a manner similar to how such views and sounds would change in a physical environment. In some situations (e.g., for accessibility reasons), adjustments to characteristic(s) of graphical content in an XR environment may be made in response to representations of physical motions (e.g., vocal commands).
[0052] There are many different types of electronic systems that enable a person to sense or interact with various XR environments. Examples include head mountable systems, projection-based systems, heads-up displays (HUDs), vehicle windshields having integrated display capability, windows having integrated display capability, displays formed as lenses designed to be placed on a person's eyes (e.g., similar to contact lenses), headphones / earphones, speaker arrays, input systems (e.g., wearable or handheld controllers with or without haptic feedback), smartphones, tablets, and desktop / laptop computers. A head mountable system may have one or more speaker(s) and an integrated opaque display. Alternatively, a head mountable system may be configured to accept an external opaque display (e.g., a smartphone). The head mountable system may incorporate one or more imaging sensors to capture images or video of the physical environment, or one or more microphones to capture audio of the physical environment. Rather than an opaque display, a head mountable system may have a transparent or translucent display. The transparent or translucent display may have a medium through which light representative of images is directed to a person's eyes. The display may utilize digital light projection, OLEDs, LEDs, uLEDs, liquid crystal on silicon, laser scanning light source, or any combination of these technologies. The medium may be an optical waveguide, a hologram medium, an optical combiner, an optical reflector, or any combination thereof. In some implementations, the transparent or translucent display may be configured to become opaque selectively. Projection-based systems may employ retinal projection technology that projects graphical images onto a person's retina. Projection systems also may be configured to project virtual objects into the physical environment, for example, as a hologram or on a physical surface.
[0053] FIG. 5 is a block diagram of electronic device 500. Device 500 illustrates an exemplary device configuration for electronic device 510. While certain specific features are illustrated, those skilled in the art will appreciate from the present disclosure that various other features have not been illustrated for the sake of brevity, and so as not to obscure more pertinent aspects of the implementations disclosed herein. To that end, as a non-limiting example, in some implementations the device 400 includes one or more processing units 502 (e.g., microprocessors, ASICs, FPGAs, GPUs, CPUs, processing cores, or the like), one or more input / output (I / O) devices and sensors 506, one or more communication interfaces 508 (e.g., USB, FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.11x, IEEE 802.16x, GSM, CDMA, TDMA, GPS, IR, BLUETOOTH, ZIGBEE, SPI, I2C, or the like type interface), one or more programming (e.g., I / O) interfaces 510, one or more output device(s) 512, one or more interior or exterior facing image sensor systems 514, a memory 520, and one or more communication buses 504 for interconnecting these and various other components.
[0054] In some implementations, the one or more communication buses 504 include circuitry that interconnects and controls communications between system components. In some implementations, the one or more I / O devices and sensors 506 include at least one of an inertial measurement unit (IMU), an accelerometer, a magnetometer, a gyroscope, a thermometer, one or more physiological sensors (e.g., blood pressure monitor, heart rate monitor, blood oxygen sensor, blood glucose sensor, etc.), one or more microphones, one or more speakers, a haptics engine, one or more depth sensors (e.g., a structured light, a time-of-flight, or the like), or the like.
[0055] In some implementations, the one or more output device(s) 512 include one or more displays configured to present a view of a 3D environment to the user. In some implementations, the one or more displays 512 correspond to holographic, digital light processing (DLP), liquid-crystal display (LCD), liquid-crystal on silicon (LCoS), organic light-emitting field-effect transitory (OLET), organic light-emitting diode (OLED), surface-conduction electron-emitter display (SED), field-emission display (FED), quantum-dot light-emitting diode (QD-LED), micro-electromechanical system (MEMS), or the like display types. In some implementations, the one or more displays correspond to diffractive, reflective, polarized, holographic, etc. waveguide displays. In one example, the device 500 includes a single display. In another example, the device 500 includes a display for each eye of the user.
[0056] In some implementations, the one or more output device(s) 512 include one or more audio producing devices. In some implementations, the one or more output device(s) 512 include one or more speakers, surround sound speakers, speaker-arrays, or headphones that are used to produce spatialized sound, e.g., 3D audio effects. Such devices may virtually place sound sources in a 3D environment, including behind, above, or below one or more listeners. Generating spatialized sound may involve transforming sound waves (e.g., using head-related transfer function (HRTF), reverberation, or cancellation techniques) to mimic natural soundwaves (including reflections from walls and floors), which emanate from one or more points in a 3D environment. Spatialized sound may trick the listener's brain into interpreting sounds as if the sounds occurred at the point(s) in the 3D environment (e.g., from one or more particular sound sources) even though the actual sounds may be produced by speakers in other locations. The one or more output device(s) 512 may additionally or alternatively be configured to generate haptics.
[0057] In some implementations, the one or more image sensor systems 514 are configured to obtain image data that corresponds to at least a portion of a physical environment. For example, the one or more image sensor systems 514 may include one or more RGB cameras (e.g., with a complimentary metal-oxide-semiconductor (CMOS) image sensor or a charge-coupled device (CCD) image sensor), monochrome cameras, IR cameras, depth cameras, event-based cameras, or the like. In various implementations, the one or more image sensor systems 514 further include illumination sources that emit light, such as a flash. In various implementations, the one or more image sensor systems 514 further include an on-camera image signal processor (ISP) configured to execute a plurality of processing operations on the image data.
[0058] The memory 520 includes high-speed random-access memory, such as DRAM, SRAM, DDR RAM, or other random-access solid-state memory devices. In some implementations, the memory 520 includes 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 520 optionally includes one or more storage devices remotely located from the one or more processing units 502. The memory 520 comprises a non-transitory computer readable storage medium.
[0059] In some implementations, the memory 520 or the non-transitory computer readable storage medium of the memory 520 stores an optional operating system 530 and one or more instruction set(s) 540. The operating system 530 includes procedures for handling various basic system services and for performing hardware dependent tasks. In some implementations, the instruction set(s) 540 include executable software defined by binary information stored in the form of electrical charge. In some implementations, the instruction set(s) 540 are software that is executable by the one or more processing units 502 to carry out one or more of the techniques described herein.
[0060] The instruction set(s) 540 include representation instruction set(s) 542 configured to, upon execution, generate representations of food as described herein. The instruction set(s) 540 further include a tracking instruction set 544 configured to, upon execution, track food as described herein. The instruction set(s) 540 may be embodied as a single software executable or multiple software executables.
[0061] Although the instruction set(s) 540 are shown as residing on a single device, it should be understood that in other implementations, any combination of the elements may be located in separate computing devices. Moreover, the figure is intended more as functional description of the various features which are present in a particular implementation as opposed to a structural schematic of the implementations described herein. As recognized by those of ordinary skill in the art, items shown separately could be combined and some items could be separated. The actual number of instructions sets and how features are allocated among them may vary from one implementation to another and may depend in part on the particular combination of hardware, software, or firmware chosen for a particular implementation.
[0062] It will be appreciated that the implementations described above are cited by way of example, and that the present invention is not limited to what has been particularly shown and described hereinabove. Rather, the scope includes both combinations and sub combinations of the various features described hereinabove, as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not disclosed in the prior art.
[0063] As described above, one aspect of the present technology is the gathering and use of sensor data that may include user data to improve a user's experience of an electronic device. The present disclosure contemplates that in some instances, this gathered data may include personal information data that uniquely identifies a specific person or can be used to identify interests, traits, or tendencies of a specific person. Such personal information data can include movement data, physiological data, demographic data, location-based data, telephone numbers, email addresses, home addresses, device characteristics of personal devices, or any other personal information.
[0064] The present disclosure recognizes that the use of such personal information data, in the present technology, can be used to the benefit of users. For example, the personal information data can be used to improve the content viewing experience. Accordingly, use of such personal information data may enable calculated control of the electronic device. Further, other uses for personal information data that benefit the user are also contemplated by the present disclosure.
[0065] The present disclosure further contemplates that the entities responsible for the collection, analysis, disclosure, transfer, storage, or other use of such personal information or physiological data will comply with well-established privacy policies or privacy practices. In particular, such entities should implement and consistently use privacy policies and practices that are generally recognized as meeting or exceeding industry or governmental requirements for maintaining personal information data private and secure. For example, personal information from users should be collected for legitimate and reasonable uses of the entity and not shared or sold outside of those legitimate uses. Further, such collection should occur only after receiving the informed consent of the users. Additionally, such entities would take any needed steps for safeguarding and securing access to such personal information data and ensuring that others with access to the personal information data adhere to their privacy policies and procedures. Further, such entities can subject themselves to evaluation by third parties to certify their adherence to widely accepted privacy policies and practices.
[0066] Despite the foregoing, the present disclosure also contemplates implementations in which users selectively block the use of, or access to, personal information data. That is, the present disclosure contemplates that hardware or software elements can be provided to prevent or block access to such personal information data. For example, in the case of user-tailored content delivery services, the present technology can be configured to allow users to select to “opt in” or “opt out” of participation in the collection of personal information data during registration for services. In another example, users can select not to provide personal information data for targeted content delivery services. In yet another example, users can select to not provide personal information, but permit the transfer of anonymous information for the purpose of improving the functioning of the device.
[0067] Therefore, although the present disclosure broadly covers use of personal information data to implement one or more various disclosed embodiments, the present disclosure also contemplates that the various embodiments can also be implemented without the need for accessing such personal information data. That is, the various embodiments of the present technology are not rendered inoperable due to the lack of all or a portion of such personal information data. For example, content can be selected and delivered to users by inferring preferences or settings based on non-personal information data or a bare minimum amount of personal information, such as the content being requested by the device associated with a user, other non-personal information available to the content delivery services, or publicly available information.
[0068] In some embodiments, data is stored using a public / private key system that only allows the owner of the data to decrypt the stored data. In some other implementations, the data may be stored anonymously (e.g., without identifying or personal information about the user, such as a legal name, username, time and location data, or the like). In this way, other users, hackers, or third parties cannot determine the identity of the user associated with the stored data. In some implementations, a user may access their stored data from a user device that is different than the one used to upload the stored data. In these instances, the user may be required to provide login credentials to access their stored data.
[0069] Numerous specific details are set forth herein to provide a thorough understanding of the claimed subject matter. However, those skilled in the art will understand that the claimed subject matter may be practiced without these specific details. In other instances, methods apparatuses, or systems that would be known by one of ordinary skill have not been described in detail so as not to obscure claimed subject matter.
[0070] Unless specifically stated otherwise, it is appreciated that throughout this specification discussions utilizing the terms such as “processing,”“computing,”“calculating,”“determining,” and “identifying” or the like refer to actions or processes of a computing device, such as one or more computers or a similar electronic computing device or devices, that manipulate or transform data represented as physical electronic or magnetic quantities within memories, registers, or other information storage devices, transmission devices, or display devices of the computing platform.
[0071] The system or systems discussed herein are not limited to any particular hardware architecture or configuration. A computing device can include any suitable arrangement of components that provides a result conditioned on one or more inputs. Suitable computing devices include multipurpose microprocessor-based computer systems accessing stored software that programs or configures the computing system from a general-purpose computing apparatus to a specialized computing apparatus implementing one or more implementations of the present subject matter. Any suitable programming, scripting, or other type of language or combinations of languages may be used to implement the teachings contained herein in software to be used in programming or configuring a computing device.
[0072] Implementations of the methods disclosed herein may be performed in the operation of such computing devices. The order of the blocks presented in the examples above can be varied for example, blocks can be re-ordered, combined, or broken into sub-blocks. Certain blocks or processes can be performed in parallel.
[0073] The use of “adapted to” or “configured to” herein is meant as open and inclusive language that does not foreclose devices adapted to or configured to perform additional tasks or steps. Additionally, the use of “based on” is meant to be open and inclusive, in that a process, step, calculation, or other action “based on” one or more recited conditions or values may, in practice, be based on additional conditions or value beyond those recited. Headings, lists, and numbering included herein are for ease of explanation only and are not meant to be limiting.
[0074] It will also be understood that, although the terms “first,”“second,” etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first node could be termed a second node, and, similarly, a second node could be termed a first node, which changing the meaning of the description, so long as all occurrences of the “first node” are renamed consistently and all occurrences of the “second node” are renamed consistently. The first node and the second node are both nodes, but they are not the same node.
[0075] The terminology used herein is for the purpose of describing particular implementations only and is not intended to be limiting of the claims. As used in the description of the implementations and the appended claims, the singular forms “a,”“an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “comprises” or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof.
[0076] As used herein, the term “if” may be construed to mean “when” or “upon” or “in response to determining” or “in accordance with a determination” or “in response to detecting,” that a stated condition precedent is true, depending on the context. Similarly, the phrase “if it is determined [that a stated condition precedent is true]” or “if [a stated condition precedent is true]” or “when [a stated condition precedent is true]” may be construed to mean “upon determining” or “in response to determining” or “in accordance with a determination” or “upon detecting” or “in response to detecting” that the stated condition precedent is true, depending on the context.
[0077] The foregoing description and summary of the invention are to be understood as being in every respect illustrative and exemplary, but not restrictive, and the scope of the invention disclosed herein is not to be determined only from the detailed description of illustrative implementations but according to the full breadth permitted by patent laws. It is to be understood that the implementations shown and described herein are only illustrative of the principles of the present invention and that various modification may be implemented by those skilled in the art without departing from the scope and spirit of the invention.
Claims
1. A method comprising:at an electronic device having a processor:generating representations of an area within a physical environment using sensor data obtained in the physical environment, the representations comprising first image data associated with a first time and second image data associated with a second time occurring after the first time;determining whether there was an increase in a food or a decrease in the food by performing a comparison of the first image data and the second image data; andoutputting information based on determining whether there was the increase in the food or the decrease in the food.
2. The method of claim 1, wherein the sensor data comprises images and the representations are feature vectors generated based on the images.
3. The method of claim 1, wherein the area is identified by identifying an area within a threshold distance in front of the user.
4. The method of claim 1, wherein the area is identified by identifying a bounding region in an image or 3D space.
5. The method of claim 1, wherein the area is identified by identifying one or more bounding regions above one or more pieces of tableware.
6. The method of claim 1, wherein the sensor data is obtained by capturing images via an outward facing camera a top surface of a table in front of the user.
7. The method of claim 1, wherein the sensor data comprises images captured at a rate that is less than one image per twenty seconds.
8. The method of claim 7, wherein the rate is adapted based on determining a context.
9. The method of claim 1 further comprising:determining a difference between a first vector of the first representation and a second vector of the second representation; anddetermining whether a food item is the same food item or a new food item based on the difference.
10. The method of claim 1, wherein a determination of whether a volume of food has increased is used to determine whether the change between the first representation and the second representation corresponds to addition of the new food item in the area between the first time and the second time.
11. The method of claim 1, wherein a machine learning model is used to determine whether a change corresponds to addition of the new food item in the area between the first time and the second time.
12. The method of claim 1, further comprising determining that change is due to eating an existing food item.
13. The method of claim 1, wherein the electronic device is a head mounted device comprising a front facing image sensor.
14. A system comprising:a non-transitory computer-readable storage medium; andone or more processors coupled to the non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium comprises program instructions that, when executed on the one or more processors, cause the system to perform operations comprising:generating representations of an area within a physical environment using sensor data obtained in the physical environment, the representations comprising first image data associated with a first time and second image data associated with a second time occurring after the first time;determining whether there was an increase in a food or a decrease in the food by performing a comparison of the first image data and the second image data; andoutputting information based on determining whether there was the increase in the food or the decrease in the food.
15. The system of claim 14, wherein the sensor data comprises images and the representations are feature vectors generated based on the images.
16. The system of claim 14, wherein the area is identified by identifying an area within a threshold distance in front of the user.
17. The system of claim 14, wherein the area is identified by identifying a bounding region in an image or 3D space.
18. The system of claim 14, wherein the area is identified by identifying one or more bounding regions above one or more pieces of tableware.
19. The system of claim 14, wherein the sensor data is obtained by capturing images via an outward facing camera a top surface of a table in front of the user.
20. A non-transitory computer-readable storage medium storing program instructions executable via one or more processors to perform operations comprising:generating representations of an area within a physical environment using sensor data obtained in the physical environment, the representations comprising first image data associated with a first time and second image data associated with a second time occurring after the first time;determining whether there was an increase in a food or a decrease in the food by performing a comparison of the first image data and the second image data; andoutputting information based on determining whether there was the increase in the food or the decrease in the food.
21. The method of claim 1, wherein the increase in the food is determined based on comparing the first image data and second image data to identify a change in size of the food.
22. The method of claim 1, wherein the increase in the food is determined based on comparing the first image data and second image data to identify a change in volume of the food.
23. The method of claim 1, wherein the increase in the food is determined based on comparing the first image data and second image data to identify a change in dimensions or shape of the food.
24. The method of claim 1, further comprising identifying an addition of a new food item based on comparing the first image data and second image data.
25. The method of claim 1, further comprising identifying an addition of a new food item to replace a prior food item based on comparing the first image data and second image data.
26. The method of claim 1, wherein the representations are multi-attribute representations identifying volume attributes and shape attributes of the one or more food items, and whether there was the increase in the food or the decrease in the food is determined based on determining changes in the volume attributes and shape attributes.
Citation Information
Patent Citations
Food intake monitor
US10736566B2
Wearable computing apparatus and method
US10901509B2
Systems and methods for automatic activity tracking
US11594315B2
Information processing device and storage medium
US20140315160A1
Food intake monitor
US20180242908A1
