JP2018049584A - Meal size estimation program, meal size estimation method, and meal size estimation apparatus - Google Patents

Meal size estimation program, meal size estimation method, and meal size estimation apparatus Download PDF

Info

Publication number
JP2018049584A
JP2018049584A JP2017017468A JP2017017468A JP2018049584A JP 2018049584 A JP2018049584 A JP 2018049584A JP 2017017468 A JP2017017468 A JP 2017017468A JP 2017017468 A JP2017017468 A JP 2017017468A JP 2018049584 A JP2018049584 A JP 2018049584A
Authority
JP
Japan
Prior art keywords
image
meal
index
amount
nutrition value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017017468A
Other languages
Japanese (ja)
Inventor
充則 南野
Mitsunori Minamino
充則 南野
尚生 小林
Hisao Kobayashi
尚生 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Finc Technologies Inc
Original Assignee
Finc Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Finc Technologies Inc filed Critical Finc Technologies Inc
Priority to JP2017017468A priority Critical patent/JP2018049584A/en
Publication of JP2018049584A publication Critical patent/JP2018049584A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Medical Treatment And Welfare Office Work (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a health management server capable of creating an advice message further suited to a client, while performing standardization and improving efficiency in creating an advice message of a specialist.SOLUTION: A meal size estimation program according to the present invention causes a computer to be functioned as: a storage section for storing an index image dataset in which an index image and size information are associated, a material image dataset in which material images and names of materials are associated, and a nutrition value dataset in which materials and nutrition values of the materials are associated; an acquisition section for acquiring a diet image of a user; a specification section for specifying index images and material images included in the diet image; an estimation section for estimating an amount of the materials associated with the specified material images on the basis of the size information associated with the specified index images; and a correction section for correcting a nutrition value associated with the materials on the basis of the estimated amount of the materials and calculating a nutrition value after the correction.SELECTED DRAWING: Figure 1

Description

本発明は、食事量推定プログラム、食事量推定方法及び食事量推定装置に関する。   The present invention relates to a meal amount estimation program, a meal amount estimation method, and a meal amount estimation apparatus.

近年、ダイエットやメタボリックシンドロームの予防等の健康意識の高まりを受けて、専門家の指導を受ける健康指導サービスが普及している。また、IT化に伴い、専門家とクライアントが直接対面することなく、オンライン上で健康指導サービスを受けるケースが増加している。   In recent years, health guidance services that receive expert guidance have become widespread in response to increasing health awareness such as diet and prevention of metabolic syndrome. In addition, with the shift to IT, there are increasing cases of receiving health guidance services on-line without direct contact between experts and clients.

このような健康指導サービスにとして、消費カロリーを考慮に入れたメニューを提供し、カロリー表記がなくても摂取カロリーを容易に取得しその記録管理する技術が提案されている(例えば、特許文献1参照)。
備える技術が開示されている。
As such a health guidance service, a technique has been proposed in which a menu that takes into account calories consumed is provided, and calories ingested are easily obtained and recorded without any calorie notation (for example, Patent Document 1). reference).
Techniques for providing are disclosed.

特開2006−252150号公報JP 2006-252150 A

しかしながら、特許文献1記載の発明は、真の食事量を算定することはできない。   However, the invention described in Patent Document 1 cannot calculate the true meal amount.

そこで、本発明は、食事量を推定し得る技術を提供することを目的とする。   Then, an object of this invention is to provide the technique which can estimate a meal amount.

本発明によれば、第1の食事量推定プログラムとして、
指標画像とサイズ情報とが関連付けられた指標画像データセットと、素材画像と素材名とが関連付けられた素材画像データセットと、前記素材と当該素材の栄養価とが関連付けられた栄養価データセットとを記憶する記憶部、
ユーザの食事画像を取得する取得部、
前記食事画像に含まれる前記指標画像と素材画像とを特定する特定部、
特定した前記指標画像に関連付けられた前記サイズ情報に基づいて、特定した前記素材画像に関連付けられた前記素材の量を推定する推定部、
推定された前記素材の量に基づいて、前記素材に関連付けられた前記栄養価を補正し、補正後栄養価を算定する補正部、としてコンピュータを機能させる
食事量推定プログラムが得られる。
According to the present invention, as the first meal amount estimation program,
An index image data set in which the index image and the size information are associated; a material image data set in which the material image and the material name are associated; and a nutrition value dataset in which the material and the nutrition value of the material are associated. A storage unit for storing,
An acquisition unit for acquiring a meal image of the user;
A specifying unit for specifying the index image and the material image included in the meal image;
An estimation unit that estimates an amount of the material associated with the identified material image based on the size information associated with the identified index image;
Based on the estimated amount of the material, a meal amount estimation program for correcting the nutrition value associated with the material and causing the computer to function as a correction unit that calculates the corrected nutrition value is obtained.

