Food measuring methods, devices and procedures
Combining tableware information with a stereo camera or depth measurement device, the volume and weight of food are accurately calculated, solving the problem of low food measurement accuracy in the prior art and improving the accuracy of food measurement.
Patent Information
- Application Number
- CN202080039179.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-10-25
- Filing Date
- 2020-04-29
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-04-29
AI Technical Summary
Existing food measurement technology mainly relies on image search, resulting in low accuracy, which in turn affects the accuracy of calorie calculations.
A stereo camera or depth measuring device is used to capture images, and combined with tableware information, the volume and weight of the food are accurately calculated through computer analysis and correction.
It achieves accurate calculation of food volume and weight, improves the accuracy of food measurement, and reduces errors in calorie calculation.
Smart Images

Figure CN113874678B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method for measuring food, and more particularly, to a method for measuring the amount of food by using volume. Background Art
[0002] Recently, as more and more people want to maintain a healthy diet such as well-being, diet, etc., the demand for technology for measuring food is increasing.
[0003] By utilizing this, the amount of food served to multiple people can be measured in places where meals are provided to multiple people, such as schools, businesses, the military, government agencies, hospitals, etc., thereby measuring the amount of meals provided and the amount of leftovers. This has many advantages, such as effective meal management by predicting demand and supply, and managing the calories of the people receiving the meals.
[0004] However, since most of the currently disclosed technologies are limited to simply performing an image search on images taken by a camera, the accuracy is significantly reduced, and since the accuracy is reduced during the image search process, there is a problem that greater errors may occur in subsequent steps such as calorie calculation.
[0005] Therefore, the inventors of the present invention have proposed an invention that can accurately analyze and calculate food, rather than simply performing an image search for food. Summary of the invention
[0006] Technical issues
[0007] The present invention for solving the above-mentioned problems may provide a food measuring method for calculating the volume of food using height information per pixel of an image photographed by a stereo camera or a depth measuring device.
[0008] Furthermore, the present invention can provide a food measuring method for correcting the calculated volume of food using information of tableware.
[0009] The technical problems that the present invention is intended to solve are not limited to the technical problems mentioned above, and those skilled in the art can clearly understand other technical problems not mentioned through the following description.
[0010] Technical Solution
[0011] A food measuring method according to an embodiment of the present invention for solving the above-mentioned technical problem includes the following steps: an analysis unit analyzes an image of tableware (tableware for receiving tableware by a user) to identify one or more foods contained in the tableware; a calculation unit calculates the volume of each food using the tableware information and the image of the food in the tableware image; and the calculation unit calculates the weight of each food using the food information and the calculated volume of each food, wherein the server includes: a database storing an empty tableware image, tableware information including the size, depth and capacity of multiple spaces formed in the tableware, and food information including the weight of the food per unit volume.
[0012] Furthermore, a food measurement server according to an embodiment of the present invention for solving the above-mentioned technical problem includes: a database storing an image of empty tableware, tableware information including the size, depth and capacity of multiple spaces formed in the tableware, and food information including the weight of the food per unit volume; an analysis unit analyzing an image of tableware (tableware for receiving tableware by the user) to identify one or more foods contained in the tableware; and a calculation unit calculating the volume of each food using the tableware information and the image of the food in the tableware image, and calculating the weight of each food using the food information and the calculated volume of each food.
[0013] Furthermore, a food measuring device according to an embodiment of the present invention for solving the above-mentioned technical problem includes: a database storing an image of empty tableware, tableware information including the size, depth and capacity of multiple spaces formed in the tableware, and food information including the weight of the food per unit volume; an analysis unit analyzing an image of tableware (tableware for receiving tableware by the user) to identify one or more foods contained in the tableware; and a calculation unit calculating the volume of each food using the tableware information and the image of the food in the tableware image, and calculating the weight of each food using the food information and the calculated volume of each food.
[0014] In addition, other methods and other systems for implementing the present invention and a computer-readable recording medium having recorded thereon a computer program for executing the methods may also be provided.
[0015] Technical Effects
[0016] According to the present invention as described above, the volume of food can be calculated using pixel-by-pixel height information of an image captured by a stereo camera or a depth measuring device, thereby having an effect of being able to calculate the accurate volume of food.
[0017] Furthermore, the present invention can correct the volume of food calculated based on the information about the size, depth and capacity of the tableware space, thereby having the effect of being able to more accurately calculate the volume of food.
[0018] The effects of the present invention are not limited to the effects mentioned above, and those skilled in the art can clearly understand other technical problems not mentioned through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flow chart of a food measuring method according to an embodiment of the present invention.
[0020] Figure 2a is a three-dimensional diagram of tableware according to an embodiment of the present invention.
[0021] Figure 2b It is a three-dimensional image of tableware with an identification code attached to the back or side.
[0022] Figure 3 is a perspective view of a tableware containing food according to an embodiment of the present invention.
[0023] Figure 4 is Figure 3 A three-dimensional image of tableware with two kinds of food stacked in one space.
[0024] Figure 5 It is a three-dimensional image of tableware without dividing the space.
[0025] Figure 6 Flow chart of a method for providing an enhanced local model to improve the accuracy of determining food type.
[0026] Figure 7 is a flow chart of a food measuring method according to another embodiment of the present invention.
[0027] Figure 8 It is a three-dimensional diagram of a table for illustrating a background object.
[0028] Fig. 9 The present invention is a flowchart of a method for providing cafeteria operation information and dining entity management information according to an embodiment of the present invention.
[0029] Fig.10 is a block diagram of a food measurement server according to an embodiment of the present invention.
[0030] Fig.11 yes Fig.10 Detailed block diagram of the management department.
[0031] Fig.12 is a block diagram of a food measuring device according to an embodiment of the present invention.
[0032] Figures 13 to 16 is a perspective view of a food measuring device according to an embodiment of the present invention.
[0033] Fig.17 2 is a screen shot of a food measuring device according to an embodiment of the present invention.
[0034] Fig.18 is a block diagram of a food measurement server according to an embodiment of the present invention.
[0035] Fig.19 is a block diagram of a user terminal according to an embodiment of the present invention. DETAILED DESCRIPTION
[0036] References and Attachments Figure 1 The advantages and features of the present invention and the methods for achieving these can be clearly seen from the embodiments described in detail below. However, the present invention can be implemented in various forms that are different from each other and is not limited to the embodiments disclosed below. These embodiments are provided only to complete the disclosure of the present invention and to fully inform the scope of the present invention to those with ordinary knowledge in the technical field to which the present invention belongs. The present invention is only defined by the scope of the claims.
[0037] The terms used in this specification are used to illustrate the embodiments, rather than to limit the present invention. In this specification, unless otherwise mentioned in a sentence, the singular also includes the plural. The "comprises" and / or "comprising" used in the specification do not exclude the existence or addition of one or more other constituent elements other than the mentioned constituent elements. Throughout the specification, the same reference numerals refer to the same constituent elements, and "and / or" includes each of the mentioned constituent elements and all combinations of more than one. Although "first", "second", etc. are used to describe a variety of constituent elements, these constituent elements are obviously not limited to these terms. These terms are only used to distinguish one constituent element from another constituent element. Therefore, the first constituent element mentioned below is within the technical idea of the present invention, and it is obvious that it can also be a second constituent element.
[0038] Unless otherwise defined, all terms (including technical and scientific terms) used in this specification may be used to have the meaning commonly understood by those of ordinary skill in the art to which the present invention belongs. Furthermore, terms defined in commonly used dictionaries will not be interpreted ideally or excessively unless specifically and clearly defined.
[0039] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0040] Before the description is given, the meaning of the terms used in this specification will be briefly explained. However, the description of the terms is used to help understand this specification, so it should be noted that if it is not clearly stated as a matter that limits the present invention, it is not used in the sense of limiting the technical concept of the present invention.
[0041] Reference Figures 1 to 5 , a food measuring method according to an embodiment of the present invention is described. The food measuring method according to an embodiment of the present invention is performed by a computer, and here, the computer refers to the food measuring server 100 or the food measuring device 200. That is, the photographing is performed by the food measuring device 200, but the other steps can be performed by the food measuring server 100 or the food measuring device 200.
[0042] Figure 1 is a flow chart of a food measuring method according to an embodiment of the present invention, Figure 2a is a three-dimensional diagram of tableware according to an embodiment of the present invention, Figure 2b It is a three-dimensional image of tableware with an identification code attached to the back or side. Figure 3 is a three-dimensional diagram of a tableware containing food according to an embodiment of the present invention, Figure 4 is Figure 3 A three-dimensional image of tableware with two kinds of food stacked in one space. Figure 5 It is a three-dimensional image of tableware without dividing the space. Figure 6 Flow chart of a method for providing an enhanced local model to improve the accuracy of determining food type.
[0043] The food measuring method according to an embodiment of the present invention can be performed in a meal preparation area or a meal withdrawal area of a cafeteria, and the cafeteria can be a self-service cafeteria such as a cafeteria or a buffet, can be a place where a user moves the tableware 500 to receive food and eats, or can be a place where meals are provided to a group such as a school, a company, or the military. Here, the cafeteria can be equipped with a meal preparation port for receiving food or tableware 500 and a meal withdrawal port for discarding remaining food after eating and returning the tableware 500, but is not limited thereto.
[0044] However, the food measuring method according to the embodiment of the present invention is not limited to being performed in a cafeteria, and in particular, is not limited to being performed in a cafeteria, and may be performed in other types of cafeterias or homes, and may also be performed in any location.
[0045] Also, for convenience of description, the tableware 500 will be described using a plate-shaped tableware 500 having a space 510 partitioned therein, but the shape of the tableware 500 is not limited thereto.
[0046] Reference Figure 1The receiving unit 110 receives the image of the tableware containing the food captured by the capturing unit 250 of the food measuring device 200 (step S20).
[0047] The receiving unit 110 normalizes the received image of the tableware containing food. Normalization refers to adjusting or deforming the received image of the tableware containing food according to a predetermined reference (for example, size, brightness, rotation, tilt, etc.).
[0048] The photographing unit 250 is not limited in its configuration as long as it can obtain image data and depth data. For example, the photographing unit 250 may include at least one of an RGB camera, a 2D camera, a 3D camera, a time of flight (ToF) camera, a light field camera, a stereo camera, an event camera, and an infrared camera, and is not limited in its configuration as long as it can measure image data and depth data.
[0049] In addition, the photographing unit 250 may photograph the biometric information of the diners in order to identify the diners in addition to photographing the food or the tableware containing the food. Here, the biometric information of the diners may be the face, iris or fingerprint of the diners, but is not limited thereto. Although the food or the tableware containing the food and the biometric information of the diners may be photographed simultaneously or separately by one photographing unit 250, the photographing unit 250a for photographing the food or the tableware containing the food and the photographing unit 250b for photographing the biometric information of the diners may be separated.
[0050] In some embodiments, when photographing the tableware 500 moving along the conveyor belt 270, the photographing unit 250 of the food measuring device 200 can obtain depth data in addition to image data even if it includes a single camera. This is because if a single photographing unit 250 is used to photograph the tableware 500 at the first position on the conveyor belt 270 and the tableware 500 moving on the conveyor belt 270 and being at the second position, respectively, the same effect as the case of photographing the stopped tableware 500 using the photographing unit 250 including a plurality of cameras can be obtained.
[0051] Since the camera is a device that recognizes light, the camera is greatly affected by the environment such as light reflection. Therefore, it is necessary to minimize the influence of the environment by shooting with the shooting unit 250 including more than two cameras. However, even if the shooting is performed with the shooting unit 250 including more than two cameras, it may be affected by the environment, so it needs to be corrected.
[0052] Therefore, in order to optimize according to the characteristics and environment of the cafeteria, the computer learns the conditions on site through the images taken by the learning module, and identifies the environmental status based on filtering, fixed objects and reference objects (background targets described later).
[0053] In addition, when the tableware 500 is photographed by the food measuring device 200 according to an embodiment of the present invention, the food measuring device 200 can sense the identification information 530 for the tableware 500 or the identification information for the dining subject while photographing the tableware 500 from the upper side by the photographing unit 250. That is, the dining subject can be identified by the food measuring device 200 (step S21) simultaneously with or separately from the tableware image receiving step S20.
[0054] Specifically, refer to Figure 2b , the identification information for the tableware 500 may be included in the tableware 500, for example, it may be physically included in the tableware 500 in the form of a QR code 530 (QR code: Quick Response code) or a barcode. In addition, the identification information in various code forms such as a combination of numbers or letters, a combination of graphics, and a combination of symbols may also be included in the tableware 500. In addition, the identification information for the tableware 500 may be recorded in various semiconductor devices such as RFID chips and included in the tableware 500. To this end, the food measuring device 200 may include an identification information sensing unit 251, and may be arranged in the food measuring device 200 so that when the photographing unit 250 photographs the tableware 500 from the upper side, the identification information sensor 251 also senses the identification information for the tableware 500 at the same time.
[0055] For example, Figure 2b As shown, when the QR code 530 is located on the back or side of the tableware 500, the identification information sensing unit 251 can be located on the lower side facing the shooting unit 250, or can be set in a manner to identify the QR code 530 along the horizontal direction, but the position of the identification information sensing unit 251 is not limited to this. As long as the identification information of the tableware 500 can be sensed simultaneously when the shooting unit 250 shoots the top of the tableware 500, the identification information sensing unit 251 can be arranged in a variety of positions.
[0056] In some embodiments, when the identification information of the tableware 500 is located on the upper side of the tableware 500, the food measuring device 200 may not include a separate identification information sensing unit 251, and may confirm the identification information of the tableware 500 by analyzing the tableware image measured by the photographing unit 250.
[0057] In addition, identification information of the dining subject may be detected by the authentication unit 160 , and for example, a method of confirming biometric information by taking an image of the dining subject, such as facial recognition, iris recognition, or fingerprint recognition, may be applied.
[0058] Furthermore, the authentication unit 160 may sense identification information about the dining entity by identifying a tag including an RFID chip held by the dining entity or a tag including identification information in various code forms such as a QR code, a barcode, a combination of numbers or text, a combination of graphics, or a combination of symbols.
[0059] When using the food measuring method according to an embodiment of the present invention, various information can be calculated using the measured results. Depending on which of the identification information 530 for the tableware 500 and the identification information for the dining subject can be identified by the food measuring device 200, the calculated information may differ.
[0060] First, when the food measuring device 200 set in the food preparation area and the food measuring device 200 set in the dining withdrawal area are both unable to identify the identification information 530 for the tableware 500 but can only identify the identification information for the diners, the food measuring method according to this embodiment can be used to calculate the information for each diner and the information for the group to which the diners belong.
[0061] On the contrary, when the food measuring device 200 arranged at the food serving port and the food measuring device 200 arranged at the food returning port are both unable to identify the identification information for the dining subject but can only identify the identification information 530 for the tableware 500, the food measuring method according to this embodiment cannot calculate the information for each dining subject but can only calculate the information for the group to which the dining subject belongs.
[0062] In addition, when the food measuring device 200 set at the food serving port can identify both the identification information 530 for the tableware 500 and the identification information for the dining subject, and the food measuring device 200 set at the food return port cannot identify the identification information 530 for the tableware 500 but can only identify the identification information for the dining subject, even if the food measuring device 200 set at the food return port cannot identify the identification information 530 for the tableware 500, the information at the food serving port can be used to specify the identification information 530 of the tableware 500 held by a specific dining subject. Therefore, the food measuring method according to this embodiment can be used to calculate information for each dining subject and information for the group to which the dining subject belongs.
[0063] In addition, the food measuring server 100 may not include the separate authentication unit 160 but may receive the identification information from the dining subject through an input device (not shown) of the food measuring device 200 .
[0064] Therefore, in some embodiments, in the step (step S20) in which the receiving unit 110 receives the tableware image captured by the shooting unit 250, the receiving unit 110 can simultaneously receive at least one of the identification information for the tableware 500 and the identification information for the dining subject in addition to the tableware image.
[0065] Next, refer to Figure 1 , the correction unit 150 may perform correction on the tableware image including the food (step S25 ).
[0066] More specifically, the correction unit 150 can remove noise components using the image data of the tableware containing food, and recognize the inclination of the tableware image and correct it to a horizontal image. The image corrected in this way can be used in the volume calculation step S50 described later.
[0067] When photographing tableware in the cafeteria, the tableware can be placed in a specific position and photographed without shaking. However, there are also cases where the photographing unit 250 photographs the tableware 500 moving on the conveyor belt 270, and there are also cases where the tableware 500 is photographed by the food measuring device 200 while the diners are holding the tableware 500. In some embodiments, the photographing unit 250 can also photograph the user while walking with the tableware 500.
[0068] Therefore, since the tableware image may be captured unclearly and may be captured at a tilted angle, the correction unit 150 identifies the shake or tilt of the tableware image, selects the tableware image with the smallest shake or tilt, and corrects the tableware image to a horizontal image, thereby being able to accurately calculate the volume of the food.
[0069] First, in order to select the tableware image with the least shake from the standardized tableware images, the correction unit 150 may analyze the standardized tableware images. For example, the correction unit 150 may confirm the blur degree of the image for each pixel unit and thereby select the tableware image with the least shake and the clearest.
[0070] Next, the correction unit 150 can calculate the distance from the shooting unit 250 to the multiple exposed areas based on the areas of the tableware 500 in the tableware image that are not blocked by food and are exposed, and can use the calculated distances to the multiple exposed areas to calculate the inclination of the tableware 500 in the tableware image. Next, the correction unit 150 can use the calculated inclination to correct the captured tableware image to make it horizontal.
[0071] Specifically, the correction unit 150 may use depth data in the tableware image to extract the shape of the tableware 500. Since the tableware 500 and the background other than the tableware 500 in the tableware image have different depth data, the correction unit 150 may extract the tableware 500 from the tableware image using depth information.
[0072] The calibration unit 150 identifies a flat area in the area of the tableware 500 that is not blocked by the food and is exposed, identifies three or more points in the flat area, and identifies depth data of the identified three or more points.
[0073] Here, the depth data of more than three points is confirmed in order to generate a virtual plane using more than three points and confirm the inclination of the plane. The correction unit 150 can use the depth data of more than three points to calculate the inclination of the tableware 500, and use the calculated inclination to correct the captured tableware image.
[0074] In some embodiments, after determining three or more points in a flat area, the average depth data of the surrounding points of each of the three or more points is used as the depth data of each point instead of confirming the depth data of the three or more points determined. In this way, relatively more information is used to calculate the inclination, which can improve the accuracy of the calculated inclination.
[0075] In some embodiments, in the process of calculating the inclination of the tableware 500 using the depth data of more than three determined points, the gradient value of the line connecting the various points can be derived, and the inclination of the tableware 500 can be calculated thereby and the calculated inclination can be used to correct the captured tableware image.
[0076] In some embodiments, the correction unit 150 can grasp the outline of the tableware 500 from the tableware image, and compare the outline of the tableware 500 in the captured tableware image with the outline of the tableware 500 in the non-tilted tableware image used as a reference image, so as to calculate the inclination of the tableware 500 in the captured tableware image. Then, the correction unit 150 can correct the captured tableware image using the calculated inclination.
[0077] Furthermore, since noise may be generated in the tableware image data containing two kinds of food received by the receiving unit 110 depending on the conditions of the scene (shaking, light reflection, etc.), the two tableware images may be compared to remove the noise.
[0078] Next, refer to Figure 1 The extracting unit 120 extracts the food image data contained in each space 510 of the tableware 500 from the tableware image data containing food (step S30).
[0079] In more detail, since the tableware image includes both the image of the tableware 500 and the image of the food, the above steps mean extracting the food image data from the tableware image. For example, the extraction unit 120 may extract the food image data using a model trained by using an artificial intelligence algorithm so as to distinguish between food and non-food. Here, in the case where the tableware 500 includes a plurality of spaces 510, the extraction unit 120 may extract the food image data of each space 510.
[0080] In addition, refer to Figure 5 , shows a situation where a plurality of foods are contained in a tableware 500 without a partitioned space, but since the tableware 500 has no partitioned space, the extracting unit 120 may recognize it as a whole food image 550 including a plurality of foods. In this case, the extracting unit 120 needs to perform an additional process of separating the whole food image data into individual food image data for extraction.
[0081] Next, refer to Figure 1 The determination unit 130 determines the type of each food by using the extracted food image data (step S40).
[0082] The determination unit 130 may determine the type of food using the extracted food image data. For example, the determination unit 130 may include a model learned based on an image in order to recognize the type of food, but the method of determining the type of food is not limited thereto.
[0083] In the food measurement method according to this embodiment, in order to improve the recognition rate of food types, the model learned by the artificial intelligence algorithm can be optimized for individual objects using the food measurement method in the following manner. The individual object can be, for example, an individual canteen or an individual dining entity, but is not limited thereto.
[0084] First, refer to Figure 6 The receiving unit 110 receives optimization information for optimizing the model learned from individual objects such as the cafeteria or dining entities (step S31).
[0085] The learning model to be optimized is a master model, which is a model learned by using image data captured by the food measuring device 200 or the user terminal 300 or a processed result as a data set to distinguish food types.
[0086] Since the main model is a model constructed using all captured image data or processed results used in the food measurement method as a data set, in order to determine the type of specific food image data, the main model will understand which food type the specific food image data corresponds to among dozens, hundreds, or thousands of food type classes.
[0087] Optimizing the master model is to reduce the number of food type classes that need to be considered in order to grasp the food type of specific food image data. To this end, optimization information for individual objects such as restaurants or dining entities can be obtained.
[0088] That is, the receiving unit 110 may receive optimization information for individual subjects. The optimization information may include, for example, menu information sold or provided by individual restaurants or information on food types that are frequently consumed by individual diners, such as information on food types that are likely to be consumed by each individual subject or by diners using the individual subject.
[0089] Next, refer to Figure 6 , the determination unit 130 optimizes the classes in the main model based on the optimization information to calculate the local model (step S32).
[0090] The judgment unit 130 selects the class of food types that are highly correlated with the corresponding individual object based on the optimization information, and optimizes the class of the main model in a manner that narrows the class of food types considered in the main model to the class of food types that are highly correlated with the individual object, thereby calculating the local model for the corresponding individual object.
[0091] Next, refer to Figure 6 The determination unit 130 improves the local model by learning using image data related to the individual object (step S33).
[0092] The determination unit 130 may learn the calculated local model using image data related to the individual object or a processing result related to the individual object, thereby improving the local model.
[0093] Here, the image data related to the individual object may be image data captured in an individual cafeteria serving as the individual object or the result of processing image data captured in an individual cafeteria, or image data captured by an individual dining subject serving as the individual object or the result of processing image data captured by an individual dining subject.
[0094] In addition, in the process of the judgment unit 130 enhancing the local model by learning the calculated local model using image data related to the individual object or processing results related to the individual object, the judgment unit 130 can change various variables such as learning parameters and learning cycles in the process of learning using artificial intelligence algorithms to learn, and use the learning method with the highest accuracy among the learning methods to perform the enhancement process.
[0095] Next, refer to Figure 6The judgment unit 130 may provide a high-level local model. By using the high-level local model, the judgment unit 130 judges the type of each food through the extracted food image data, thereby improving the accuracy (step S34).
[0096] In some embodiments, as a prior step, the method may further include a step in which the receiving unit 110 receives food list information provided by a cafeteria (step S10 ).
[0097] In this case, in the step of determining the food type (step S40), the determination unit 130 may also determine the type of each food by matching the extracted food image data with the food list information.
[0098] In this way, the determination unit 130 may determine the type of food autonomously by analyzing the food image data, or may determine the type of food by matching with stored food list information, and the manner of determining the type of food is not limited thereto.
[0099] Next, refer to Figure 1 The calculation unit 140 calculates the volume of each food using the height information per pixel (ie, three-dimensional distance data) of the extracted food image data (step S50).
[0100] As described above, since the tableware image is captured by the imaging unit 250 that can acquire depth data, the food image data includes pixel-by-pixel height information (three-dimensional distance data) as depth data, and the volume of each food can be calculated using the height information.
[0101] Here, the computer includes a database 170 in which tableware images and tableware information including sizes, depths, and capacities of a plurality of spaces 510 formed in the tableware 500 are stored.
[0102] Furthermore, the volume calculation step (step S50 ) may further include the following step: the correction unit 150 corrects the volume of the food calculated using the tableware information including the size, depth, and capacity of the space 510 accommodating each food.
[0103] Since the depth of each space 510 is different depending on the type of tableware 500, the correction unit 150 can more accurately determine the degree of food accumulation when using the tableware information. Since the database 170 of the computer according to this embodiment stores data on the tableware 500 used in the cafeteria, the volume of each extracted food can be more accurately calculated using the tableware information when using the food measurement method according to this embodiment.
[0104] For example, when the type of food contained in a specific space 510 within the tableware 500 is determined by the judgment unit 130 to be liquid, the calculation unit 140 can calculate the volume of the liquid using the contact position between the liquid and the corresponding space 510 and the tableware information including the size, depth and capacity of the corresponding space 510.
[0105] If a liquid food such as "soup" is placed in a specific space 510, there will inevitably be a portion where the "soup" and the corresponding space 510 are in contact at a certain height. The calculation unit 140 uses this information to identify the position where the liquid food is in contact with the corresponding space 510 in the tableware image, and uses the tableware information (size, depth, capacity) of the corresponding space 510 to calculate the volume of the food.
[0106] For example, Figure 3 The portion where the "soup" and the space 510 are in contact is shown in the "A" region shown in the image data, and the calculation unit 140 can confirm the position where the liquid and the space 510 containing the liquid are in contact, such as the portion of the "A" region in the image data. In addition, the calculation unit 140 can calculate the volume of the "soup" by calculating the volume up to the height of the "A" region using the tableware information (e.g., capacity).
[0107] In some embodiments, such as Figure 5 As shown, additional correction can be performed on one tableware 500 in the undivided space. In the volume calculation step, when it is determined that a plurality of foods are contained in the undivided space in one tableware 500 in the food image data, the calculation unit 140 requests the extraction unit 120 for image data of each of the plurality of foods, and calculates the volume of each food.
[0108] Furthermore, the calculation unit 140 can calculate the volume of all foods using all the extracted food image data, and can compare the sum of the volumes of each food calculated in the volume calculation step with the volume calculated using all the food image data, thereby correcting the volume of each food.
[0109] In some embodiments, the volume calculation step (step S50) may further include a step of calculating the volume of the stacked food (step S51).
[0110] More specifically, a plurality of foods may be stacked in a specific space 510 in the tableware 500. Therefore, when it is recognized that different foods are stacked in a specific space 510 in the tableware 500, the calculation unit 140 calculates the volume of the food located at the lower side using the image data of the food located at the upper side, the calculated volume information, and the size, depth, and capacity information of the corresponding space 510.
[0111] Figure 41 is a diagram showing that an omelette is stacked on top of the rice in a space 510 in which rice is stored in the dish. The calculation unit 140 calculates the size and volume of the omelette using the dish information and the image data of the omelette.
[0112] Furthermore, the calculation unit 140 may predict the height of the rice contained in the space 510 by using the size and volume information of the fried egg, and at the same time, calculate the volume of the rice contained in the space 510 by using the tableware information.
[0113] Specifically, the area of the food on the lower side (e.g., rice) that is blocked by the food on the upper side (e.g., fried egg) is calculated, and the height of the area of the food on the lower side (e.g., rice) that is not blocked by the food on the upper side (e.g., fried egg) is used to calculate the height of the area blocked by the food on the upper side (e.g., fried egg), thereby calculating the volume of the area of the food on the lower side (e.g., rice) that is blocked by the food on the upper side (e.g., fried egg).
[0114] To this end, the height of the area where the food on the lower side (e.g., rice) is obscured by the food on the upper side (e.g., fried egg) can be set to the average height of the area where the food on the lower side (e.g., rice) is not obscured by the food on the upper side (e.g., fried egg), but is not limited to this.
[0115] In some embodiments, data on foods stacked on top of other foods (e.g., fried eggs, fish, seaweed, etc.) may be pre-stored in the database 170 of the computer. For example, the data on foods mainly stacked on the top of the foods may include volume data or weight data, so that the calculation unit 140 can also quickly calculate the volume of the foods stacked on the top.
[0116] In addition, the volume calculation step (step S50) may further include a step (step S52) in which the correction unit 150 corrects the noise component captured together with the tableware in the tableware image. That is, the correction unit 150 detects the noise component that is not food but has volume in the tableware image data containing food, and in the step of calculating the volume of each food, may further include a correction step of excluding the volume of the detected noise component from the calculated volume of the food.
[0117] Here, the noise component refers to an object that is not food but has a volume, and due to the volume of the noise component, the volume of the food may be calculated to be greater than the actual volume. Therefore, in order to accurately calculate the volume of the food, the correction unit 150 may identify the noise component within the captured image and perform correction to exclude the volume of the corresponding noise component from the volume of the food calculated by the calculation unit 140.
[0118] For example, hands or tableware (e.g., spoons, chopsticks, forks, knives, etc.) may be noise components that are not food but have volume. In addition, lids of dairy products may also correspond to this, but it is not limited thereto. For example, the database 170 of the computer may pre-store noise information for objects corresponding to noise components, and the correction unit 150 may identify the noise component in the captured image and perform correction to exclude the volume of the corresponding noise component from the volume of the food calculated by the calculation unit 140.
[0119] As an example, in the step of correcting the noise component, the correction unit 150 may perform a correction of recognizing an image of a user's hand in the tableware image and excluding the volume value of the hand from the volume value of the food calculated by the calculation unit 140. Specifically, the tableware 500 may be photographed by the food measuring device 200 while the user is holding the tableware 500, and the volume of the food may be calculated incorrectly due to the image data of the hand holding the tableware 500. Therefore, the correction unit 150 may perform a correction of excluding the volume value of a body part such as a hand from the volume value of the food calculated by the image data of the tableware containing the food, thereby improving the accuracy in the food volume calculation step (S50).
[0120] As an embodiment, the correction unit 150 may learn image data for the empty tableware 500 and the spoons and chopsticks in advance, so that when the tableware image includes the spoons and chopsticks, the correction unit 150 may recognize this and perform correction to exclude the volume value of the spoons and chopsticks.
[0121] More specifically, the correction unit 150 detects whether the user's hand or tableware exists in the tableware image data containing food. If the user's hand or tableware is included in the tableware image, the volume value of the user's hand or tableware may be excluded from the volume value of the food calculated from the tableware image data containing food.
[0122] Due to the structure and operation of the calibration unit 150 , the food measuring method according to the embodiment of the present invention can improve accuracy when performing subsequent steps.
[0123] Next, refer to Figure 1 The calculation unit 140 calculates the meal information including the weight of each food by using the volume information of each food and the food information calculated in step S50 (step S60).
[0124] The database 170 of the computer stores food information including the weight per unit volume of food, calorie information per unit weight of each food, and nutritional component information per unit weight of each food.
[0125] Depending on the type of food, the weight per unit volume is different, and the heat (calorie) is also different from each other. Therefore, in an embodiment of the present invention, food information including the weight per unit volume of each food is stored in the database 170, and the calculation unit 140 calculates the weight of the food from the volume information of the food using the food information.
[0126] Using this weight information, after the weight calculation step (step S60), the calculation unit 140 can use the calculated weight information of each food to calculate the calories of the food contained in the user's meal tableware. In addition, the nutritional information ingested by the user can be calculated, and additional special information such as allergy precautions can be calculated based on the food or the nutritional components included in the food.
[0127] In addition, the calculation unit 140 may calculate price information for the corresponding food using the type of food and the volume or weight of each food.
[0128] The calculation unit 140 may provide information included in the above-mentioned meal information to the display unit 210 of the food measuring device 200 or the display unit 310 of the user terminal 300. The UI of the screen provided to the display units 210 and 310 is described below.
[0129] For example, the calculation unit 140 may make the information displayed on the display unit 210 or 310 at the meal delivery port different from the information displayed on the display unit 210 or 310 at the meal return port. For example, the display unit 210 or 310 at the meal delivery port may display information on food type, information on calories, nutritional information, allergy information, and price information, and the display unit 210 or 310 at the meal return port may display information on actual intake in addition to the above information. However, the meal information calculated by the calculation unit 140 is not limited to this, and various information may be displayed wirelessly using the photographed information or the information stored in the database 170.
[0130] Accordingly, the dining subject can settle the bill through the settlement unit 240 of the food measuring device 200 or the user terminal 300 in cash, card, transfer, QR code labeling, RFID labeling, facial recognition, etc. according to the provided price information.
[0131] As an embodiment, although the cafeteria may be equipped with a weight measuring device (not shown) that can measure the weight of the tableware 500, it is not limited to this and may also include the following steps: the receiving unit 110 receives the weight information of the tableware 500 measured by the weight measuring device (not shown) equipped in the cafeteria; and the correction unit 150 corrects the weight of each food by matching the sum of the weight of each food and the weight of the empty tableware calculated in step S60 with the received weight information.
[0132] The above-mentioned correction step can be selectively adopted and used, and since the measured weight may be different from the actual weight due to the user's hand or various factors during the weight measurement process, the correction step may not be performed if the weight information is measured differently and exceeds the threshold.
[0133] Below, refer to Figure 7 and Figure 8 , a food measuring method according to another embodiment using the user terminal 300 as the food measuring device 200 is described. However, the difference from the food measuring method according to one embodiment of the present invention is mainly described, and the description of the same contents will be omitted. Figure 7 is a flow chart of a food measuring method according to another embodiment of the present invention, Figure 8 It is a three-dimensional diagram of a table for illustrating a background object.
[0134] According to another embodiment of the present invention, the food measurement method is performed by a computer, where the computer refers to the food measurement server 100 or the user terminal 300. That is, the photographing is performed by the user terminal 300, but the other steps can be performed by the food measurement server 100 or the user terminal 300.
[0135] Here, the user terminal 300 is a portable terminal that can be moved and is provided with a service application related to the food measurement method. The user terminal 300 can obtain image data and depth data. To this end, the user terminal 300 may include at least one of an RGB camera, a 2D camera, a 3D camera, a time of flight (ToF: Time of Flight) camera, a light field camera, a stereo camera, an event camera, and an infrared camera.
[0136] For example, the user terminal 300 is one of the electronic devices such as a computer, an ultra mobile PC (UMPC), a workstation, a net-book, a personal digital assistant (PDA), a portable computer, a web tablet, a wireless phone, a mobile phone, a smart phone, an e-book, a portable multimedia player (PMP), a portable game console, a navigation device, a black box or a digital camera, and may include all user devices that can install and run food measurement applications related to the food measurement server 100 or the food measurement device 200.
[0137] First, refer to Figure 7 The receiving unit 110 receives the tableware image captured by the capturing unit 350 of the user terminal 300 (step S20).
[0138] Here, food may be photographed according to a photographing request of a service application provided in the user terminal 300, and the service application may provide the user with guidance on food photographing methods, angles, etc. through images or sounds.
[0139] As an embodiment, the service application may request to take pictures of food more than twice at different angles. Without using a 3D camera or a ToF camera, if the food is taken more than twice at different angles, depth data can be obtained by comparing two or more images of tableware containing food. Moreover, even if the acquisition of depth data is not the purpose, taking pictures more than twice has the effect of improving accuracy in subsequent calculation and correction steps.
[0140] Next, refer to Figure 7 , the correction unit 150 can perform tableware image correction (step S25).
[0141] As an embodiment, in the tableware image receiving step (step S10), when the food is photographed by the photographing unit 350 of the user terminal 300, the inclination information of the user terminal 300 measured by the gyro sensor (not shown) of the user terminal 300 may be received. The correction unit 150 may correct the inclination of the photographed tableware image data containing the food using the inclination information of the user terminal 300.
[0142] According to an embodiment of the present invention, when the user holds the user terminal 300 and photographs food through the photographing unit 350, a certain angle of inclination may occur, so the above steps can be performed to correct the image data of the tableware containing food to a horizontal state.
[0143] Next, refer to Figure 7 The extracting unit 120 extracts the food image data contained in the space 510 of the tableware 500 from the tableware image data containing the food (step S30).
[0144] Since the tableware image captured by the user terminal 300 does not only include food, in order to accurately calculate the volume, only food image data is extracted from the image in this step.
[0145] The extraction unit 120 can accurately extract food from the background by utilizing the function of identifying and extracting food from the background, and when more than two foods are included, image data of the two or more foods can be separated and extracted separately. In this process, a model learned by using an artificial intelligence algorithm can be utilized.
[0146] Next, refer to Figure 7 The determination unit 130 determines the type of each food by using the extracted food image data (step S40).
[0147] The judgment unit 130 uses a model learned by using an artificial intelligence algorithm to judge the food type of each food image data extracted by the extraction unit 120. In some embodiments, in the case of outputting a plurality of judgment results with similar accuracy, the judgment unit 130 may output the plurality of judgment results at the user terminal 300 and allow the user to input or select a suitable result through a service application of the user terminal 300.
[0148] Next, refer to Figure 7 The calculation unit 140 calculates the volume of each food using the height information per pixel (ie, three-dimensional distance data) of the extracted food image data (step S50).
[0149] The volume calculation step (step S50) may include a volume correction step (S53). As an embodiment, in the volume correction step (step S53), a background target may be used to correct the volume.
[0150] In the volume correction step (step S53 ), the determination unit 130 may identify a background object included in the received tableware image, and the correction unit 150 may correct the volume of each food calculated in step S50 based on size information and position information of the identified background object.
[0151] Reference Figure 8The correction unit 150 may compare the height information of the background target with the food to perform the volume correction of each food, or may compare the size information of the background target with the food to perform the volume correction of each food.
[0152] Here, the background object may be photographed together with the food or photographed separately by the photographing unit 350, and may be a tableware 500 containing food, a table 540, spoons and chopsticks, a user's finger, etc. However, the present invention is not limited thereto, and the background object may be applicable to any object as long as it is an object of a normal size. For example, the background object may be any object whose size is determined, such as a coin, a banknote, a smart phone (by product type), etc.
[0153] In some embodiments, the background object can be photographed separately by the photographing unit 350 of the user terminal 300 and its size information is pre-stored in the database 170. Accordingly, the correction unit 150 can predict the volume of the food with higher accuracy from the extracted food image data based on the size or height of the background object.
[0154] As a first example, the service application may allow the user to photograph the user's hand at a predetermined distance through the photographing unit 350. Alternatively, the service application may actually measure the actual size of the user's hand / fingers and input it.
[0155] Furthermore, the receiving unit 110 analyzes the image of the user's hand and stores information on the actual size of the user's hand in the database 170 .
[0156] Then, if the determination unit 130 recognizes that the user's hand is included in the received tableware image, the user's hand may be set as a background object, and the correction unit 150 may correct the volume of each food calculated by the calculation unit 140 based on the position information and size information of the background object.
[0157] As a second example, the service application may allow the user to photograph the tableware 500, table 540, spoons and chopsticks used at home at a predetermined distance through the photographing unit 350. At this time, the table 540 may refer to a dining table or dining table where the user arranges the tableware 500 and eats.
[0158] Specifically, the computer may analyze an image of tableware 500 used by the user at home captured by the camera 350 of the user terminal 300 , and store tableware 500 information including size, depth, and capacity information of the corresponding tableware 500 in the database 170 .
[0159] In more detail, since the image captured by the shooting unit 350 of the user terminal 300 according to an embodiment of the present invention stores pixel-by-pixel height information, when the calculation unit 140 receives image data about empty tableware 500, the pixel-by-pixel height information of the image data of the tableware can be used to calculate the size, depth and capacity information of the tableware, and store this information as tableware information in the database 170.
[0160] Furthermore, as a result of analyzing the food image, when there is food contained in the tableware 500, the calculation unit 140 corrects the calculated volume of each food using the size, depth, and capacity information of the tableware 500 containing the corresponding food.
[0161] As described above, if the size, depth and capacity information of the corresponding tableware 500 are known, a calibration step can be performed to obtain a more accurate result.
[0162] In some embodiments, the service application may request the user to actually measure the actual dimensions of the tableware 500, table 540, spoons and chopsticks, etc. and input them into the user terminal 300 (eg, the horizontal length, vertical length or circumference information of the table 540).
[0163] As a third example, a case where a background object unrelated to food is used will be described. For example, a user may take a photo of a 500-yuan coin (in this specification, it means Korean won) together with a food image, and may input the 500-yuan coin as a background object through a service application.
[0164] Therefore, the determination part 130 recognizes the 500-yuan coin (background object) included in the received tableware image containing food, and the correction part 150 corrects the calculated volume of each food based on the size information of the 500-yuan coin (background object).
[0165] In this way, since objects that most people usually use and whose sizes are determined can be used as background targets, the user can easily photograph surrounding objects together with food, so that the correction section can correct the volume of each food.
[0166] In addition, the volume can be corrected in a variety of ways by utilizing location information (cafeteria, cafeteria, etc.), weather information (ultraviolet rays, reduced food types), user status information (during weight loss, during exercise, during treatment, during medication, etc.), personal preference information and surrounding equipment information, thereby improving accuracy.
[0167] As a fourth example, the computer may store image data photographed by the user terminals 300 of a plurality of users and information calculated from the corresponding image data, and construct big data for information of a cafeteria matching a place where the corresponding image is photographed.
[0168] For example, when user A orders menu C at restaurant B and photographs menu C through user terminal 300, the types of food included in menu C will be determined and the volume of each food will be calculated, and the computer will store such information in database 170 and use it as big data.
[0169] Furthermore, food image data is received through the user terminal 300 of a specific user, and the location information of the captured food image and the determined type of food are matched with the data in the database 170 in the computer, so that the previous calculation results of the matched details can be detected, and the calculated volume information of each food can be corrected using the results.
[0170] For example, when user D takes a photo of food at a location matching cafeteria B and sends food image data, the location information is matched with big data and it is determined that user D is located in cafeteria B, and the previous result data matching the ordered menu is queried and correction is performed on the calculated volume information.
[0171] In this regard, the reverse situation can also be applied. In more detail, firstly, the data for the food is stored, and when the user checks out at the cafeteria, if it is known what food the user ordered, the stored data can be retrieved in reverse to record the volume and nutritional information.
[0172] In summary, the service application may request the user to shoot the background object with an image or sound before shooting the food, or may request the user to shoot the background object together with the food when shooting by the user terminal 300. Furthermore, the judgment unit 130 may identify the received background object, and the correction unit 150 may correct the volume of each food calculated by the calculation unit 140 based on the position information and size information of the background object.
[0173] Next, refer to Figure 7 The calculation unit 140 calculates the food information including the weight of each food using the volume information of each food and the food information calculated in step S50 (step S60).
[0174] The computer can use the above-mentioned food measurement method according to the embodiment of the present invention to measure the meal amount (referring to the amount of food before the meal) and the leftover amount of each dining subject dining in a cafeteria or at home, and can use the meal amount and the leftover amount to calculate the meal amount.
[0175] In addition, the computer can use the meal amounts, leftovers, and meal amounts of diners dining in the cafeteria or at home to generate cafeteria operation information and diners' management information. The diners' management information may include, for example, the user's nutritional status, eating habits, whether he or she is a picky eater, etc.
[0176] Below, refer to Fig. 9 , a method for providing management information of cafeteria operation information and dining entities according to an embodiment of the present invention is described. Fig. 9 The present invention is a flowchart of a method for providing cafeteria operation information and dining entity management information according to an embodiment of the present invention.
[0177] First, refer to Fig. 9 The receiving unit 110 obtains the pre-meal tableware data (pre-meal tableware image data) captured by the meal delivery port camera 250 or the camera 350 of the user terminal 300, and the calculating unit 140 calculates the meal quantity of the dining subject using the data (step S110). Figures 1 to 8 The same description is made, and the identification step (step S120) for the dining subject can be performed at the same time. Here, the tableware 500 before the meal refers to the tableware 500 of the dining subject before the meal is loaded with food.
[0178] Next, refer to Fig. 9 , obtain the tableware data (tableware image data) taken by the tableware shooting unit 250 or the shooting unit 350 of the user terminal 300, and the calculation unit 140 calculates the amount of leftovers of the dining subject using the data (step S120). Figures 1 to 8 The same description is made, and the identification step (step S120) about the dining subject can be performed at the same time. Here, the tableware after the meal refers to the tableware 500 of the dining subject after the meal.
[0179] Next, refer to Fig. 9 The calculation unit 140 uses the calculated meal amount and the remaining meal amount to calculate the meal amount of the corresponding dining subject (step S130).
[0180] Through steps S110 to S120, the computer can calculate the meal quantities of each food menu provided by the cafeteria, the leftovers and the intake (amount of food) of the diners after the meal, thereby ensuring information such as how much rice and vegetables the diners have consumed and how much is left.
[0181] Furthermore, the computer according to the embodiment of the present invention may perform the following operations to improve the accuracy of food amount calculation.
[0182] As one embodiment, the calculation unit 140 performs verification on whether the sum of the meal amount and the leftover amount of the diners calculated through the above steps is consistent with the meal amount. If the verification result shows that they are inconsistent, the calculation unit 140 corrects at least one of the meal amount, the leftover amount and the meal amount calculated through the above steps so that the sum of the meal amount and the leftover amount is consistent with the meal amount, and records the result generated thereby into the database 170.
[0183] Furthermore, the calculation unit 140 performs verification on whether the sum of the total meal amounts and the total amount of leftovers of the diners in the cafeteria calculated through the above steps is consistent with the total amount of prepared meals. If the verification result shows that they are inconsistent, the calculation unit 140 can correct at least one of the total meal amounts, the total amount of leftovers and the total amount of prepared meals calculated through the above steps, so that the sum of the total meal amounts and the total amount of leftovers is consistent with the total amount of prepared meals, and record the results generated thereby into the database 170.
[0184] Furthermore, the calculation unit 140 verifies whether the sum of meal amounts and the sum of leftover meal amounts of the dining main body in the cafeteria calculated through the above steps are consistent with the sum of meal amounts, and records the result in the database 170. More specifically, the calculation unit 140 verifies whether the difference between the sum of meal amounts and the sum of leftover meal amounts of the dining main body in the cafeteria is consistent with the sum of meal amounts.
[0185] Furthermore, the calculation unit 140 can perform verification by comparing the total amount of food prepared in the cafeteria with the total amount of leftovers generated in the cafeteria, the total amount of residual food generated in the cafeteria, and the total amount of meals eaten by diners in the corresponding cafeteria. In the event that a difference occurs based on the verification result, the calculation unit 140 can correct at least one of the total amount of leftovers, the total amount of residual food, and the total amount of meals eaten, so that the total amount of food generated in the cafeteria is consistent with the total amount of leftovers generated in the cafeteria, the total amount of residual food generated in the cafeteria, and the total amount of meals eaten by diners in the corresponding cafeteria. For example, the meal amount can be corrected and the result generated thereby can be recorded in the database 170.
[0186] Here, the leftover amount may be the amount of food distributed to the diners but left after the diners have finished their meal, and the remaining food amount may be the amount of food not distributed to the diners but left. The remaining food amount may be calculated by the steps or by a separate method.
[0187] Furthermore, the database 170 may store measurement results of the total weight of food prepared by the canteen for each meal distribution, the total volume (weight) of remaining food, and the total weight of leftovers, and the calculation unit 140 performs verification by comparing the total volume (weight) of the prepared food with the total volume (weight) of leftovers, the total volume (weight) of remaining food, and the total sum of the meal amounts of the diners in the canteen calculated through the above steps, and if a difference occurs based on the verification result, the calculation unit 140 may correct the total sum of the meal amounts of the diners calculated through the above steps so that the total sum of the food prepared in the canteen is consistent with the total sum of the leftovers generated in the canteen, the total sum of the remaining food generated in the canteen, and the total sum of the meal amounts of the diners in the corresponding canteen, and record the results generated thereby into the database 170.
[0188] In this way, the calculation unit 140 can perform verification using various information and record the accuracy of calculation / correction, thereby being able to identify problems and make improvements.
[0189] For example, the database 170 may store the measurement results of the total volume (weight) of food prepared by the cafeteria for each meal distribution and the total volume (weight) of leftover food, and the calculation unit 140 may perform verification by comparing the difference between the total volume (weight) of prepared food and the total volume (weight) of leftover food with the sum of the food amounts of the dining entities in the cafeteria calculated through the above steps, and record it in the database 170 (for example, if the total volume of menu A prepared in the cafeteria is 200 and menu A is fully distributed with no remaining amount, the total volume of menu A distributed to the dining entities should be close to 200).
[0190] In addition, in order to accurately calculate the amount of food eaten, it is necessary to take photos before and after the meal, but there is a possibility that the user fails to take photos after the meal due to mistake.
[0191] Therefore, after the calculation unit 140 receives the image data of tableware containing food before the meal, if the preset time has passed and the tableware image data after the meal has not been captured and received, it is determined that the tableware image data after the meal has not been captured, and the user's estimated meal amount is calculated.
[0192] For example, the calculation unit 140 may assume that the user has no leftovers and calculate the user's estimated meal size, or it may calculate the user's estimated meal size based on the user's average meal size, status information (losing weight, gaining weight, exercising, etc.), hunger level, user's preference for a menu that includes images of food before the meal, taste information of the menu, etc. stored in the database 170 and store it in the database 170.
[0193] Next, refer to Fig. 9The management unit 180 of the computer generates the operation information of the cafeteria based on the meal quantity, the leftover meal quantity and the meal quantity of the diners registered in the cafeteria (step S140).
[0194] Next, refer to Fig. 9 The management unit 180 of the computer generates management information of each dining subject based on the meal quantity, the leftover quantity and the meal quantity of the dining subject registered in the cafeteria (step S150).
[0195] Step S140 is to generate operation information that is useful for the operation of the cafeteria.
[0196] In more detail, the meal quantity adjustment module 181 of the management department 180 uses the total meal preparation quantity prepared in the cafeteria for meal delivery, the sum of the meal quantities of diners who have completed meal delivery, and information on the number of remaining diners to calculate the per capita target meal quantity for the remaining diners, and provides it to the cafeteria administrator device (not shown).
[0197] At this time, the cafeteria manager refers to the person in charge of designing recipes in the cafeteria and directly distributing meals to diners. In front of the cafeteria manager in the cafeteria, a cafeteria manager device such as a display device 30 may be provided together with the dishes to be distributed.
[0198] Therefore, if the meal quantity adjustment module 181 provides information on the target meal quantity per capita for the remaining diners to the cafeteria administrator, the cafeteria administrator can use the information to adjust the meal quantity for the remaining diners.
[0199] In the embodiment of the present invention, the cafeteria administrator may refer to the person in charge of directly preparing meals for diners in the cafeteria as described above, or may refer to the administrator who manages the cafeteria or the nutritionist of the cafeteria.
[0200] With the above configuration, if the prepared meal amount is larger than the number of remaining diners, the target meal amount per capita for the remaining diners can be increased, thereby achieving the effect of reducing food waste.
[0201] Furthermore, if the prepared meal quantity is insufficient for the number of remaining diners, the target meal quantity per capita for the remaining diners can be reduced, thereby preventing people (diners) from being unable to eat due to insufficient food.
[0202] As an embodiment, the operation information generation step (step S140) may include the following steps: the catering group management module 183 checks the affiliation of each catering personnel, stores the catering quantity, leftover quantity and meal quantity according to the affiliation, and uses this to generate information according to affiliation including at least one of the favorite food, dislike food, leftover quantity, and nutritional status according to each affiliation; and matches the weather, week and schedule information according to the affiliation with the information according to the affiliation to extract the correlation information therefor.
[0203] At this time, the affiliation of the catering staff in the case of a company can refer to a company, group, team, etc.; in the case of a school, it can refer to a department, class, etc.; in the case of the military, it can refer to a corps, division, company, battalion, squadron, platoon, and detachment.
[0204] Furthermore, schedule information by affiliation may refer to quarters, ongoing projects, and businesses in the case of a company, semesters, exam periods, etc. in the case of a school, and various training periods, etc. in the case of the military.
[0205] Therefore, according to the embodiment of the present invention, the preference of food by affiliation can be grasped using information on favorite foods and disliked foods according to the affiliation of the dining subject, and accurate guidance for subsequent meal preparation menus can be provided.
[0206] In addition, the administrator can understand the amount of leftovers and nutritional status according to the affiliation.
[0207] Furthermore, by matching the weather, day of the week, and schedule information by affiliation with the information by affiliation, correlation information is extracted, thereby enabling the administrator to confirm changes in the appetite or food preferences of diners based on the weather and day of the week, and in the case of the military, to understand how the soldiers' meal amounts change based on various training schedules.
[0208] The administrator uses the above information to appropriately adjust the meal menu and meal quantity according to the military affiliation and training schedule, thereby providing appropriate meals to the soldiers on the training schedule.
[0209] As one embodiment, in the operation information generation step (step S140), when the meal quantities of the canteens are similar but the amount of leftovers differs by more than a predetermined amount, the management department can determine that the canteen with a smaller amount of leftovers has excellent ingredient grade and cooking methods, and can provide the ingredient supply information and food cooking methods of the corresponding canteen to the canteen administrator equipment of other canteens.
[0210] For example, if the food menus and serving sizes are similar in two or more cafeterias, but there are large differences in the amount of leftovers, it may mean that the cafeteria with fewer leftovers has higher-grade ingredients and superior cooking methods, while the cafeteria with more leftovers has lower-grade ingredients and poorer cooking methods.
[0211] Therefore, the management department provides the canteen administrators of other canteens with the food supply information and food cooking methods of the canteen that produces less leftover food, thereby improving the quality of the canteen.
[0212] As an embodiment, the management information generating step (step S150) includes the following steps: the dining subject management module 185 utilizes the physical information, meal quantity, leftover quantity and meal quantity of each dining subject to generate object-based information of each dining subject, including at least one of the preferred food, disliked food, average leftover quantity, nutritional status and average meal quantity.
[0213] Furthermore, the following steps are included: the dining subject management module 185 uses the information by object to calculate the physical management information and obesity risk of each dining subject, and when the dining subject who is not set to a weight loss state reduces the meal amount to below a predetermined amount within a predetermined time or the leftover meal amount increases to above a predetermined amount within a predetermined time, the corresponding dining subject is set as an object of attention.
[0214] For example, since most soldiers have a regular life and schedule, they need to maintain a stable nutritional status, and if they do not have any personal problems, they will usually maintain a constant amount of food. However, if they have personal problems and their motivation has dropped and their condition is not good, this may be reflected in their food intake, so this can be used to detect each person's problem early.
[0215] Therefore, when the meal amount of a diner who is not set to a diet mode decreases to below a predetermined amount within a predetermined time, the diner management module 185 determines that a problem has occurred with the diner and the appetite has decreased, and sets the diner as a target of attention.
[0216] Furthermore, when the amount of leftovers of a diner who is not set to a weight-loss state increases to above a predetermined amount within a predetermined time, the diner management module 185 determines that the amount of food allocated to the corresponding diner is at a similar level as before, but the diner has reduced his or her meal amount due to a decrease in appetite, thereby increasing the amount of leftovers, and sets the corresponding diner as an object of attention.
[0217] As described above, the dining subject management module 185 manages each dining subject and sets dining subjects suspected of having problems as objects of attention, thereby having the following effects: in places such as the military, it is possible to detect signs of danger early before accidents occur to personnel such as soldiers, thereby preparing countermeasures such as consulting administrators.
[0218] In addition, since the dining subject management module 185 generates object-based information including the nutritional status and average meal size of each dining subject, the administrator can use the above information to confirm not only the characteristics and status by affiliation, but also the characteristics and status of each person.
[0219] As an embodiment, the operation information generation step (step S140) includes the following steps: calculating the average favorite foods, disliked foods, and meal amounts of the diners, and the meal menu recommendation module 187 uses the calculation results to derive one or more recommended menus and meal preparation amounts for the cafeteria, and provide them to the cafeteria administrator device.
[0220] In a cafeteria that serves meals at least once or twice a day, it is a very difficult task for cafeteria managers to formulate a meal menu every day taking into account the preferences and nutritional status of the diners.
[0221] Even if the nutritional status is taken into consideration, it will not match the preferences (favorite foods) of the diners, resulting in a lot of leftovers (food waste). If the food is matched according to the preferences of the diners, it will be difficult to match the nutritional status.
[0222] Therefore, the meal menu recommendation module 187 calculates the average favorite foods, disliked foods, and meal amounts of the diners according to the food menu, and uses this to derive the meal preparation amount together with the recommended menu, thereby helping the cafeteria manager and administrator to manage the cafeteria.
[0223] In order to implement such an algorithm, the correlation of each food is stored in the computer database 170. For example, if the correlation of foods A, B, and C is high and the diners in the corresponding restaurant like food B, it can be determined that there is a high possibility that foods A and C are also liked.
[0224] At this time, the meal menu recommendation module 187 can derive a recommended menu using the preference information and taste evaluation score of the food menu described below.
[0225] As one embodiment, the meal menu evaluation module 189 of the management unit 180 is characterized in that operation information and management information can be generated based on the meal quantity, leftover quantity and meal quantity, and the change in the meal quantity and the change in the leftover quantity of each of the allocated foods can be used to evaluate the likeability of each food menu and the taste evaluation score of the allocated food itself.
[0226] The computer database 170 stores reference values for the amount of food served by the cafeteria. If the diners find the food delicious by its appearance or smell, the amount of food served is increased, or if the amount of food served is reduced, and if the diners find the food tasteless during the meal, more of the corresponding food is left.
[0227] The above configuration evaluates the score using the above-mentioned features, and more specifically, makes a judgment based on the following criteria.
[0228] First, when the meal quantity of a specific food is greater than a reference value and the leftover amount is less than a reference value, the meal menu evaluation module 189 can increase the preference of the corresponding food menu and increase the taste evaluation score of the corresponding food itself.
[0229] In this case, it means that the caterer (diner) sees the food with his or her naked eyes while receiving the meal, and because the food is his or her favorite food, the amount of the corresponding food is increased, and when eating, he or she judges that the food is delicious, and thus judges that the corresponding food is completely consumed or less corresponding food is left.
[0230] Therefore, the meal menu evaluation module 189 evaluates the liking score of the corresponding food menu as high, and also evaluates the taste evaluation score assigned to the corresponding food as high, thereby evaluating that the selection of ingredients or the cooking of food is correctly performed.
[0231] Second, when the meal quantity of a specific food is greater than a reference value and the amount of leftovers is greater than a reference value, the meal menu evaluation module 189 can increase the preference of the corresponding food menu and reduce the taste evaluation score of the corresponding food itself.
[0232] In this case, it means that the caterer sees the food with the naked eye while receiving the meal, and because the food is his / her favorite food, he / she increases the amount of the corresponding food. However, during the meal, he / she judges that the taste of the food is different from what he / she expected or has no taste, so more of the corresponding food is left, and the leftover amount is judged to be greater than the baseline value.
[0233] Therefore, the meal menu evaluation module 189 may increase the liking score regarding the corresponding food menu, but evaluate the taste evaluation score assigned to the corresponding food itself as low, thereby evaluating that the selection of ingredients or the cooking of the food is not properly performed.
[0234] Third, when the meal quantity of a specific food is less than a reference value and the amount of leftovers is less than a reference value, the meal menu evaluation module 189 can reduce the preference of the corresponding food menu and increase the taste evaluation score of the corresponding food itself.
[0235] In this case, it means that the caterer sees the food with the naked eye while receiving the meal, and because the food is not his / her favorite food, the amount of the corresponding food is reduced, but while eating, he / she unexpectedly judges that the food is delicious, so the corresponding food is judged to be completely consumed or less of the corresponding food is left.
[0236] Therefore, the catering menu evaluation module 189 evaluates the liking score of the corresponding food menu as low, but evaluates the taste evaluation score of the assigned corresponding food itself as high, thereby evaluating that the corresponding food is not liked by the caterer, but the selection of ingredients or the cooking of the food is properly performed, so the caterer is satisfied.
[0237] Fourth, when the meal quantity of a specific food is less than the reference value and the leftover amount is greater than the reference value, the meal menu evaluation module 189 reduces the preference of the corresponding food menu and reduces the taste evaluation score of the corresponding food itself.
[0238] In this case, it means that the caterer sees the food with the naked eye while receiving the meal, and because the food is not his / her favorite food, the amount of the corresponding food is reduced. When eating, the caterer also judges that the food has no taste, so it is judged that a large amount of the corresponding food is left and the amount of leftovers is greater than the baseline value.
[0239] Therefore, the catering menu evaluation module 189 evaluates the liking score of the corresponding food menu as low, and evaluates the taste evaluation score of the assigned corresponding food itself as low, thereby evaluating that the corresponding food is not the food that the catering staff likes, and the selection of ingredients or the cooking of food is not properly performed.
[0240] Due to the composition of the meal menu evaluation module 189 as described above, the cafeteria administrator can prepare meal menus and ingredients for diners based on the diners' preference for each food menu (preference score) and the food taste evaluation score, and can confirm whether there are any problems in the food cooking process.
[0241] As an embodiment, the dining subject management module 185 of the management unit 180 generates nutrition information of each dining subject based on the dining subject's meal amount, and derives and provides nutrition intake status information based on the nutrition information generated in a predetermined time period.
[0242] At this time, the dining entity management module 185 can provide the exported information to the dining entity's terminal, that is, the user terminal 300, the dining entity's guardian's terminal, the dining entity's administrator's terminal, the cafeteria administrator's terminal, etc.
[0243] As an example, the management unit 180 may utilize the meal amount and eating habit information of the dining subject to execute a program for improving the nutritional status and reducing the amount of leftover food.
[0244] The management unit 180 can grasp the nutritional information and eating habits of each dining subject based on the dining subject's meal amount and leftover amount, and provide rewards or penalties according to the changes in the nutritional status and leftover amount of each dining subject derived thereby.
[0245] In more detail, this means that the management unit 180 determines whether each diners has a balanced nutritional intake and correct eating habits based on the amount of leftover food and the amount of food eaten by the diners, and compares with the previous records each time a meal is prepared. When it is judged that the nutritional status has improved, rewards such as rewards and points are provided to the corresponding diners. When it is judged that the nutritional status has not improved or has deteriorated, punishments such as penalties are provided.
[0246] Furthermore, this means that the management unit 180 stores and monitors the amount of leftover food of each dining entity each time a meal is served. When it is determined that the amount of leftover food of a specific dining entity has decreased, a reward is provided to the corresponding dining entity. When it is determined that the amount of leftover food has not decreased but increased, a penalty such as a fine is provided to the corresponding dining entity.
[0247] As described above, by mastering the nutritional information and eating habits of each diners and providing rewards or punishments according to behavioral changes, the diners can be naturally guided to evenly absorb nutrition without partiality and reduce the generation of food waste.
[0248] For example, when the diners are students or patients who need to be managed by a guardian, the diners management module 185 of the management unit 180 can provide the diners' pre-meal tableware images and post-meal tableware images obtained by the shooting unit 250 to the terminal of the diners' guardian.
[0249] In addition, the guardian of the diners can confirm whether the diners have eaten normally by checking the photos through the application.
[0250] In the case of students or patients, since it is necessary to take in a uniform and sufficient nutritional status for health, continuous management is required, and it is necessary to provide the guardian with information on the nutritional status of the corresponding student.
[0251] Therefore, the meal main body management module 185 periodically receives and manages the physical information or health information of each student or patient, and derives information on the basal metabolic rate and required nutrients for each student in consideration of the physical information and school schedule.
[0252] Furthermore, the dining subject management module 185 determines the nutritional status and eating habits of the students or patients based on the meal menu, meal quantity data, and basal metabolic rate.
[0253] The dining subject management module 185 will provide the information ensured and judged in the manner as described above to the user terminal 300 and the dining subject guardian terminal. At the same time, it will derive the recommended menu suitable for the corresponding dining subject to consume at home based on the nutritional status and eating habits of each dining subject, and can recommend nutritional supplements based on the situation.
[0254] For example, this means that as a result of evaluating Student A's eating habits and nutritional status, if it is determined that he may be deficient in vitamins A and D, a menu that allows for sufficient intake of vitamins A and D is derived as a recommended menu; if it is determined that the deficiency of vitamins A and D is serious, nutritional supplements are recommended.
[0255] Here, even if the diners are not students or patients, the computer can also provide information to the user terminal 300 based on the analyzed user's nutritional status, eating habits, whether he or she is a picky eater, etc. If the user's nutritional status is unbalanced, it can derive the nutrients required by the user and a menu for the user's nutritional status that conforms to the user's eating habits, thereby providing information on various nutritional supplements to achieve an advertising effect.
[0256] Furthermore, the services that can be provided will be described using the user terminal 300. Since the computer can grasp the amount of food taken by the user by type, the user's eating habits can be analyzed, and the user's nutritional intake can be grasped using information on nutrients included in each food.
[0257] Furthermore, the user's physical information may be received through a service application installed in the user terminal 300, and the user's basal metabolic rate may be calculated using the physical information.
[0258] Furthermore, the user's nutritional status and eating habits information derived in the manner described above may be used to derive one or more food menus that match the user and provide them to a service application, or the information may be provided in conjunction with other food ordering applications.
[0259] At this time, the service application can receive the user's favorite foods and disliked foods directly input, and receive information on the user's allergies, diseases, etc., so as to exclude foods that the user cannot eat from the recommended menu.
[0260] Furthermore, the determination unit 130 uses this information to provide a warning (notification) to the service application when the food image captured by the imaging unit 55 of the portable device 50 includes food that the user cannot eat, so as to prevent the user from accidentally eating the corresponding food.
[0261] As an embodiment, the service application can receive various measurement data in conjunction with a wearable device used and worn by the user. In the case of including such a configuration, the computer can obtain the user's basal metabolic rate, health information, etc. in more detail, and can also be used as various health management information.
[0262] The computer collects data on the amount of food before meals, the amount of meals eaten, and the amount of leftovers during each meal of the user through the user terminal 300 and stores the data in the database 170, thereby forming information on the user's nutritional status, eating habits, etc., and collects data on the user's physical information, the user's activity index, activity information, exercise information, etc. collected through various health and sports applications to form the user's health management information.
[0263] In addition to this, by linking with health management applications, medical information applications, etc. to collect users' medical information, it is possible to derive customized recipes and health supplement information suitable for users from their nutritional status, eating habits, health management information, and medical information, and to directly sell related products through service applications.
[0264] For example, by joining the service of a service application provided by an external server (not shown), various forms of services can be provided, such as providing comprehensive examinations, providing customized health supplements to users, delivering customized recipes once a week, etc.
[0265] Hereinafter, an apparatus and a server for implementing the food measuring method according to an embodiment of the present invention will be described.
[0266] Reference Fig.10 , a food measurement server 100 according to an embodiment of the present invention is described. Fig.10 is a block diagram of a food measurement server according to an embodiment of the present invention, Fig.11 yes Fig.10 Detailed block diagram of the management department.
[0267] Reference Fig.10The food measurement server 100 according to the embodiment of the present invention includes a receiving unit 110 , an extracting unit 120 , a judging unit 130 , a calculating unit 140 , a correcting unit 150 , an authenticating unit 160 , a database 170 , and a communicating unit 190 .
[0268] However, in some embodiments, the server 100 may also include Fig.10 The components shown in the figure may be fewer or more components.
[0269] The receiving unit 110 receives images of tableware captured by one or more imaging units 250 .
[0270] The extraction unit 120 extracts the image data of food contained in each space 510 of the tableware 500 from the image data of the tableware containing food.
[0271] The determination unit 130 determines the type of each food based on the extracted food image data.
[0272] The calculation unit 140 calculates the volume of each food by using the height information of each pixel of the extracted food image data.
[0273] The database 170 stores an empty tableware image, tableware information including size, depth, and capacity of a plurality of spaces 510 formed in the tableware 500, and food information including weight per unit volume of food.
[0274] The management unit 180 includes a meal quantity adjustment module 181 , a meal group management module 183 , a meal object management module 185 , a meal menu recommendation module 187 and a meal menu evaluation module 189 , and the functions of each module are as described above.
[0275] The communication unit 190 may perform communication to receive the tableware image captured by the capturing unit 250 provided in the cafeteria, and may play a role of transmitting various information generated by calculation by the server 100 to the terminal of the person in charge or the user.
[0276] The authentication part 160 authenticates user information received from a device such as the food measuring device 200 , a self-service device, etc. to identify the user, and loads various information for the user.
[0277] Furthermore, the information on the weight and calories of the food in the meal tableware calculated by the calculation unit 140 of the server 100 is provided to the terminal of the user authenticated by the authentication unit 160. In this case, the information can be provided by a service application provided by the server 100 itself.
[0278] Furthermore, the computer (server, device) according to the embodiment of the present invention may perform the following operations to improve the accuracy of food calculation.
[0279] As one embodiment, the calculation unit 140 performs verification to determine whether the sum of the meal amount and the leftover amount of the diners calculated through the above steps is consistent with the meal amount. If the verification result shows that the sum is inconsistent, the calculation unit 140 may correct at least one of the meal amount, the leftover amount and the meal amount calculated through the above steps so that the sum of the meal amount and the leftover amount is consistent with the meal amount, and record the result generated thereby into the database 170.
[0280] Furthermore, the calculation unit 140 performs verification on whether the sum of the total meal amounts and the total amount of leftovers of the diners in the cafeteria calculated through the above steps is consistent with the total amount of prepared meals. If there is inconsistency based on the verification result, the calculation unit 140 may correct at least one of the total meal amounts, the total amount of leftovers and the total amount of prepared meals calculated through the above steps so that the sum of the total meal amounts and the total amount of leftovers is consistent with the total amount of prepared meals, and the result generated thereby is recorded in the database 170.
[0281] More specifically, the calculation unit 140 verifies whether the difference between the sum of the distributed meal amounts and the sum of the leftover meal amounts of the diners dining in the cafeteria is consistent with the sum of the meal amounts.
[0282] Furthermore, the calculation unit 140 can perform verification by comparing the total amount of food prepared in the cafeteria with the total amount of leftovers generated in the cafeteria, the total amount of residual food generated in the cafeteria, and the total amount of meals eaten by diners in the corresponding cafeteria. In the event of a difference based on the verification result, the calculation unit 140 can correct at least one of the total amount of leftovers, the total amount of residual food, and the total amount of meals so that the total amount of food prepared in the cafeteria is consistent with the total amount of leftovers generated in the cafeteria, the total amount of residual food generated in the cafeteria, and the total amount of meals eaten by diners in the corresponding cafeteria. For example, the meal amount can be corrected and the result generated thereby can be recorded in the database 170.
[0283] Here, the leftover amount may be the amount of food distributed to the dining subject and remaining after the dining subject has finished the meal, and the remaining food amount may be the amount of food remaining without being distributed to the dining subject. The remaining food amount may be calculated by the steps or by a separate method.
[0284] More specifically, the total volume (weight) of food prepared by the cafeteria for each meal distribution, the total volume (weight) of the remaining food, and the total volume (weight) of the leftovers may be stored in the database 170, and the calculation unit 140 performs verification by comparing the total volume (weight) of the prepared food with the total volume (weight) of the leftovers, the total volume (weight) of the remaining food, and the total amount of meals of the dining subjects in the cafeteria calculated through the above steps, and in the case of a difference according to the verification result, the calculation unit 140 may correct the total amount of meals of the dining subjects calculated through the steps so that the total amount of food prepared in the cafeteria is consistent with the total amount of leftovers generated in the cafeteria, the total amount of the remaining food generated in the cafeteria, and the total amount of meals of the dining subjects in the corresponding cafeteria, and the result generated accordingly is recorded in the database 170. (For example, if the total volume of the A menu prepared in the cafeteria is 200 and the A menu is distributed without a remaining amount, the total volume of the A menu distributed to the dining subjects should be close to 200).
[0285] As described above, the calculation unit 140 can perform verification using various information and record the accuracy according to calculation / correction, thereby being able to grasp problems and make improvements.
[0286] As an embodiment, the artificial intelligence algorithm of the calculation unit 140 according to the embodiment of the present invention can perform a volume recognition accuracy comparison and supplement operation using the image learning result as a verification and reliability increase scheme for volume recognition. For example, images of bread of different quantities can be input, and the size of the volume can be judged. In the event of error or noise, the bread can be re-learned, thereby improving the accuracy.
[0287] The food measurement server 100 according to the embodiment of the present invention described above is similar to the food measurement server 100 of the embodiment of the present invention. Figures 1 to 9 The food measuring methods described herein are different only in the type of invention and the contents are the same, so repeated descriptions and examples are omitted.
[0288] the following, Fig.12 is a block diagram of a food measuring device according to an embodiment of the present invention, Figures 13 to 16 is a perspective view of a food measuring device according to an embodiment of the present invention, Fig.17 2 is a screen shot of a food measuring device according to an embodiment of the present invention.
[0289] The food measuring device 200 may be provided at a place where food is prepared, and includes a receiving unit 110, an extracting unit 120, a determining unit 130, a calculating unit 140, a correcting unit 150, an authenticating unit 160, a database 170, a communicating unit 190, a display unit 210, a settlement unit 240, and a photographing unit 250. However, in some embodiments, the food measuring device 200 may also include a receiving unit 110, an extracting unit 120, a determining unit 130, a calculating unit 140, a correcting unit 150, an authenticating unit 160, a database 170, a communicating unit 190, a display unit 210, a settlement unit 240, and a photographing unit 250. Fig.12 The components shown in the figure may be fewer or more components.
[0290] Reference Fig.13 and Fig.14 , the food measuring device 200 is equipped with a measuring area 220 or a plate 230 for placing the tableware 500. Fig.13 and Fig.14 The photographing unit 250 photographs the tableware 500 placed on the measuring area 220 or the flat plate 230 .
[0291] Furthermore, a weight measuring device (not shown) may be formed inside the measuring area 220 or the flat plate 230 to measure the weight of the tableware placed on the upper surface of the measuring area 220 or the flat plate 230 .
[0292] The receiving unit 110 receives the tableware images captured by one or more capturing units 250. Here, the capturing unit 250 may be arranged to capture the upper surface of the tableware 500 from the upper side of the tableware 500, and in the case where the identification information sensing unit 251 is present, the identification information sensing unit 251 may be arranged to capture the tableware 500 by the capturing unit 250 and sense the identification information of the tableware 500 from the upper side, the lower side or the side.
[0293] The extraction unit 120 extracts the image data of food contained in each space 510 of the tableware 500 from the image data of the tableware containing food.
[0294] The determination unit 130 determines the type of each food based on the extracted food image data.
[0295] The calculation unit 140 calculates the volume of each food by using the height information of each pixel of the extracted food image data.
[0296] The database 170 stores an empty tableware image, tableware information including the size, depth, and capacity of the plurality of spaces 510 formed in the tableware 500 , and food information including the weight per unit volume of the food.
[0297] The communication unit 190 may perform communication to receive the tableware image captured by the capturing unit 250 provided in the cafeteria, and may play a role of transmitting various information generated by calculation by the server 100 to the terminal of the person in charge or the user.
[0298] The authentication part 160 authenticates user information received from a device such as the food measuring device 200 , a self-service device, etc. to identify the user, and loads various information for the user.
[0299] The information on the weight and calories of the food in the meal tableware calculated by the calculation unit 140 of the server 100 is provided to the terminal of the user authenticated by the authentication unit 160. At this time, the information may be provided by a service application provided by the server 100 itself.
[0300] The food measuring device 200 may include a display 240, and may input and receive user authentication information for authenticating a user, and may display an image photographed through the display.
[0301] And, in the case of Fig.13 In the case of the food measuring device 200 in the illustrated form, when the user moves the tableware 500 to the measuring area 220, the photographing unit 250 provided in the measuring area 220 photographs the tableware, thereby acquiring a tableware image and a tableware image after the meal. In addition, the food measuring device 200 itself is provided with a settlement unit 240, so that the user can measure the food and pay at the same time.
[0302] In some embodiments, reference Fig.14 (C) The food measuring device 200 may not include the flat plate 230, and may perform photographing by the photographing unit 250 and sensing by the identification information sensing unit 251 in a state where the dining personnel holds the tableware 500.
[0303] In some embodiments, reference Fig.15 The food measuring device 200 may be disposed at a food exit provided with a conveyor belt 270 . When the tableware 500 is moved by the conveyor belt 270 , the photographing unit 250 may photograph the tableware 500 from the upper side thereof.
[0304] In some embodiments, the food measuring device 200 may include a photographing unit 250, an identification information sensing unit 251, and an authentication unit 160. The photographing unit 250 may be located in a relatively highest area, the authentication unit 160 may be located between the photographing unit 250 and the identification information sensing unit 251, and the identification information sensing unit 251 may be located in a relatively lowest area. Since the food measuring device 200 has such a structure, the photographing unit 250, the identification information sensing unit 251, and the authentication unit 160 may obtain necessary information from the dining subject and the tableware 500 only when the dining subject stops in front of the food measuring device 200, thereby reducing the inconvenience of the dining subject.
[0305] The purpose of the photographing unit 250 being located in the highest area is to photograph the tableware 500 from the upper side. If the authentication unit 160 recognizes the face of the dining subject, when the dining subject holds the tableware 500, since the tableware 500 is located below the face of the dining subject, the authentication unit 160 can be located above the identification information sensing unit 251. Here, the identification information 530 of the tableware 500 can be located on the side of the tableware 500, and can be recognized by the identification information sensing unit 251 when the dining subject holds the tableware 500 and stands.
[0306] In addition, the identification information sensing unit 251 and the authentication unit 160 are not always running, but can only run when the tableware 500 is photographed and identified by the shooting unit 250. Thus, the identification of the tableware 500 by the shooting unit 250 becomes an enabler, thereby being able to effectively operate the identification information sensing unit 251 and the authentication unit 160.
[0307] Reference Fig.16 The food measuring device 200 can be placed upright on a table or hung on a wall. The display unit 210 is located in front of the food measuring device 200. A photographing unit 250a for photographing food or tableware containing food and a photographing unit 250b for photographing biological information of a dining subject are provided in front of the food measuring device 200.
[0308] The upper portion of the food measuring device 200 may be tilted forward, and the photographing unit 250a for photographing food or tableware containing food may be located in the tilted area of the food measuring device 200 to photograph the tableware 500 located below. Although the photographing unit 250b for photographing biological information of the dining subject is shown as not being located in the tilted area, it may be located in the tilted area.
[0309] Furthermore, when the dining subject uses the food measuring device 200 or the user terminal 300 to photograph the tableware 500 containing food, Fig.17 The screen can be displayed on the display unit 210 / 310.
[0310] For example, an image of a tableware containing food captured by the camera unit 250 / 350 can be displayed, and information about the type of food and the corresponding calories can be displayed. Also, in the case where a drink or the like is contained in a cup, the height of the drink can be displayed in the corresponding cup. At the same time, information about the exercise to be performed to burn calories when taking food and the exercise time can also be displayed. In addition, the nutritional information and price information of the food to be taken can also be displayed at the same time. In addition, Fig.18 and Fig.19 Respectively Fig.10 and Fig.12In comparison, there is only a difference in that the user terminal 300 performs the function of the food measuring device 200, and thus a detailed description is omitted.
[0311] The food measuring device 200 according to the embodiment of the present invention described above is similar to the food measuring device 200 of the embodiment of the present invention. Figures 1 to 9 The food measuring methods described herein are different only in the type of invention and the contents are the same, so repeated descriptions and examples are omitted.
[0312] The food measuring method according to an embodiment of the present invention described above may be implemented as a program (or application) and stored in a medium to be executed in combination with a computer as hardware.
[0313] The above-mentioned program may include a code (Code) encoded in a computer language such as C, C++, JAVA, machine language, etc., which can be read by the processor (CPU) of the computer through the device interface of the computer, so that the computer can execute the method implemented as a program by reading the program. These codes may include functional codes (Functional Code) related to functions that define the functions required to execute the method, and may also include control codes related to the execution steps required for the processor of the computer to execute the functions according to predetermined steps. In addition, these codes may also include additional information required for the processor of the computer to execute the functions or memory reference codes related to which position of the internal or external memory of the computer should be referred to by the relevant media. In addition, when the processor of the computer needs to communicate with any other remote computer or server in order to realize the function, the code may also include communication-related codes for the following: how to communicate with any other remote computer or server using the communication module of the computer; what information needs to be sent and received when communicating.
[0314] The storage medium is not a medium for storing data for a short time, such as a register, a cache, a memory, etc., but refers to a medium that stores data semi-permanently and can be read by a device. Specifically, the storage medium includes ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc., but is not limited to this. That is, the program can be stored in a variety of recording media on a variety of servers to which the computer can be connected or a variety of recording media on the user's computer. In addition, the medium can be distributed in a computer system connected via a network to store computer-readable codes in a distributed manner.
[0315] The steps of the method or algorithm described in connection with the embodiments of the present invention may be implemented directly by hardware, or by a software module executed by hardware, or by a combination of these. The software module may reside in RAM (Random Access Memory), ROM (Read Only Memory), Erasable Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), Flash Memory, hard disk, removable disk, CD-ROM, or any form of computer-readable recording medium known in the technical field to which the present invention belongs.
[0316] The embodiments of the present invention are described above with reference to the accompanying drawings, but it will be appreciated by those skilled in the art that the present invention can be implemented in other specific forms without changing its technical concept or essential features. Therefore, the embodiments described above should be understood to be exemplary in all aspects and not restrictive.
Claims
1. A food measurement method, the method being executed by a computer, comprising the following steps: After photographing and measuring the tableware containing food, the receiving unit receives the image data of the tableware containing food and the depth data of the tableware containing food; The correction unit calculates the inclination of the tableware containing food, and corrects the image data of the tableware containing food and the depth data of the tableware containing food according to the calculated inclination; The extracting unit extracts the image data of the food contained in the tableware from the corrected image data of the tableware containing the food; The judging unit judges the type of food by using the extracted food image data; as well as The calculation unit calculates the volume of the food using the corrected depth data of the tableware containing the food. The computer includes: a database storing empty tableware image data, tableware data including at least one of the size, depth and capacity of at least one space formed in the tableware, The database has data about the food stacked on top of other food stored in advance. The volume calculation step also includes the following steps: The correction unit corrects the volume of the food calculated using the tableware data including at least one of the size, depth, and capacity of the space for accommodating the food. When different foods are stacked in a specific space in the tableware, the calculation unit calculates the volume of the food located at the lower side by using the image data of the food located at the upper side, the calculated volume information, and the size, depth, and capacity information of the corresponding space. When the food contained in the specific space in the tableware is determined to be liquid, the volume of the liquid is calculated based on the position where the liquid contacts the corresponding space and the size, depth and capacity information of the corresponding space.
2. The food measuring method according to claim 1, wherein: The calibration unit calculates the inclination of the tableware containing food in the following manner: The correction unit calculates the inclination of the tableware containing food by analyzing the image data of the tableware containing food, or calculates the inclination of the tableware containing food using depth data for multiple points on the tableware containing food, or calculates the inclination of the tableware containing food based on the inclination of a reference object photographed and measured together with the tableware containing food, or calculates the inclination of the tableware containing food based on the inclination of a photographing and measuring device.
3. The food measuring method according to claim 1, wherein: In the correction step, the correction unit corrects the image data of the tableware containing food according to the calculated inclination in the following manner: The correction unit corrects the tableware image data containing food into horizontal image data based on the calculated inclination, so that the tableware in the tableware image data containing food is in a horizontal state.
4. The food measuring method according to claim 1, wherein: In the correction step, the correction unit corrects the depth data of the tableware containing food according to the calculated inclination in the following manner: The correction unit corrects the depth data on the tableware containing food according to the calculated inclination so that the tableware calculated based on the depth data on the tableware containing food becomes horizontal.
5. The food measuring method according to claim 1, wherein: In the step of calculating the volume of the food, the correction unit detects a noise component that is not food but has volume in the image data of the tableware containing food, and excludes the volume of the detected noise component from the calculated volume of the food.
6. The food measuring method according to claim 1, wherein: The database stores food data including weight per unit volume of food. After the volume calculation step, the method further includes the following steps: The calculation unit calculates the weight of the food using the calculated volume data of the food and the food data.
7. The food measuring method according to claim 1, characterized in that: The computer comprises: a database storing at least one of food menu data, restaurant location data, date data and time data, In the judging step, the judging unit matches the extracted food image data with the food-related information to derive a food list candidate group, and then judges the type of each food.
8. The food measuring method according to claim 1, wherein: The step of calculating the volume of the food comprises the following steps: When different foods are stacked in the tableware, the calculation unit calculates the volume of a region where the food located at the lower side is blocked by the food located at the upper side.
9. The food measuring method according to claim 8, wherein: The calculation unit calculates the volume of the area where the food located at the lower side is blocked by the food located at the upper side in the following manner: The calculation unit calculates the area of the region where the food located at the lower side is blocked by the food located at the upper side. The calculation unit calculates the height of the area blocked by the food located on the upper side by using the height of the area of the food located on the lower side that is not blocked by the food located on the upper side. The calculation unit calculates the volume of a region where the food located at the lower side is blocked by the food located at the upper side using the calculated area and height.
10. A food measurement server, comprising: A receiving unit, which receives image data of the tableware containing food and depth data of the tableware containing food after photographing and measuring the tableware containing food; a correction unit, calculating the inclination of the tableware containing food, and correcting the image data of the tableware containing food and the depth data of the tableware containing food according to the calculated inclination; an extracting unit for extracting image data of food contained in the tableware from the corrected image data of the tableware containing food; a judging unit, for judging the type of food by using the extracted food image data; a calculation unit, which calculates the volume of the food by using the corrected depth data of the tableware containing the food; as well as a database storing empty tableware image data and tableware data including at least one of a size, a depth and a capacity of at least one space formed in the tableware, The database pre-stores data on food stacked on top of other food. The correction unit corrects the volume of the food calculated using the tableware data including at least one of the size, depth, and capacity of the space for accommodating the food. When different foods are stacked in a specific space in the tableware, the calculation unit calculates the volume of the food located at the lower side by using the image data of the food located at the upper side, the calculated volume information, and the size, depth, and capacity information of the corresponding space. When the food contained in the specific space in the tableware is determined to be liquid, the calculation unit calculates the volume of the liquid based on the position where the liquid contacts the corresponding space and the size, depth, and capacity information of the corresponding space.
11. A food measuring device, comprising: A receiving unit, which receives image data of the tableware containing food and depth data of the tableware containing food after photographing and measuring the tableware containing food; a correction unit, calculating the inclination of the tableware containing food, and correcting the image data of the tableware containing food and the depth data of the tableware containing food according to the calculated inclination; an extracting unit for extracting image data of food contained in the tableware from the corrected image data of the tableware containing food; a judging unit, for judging the type of food by using the extracted food image data; a calculation unit, which calculates the volume of the food by using the corrected depth data of the tableware containing the food; as well as a database storing empty tableware image data and tableware data including at least one of a size, a depth and a capacity of at least one space formed in the tableware, The database pre-stores data on food stacked on top of other food. The correction unit corrects the volume of the food calculated using the tableware data including at least one of the size, depth, and capacity of the space for accommodating the food. When different foods are stacked in a specific space in the tableware, the calculation unit calculates the volume of the food located at the lower side by using the image data of the food located at the upper side, the calculated volume information, and the size, depth, and capacity information of the corresponding space. When the food contained in the specific space in the tableware is determined to be liquid, the calculation unit calculates the volume of the liquid based on the position where the liquid contacts the corresponding space and the size, depth, and capacity information of the corresponding space. 12 . A recording medium storing a program for executing the method according to claim 1 .
