Search

CN-121999420-A - Diet monitoring method, diet monitoring device, head-mounted equipment and storage medium

CN121999420ACN 121999420 ACN121999420 ACN 121999420ACN-121999420-A

Abstract

The application discloses a diet monitoring method, a device, a head-mounted device and a storage medium, wherein the diet monitoring method is applied to the head-mounted device and comprises the steps of acquiring an environment image if an object is detected to be close to the head-mounted device; and generating diet monitoring information based on the identified food information. The method can realize active recognition of the eating scene of the user, and can actively generate diet monitoring information for the user by recognizing the food information in the environment image, so that the situation that the user forgets to record the ingested food information is avoided, and the accuracy of diet monitoring is improved.

Inventors

  • JIA YONG

Assignees

  • OPPO广东移动通信有限公司

Dates

Publication Date
20260508
Application Date
20241104

Claims (12)

  1. 1. A method of diet monitoring, for use with a head-mounted device, the method comprising: if the existence of the object close to the head-mounted device is detected, acquiring an environment image; identifying food information present in the environmental image; Diet monitoring information is generated based on the identified food information.
  2. 2. The method of claim 1, wherein the acquiring the environmental image if the presence of the object is detected proximate to the headset device comprises: If it is detected that an object is present near the head-mounted device and if it is detected that a chewing action is present by a wearer of the head-mounted device, an environmental image is acquired.
  3. 3. The method of claim 2, wherein the capturing the environmental image if the presence of the object proximate to the headset device is detected and the presence of a chewing motion by a wearer of the headset device is detected comprises: If the fact that the object is close to the head-mounted equipment is detected, acquiring motion state data of the head-mounted equipment; And if the chewing action exists on the wearer based on the movement state data, acquiring an environment image.
  4. 4. The method of claim 2, wherein the capturing the environmental image if the presence of the object proximate to the headset device is detected and the presence of a chewing motion by a wearer of the headset device is detected comprises: acquiring distance data acquired by a first sensor and motion state data acquired by a second sensor; And acquiring an environment image if it is determined that an object is close to the head-mounted device based on the distance data and if it is determined that a chewing action exists on the wearer based on the motion state data.
  5. 5. The method of claim 1, wherein after the capturing of the environmental image if the presence of the object is detected proximate to the headset device, the method further comprises: Storing the environment image and acquiring motion state data acquired by a second sensor; The identifying food information present in the environmental image includes: If it is determined that a chewing action exists by the wearer of the head-mounted device based on the movement state data, identifying food information existing in the stored environment image.
  6. 6. The method of claim 5, wherein the method further comprises: If the chewing action of the wearer is not detected within the target duration, deleting the stored environment image.
  7. 7. The method of any one of claims 1-6, wherein generating diet monitoring information based on the identified food information comprises: based on the food information, a diet report is generated, the diet report including one or more of a food name, a component of the food, an intake energy value, a diet time, and a nutritional ingredient.
  8. 8. The method according to any one of claims 1-6, further comprising: Based on the generated diet monitoring information within a target period of time, diet advice information including one or more of a food type to be ingested complementarily, a food type to be ingested reduced, a nutritional ingredient to be ingested complementarily, a nutritional ingredient to be ingested reduced, an energy value to be ingested complementarily, an energy value to be ingested reduced, and a recommended diet time is output.
  9. 9. The method of any of claims 1-6, wherein after the identifying food information present in the environmental image, the method further comprises: And if the food information comprises target food, outputting prompt information, wherein the prompt information is used for prompting a user to terminate feeding, and the target food is determined according to medical record information of a wearer of the head-mounted device.
  10. 10. A diet monitoring device is characterized by being applied to head-mounted equipment, and comprises an image acquisition module, an image identification module and an information generation module, The image acquisition module is used for acquiring an environment image if detecting that an object is close to the head-mounted device; the image recognition module is used for recognizing food information existing in the environment image; The information generation module is used for generating diet monitoring information based on the identified food information.
  11. 11. A head-mounted device, comprising: One or more processors; A memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-9.
  12. 12. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, which is callable by a processor for executing the method according to any one of claims 1-9.

Description

Diet monitoring method, diet monitoring device, head-mounted equipment and storage medium Technical Field The present application relates to the field of head-mounted devices, and more particularly, to a diet monitoring method, apparatus, head-mounted device, and storage medium. Background With rapid progress in the technological level and the living standard, electronic devices (such as smartphones, tablet computers, etc.) have become one of the commonly used electronic products in people's lives. In addition, people are more and more concerned about their own diet health, and often record their own related diet data through electronic devices, but in the related art, when recording diet data, users are usually required to actively record related information of their own ingested foods, however, the users may forget to record in the electronic devices, so that the recorded diet data is inaccurate. Disclosure of Invention The application provides a diet monitoring method, a diet monitoring device, a head-mounted device and a storage medium, which can actively generate diet monitoring information for a user. In a first aspect, an embodiment of the present application provides a diet monitoring method, which is applied to a head-mounted device, and the method includes acquiring an environment image if an object is detected to be close to the head-mounted device, identifying food information existing in the environment image, and generating diet monitoring information based on the identified food information. In a second aspect, the embodiment of the application provides a diet monitoring device which is applied to head-mounted equipment, and the device comprises an image acquisition module, an image recognition module and an information generation module, wherein the image acquisition module is used for acquiring an environment image if an object is detected to be close to the head-mounted equipment, the image recognition module is used for recognizing food information existing in the environment image, and the information generation module is used for generating diet monitoring information based on the recognized food information. In a third aspect, embodiments of the present application provide a head-mounted device comprising one or more processors, memory, and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the diet monitoring method provided in the first aspect above. In a fourth aspect, embodiments of the present application provide a computer readable storage medium having program code stored therein, the program code being callable by a processor to perform the diet monitoring method provided in the first aspect described above. According to the scheme provided by the application, the environment image is acquired under the condition that the object is detected to be close to the head-mounted equipment, the food information existing in the environment image is identified, and the diet monitoring information is generated based on the identified food information. Therefore, the food taking scene of the user can be actively identified, and the food information existing in the environment image is identified, so that the food monitoring information can be actively generated for the user, the situation that the user forgets to record the food information taken in is avoided, and the accuracy of food monitoring is improved. Drawings In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. Fig. 1 shows a schematic diagram of an application environment provided by an embodiment of the present application. Fig. 2 shows a flow diagram of a diet monitoring method according to an embodiment of the application. Fig. 3 shows a schematic detection diagram of a distance sensor according to an embodiment of the present application. Fig. 4 shows a flow diagram of a diet monitoring method according to another embodiment of the application. Fig. 5 shows a flow diagram of a diet monitoring method according to a further embodiment of the application. Fig. 6 shows a flow diagram of a diet monitoring method according to a further embodiment of the application. Fig. 7 shows a block diagram of a diet monitoring device according to an embodiment of the application. Fig. 8 is a block diagram of a head-mounted device for performing a diet monitoring method according to an embodiment of the application. Fig. 9 is a memory unit for storing or carrying program code for implementing a diet monitori