本発明によれば、第2の食事量推定プログラムとして、第1に記載の食事量推定プログラムであって、
前記指標画像データセットは、前記サイズ情報に関連付けられた誤差情報を更に含んでおり、
前記特定部は、前記食事画像に含まれる前記指標画像が複数ある場合に、より誤差の少ない指標画像を特定する、
食事量推定プログラムが得られる。
According to the present invention, as the second meal amount estimation program, the meal amount estimation program according to the first aspect,
The index image data set further includes error information associated with the size information,
The identifying unit identifies an index image with less error when there are a plurality of the index images included in the meal image;
Meal amount estimation program is obtained.

本発明によれば、第3の食事量推定プログラムとして、第1又は第2に記載の食事量推定プログラムであって、
前記コンピュータを、取得した前記食事画像内に存在するオブジェクトの選択操作と当該オブジェクトのサイズ情報の入力操作とをユーザから受付ける指標受付部として更に機能させ、
前記推定部は、選択された前記オブジェクトの入力された前記サイズ情報に基づいて、特定した前記素材画像に関連付けられた前記素材の量を推定する、
食事量推定プログラムが得られる。
According to the present invention, as the third meal amount estimation program, the meal amount estimation program according to the first or second,
Causing the computer to further function as an index receiving unit that receives an operation for selecting an object existing in the acquired meal image and an operation for inputting the size information of the object, from a user;
The estimation unit estimates the amount of the material associated with the identified material image based on the input size information of the selected object.
Meal amount estimation program is obtained.

本発明によれば、第4の食事量推定プログラムとして、第1乃至第3のいずれかに記載の食事量推定方法であって、
前記取得部は、前記ユーザから第1の食事画像と当該第1の食事画像の摂取後の画像である第2の食事画像とを取得し、
前記補正部によって前記第1の食事画像に基づいて算定された第1の補正後栄養価と、前記第2の食事画像に基づいて算定された第2の補正後栄養価との差分を求める差分算定部、としてコンピュータを機能させる
食事量推定プログラムが得られる。
According to the present invention, as the fourth meal amount estimation program, the meal amount estimation method according to any one of the first to third,
The acquisition unit acquires from the user a first meal image and a second meal image that is an image after ingestion of the first meal image;
A difference for obtaining a difference between a first corrected nutritional value calculated based on the first meal image by the correction unit and a second corrected nutritional value calculated based on the second meal image. A meal amount estimation program for causing a computer to function as the calculation unit is obtained.

本発明によれば、第5の食事量推定プログラムとして、第4に記載の食事量推定プログラムであって、
前記取得部は、前記ユーザの前記食事画像に付与される時刻情報に基づいて、前記第1の食事画像及び前記第2の食事画像を特定して取得する、
食事量推定プログラムが得られる。
According to the present invention, as the fifth meal amount estimation program, the meal amount estimation program according to the fourth aspect,
The acquisition unit specifies and acquires the first meal image and the second meal image based on time information given to the meal image of the user.
Meal amount estimation program is obtained.

本発明によれば、
指標画像とサイズ情報とが関連付けられた指標画像データセットと、素材画像と素材名とが関連付けられた素材画像データセットと、前記素材と当該素材の栄養価とが関連付けられた栄養価データセットとを記憶するステップと、
ユーザの食事画像を取得するステップと、
前記食事画像に含まれる前記指標画像と素材画像とを特定するステップと、
特定した前記指標画像に関連付けられた前記サイズ情報に基づいて、特定した前記素材画像に関連付けられた前記素材の量を推定するステップと、
推定された前記素材の量に基づいて、前記素材に関連付けられた前記栄養価を補正し、補正後栄養価を算定するステップと、を含む
食事量推定方法が得られる。
According to the present invention,
An index image data set in which the index image and the size information are associated; a material image data set in which the material image and the material name are associated; and a nutrition value dataset in which the material and the nutrition value of the material are associated. The step of memorizing
Obtaining a meal image of the user;
Identifying the index image and the material image included in the meal image;
Estimating the amount of the material associated with the identified material image based on the size information associated with the identified index image;
Correcting the nutrition value associated with the material based on the estimated amount of the material, and calculating a corrected nutrition value.

本発明によれば、
指標画像とサイズ情報とが関連付けられた指標画像データセットと、素材画像と素材名とが関連付けられた素材画像データセットと、前記素材と当該素材の栄養価とが関連付けられた栄養価データセットとを記憶する手段と、
ユーザの食事画像を取得する手段と、
前記食事画像に含まれる前記指標画像と素材画像とを特定する手段と、
特定した前記指標画像に関連付けられた前記サイズ情報に基づいて、特定した前記素材画像に関連付けられた前記素材の量を推定する手段と、
推定された前記素材の量に基づいて、前記素材に関連付けられた前記栄養価を補正し、補正後栄養価を算定する手段と、を備える
食事量推定装置が得られる。
According to the present invention,
An index image data set in which the index image and the size information are associated; a material image data set in which the material image and the material name are associated; and a nutrition value dataset in which the material and the nutrition value of the material are associated. Means for storing
Means for obtaining a user's meal image;
Means for identifying the index image and the material image included in the meal image;
Means for estimating the amount of the material associated with the identified material image based on the size information associated with the identified index image;
Based on the estimated amount of the material, there is obtained a meal amount estimation device comprising: means for correcting the nutrition value associated with the material and calculating a corrected nutrition value.

本発明によれば、ユーザの摂取した食事の実質量を推定することができる。   According to the present invention, it is possible to estimate the actual amount of meal ingested by the user.

図1は、食事量推定プログラムの実施の形態によるユーザ端末画面例を示す図である。FIG. 1 is a diagram illustrating an example of a user terminal screen according to an embodiment of a meal amount estimation program. 図2は、図1のユーザ端末の機能構成を示すブロック図である。FIG. 2 is a block diagram showing a functional configuration of the user terminal of FIG. 図3は、食事画像の解析処理のフローわ示す図である。FIG. 3 is a diagram illustrating a flow of the meal image analysis process. 本実施の形態による食事画像から各素材を認識しているときの状態をと雌図である。It is a female figure with the state when each material is recognized from the meal image by this Embodiment. 本実施の形態による食事量推定プログラムの指標の例を示す模式図である。It is a schematic diagram which shows the example of the parameter | index of the meal amount estimation program by this Embodiment. 図5の指標を使用して素材の量を推定する方法の概念図である。It is a conceptual diagram of the method of estimating the quantity of a raw material using the parameter | index of FIG. 本実施の形態による食事量推定プログラムにおいて、予め素材量の量に応じた栄養価をを有している場合のデータテーブルの概念図である。In the meal amount estimation program by this Embodiment, it is a conceptual diagram of the data table in case it has the nutritional value according to the quantity of material amount previously. 指標とサイズ情報と、誤差範囲とが関連付けられたデータテーブルの概念図である。It is a conceptual diagram of a data table in which an index, size information, and an error range are associated with each other. 素材と栄養価とが関連付けられたデータテーブルの概念図である。It is a conceptual diagram of the data table with which the raw material and the nutritional value were linked | related. 本発明の第2の実施の形態に用いられる食後の状態の食事画像に含まれる各素材を認識している状態を示す図である。It is a figure which shows the state which has recognized each raw material contained in the meal image of the state after a meal used for the 2nd Embodiment of this invention.

(第1の実施の形態)
<概要>
以下、本発明の第1の実施の形態について、図面を参照しながら説明する。図1に示されるように、本発明の食事量推定プログラムは、ユーザ端末10のカメラ等を用いてユーザにより撮影された食事の写真(食事画像)に基づいて、写真に含まれる素材(白飯、魚、味噌汁等)の栄養価を推定するためのものである。より詳しくは、個体差が小さい指標に基づいて各素材の量(ふつう、大盛、ハーフ等)を推定し、より正確な栄養価計算に資するものである。
(First embodiment)
<Overview>
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. As shown in FIG. 1, the meal amount estimation program of the present invention is based on a meal photograph (meal image) taken by a user using a camera of the user terminal 10 or the like (a white rice, Fish, miso soup, etc.) for estimating the nutritional value. More specifically, the amount of each material (usually, large, half, etc.) is estimated based on an index with small individual differences, which contributes to more accurate nutritional value calculation.

<構成>
本実施形態の食事量推定プログラムは、情報処理装置(ユーザ端末)10を利用して具現化される。図2に示されるように、ユーザ端末10は、処理部11、メインメモリ12、外部メモリ13、インタフェース14、通信部15及びカメラ部16等を備え、これらはバスを介して電気的に相互に接続される。処理部11は、外部メモリ13に格納されたプログラム・モジュール、及びカメラ部16に格納された各種データ等をメインメモリ12にロードして、順次プログラムを実行することにより食事量推定プログラムによる処理を制御する。特に、処理部11は、カメラ部16を介して取得した食事写真に基づいて素材、量及び栄養価を算定してユーザが実際に摂取した素材の栄養価を推定する。インタフェース14は、タッチパネルやタッチキーボード等のユーザの操作を受け付ける。
<Configuration>
The meal amount estimation program of the present embodiment is implemented using the information processing apparatus (user terminal) 10. As shown in FIG. 2, the user terminal 10 includes a processing unit 11, a main memory 12, an external memory 13, an interface 14, a communication unit 15, a camera unit 16, and the like, which are electrically connected to each other via a bus. Connected. The processing unit 11 loads the program module stored in the external memory 13 and various data stored in the camera unit 16 into the main memory 12 and sequentially executes the program to execute processing by the meal amount estimation program. Control. In particular, the processing unit 11 calculates a material, an amount, and a nutritional value based on a meal photograph acquired via the camera unit 16, and estimates a nutritional value of the material actually ingested by the user. The interface 14 receives user operations such as a touch panel and a touch keyboard.

なお、ユーザ端末10の情報処理の全部又は一部を、ネットワークを介して接続された他の端末(サーバ、クラウドコンピュータと等)を利用して一以上の処理に分散することとしてもよい。この場合には、ユーザ端末10及び他の端末全体で情報処理装置が構成される。   Note that all or part of the information processing of the user terminal 10 may be distributed to one or more processes using other terminals (such as a server and a cloud computer) connected via a network. In this case, the information processing apparatus is configured by the user terminal 10 and other terminals as a whole.

<動作>
本実施の形態による食事量推定は、学習ステップと識別ステップとの2段階に分けられ、識別ステップは更に、食事内容特定ステップと素材量特定ステップと栄養価算定ステップの3つに分けることができる。
<Operation>
The meal amount estimation according to the present embodiment is divided into two stages, a learning step and an identification step, and the identification step can be further divided into three steps: a meal content identification step, a material amount identification step, and a nutritional value calculation step. .

学習ステップでは、写真に特定の素材が含まれているか否かを推定する素材識別器を素材ごとに学習することとなる。学習処理の流れとしては、食事画像に特定の素材が含まれているか否かを判定する。そして、素材名の有無をラベルとし、得られた特徴量を用いて、サポートベクターマシーン(Support Vector Machine: SVM)により素材識別器を学習する。この処理を各素材に対して行い,各素材に対する素材識別器を構築する。   In the learning step, a material discriminator for estimating whether or not a specific material is included in the photograph is learned for each material. As a flow of the learning process, it is determined whether or not a specific material is included in the meal image. Then, a material classifier is learned by a Support Vector Machine (SVM) using the obtained feature value using the presence or absence of the material name as a label. This process is performed for each material, and a material classifier for each material is constructed.

本実施の形態によるSVMは、2クラス判別のための教師あり学習によるパターン認識手法であり、多数の食事画像から抽出した素材一覧の中に識別したい素材が含まれるか否かを調べる。調べた結果からその素材が含まれているか否かを素材のラベルとする。食事画像から算出した特徴量とラベルを学習データとして、SVMにより食事画像中に含まれる各素材の識別器を構築する。   The SVM according to the present embodiment is a pattern recognition technique based on supervised learning for two-class discrimination, and checks whether a material to be identified is included in a material list extracted from a large number of meal images. From the result of the examination, whether or not the material is included is used as a material label. Using the feature amount and label calculated from the meal image as learning data, a classifier for each material included in the meal image is constructed by SVM.

識別ステップでは、学習で構築した識別器を用いて食事画像に各素材が含まれるか否かを特定して、食事画像から特徴量を算出し、識別器を用いて食事画像中の各素材を特定する食事内容特定ステップ、各素材中に含まれる指標(詳しくは後述する)の有無を抽出して指標がある場合には素材全体の大きさを算出する素材量特定ステップ、栄養価テーブルを参照して特定した素材の栄養価を特定した上で素材の大きさを考慮して栄養価を補正する栄養価算定ステップの順に処理が進む。   In the identification step, it is determined whether or not each material is included in the meal image using the classifier constructed by learning, the feature amount is calculated from the meal image, and each material in the meal image is calculated using the identifier. Steps to identify meal content to be identified, steps to extract the presence or absence of an index (details will be described later) contained in each material, and if there is an index, refer to the material amount identifying step to calculate the size of the whole material, and the nutrition value table Then, the process proceeds in the order of the nutritional value calculation step of specifying the nutritional value of the specified material and correcting the nutritional value in consideration of the size of the material.

以下、識別ステップについて更に詳しく説明する。図3に示されるように、ユーザ端末10は、カメラ部16によって撮影された食事の写真(以下、「料理画像」と呼ぶ)を読み込む(ステップS301)。読み込んだ食事画像から特徴量を算出し各素材を特定する。このとき、図4に示されるように、複数の素材が1枚の食事画像内に存在している場合には、素材毎にバウンディングボックスで領域を自動的に(又は手動で)特定することとしてもよい。   Hereinafter, the identification step will be described in more detail. As illustrated in FIG. 3, the user terminal 10 reads a meal photograph (hereinafter, referred to as a “cooking image”) taken by the camera unit 16 (step S <b> 301). The feature amount is calculated from the read meal image and each material is specified. At this time, as shown in FIG. 4, when a plurality of materials are present in one meal image, an area is automatically (or manually) specified by a bounding box for each material. Also good.

図4においては、ごはんを識別したボックス102、野菜の煮びたしを識別したボックス104、魚を識別したボックス106、味噌汁を識別したボックス108及びひじき和えを識別した110が表示されている。このとき、ボックスの近傍に特定した素材の名称を表示し、誤っている場合にはユーザによって訂正させることとしてもよい。   In FIG. 4, a box 102 that identifies rice, a box 104 that identifies boiled vegetables, a box 106 that identifies fish, a box 108 that identifies miso soup, and 110 that identifies elbow sauce are displayed. At this time, the name of the specified material is displayed in the vicinity of the box, and if it is incorrect, it may be corrected by the user.

続いて、食事画像の各素材から指標画像を特定する(ステップS303)。本実施の形態における指標とは、大きさにおいて個体差の少ないものが適用できる。本実施の形態においては「米粒」としている。指標画像の特定が終わると当該指標画像を用いて各素材のサイズを特定する(ステップS304)。   Subsequently, an index image is specified from each material of the meal image (step S303). As the index in the present embodiment, an index having a small individual difference can be applied. In this embodiment, “rice grain” is used. When the index image is specified, the size of each material is specified using the index image (step S304).

本実施の形態においては、図6に示されるように、標準的な米粒の直径として5mmというサイズを用いて、ごはん(素材)の大きさを算出することとしている。本実施の形態においては、ご飯のように「普通盛り」、「大盛り」「小盛り」のように慣例的にサイズが観念できる素材については、素材サイズの直径(最大長)が予め分類されている。詳しくは、図7に示されるように、直径が100〜130mmの場合には通常サイズのごはん(普通盛り)として認識し、直径が131〜150mmの場合には大きいサイズのごはん(大盛り)として認識し、直径が80〜99mmの場合は小さいサイズのごはん(小盛り)として認識する。   In the present embodiment, as shown in FIG. 6, the size of rice (raw material) is calculated using a standard rice grain diameter of 5 mm. In the present embodiment, the diameter (maximum length) of the material size is classified in advance for materials that can be conventionally sized, such as “normal”, “large”, and “small” like rice. Yes. Specifically, as shown in FIG. 7, when the diameter is 100 to 130 mm, it is recognized as a normal size rice (ordinary serving), and when the diameter is 131 to 150 mm, it is recognized as a large serving rice (large serving). However, when the diameter is 80 to 99 mm, it is recognized as a small-sized rice (small bowl).

なお、図7に示されるデータテーブルは、直径サイズに基づいて素材のサイズを分類しているが、指標を用いて素材の面積を算出し、面積に応じて素材のサイズを認識することとしてもよい。   The data table shown in FIG. 7 classifies the size of the material based on the diameter size, but it is also possible to calculate the area of the material using an index and recognize the size of the material according to the area. Good.

本実施の形態においては、米粒を指標としてすべての素材のサイズを算出し、これを素材の量としていたが、食事画像内に米がない場合には当該食事画像内に含まれている他の指標を用いることとしてもよい。例えば、図8に示されるような指標テーブルを参照して、食事画像内に存在する指標を特定することとしてもよい。   In the present embodiment, the size of all materials is calculated using rice grains as an index, and this is used as the amount of the material. However, when there is no rice in the meal image, other sizes included in the meal image are included. An index may be used. For example, an index existing in a meal image may be specified with reference to an index table as shown in FIG.

図8に示される指標テーブルは、指標と、指標サイズと、誤差とを含む。本実施の形態においては、指標テーブルに登録されている複数の指標画像が存在している場合、誤差が少ないものを指標として選択する。例えば、食事画像内にうどん(Udon noodle)と箸(chopsticks)との両方が含まれていた場合には、誤差の少ないうどんの幅(6mm)を使用して素材のサイズを算出する。   The index table shown in FIG. 8 includes an index, an index size, and an error. In the present embodiment, when there are a plurality of index images registered in the index table, an index with a small error is selected as an index. For example, when both udon noodles and chopsticks are included in the meal image, the size of the material is calculated using the width (6 mm) of the udon with less error.

また、食事画像内に指標テーブルに登録されている指標が存在しない場合には、ユーザによって、食事画像内の任意のオブジェクト(食材のサイズや皿のサイズ等およそのサイズがわかるもの等が好ましい)と、その実寸サイズとを登録させることとしてもよい。また、例えば、自分の指、硬貨、スケールなどの補助指標と一緒に撮影することとしてもよい。この場合、予め又は事後的に当該補助指標のサイズ情報を登録することとすればよい。   Further, when there is no index registered in the index table in the meal image, any object in the meal image by the user (preferably an approximate size such as the size of the food or the size of the dish is preferable) And the actual size may be registered. For example, it is good also as image | photographing together with auxiliary indicators, such as a finger | toe, a coin, and a scale. In this case, the size information of the auxiliary index may be registered in advance or afterwards.

次に、特定した各素材の栄養価を栄養価データベースに格納される栄養情報を読み込んで特定する(ステップS305)。栄養情報は、素材毎に、熱量、単数化物量、脂質、タンパク質、ビタミン群、ミネラル等の各種栄養量が登録されている。認識した素材は当該データベースを参照することによって栄養価が取得される。   Next, the nutrition value of each identified material is identified by reading the nutrition information stored in the nutrition value database (step S305). In the nutrition information, various nutrients such as calorific value, singularization amount, lipid, protein, vitamin group, mineral and the like are registered for each material. The recognized value of the recognized material is obtained by referring to the database.

続いて、特定した素材の量に基づいて素材の栄養価を補正する。栄養価の補正は、例えば、あらかじめ栄養価データベースに当該栄養量を有する標準的なサイズ情報(すなわち、その栄養価を取得した時に用いた素材のサイズ/面積等の大きさに関する情報)を関連付けておき、当該サイズとの比較に基づいて所定の係数を算定し、栄養価データベースの各値に当該係数を乗じて算出する。例えば、魚(鮭)の切り身について、標準的サイズ情報(120mm)と、当該サイズにおける標準栄養価とを関連付けけたデータセットを参照し、食事画像内の切り身の実寸サイズ情報(90mm)に応じて、標準栄養価に所定の係数を乗じて補正した栄養価を実栄養価として採用することとすればよい。   Subsequently, the nutritional value of the material is corrected based on the amount of the identified material. For example, the nutritional value is corrected by associating standard size information (that is, information on the size / area of the material used when the nutritional value is acquired) with the nutritional value database in advance. Then, a predetermined coefficient is calculated based on the comparison with the size, and each value in the nutritional value database is multiplied by the coefficient. For example, referring to a data set in which standard size information (120 mm) and standard nutritional value at the size are associated with each other for fish (carp) fillets, according to actual size information (90 mm) of the fillets in the meal image The nutritional value corrected by multiplying the standard nutritional value by a predetermined coefficient may be adopted as the actual nutritional value.

なお、補正の方法はこれに限られず、標準面積との比較することとしてもよい。このようにして各素材の補正後栄養価とその総和(補正後総栄養価)がユーザ端末10の画面に表示される(図1参照)。   The correction method is not limited to this, and it may be compared with a standard area. In this way, the corrected nutritional value and the total sum (corrected total nutritional value) of each material are displayed on the screen of the user terminal 10 (see FIG. 1).

以上説明した本発明の第1の実施の形態によれば、食事画像を撮影した際の食事とカメラの距離(すなわち食事画像の遠近)に応じて指標のサイズも変動することから、画像内に含まれる素材の量を適切に推定することができる。   According to the first embodiment of the present invention described above, the size of the index varies depending on the distance between the meal and the camera when the meal image is taken (that is, the perspective of the meal image). The amount of material contained can be estimated appropriately.

なお、食事画像の取得は、ユーザ端末のカメラ部等によって行われていてもよいし、(他のカメラ等によって撮影された場合などには)ユーザ端末又はこれと電気的に接続されたクラウド/ローカルストレージに格納された食事画像を直接またはネットワーク等を介して取得することとしてもよい。   The meal image may be acquired by the camera unit or the like of the user terminal, or the user terminal or the cloud / electrically connected to the user terminal (when taken by another camera or the like). The meal image stored in the local storage may be acquired directly or via a network or the like.

(第2の実施の形態)
本発明の第2の実施の形態による食事量推定プログラムは、食前及び食後の2枚の食事画像から、実際の摂取量を推定するものに関する。本実施の形態における、学習ステップ及び識別ステップは上述した第1の実施の形態とほぼ同じであるため、異なる部分のみ説明し、共通する部分は説明を省略する。本実施の形態においては、食前の食事画像及び食後の食事画像の夫々対して上述した栄養価を算定し、食前の食事画像に基づいて推定した栄養価から食後の食事画像に基づいて推定した栄養価を減じることにより、実際の摂取栄養価を推定する。
(Second Embodiment)
The meal amount estimation program according to the second embodiment of the present invention relates to a program for estimating an actual intake amount from two meal images before and after a meal. Since the learning step and the identification step in the present embodiment are almost the same as those in the first embodiment described above, only different parts will be described and description of common parts will be omitted. In the present embodiment, the nutritional value described above is calculated for each of the pre-meal meal image and the post-meal meal image, and the nutrition estimated based on the post-meal meal image from the nutritional value estimated based on the pre-meal meal image Estimate the actual nutritional value by subtracting the value.

食後の食事画像の識別ステップにおいては、図10に示されるように、食べ残された素材のみが特定される。即ち、残された野菜の煮びたしを認識するバウンディングボックス104’、残された魚を認識するバウンディングボックス106’、残されたひじき和えを認識するバウンディングボックス110’とが表示される。   In the post-meal meal image identification step, as shown in FIG. 10, only the uneaten material is specified. That is, a bounding box 104 ′ for recognizing the remaining boiled vegetables, a bounding box 106 ′ for recognizing the remaining fish, and a bounding box 110 ′ for recognizing the remaining elbows are displayed.

なお、本実施の形態においては、食前の食事画像と食後の食事画像を、カメラ部において撮影した際に画像と関連付けられて保存されるタイムスタンプによって自動で選定することとしてもよい。これにより、ユーザは食べ始めと食べ終わりの写真を撮影するだけで、容易に摂取した栄養価を知ることができる。   In the present embodiment, a meal image before a meal and a meal image after a meal may be automatically selected based on a time stamp that is stored in association with the image when the image is taken by the camera unit. As a result, the user can easily know the nutritional value ingested simply by taking pictures of the beginning and end of eating.

10 ユーザ端末
11 処理部
12 メインメモリ
13 外部メモリ
14 インターフェース
15 通信部
16 カメラ部
DESCRIPTION OF SYMBOLS 10 User terminal 11 Processing part 12 Main memory 13 External memory 14 Interface 15 Communication part 16 Camera part

Claims (7)

指標画像とサイズ情報とが関連付けられた指標画像データセットと、素材画像と素材名とが関連付けられた素材画像データセットと、前記素材と当該素材の栄養価とが関連付けられた栄養価データセットとを記憶する記憶部、
ユーザの食事画像を取得する取得部、
前記食事画像に含まれる前記指標画像と素材画像とを特定する特定部、
特定した前記指標画像に関連付けられた前記サイズ情報に基づいて、特定した前記素材画像に関連付けられた前記素材の量を推定する推定部、
推定された前記素材の量に基づいて、前記素材に関連付けられた前記栄養価を補正し、補正後栄養価を算定する補正部、としてコンピュータを機能させる
食事量推定プログラム。
An index image data set in which the index image and the size information are associated; a material image data set in which the material image and the material name are associated; and a nutrition value dataset in which the material and the nutrition value of the material are associated. A storage unit for storing,
An acquisition unit for acquiring a meal image of the user;
A specifying unit for specifying the index image and the material image included in the meal image;
An estimation unit that estimates an amount of the material associated with the identified material image based on the size information associated with the identified index image;
A meal amount estimation program for causing a computer to function as a correction unit that corrects the nutrition value associated with the material based on the estimated amount of the material and calculates a corrected nutrition value.
請求項1に記載の食事量推定プログラムであって、
前記指標画像データセットは、前記サイズ情報に関連付けられた誤差情報を更に含んでおり、
前記特定部は、前記食事画像に含まれる前記指標画像が複数ある場合に、より誤差の少ない指標画像を特定する、
食事量推定プログラム。
The meal amount estimation program according to claim 1,
The index image data set further includes error information associated with the size information,
The identifying unit identifies an index image with less error when there are a plurality of the index images included in the meal image;
Meal amount estimation program.
請求項1又は請求項2に記載の食事量推定プログラムであって、
前記コンピュータを、取得した前記食事画像内に存在するオブジェクトの選択操作と当該オブジェクトのサイズ情報の入力操作とをユーザから受付ける指標受付部として更に機能させ、
前記推定部は、選択された前記オブジェクトの入力された前記サイズ情報に基づいて、特定した前記素材画像に関連付けられた前記素材の量を推定する、
食事量推定プログラム。
The meal amount estimation program according to claim 1 or 2,
Causing the computer to further function as an index receiving unit that receives an operation for selecting an object existing in the acquired meal image and an operation for inputting the size information of the object from a user;
The estimation unit estimates the amount of the material associated with the identified material image based on the input size information of the selected object.
Meal amount estimation program.
請求項1乃至請求項3のいずれかに記載の食事量推定方法であって、
前記取得部は、前記ユーザから第1の食事画像と当該第1の食事画像の摂取後の画像である第2の食事画像とを取得し、
前記補正部によって前記第1の食事画像に基づいて算定された第1の補正後栄養価と、前記第2の食事画像に基づいて算定された第2の補正後栄養価との差分を求める差分算定部、としてコンピュータを機能させる
食事量推定プログラム。
A method for estimating the amount of meal according to any one of claims 1 to 3,
The acquisition unit acquires from the user a first meal image and a second meal image that is an image after ingestion of the first meal image;
A difference for obtaining a difference between a first corrected nutritional value calculated based on the first meal image by the correction unit and a second corrected nutritional value calculated based on the second meal image. A meal amount estimation program that causes a computer to function as a calculation unit.
請求項4に記載の食事量推定プログラムであって、
前記取得部は、前記ユーザの前記食事画像に付与される時刻情報に基づいて、前記第1の食事画像及び前記第2の食事画像を特定して取得する、
食事量推定プログラム。
A meal amount estimation program according to claim 4,
The acquisition unit specifies and acquires the first meal image and the second meal image based on time information given to the meal image of the user.
Meal amount estimation program.
指標画像とサイズ情報とが関連付けられた指標画像データセットと、素材画像と素材名とが関連付けられた素材画像データセットと、前記素材と当該素材の栄養価とが関連付けられた栄養価データセットとを記憶するステップと、
ユーザの食事画像を取得するステップと、
前記食事画像に含まれる前記指標画像と素材画像とを特定するステップと、
特定した前記指標画像に関連付けられた前記サイズ情報に基づいて、特定した前記素材画像に関連付けられた前記素材の量を推定するステップと、
推定された前記素材の量に基づいて、前記素材に関連付けられた前記栄養価を補正し、補正後栄養価を算定するステップと、を含む
食事量推定方法。
An index image data set in which the index image and the size information are associated; a material image data set in which the material image and the material name are associated; and a nutrition value dataset in which the material and the nutrition value of the material are associated. The step of memorizing
Obtaining a meal image of the user;
Identifying the index image and the material image included in the meal image;
Estimating the amount of the material associated with the identified material image based on the size information associated with the identified index image;
Correcting the nutrition value associated with the material based on the estimated amount of the material, and calculating a corrected nutrition value;
指標画像とサイズ情報とが関連付けられた指標画像データセットと、素材画像と素材名とが関連付けられた素材画像データセットと、前記素材と当該素材の栄養価とが関連付けられた栄養価データセットとを記憶する手段と、
ユーザの食事画像を取得する手段と、
前記食事画像に含まれる前記指標画像と素材画像とを特定する手段と、
特定した前記指標画像に関連付けられた前記サイズ情報に基づいて、特定した前記素材画像に関連付けられた前記素材の量を推定する手段と、
推定された前記素材の量に基づいて、前記素材に関連付けられた前記栄養価を補正し、補正後栄養価を算定する手段と、を備える
食事量推定装置。

An index image data set in which the index image and the size information are associated; a material image data set in which the material image and the material name are associated; and a nutrition value dataset in which the material and the nutrition value of the material are associated. Means for storing
Means for obtaining a user's meal image;
Means for identifying the index image and the material image included in the meal image;
Means for estimating the amount of the material associated with the identified material image based on the size information associated with the identified index image;
A meal amount estimation apparatus comprising: means for correcting the nutrition value associated with the material based on the estimated amount of the material and calculating a corrected nutrition value.

JP2017017468A 2017-02-02 2017-02-02 Meal size estimation program, meal size estimation method, and meal size estimation apparatus Pending JP2018049584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017017468A JP2018049584A (en) 2017-02-02 2017-02-02 Meal size estimation program, meal size estimation method, and meal size estimation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017017468A JP2018049584A (en) 2017-02-02 2017-02-02 Meal size estimation program, meal size estimation method, and meal size estimation apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016184171 Division 2016-09-21

Publications (1)

Publication Number Publication Date
JP2018049584A true JP2018049584A (en) 2018-03-29

Family

ID=61766424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017017468A Pending JP2018049584A (en) 2017-02-02 2017-02-02 Meal size estimation program, meal size estimation method, and meal size estimation apparatus

Country Status (1)

Country Link
JP (1) JP2018049584A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021060640A (en) * 2019-10-03 2021-04-15 株式会社リンクアンドコミュニケーション Nutrition calculation device
US11870241B2 (en) 2017-08-21 2024-01-09 Rohm Co., Ltd. Power control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11870241B2 (en) 2017-08-21 2024-01-09 Rohm Co., Ltd. Power control device
JP2021060640A (en) * 2019-10-03 2021-04-15 株式会社リンクアンドコミュニケーション Nutrition calculation device

Similar Documents

Publication Publication Date Title
US20220359058A1 (en) Meal service management system and operating method therefor
US9734426B2 (en) Automated food recognition and nutritional estimation with a personal mobile electronic device
US10803315B2 (en) Electronic device and method for processing information associated with food
US9703928B2 (en) Information processing apparatus, method, and computer-readable storage medium for generating food item images
Miyazaki et al. Image-based calorie content estimation for dietary assessment
US9424495B1 (en) Digital food imaging analysis: system and method to analyze food consumption
US9292565B2 (en) Template-based recognition of food product information
Pouladzadeh et al. You are what you eat: So measure what you eat!
US11823042B2 (en) System for measuring food weight
JPWO2018016214A1 (en) Image processing apparatus, image processing method and program
US10331953B2 (en) Image processing apparatus
CN112053428A (en) Method and device for identifying nutritional information contained in food
CN107851183A (en) System and method for providing recipe
JP2011028382A (en) Nutrition management server and nutrition management method for managing nutrition component of meal for each user
JP2018049584A (en) Meal size estimation program, meal size estimation method, and meal size estimation apparatus
JP5691533B2 (en) Information processing apparatus, method, and program
JP2024023957A (en) Processing apparatus, processing method, and program
KR20190047296A (en) Methods for management of nutrition and disease using food images
WO2020233586A1 (en) Food bill pushing method and apparatus, and computer readable storage medium
Chen et al. Toward dietary assessment via mobile phone video cameras
US20200092484A1 (en) Image display control apparatus, image display control method, program, and recording medium
CN110956075A (en) Image processing apparatus, image processing method, and recording medium
US20220254175A1 (en) An apparatus and method for performing image-based food quantity estimation
JP7478961B2 (en) Information provision device, information provision system, information provision method, and program
US20240153124A1 (en) Methods and apparatuses for amount of object using two dimensional image