Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7626487B2 - Dementia and/or depression prediction AI system and teacher data creation method - Google Patents
[go: Go Back, main page]

JP7626487B2 - Dementia and/or depression prediction AI system and teacher data creation method - Google Patents

Dementia and/or depression prediction AI system and teacher data creation method Download PDF

Info

Publication number
JP7626487B2
JP7626487B2 JP2023145755A JP2023145755A JP7626487B2 JP 7626487 B2 JP7626487 B2 JP 7626487B2 JP 2023145755 A JP2023145755 A JP 2023145755A JP 2023145755 A JP2023145755 A JP 2023145755A JP 7626487 B2 JP7626487 B2 JP 7626487B2
Authority
JP
Japan
Prior art keywords
dementia
depression
data
degree
user
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.)
Active
Application number
JP2023145755A
Other languages
Japanese (ja)
Other versions
JP2024086560A (en
Inventor
欣洋 藤川
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.)
F&F CO., LTD.
Original Assignee
F&F CO., LTD.
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 F&F CO., LTD. filed Critical F&F CO., LTD.
Publication of JP2024086560A publication Critical patent/JP2024086560A/en
Priority to JP2025005682A priority Critical patent/JP7773266B2/en
Priority to JP2025005687A priority patent/JP7816821B2/en
Priority to JP2025005683A priority patent/JP7787616B2/en
Priority to JP2025005684A priority patent/JP7787617B2/en
Priority to JP2025005685A priority patent/JP7803598B2/en
Priority to JP2025005688A priority patent/JP7816822B2/en
Priority to JP2025005686A priority patent/JP7803599B2/en
Application granted granted Critical
Publication of JP7626487B2 publication Critical patent/JP7626487B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Medical Treatment And Welfare Office Work (AREA)

Description

本発明は、病状判断のAIに関し、詳しくは、認知症及び/又はうつ病の推定を顔写真により行う技術に関するものである。 The present invention relates to AI for assessing medical conditions, and more specifically, to technology for estimating dementia and/or depression using facial photographs.

認知症及びうつ病については、早期発見、早期治療が重要である。症状を発見する方法の一つとして、対象者の顔写真をAIで判別し、認知症度、うつ病度を推定する方法がある。
しかし、一般的にこのようなシステムを構築するには、医療機関で管理する情報が必要であり、他の事業者が容易に行うことはできなかった。
そこで、病院以外の場所で得られる情報から、AIを用いて対象者の認知症やうつ病の程度を推定する方法が求められていた。
Early detection and treatment of dementia and depression are important. One method for detecting symptoms is to use AI to identify the subject's facial photograph and estimate the degree of dementia or depression.
However, building such a system generally requires information managed by the medical institution, and it is not easy for other businesses to do so.
There was therefore a need for a method that could use AI to estimate the degree of a subject's dementia or depression from information obtained outside of a hospital.

このような問題に対して、従来からも様々な技術が提案されている。例えば、AIによる画像解析による医者の診断補助(特許文献1参照)が提案され、公知技術となっている。より詳しくは、被検体を撮像した画像データと、所見データと、被検体の生活習慣情報、食生活習慣情報とから成る教師データを用いて、画像データと被検体情報を入力し、所見データを出力するための機械学習を行い、このAIを用いて所見データを出力する装置である。
しかしながら、本先行技術のデータ取得は病院にて行われるため、他の事業者で対応できず、上記問題の解決には至っていない。
To address such problems, various techniques have been proposed. For example, a technique for assisting doctors in diagnosis by image analysis using AI (see Patent Literature 1) has been proposed and is a known technique. More specifically, this is a device that uses training data consisting of image data of an image of a subject, findings data, and lifestyle and dietary habits information of the subject, inputs image data and subject information, performs machine learning to output findings data, and outputs the findings data using this AI.
However, since data acquisition in this prior art is carried out at the hospital, other businesses cannot handle it, and the above problem is not resolved.

特開2021-108800号JP 2021-108800 A

本発明は、上記問題点に鑑み、病院以外の場所にて取得した情報に基づき、対象者の認知症及び/又はうつ病の程度を推定可能なAIを構築することを課題とするものである。 In consideration of the above problems, the present invention aims to develop an AI that can estimate the degree of dementia and/or depression of a subject based on information obtained in a place other than a hospital.

上記課題を解決するため、本発明は、認知症及び/又はうつ病の程度を推定するシステムにおける教師データ作成方法であって、AIの教師データとなる情報は、利用者が処方箋に応じた薬を受け取る場所、又は、利用者が使用する携帯端末のアプリケーションから取得可能であり、該教師データとして、少なくとも該利用者の顔写真と処方箋又は指示書又は、該利用者の認知症及び/又はうつ病を推定可能な情報と、を含む手段を採る。 To solve the above problems, the present invention provides a method for creating training data for a system that estimates the degree of dementia and/or depression, in which information serving as training data for AI can be obtained from a location where a user receives prescription medication or from an application on a mobile device used by the user, and the training data includes at least a facial photograph of the user and a prescription or instruction sheet, or information that can estimate the user's dementia and/or depression.

前記利用者の認知症及び/又はうつ病を推定可能な情報は、前記利用者への質問により取得する手段を採る。 Information that can be used to infer the user's dementia and/or depression is obtained by asking questions to the user.

また、本発明は、前記教師データの例題データとして、前記利用者の顔写真である無表情の顔写真と笑顔の顔写真の2つを用い、前記教師データの正解データとして、前記処方箋又は指示書に記載された薬の種類と量から推定した認知症度及びうつ病度を用い、機械学習を行うための教師データを作成する手段を採る。 The present invention also employs a means for creating training data for machine learning using two facial photographs of the user, one with a blank expression and one with a smiling expression, as example data for the training data, and using the degree of dementia and depression estimated from the type and amount of medication listed on the prescription or instructions as correct answer data for the training data.

さらに、本発明は、前記教師データの例題データとして、前記利用者の顔写真である無表情の顔写真又は笑顔の顔写真のいずれか1つを用い、前記教師データの正解データとして、前記処方箋又は指示書に記載された薬の種類と量から推定した認知症度及びうつ病度を用い、機械学習を行うための教師データを作成する手段を採る。 Furthermore, the present invention employs a means for creating training data for machine learning by using either a facial photograph of the user with a neutral expression or a facial photograph of a smiling expression as example data for the training data, and using the degree of dementia and depression estimated from the type and amount of medication listed on the prescription or instructions as correct answer data for the training data.

またさらに、本発明は、前記教師データの前記例題データとして、年齢、性別、病歴、家族の病歴を含む手段を採る。 Furthermore, the present invention employs a means for including age, sex, medical history, and family medical history as the example data of the training data.

さらにまた、本発明は、前記教師データの前記例題データとして、前記利用者の顔写真から抽出された特徴量を用いる手段を採る。 Furthermore, the present invention employs a means for using features extracted from a facial photograph of the user as the example data of the training data.

またさらに、本発明は、前記特徴量として、少なくとも口角の下がり度、まぶたの下がり度、ほほの下がり度、眉の下がり度、開口度のいずれかを持つ手段を採る。 Furthermore, the present invention employs a means for having, as the feature amount, at least one of the degree of drooping of the corners of the mouth, the degree of drooping of the eyelids, the degree of drooping of the cheeks, the degree of drooping of the eyebrows, and the degree of mouth opening.

さらにまた、本発明は、特定の認知症度及びうつ病度時に予想される前記特徴量を推定し、推定された前記特徴量を前記例題データとし、その際、予想される前記認知症度及びうつ病度を前記正解データとし、機械学習を行う手段を採る。 Furthermore, the present invention estimates the feature values predicted for a specific dementia level and depression level, sets the estimated feature values as the example data, and employs a means for performing machine learning by setting the predicted dementia level and depression level as the correct answer data.

またさらに、本発明は、前記いずれかの教師データを用いた認知症及び/又はうつ病推定AIシステムであって、対象者の顔写真によって、該対象者の前記認知症度及びうつ病度を推定する手段を採る。 Furthermore, the present invention provides an AI system for predicting dementia and/or depression that uses any of the above-mentioned training data and employs a means for predicting the degree of dementia and depression of a subject based on a facial photograph of the subject.

さらにまた、本発明は、薬局にて、利用者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、アドバイスを通知する手段を採る。 Furthermore, the present invention employs a means for taking a photograph of the user's face at the pharmacy and providing advice based on the results of the AI system.

またさらに、本発明は、対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、動画コンテンツに誘導する手段を採る。 Furthermore, the present invention employs a means for taking a photograph of the subject's face and directing the subject to video content depending on the results of the AI system.

さらにまた、本発明は、対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、専門の医療機関を紹介する手段を採る。 Furthermore, the present invention employs a method for taking a photograph of the subject's face and referring them to a specialized medical institution depending on the results of the AI system.

またさらに、本発明は、対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、家族にアドバイスを通知する手段を採る。 Furthermore, the present invention employs a means for taking a photograph of the subject's face and notifying the family of advice based on the results of the AI system.

そしてまた、本発明は、OTC医療品販売店にて、利用者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、アドバイスを通知する手段を採る。 The present invention also employs a method for taking a facial photo of the user at an OTC medical store and providing advice based on the results of the AI system.

またさらに、本発明は、利用者が使用する携帯端末で撮影した、利用者の顔写真を、ネットワークを介して取得可能であり、取得した該顔写真に対する前記AIシステムの結果に応じて、アドバイスを通知する手段を採る。 Furthermore, the present invention employs a means for acquiring a facial photograph of the user taken with a mobile device used by the user via a network, and for notifying advice based on the results of the AI system for the acquired facial photograph.

本発明に係る認知症及び/又はうつ病推定AIシステム並びに教師データ作成方法によれば、病院以外の場所で、対象者の認知症やうつ病の程度を推定するAIを構築するための情報を取得できるので、病院関係者に限らず、認知症及び/又はうつ病を推定するAIを構築できる。
また、利用者が使用する携帯端末のアプリケーションを活用することによって、認知症及び/又はうつ病を推定するAIを構築するための情報を容易に多く取得することができる。
According to the dementia and/or depression prediction AI system and teacher data creation method of the present invention, information for constructing an AI that predicts the degree of dementia or depression of a subject can be obtained outside of a hospital, so that AI that predicts dementia and/or depression can be constructed by anyone, not just hospital personnel.
In addition, by utilizing applications on the mobile devices used by users, a large amount of information can be easily obtained to build AI that predicts dementia and/or depression.

本発明に係る教師データ作成方法の実施例を示すフロー図である。FIG. 2 is a flow chart showing an embodiment of a teacher data creation method according to the present invention. 本発明に係る教師データ作成方法の実施例を示す模式図である。FIG. 1 is a schematic diagram showing an embodiment of a teacher data creation method according to the present invention. 本発明に係る教師データ作成方法における正解データを生成する際の実施例を示す算出表である。1 is a calculation table showing an example of generating correct answer data in the teaching data generating method according to the present invention. 本発明に係る教師データ作成方法における教師データの実施例を示す表図である。1 is a table showing an example of teacher data in a teacher data creation method according to the present invention; 本発明に係る認知症及び/又はうつ病推定AIシステムにおけるAIの動作例を示す模式図である。FIG. 2 is a schematic diagram showing an example of AI operation in the dementia and/or depression prediction AI system according to the present invention. 本発明に係る教師データ作成方法の他の実施例を示すフロー図である。FIG. 11 is a flow chart showing another embodiment of the teaching data creation method according to the present invention. 本発明に係る認知症及び/又はうつ病推定AIシステムにおける顔の特徴量を抽出する際の実施例を示す模式図である。FIG. 1 is a schematic diagram showing an example of extracting facial features in the dementia and/or depression prediction AI system according to the present invention. 本発明に係る教師データ作成方法における教師データの他の実施例を示す表図である。FIG. 11 is a table showing another embodiment of the teacher data in the teacher data creation method according to the present invention. 本発明に係る教師データ作成方法における教師データの実施例を示すフロー図である。FIG. 2 is a flow diagram showing an example of teacher data in the teacher data creation method according to the present invention. 本発明に係る教師データ作成方法における教師データの実施例を示す説明図である。FIG. 2 is an explanatory diagram showing an example of teacher data in the teacher data creation method according to the present invention; 本発明に係る認知症及び/又はうつ病推定AIシステムにおける薬局での実施例を示すフロー図である。FIG. 11 is a flow chart showing an example of an embodiment of the dementia and/or depression prediction AI system of the present invention at a pharmacy. 本発明に係る認知症及び/又はうつ病推定AIシステムにおける見守りサポートでの実施例を示すフロー図である。FIG. 1 is a flow chart showing an example of monitoring support in the dementia and/or depression prediction AI system according to the present invention. 本発明に係る他の実施例のシステム図である。FIG. 11 is a system diagram of another embodiment of the present invention. 本発明に係る他の実施例の携帯端末の画面の図である。FIG. 11 is a diagram of a screen of a mobile terminal according to another embodiment of the present invention. 本発明に係る他の実施例の教師データ生成のための情報を示す表である。13 is a table showing information for generating training data in another embodiment of the present invention. 本発明に係る他の実施例の教師データ取得手順を示すフロー図である。FIG. 11 is a flowchart showing a procedure for acquiring teacher data according to another embodiment of the present invention. 本発明に係る認知症及び/又はうつ病推定AIシステムにおける携帯端末での実施例を示すフロー図である。FIG. 11 is a flow chart showing an example of a dementia and/or depression prediction AI system according to the present invention on a mobile terminal.

本発明に係る認知症及び/又はうつ病推定AIシステム並びに教師データ作成方法は、病院以外の場所で対象者の認知症やうつ病の程度を推定するための情報を取得でき、それにより病院関係者に限らず認知症及び/又はうつ病を推定するAIの構築が可能であることを最大の特徴とする。
以下、本発明に係る認知症及び/又はうつ病推定AIシステム並びに教師データ作成方法の実施形態を、図面に基づいて説明する。
The greatest feature of the dementia and/or depression prediction AI system and teacher data creation method of the present invention is that it can obtain information for estimating the degree of dementia or depression of a subject in a location other than a hospital, thereby making it possible to construct AI that can predict dementia and/or depression not only for hospital personnel but also for anyone other than hospital personnel.
Hereinafter, embodiments of the dementia and/or depression prediction AI system and teacher data creation method according to the present invention will be described with reference to the drawings.

尚、以下に示される認知症及び/又はうつ病推定AIシステム並びに教師データ作成方法の全体構成及び各部の構成は、下記に述べる実施例に限定されるものではなく、本発明の技術的思想の範囲内、即ち、同一の作用効果を発揮できる構成等の範囲内で適宜変更することができるものである。
また、本発明は、認知症及び/又はうつ病推定AIシステム並びに教師データ作成方法であるので、当然に、認知症推定AIシステム、うつ病推定AIシステム、認知症及びうつ病推定AIシステムを含むが、実施例においては、認知症及びうつ病を推定する場合の例を重点的に説明する。
認知症推定AIシステムの場合は、他の要素であるうつ病の要素を除くことで、容易にシステムを構築できる。うつ病推定AIシステムの場合も同様である。
また、実施例において、利用者とは、教師データを提供に協力してもらう人であり、対象者とは、AIを用いて、病状の推定を受ける人をいう。
Furthermore, the overall configuration and the configuration of each part of the dementia and/or depression prediction AI system and teacher data creation method described below are not limited to the examples described below, and can be modified as appropriate within the scope of the technical idea of the present invention, i.e., within the scope of configurations that can achieve the same functional effects.
In addition, since the present invention is a dementia and/or depression estimation AI system and a teacher data creation method, it naturally includes a dementia estimation AI system, a depression estimation AI system, and a dementia and depression estimation AI system, but the examples will focus on examples of estimating dementia and depression.
In the case of a dementia prediction AI system, the system can be easily constructed by excluding the depression factor, which is another factor. The same is true for a depression prediction AI system.
In addition, in the embodiments, a user refers to a person who cooperates in providing training data, and a subject refers to a person whose medical condition is estimated using AI.

図1から図5に従って、本発明を説明する。
図1は、本発明に係る教師データ作成方法の実施例を示すフロー図である。図2は、本発明に係る教師データ作成方法の実施例を示す模式図であり、(a)は薬局内で行われるデータ取得作業の模式図、(b)は利用者の顔写真から例題データを作る作業の模式図、(c)は処方箋等から正解データを作る作業の模式図である。図3は、本発明に係る教師データ作成方法における正解データを生成する際の実施例を示す算出表であり、(a)は認知症度及びうつ病度を推定算出する表、(b)は実際に薬の種類と薬の量を入れて認知症度及びうつ病度を推定算出した算出表である。図4は、本発明に係る教師データ作成方法における教師データの実施例を示す表図であり、(a)は正解データが度数10%刻みになっている例、(b)は度数が1又は0の場合、(c)は例題データに年齢等を含める場合を示している。図5は、本発明に係る認知症及び/又はうつ病推定AIシステムにおけるAIの動作例を示す模式図であり、(a)はAIで認知症等を推定する例、(b)はAIで機械学習を行う過程を示している。
The present invention will be described with reference to FIGS.
FIG. 1 is a flow diagram showing an embodiment of the teacher data creation method according to the present invention. FIG. 2 is a schematic diagram showing an embodiment of the teacher data creation method according to the present invention, where (a) is a schematic diagram of data acquisition work performed in a pharmacy, (b) is a schematic diagram of the work of creating example data from a user's face photo, and (c) is a schematic diagram of the work of creating correct data from a prescription or the like. FIG. 3 is a calculation table showing an embodiment of generating correct answer data in the teacher data creation method according to the present invention, where (a) is a table for estimating and calculating the dementia degree and depression degree, and (b) is a calculation table for estimating and calculating the dementia degree and depression degree by actually entering the type and amount of medicine. FIG. 4 is a table diagram showing an embodiment of teacher data in the teacher data creation method according to the present invention, where (a) is an example in which the correct answer data is in 10% frequency increments, (b) is a case where the frequency is 1 or 0, and (c) is a case where age, etc. are included in the example data. FIG. 5 is a schematic diagram showing an example of AI operation in the dementia and/or depression prediction AI system of the present invention, where (a) shows an example of dementia, etc. being predicted by AI, and (b) shows the process of machine learning being performed by AI.

認知症及び/又はうつ病推定AI1は、認知症、うつ病の程度を推定するAIであり、機械学習によって推定能力を向上させている。
認知症及び/又はうつ病推定AI1を構築する方法の1つとして、教師データを生成し、AIに対して大量に学習させることで、精度の高い推定を行う方法がある。
教師データとは、AIに機械学習させるためのデータである。教師データとしては、例題データと正解データを対にして生成することが多い。
例題データとは、AIに推定させたい事象を表すデータであり、正解データとは、AIに回答させたいデータである。
The dementia and/or depression estimation AI1 is an AI that estimates the degree of dementia and depression, and its estimation capabilities are improved through machine learning.
One method for constructing a dementia and/or depression prediction AI1 is to generate training data and have the AI learn a large amount of it to make highly accurate predictions.
Teacher data is data used to train AI in machine learning. Teacher data is often generated by pairing example data with correct answer data.
Example data is data that represents the phenomenon that you want the AI to estimate, and answer data is data that you want the AI to answer.

AIに、病気であるか否かを推定させる場合には、例えば、例題データとして対象者の症状等とし、正解データとして対象者の病名とする。このような教師データを大量にAIに学習させることによって、病気を推定するAIが構築される。 When asking an AI to estimate whether or not a person has an illness, for example, the subject's symptoms are used as example data, and the name of the subject's illness is used as correct answer data. By having the AI learn a large amount of such training data, an AI that can estimate illness is constructed.

病気として、認知症やうつ病を対象とする場合、医師の診断時に、顔の表情等を見ることが診断の一環として行われている。
AIで認知症やうつ病を推定するシステムを検討する場合、対象者の顔の表情はカメラなどで撮影することで取得可能であるが、対象者の病名は、医師がカルテ等で管理しており、そのデータを病院外に持ち出すことは一般的に困難である。
When examining illnesses such as dementia or depression, doctors often look at facial expressions as part of their diagnosis.
When considering a system that uses AI to predict dementia or depression, the subject's facial expressions can be obtained by photographing them with a camera, but the subject's illness is managed by a doctor in a medical record, etc., and it is generally difficult to take that data outside the hospital.

そこで本実施例では、薬局にて、処方箋等から対象者の病名や程度を推定し、教師データを取得することとした。
言い換えれば、利用者が処方箋に応じた薬を受け取る場所で、AIの教師データとなる情報を取得し、該教師データとして、少なくとも該利用者の顔写真と該処方箋又は指示書を含む教師データ作成方法である。
教師データとなる情報とは、教師データのもととなる情報と教師データとして用いられる情報とを含む。
処方箋等とは、少なくとも、処方箋、お薬手帳、指示書を含む。指示書とは、投薬指示書とも言い、医師が、投薬の時間や量を、保護者や施設等に指示する書面である。
図1と図2に沿って、教師データを取得する手順を説明する。
図1は、教師データ40を生成するフローである。図2は、教師データ40を生成する手順を示す図である。
情報の収集は、薬局10で行われる。ここでの薬局とは、病院と独立した事業者としての薬局と病院内の設置された薬局の両方を含む。扱うデータはどちらも同じである。
まず、薬局10の利用者Pから処方箋31の内容を取得する。処方箋31と共に、お薬手帳30や指示書の内容を取得しても良い。利用者Pは、処方箋31、お薬手帳30に記載の薬を得るために薬局10に来ているのであるから、処方箋31の取得は容易にできる。
薬の調合とは別に、認知症及び/又はうつ病推定AI1を構築するために処方箋31やお薬手帳30、指示書の情報を活用する許可を取り、情報を取得する(S101、図2(a))。
次に、認知症及び/又はうつ病推定AI1を構築するために、利用者の顔写真12の取得の許可を取り、利用者Pを撮影装置11で撮影し、利用者の顔写真12を取得する(S102、図2(a))。
利用者の顔写真12として、利用者の無表情の顔写真13と利用者の笑顔の顔写真14を取得する。無表情の顔とは、自然な普通の顔ともいえる。
認知症やうつ病の場合、顔の表情を見ると、目に生気が無かったり、まぶたが下がったり、全体として、表情が乏しくなる傾向があると、言われている。また、笑顔も不自然であったり、笑顔が無表情と変わらなかったりする場合もある。
そこで、利用者の顔写真として、無表情の写真と笑顔の写真を用いることで、一般の人と認知症、うつ病の人との差を強調することができる。
無表情の写真の撮影時は、「無表情にしてください。」とは言いにくい場合、「自然な普通の顔写真を撮らせてください」等の表現を用いても良い。
S101、S102によって、利用者からの情報の取得は完了する。
Therefore, in this embodiment, the name and severity of the subject's illness is estimated from the prescription, etc. at the pharmacy, and training data is obtained.
In other words, this is a method for creating teacher data in which information that serves as teacher data for AI is obtained at the location where the user receives the prescription medication, and the teacher data includes at least a photograph of the user's face and the prescription or instructions.
The information that serves as the teacher data includes information that serves as the basis of the teacher data and information that is used as the teacher data.
Prescriptions, etc. include at least prescriptions, medicine notebooks, and instructions. Instructions, also called medication instructions, are documents in which a doctor instructs a guardian or facility on the time and amount of medication to be administered.
The procedure for acquiring teacher data will be described with reference to FIG. 1 and FIG.
Fig. 1 shows a flow for generating teacher data 40. Fig. 2 shows a procedure for generating the teacher data 40.
The information is collected by the pharmacy 10. The pharmacy here includes both pharmacies that are independent of the hospital and pharmacies that are installed within the hospital. The data handled is the same in both cases.
First, the contents of the prescription 31 are obtained from the user P at the pharmacy 10. The contents of the medicine notebook 30 and the instruction sheet may be obtained together with the prescription 31. Since the user P has come to the pharmacy 10 to obtain the medicine listed on the prescription 31 and the medicine notebook 30, obtaining the prescription 31 can be done easily.
Apart from dispensing medication, permission is obtained to use information from the prescription 31, medication notebook 30, and instructions to build the dementia and/or depression prediction AI1, and the information is acquired (S101, Figure 2 (a)).
Next, in order to construct the dementia and/or depression prediction AI1, permission is obtained to obtain a facial photograph 12 of the user P, a photograph of the user P is taken with the photographing device 11, and the facial photograph 12 of the user is obtained (S102, FIG. 2(a)).
As the user's facial photograph 12, a facial photograph 13 of the user with a neutral expression and a facial photograph 14 of the user with a smiling expression are acquired. An expressionless face can be said to be a natural, ordinary face.
It is said that in cases of dementia or depression, the eyes tend to look lifeless, the eyelids droop, and the overall expression tends to be lacking. In addition, the smile may be unnatural or may be no different from an expressionless face.
Therefore, by using facial photos of the user with both a blank expression and a smiling expression, the difference between normal people and those with dementia or depression can be emphasized.
When taking a photo with a blank expression, if it is difficult to say, "Please make sure you have a blank expression," you can use a phrase such as, "Please let me take a photo of your face in a natural, normal way."
By steps S101 and S102, the acquisition of information from the user is completed.

次に、処方箋31等に記載の薬の種類と量から認知症やうつ病の有無、程度を推定する(S103、図2(b))。薬剤師等であれば、ある程度推定可能であるが、ばらつきを軽減するため、算出表43を用いる。算出表の一例を図3(a)に示す。算出表43によって、正解データが生成させる。
次に、利用者の顔写真12から顔写真データ20を生成する。一般的に、スタジオ等以外で撮影された顔写真は、画角、解像度、背景等が異なるので、同様の画角、解像度、背景になるように、画像補正をおこなうことで、例題データ41として、適当な顔写真データ20とすることができる(S104、図2(c))。
顔写真データ20は、無表情の顔写真データ21と笑顔の顔写真データ22とから成る。
一連の作業によって、1つの教師データが完成する(S105)。
言い換えれば、一連の流れは、教師データの例題データとして、利用者の顔写真を用い、教師データの正解データとして、処方箋又は指示書に記載された薬の種類、量から推定した認知症度及びうつ病度を用い、機械学習を行うための教師データを生成することである。
教師データの数を増やすことで、機械学習の精度を高めることができる。
Next, the presence or absence and the degree of dementia or depression are estimated from the type and amount of medicine written on the prescription 31, etc. (S103, FIG. 2(b)). A pharmacist or the like can estimate to some extent, but in order to reduce variability, a calculation table 43 is used. An example of the calculation table is shown in FIG. 3(a). Correct answer data is generated by the calculation table 43.
Next, facial photograph data 20 is generated from the user's facial photograph 12. Generally, facial photographs taken outside a studio or the like have different angles of view, resolutions, backgrounds, etc., so by performing image correction so that the angles of view, resolutions, and backgrounds are similar, appropriate facial photograph data 20 can be generated as example data 41 (S104, FIG. 2(c)).
The face photograph data 20 consists of expressionless face photograph data 21 and smiling face photograph data 22.
Through this series of operations, one piece of teacher data is completed (S105).
In other words, the process involves using a photo of the user's face as example data for the training data, and using the level of dementia and depression estimated from the type and amount of medication listed on the prescription or instructions as correct answer data for the training data, to generate training data for machine learning.
The accuracy of machine learning can be improved by increasing the amount of training data.

処方箋31、お薬手帳30、指示書から認知症度及びうつ病度を推定するために、算出表43を用いる。
算出表43には、薬の種類と量を記載する欄があり、利用者の情報に沿って記入する。認知症及びうつ病の欄があり、それぞれ薬の種類に応じた係数が記載されている。それぞれの病気に関連の深い薬は係数が高く、関係性の低い薬は係数が低い。
薬の種類と量を記入することによって、評価点が決まる。評価点を合計することで、各病気の程度がわかる。正解データとするには、0から100%等の正規化が必要なので、所定の数で正規化する。正解データとしては、%で表す方法と、1か0で表す方法の2種類を算出する。
図3(b)に、具体的な数字による算出例を示す。本例では、認知症に関連する薬が多いため、認知症の評価点の合計は23点、うつ病の評価点の合計は4点となっている。一例として30で正規化し、認知症の評価が76.7%、うつ病の評価が13.3%である。正解データとしては、10段階とする正解データ1と1,0の2段階とする正解データ2を生成する。
正解データ1は、認知症度70%・うつ病度10%となり、正解データ2は、認知症度1・うつ病度0となる。
この作業によって、認知症度及びうつ病度の正解データを生成する。
A calculation table 43 is used to estimate the degree of dementia and depression from the prescription 31, medicine book 30, and instructions.
The calculation table 43 has a column for recording the type and amount of medication, which is to be filled in according to the user's information. There are columns for dementia and depression, and coefficients are recorded according to the type of medication. Drugs closely related to each disease have high coefficients, and drugs less related have low coefficients.
An evaluation score is determined by entering the type and amount of medication. The severity of each illness can be determined by adding up the evaluation scores. To make the data correct, normalization is required, such as from 0 to 100%, so normalization is performed using a predetermined number. There are two ways to calculate correct data: by expressing it as a percentage, or by expressing it as 1 or 0.
3B shows a calculation example using specific numbers. In this example, since there are many medications related to dementia, the total evaluation score for dementia is 23 points, and the total evaluation score for depression is 4 points. As an example, normalization is performed by 30, and the evaluation of dementia is 76.7% and the evaluation of depression is 13.3%. As correct answer data, correct answer data 1 with 10 levels and correct answer data 2 with two levels of 1 and 0 are generated.
Correct answer data 1 has a dementia level of 70% and a depression level of 10%, while correct answer data 2 has a dementia level of 1 and a depression level of 0.
Through this process, correct data on the dementia level and depression level are generated.

図4は、教師データの例を示す。図4(a)は、教師データの例題データとして顔写真データ20を用い、顔写真データ20として、無表情の顔写真21と笑顔の顔写真データ22を用いている。
正解データとして、認知症・うつ病とも10段階のデータとしている。正解データは、10段階×10段階で100個の正解の要素があるので、機械学習のための教師データの数も、それに応じて大量に必要となる。
図4(b)は、教師データの正解データとして、認知症・うつ病とも2段階のデータとした場合である。正解データは、2段階×2段階で4個の正解の要素となるので、機械学習のための教師データの数は、図4(a)の場合に比べれば少なくすむ場合もある。
図4(c)は、例題データとして、顔写真データ以外に利用者の年齢、性別、病歴を加えた場合である。家族の病歴を加えることもできる。多くのデータを用いることで、推定が容易になる場合もある。但し、AIを活用する際には、学習時の同様のデータを入力する必要があるので、この場合は、顔写真データ以外に利用者の年齢、性別、病歴を入力する必要があり、汎用性は低くなる。
4A shows an example of training data. In FIG. 4A, face photo data 20 is used as example data of the training data. As the face photo data 20, a face photo 21 of a neutral face and a face photo 22 of a smiling face are used.
The correct answer data for both dementia and depression is 10-level data. The correct answer data has 100 correct answer elements, 10 levels x 10 levels, so a correspondingly large amount of training data is required for machine learning.
Fig. 4(b) shows a case where the correct answer data for the training data is two-level data for both dementia and depression. The correct answer data is two levels x two levels, which is four correct answer elements, so the amount of training data for machine learning may be less than that in the case of Fig. 4(a).
FIG. 4(c) shows an example data set in which the user's age, sex, and medical history are added in addition to the face photo data. Family medical history can also be added. Using a lot of data can make estimation easier. However, when using AI, it is necessary to input the same data as when learning, so in this case, it is necessary to input the user's age, sex, and medical history in addition to the face photo data, which reduces versatility.

図5に沿って、AIの学習及び活用時の動作の概要を説明する。機械学習システム50は、ニューラルネットワークによる深層学習(ディープラーニング)の例を示している。
認知症及び/又はうつ病推定AI1は、入力部51と中間部52と出力部53から成る。機械学習中は、正解部54を加える。入力部51は、AIに入力する情報分の要素X1からXnを持つ。中間部52は、入力層から情報を受け継ぎ、さまざまな計算を行う部分である。中間部52の層が多いほど、複雑な分析ができる。計算結果は、出力部53に送られる。出力部53は、回答として出力する部分であり、回答分の要素Z1からZmを持つ。各要素の値は、例えば0から1の間の値であり、最も高い値の要素が、回答と推定されるものである(図5(a))。
正解部54は、機械学習の際、認知症及び/又はうつ病推定AI1に与えられる正解データ42を設定する部分であり、要素としてA1からAmを持つ。要素の数は、出力部53と同じである。A1からAmのうち、正解の要素の数値を1として、他の要素の数値を0と設定する。Z1からZmとA1からAmの数値の差をそれぞれ求め、合計した数値が誤差Dとなる。誤差Dを最小とすることが、AIの精度を高めることとなる(図5(b))。
An overview of the operation during learning and utilization of AI will be described with reference to Fig. 5. A machine learning system 50 shows an example of deep learning using a neural network.
The dementia and/or depression estimation AI1 consists of an input section 51, an intermediate section 52, and an output section 53. During machine learning, a correct answer section 54 is added. The input section 51 has elements X1 to Xn for the information to be input to the AI. The intermediate section 52 is a section that inherits information from the input layer and performs various calculations. The more layers the intermediate section 52 has, the more complex the analysis that can be performed. The calculation results are sent to the output section 53. The output section 53 is a section that outputs the answer, and has elements Z1 to Zm for the answer. The value of each element is, for example, between 0 and 1, and the element with the highest value is estimated to be the answer (FIG. 5(a)).
The correct answer unit 54 is a part that sets the correct answer data 42 to be given to the dementia and/or depression estimation AI1 during machine learning, and has elements A1 to Am. The number of elements is the same as that of the output unit 53. Of A1 to Am, the numerical value of the correct answer element is set to 1, and the numerical values of the other elements are set to 0. The differences between the numerical values of Z1 to Zm and A1 to Am are calculated, and the sum of these values becomes the error D. Minimizing the error D increases the accuracy of the AI ( FIG. 5B ).

認知症及び/又はうつ病推定AI1の動作について、説明のため単純化し、認知症か否かを推定するAIの例を説明する。
出力部53について考えると、AIの回答は、認知症か、認知症で無いか、の2つである。したがって、出力部53の要素は、例えば、Z1が「認知症である」、Z2が「認知症でない」の2つとなる。
入力部51の要素Xの数は、顔写真データ20である無表情の顔写真データ21と笑顔の顔写真データ22を入力する場合、その解像度に沿った要素となる。
AIの入力部51に顔写真データ20を入力すると、出力部53の要素Z1、Z2には、それぞれ0から1の間の数値が出力される。数値の高いほうが、AIの推定した回答となる。数値の差が大きければ、推定の確度は高いし、数値の差が小さければ、推定の確度は低いと言える。
例えば、Z1が0.1、Z2が0.9となった場合、Z2の方が値が高いので、AIの回答は、Z2側である「認知症でない」となる。Z1とZ2の数値の差は大きいので、確度は高いと言える。
The operation of the dementia and/or depression prediction AI1 will be simplified for the purposes of explanation, and an example of an AI that predicts whether or not a person has dementia will be described.
Regarding the output unit 53, the AI's answer is either dementia or no dementia. Therefore, the elements of the output unit 53 are, for example, Z1 "has dementia" and Z2 "does not have dementia".
When face photo data 20 including expressionless face photo data 21 and smiling face photo data 22 is input, the number of elements X in input unit 51 is an element according to the resolution.
When face photo data 20 is input to the input unit 51 of the AI, elements Z1 and Z2 of the output unit 53 each output a numerical value between 0 and 1. The higher the numerical value, the more likely the answer is to be estimated by the AI. If the difference between the numerical values is large, the accuracy of the estimation is high, and if the difference between the numerical values is small, the accuracy of the estimation is low.
For example, if Z1 is 0.1 and Z2 is 0.9, Z2 is the higher value, so the AI's answer will be "not dementia," which is Z2. The difference between the values of Z1 and Z2 is large, so the accuracy is high.

図4(b)の教師データを用いた場合、認知症及び/又はうつ病推定AI1の出力部53は、認知症度0・うつ病度0、認知症度0・うつ病度1、認知症度1・うつ病度0、認知症度1・うつ病度1の4つとなる。よって、それぞれZ1からZ4を割り当てることができる。
AI構築後、認知症及び/又はうつ病推定AI1に、顔写真データ20である無表情の顔写真データ21と笑顔の顔写真データ22を入力し、ニューラルネットワークで構成される中間部52で処理し、結果は、出力部53のZ1からZ4について、それぞれ0から1の間の数として出力される。
例えば、Z1が0.1、Z2が0.6、Z3が0.2、Z4が0.1であった場合、最も値の高い、Z2が採用される。Z2は、認知症度0うつ病度1になるので、AIの回答は、「うつ病の可能性があります」となる。
また、最も高い値の数値を確度としても良い。この場合、Z2の数値は0.6であるので、「うつ病の可能性が60%あります」としても良い。
4(b) is used, the output unit 53 of the dementia and/or depression estimation AI 1 has four levels: dementia level 0 and depression level 0, dementia level 0 and depression level 1, dementia level 1 and depression level 0, and dementia level 1 and depression level 1. Therefore, Z1 to Z4 can be assigned, respectively.
After the AI is constructed, facial photo data 20, which are expressionless facial photo data 21 and smiling facial photo data 22, are input to the dementia and/or depression prediction AI 1 and processed in an intermediate unit 52 consisting of a neural network, and the results are output as numbers between 0 and 1 for Z1 to Z4 of output unit 53.
For example, if Z1 is 0.1, Z2 is 0.6, Z3 is 0.2, and Z4 is 0.1, the highest value, Z2, is adopted. Since Z2 has a dementia level of 0 and a depression level of 1, the AI's answer is "There is a possibility of depression."
In addition, the highest value may be used as the probability. In this case, since the value of Z2 is 0.6, it may be possible to say that there is a 60% possibility of depression.

図4(a)の教師データを用いた場合、認知症及び/又はうつ病推定AI1の出力部53を、「認知症度0%・うつ病度0%」から10%単位で分け、「認知症度90%・うつ病度90%」までの100個とすることもできる。この場合、出力部53は、Z1からZ100の100個の要素となる。
入力に対する出力部53のZ1からZ100を確認し、最も高いものが回答となる。Zのある要素が、最も高かった場合、それに対応する認知症度〇〇%うつ病度××%が回答となる。
4A, the output unit 53 of the dementia and/or depression estimation AI 1 can be divided into 100 categories in increments of 10%, from "dementia level 0% and depression level 0%" to "dementia level 90% and depression level 90%." In this case, the output unit 53 has 100 elements Z1 to Z100.
The Z1 to Z100 of the output unit 53 for the input are checked, and the highest one becomes the answer. If a certain element of Z is the highest, the corresponding dementia level XX% and depression level XX% become the answer.

また、出力部53を単純化する方法として、認知症推定AIとうつ病推定AIに分ける方法もある。このようにすることで、入力部51、中間部52、出力部53ともデータ数を少なくすることができる。
この場合には、最終的に2つのAIの回答を合わせたものが認知症及び/又はうつ病推定AI1の出力となる。
Another method for simplifying the output unit 53 is to separate it into a dementia estimation AI and a depression estimation AI. By doing so, the number of pieces of data in the input unit 51, the intermediate unit 52, and the output unit 53 can be reduced.
In this case, the final output of the dementia and/or depression prediction AI1 will be the combination of the answers from the two AIs.

次に、認知症及び/又はうつ病推定AI1の機械学習の方法について、図5(b)に沿って説明する。認知症及び/又はうつ病推定AI1への入力部51には、顔写真データ20である無表情の顔写真データ21と笑顔の顔写真データ22が入力され、出力部53は、認知症度0%・うつ病度0%から認知症度90%・うつ病度90%までの100個の要素を持つ場合とする。
認知症及び/又はうつ病推定AI1に、まず、教師データ40の1つを用いる。例題データ41を入力部51に入力する。正解データ42を正解部に設定する。教師データ40の正解データ42が認知症度70%・うつ病度10%であったとすると、認知症度70%・うつ病度10%に対応するAj(jは認知症度70%・うつ病度10%に対応する要素番号)に1を設定し、Ajを除くA1からA100は0と設定する。
認知症及び/又はうつ病推定AI1に例題データ41を入力した結果、出力部53のZ1からZ100に推定値が0から1の間の数として出力される。Z1からZ100とそれに対応するA1からA100の差分の合計が、誤差値Dとなる。この誤差値Dを下げるように、中間部52のニューラルネットワークを調整する。
この作業を、大量の教師データ全てについて行うことで、誤差値Dが低減され、AIの精度が高まる。
Next, the machine learning method of the dementia and/or depression estimation AI 1 will be described with reference to Fig. 5(b). An input unit 51 to the dementia and/or depression estimation AI 1 receives facial photo data 20, which are expressionless facial photo data 21 and smiling facial photo data 22, and an output unit 53 has 100 elements ranging from a dementia degree of 0% and a depression degree of 0% to a dementia degree of 90% and a depression degree of 90%.
First, one of the teacher data 40 is used for the dementia and/or depression estimation AI1. Example data 41 is input to the input unit 51. Correct answer data 42 is set in the correct answer section. If the correct answer data 42 of the teacher data 40 is a dementia level of 70% and a depression level of 10%, Aj (j is the element number corresponding to a dementia level of 70% and a depression level of 10%) corresponding to a dementia level of 70% and a depression level of 10% is set to 1, and A1 to A100 except for Aj are set to 0.
As a result of inputting example data 41 into dementia and/or depression estimation AI1, estimated values are output as numbers between 0 and 1 to Z1 to Z100 of output unit 53. The sum of the differences between Z1 to Z100 and the corresponding A1 to A100 becomes error value D. The neural network of intermediate unit 52 is adjusted to lower this error value D.
By performing this task on all of the large amounts of training data, the error value D is reduced and the accuracy of the AI is improved.

このように、本実施例によれば、病院以外の場所で、対象者の認知症及び/又はうつ病の程度を推定するAIを構築するための情報を取得できるので、病院関係者に限らず、認知症及び/又はうつ病を推定するためのAIの構築が可能となる。
また、診断を行う対象者の顔写真を用いることによって、当該対象者の認知症度及び/又はうつ病度を推定するAIを運用・活用することが可能となる。
Thus, according to this embodiment, information for constructing an AI that estimates the degree of dementia and/or depression in a subject can be obtained in a location other than a hospital, making it possible to construct an AI for estimating dementia and/or depression that is not limited to hospital personnel.
In addition, by using a facial photo of the person being diagnosed, it will be possible to operate and utilize AI to estimate the subject's level of dementia and/or depression.

また、認知症及び/又はうつ病推定AI1は、薬局10にて、薬局の利用者に対して、認知症、うつ病についてのアドバイスに活用することができる。
AIアドバイスを希望する対象者の顔写真を撮影し、認知症及び/又はうつ病推定AI1によって、認知症・うつ病についてのアドバイスを行うものである。図11のフローに沿って説明する。
1)対象者の顔写真を撮影する(S401)。顔写真として、無表情のものと笑顔のものを撮影する。難しい場合は、いずれか1枚でも良い。認知症及び/又はうつ病推定AI1の精度向上のための教師データ40の取得と並行して行っても良い。
2)対象者の無表情の顔写真13と対象者の笑顔の顔写真14から、認知症及び/又はうつ病推定AI1に入力する顔写真データ20である無表情の顔写真データ21と笑顔の顔写真データ22となるように、画像加工をおこなう(S402)。
3)AIに入力する(S403)。1枚のみ取得の場合は、同じ写真を2枚入力する。
4)認知症及び/又はうつ病推定AI1の出力部53の値を確認し、認知症度並びにうつ病度の推定値を確定する(S404)。
5)対象者の処方箋31から認知症度とうつ病度を推定し、処方箋推定値とする(S405)。
6)AIで推定した認知症度・うつ病度が、処方箋推定値よりも悪かった場合に、対象者にアドバイスを通知する(S406)。
処方箋31に認知症やうつ病に関する処方がないにも関わらず、AIがある程度の認知症度・うつ病度を推定した場合も同様である。
また、皮膚科や外科等の、認知症・うつ病と関連しない病院の薬局の場合は、処方箋等を確認することなく、アドバイスを行ってもよい。
In addition, the dementia and/or depression prediction AI1 can be used at the pharmacy 10 to provide advice about dementia and depression to pharmacy customers.
A facial photograph of a subject who desires AI advice is taken, and advice on dementia and depression is provided by the dementia and/or depression estimation AI 1. The process will be described with reference to the flow of FIG.
1) Take a photograph of the subject's face (S401). Take a photograph of the face with both a blank expression and a smiling expression. If this is difficult, only one of them will suffice. This may be done in parallel with the acquisition of teacher data 40 for improving the accuracy of the dementia and/or depression estimation AI1.
2) Image processing is performed from the subject's expressionless facial photo 13 and the subject's smiling facial photo 14 to generate expressionless facial photo data 21 and smiling facial photo data 22, which are facial photo data 20 to be input into the dementia and/or depression prediction AI 1 (S402).
3) Input to AI (S403). If only one photo is acquired, input two of the same photo.
4) Check the value of the output section 53 of the dementia and/or depression estimation AI1, and determine the estimated values of the dementia degree and depression degree (S404).
5) The degree of dementia and depression of the subject are estimated from the prescription 31 and used as the estimated prescription value (S405).
6) If the degree of dementia or depression estimated by the AI is worse than the prescription estimate, the subject is notified of advice (S406).
The same applies if the AI estimates a certain degree of dementia or depression even though Prescription 31 does not contain any prescription for dementia or depression.
In addition, in the case of hospital pharmacies in departments not related to dementia or depression, such as dermatology or surgery, advice may be given without checking prescriptions, etc.

このような作業を行うことによって、対象者の潜在的な認知症度並びにうつ病度を、対象者の負担なく確認できるので、認知症及びうつ病の早期発見に寄与することができる。 By carrying out such tasks, the subject's potential level of dementia and depression can be confirmed without burdening the subject, which can contribute to the early detection of dementia and depression.

また、認知症及び/又はうつ病推定AI1は、健康チェックシステムに利用することができる。健康診断時に、利用者の認知症度、うつ病度を推定するものである。
1)健康診断を受診している対象者の顔写真を撮影する。無表情のものと笑顔のものの2枚を撮影する。健康診断に用いると説明すれば容易と思われるが、難しい場合は、いずれか1枚でも良い。
2)AI用に顔写真データ20を生成する。
3)AIに入力する。1枚のみ取得の場合は、同じ写真を2枚入力する。
4)AIの出力結果から、認知症度並びにうつ病度の推定値を確定する。
5)対象者に対して、認知症度及びうつ病度の推定値に応じた動画コンテンツの視聴を促す案内を通知する。また、専門の医療機関を紹介する。
通知する方法は、健康診断結果と共に、QRコード(登録商標)付きの紙面で提供してもいいし、対象者にメールでURLを送付しても良い。
The dementia and/or depression estimation AI1 can also be used in a health check system, which estimates the degree of dementia and depression of a user during a health check.
1) Take a photograph of the face of the person undergoing the health check. Take two photographs, one with a blank expression and one with a smile. This may be easy if you explain that the photographs will be used for a health check, but if this is difficult, it is fine to take just one of the photographs.
2) Generate facial photo data 20 for AI.
3) Input the image into the AI. If only one image is required, input two identical images.
4) From the AI output results, estimates of the degree of dementia and depression are determined.
5) The target person will be notified of the video content that corresponds to the estimated level of dementia and depression, and will be referred to a specialized medical institution.
The notification may be provided on paper with a QR code (registered trademark) along with the health check results, or a URL may be sent to the subject by email.

このように、認知症及び/又はうつ病推定AI1を健康診断に付加することによって、対象者は、特別な負担なく、認知症及びうつ病についての診断結果を得ることができる。 In this way, by adding the dementia and/or depression prediction AI1 to a health check, subjects can obtain diagnosis results for dementia and depression without any special burden.

また、認知症及び/又はうつ病推定AI1は、見守りサポートシステムに利用することができる。見守りサポートシステム活用時に、見守り対象者の認知症度、うつ病度を推定するものである。図12のフローに沿って説明する。
見守りサポートシステムとは、遠方に住んでいる高齢の家族、親族等を、カメラやセンサ等によって様子を確認し、緊急性のある状態になった際に、サポートを行ったり家族への連絡を行ったりするシステムである。
1)見守りサポートシステムで、対象者の安否を確認する映像から、対象者の顔写真を取得する(S501)。見守りサポートシステムでは、対象者の状態を常時確認する必要があることから、カメラで常に対象者を撮影していることも多く、対象者の顔写真として無表情と笑顔の写真を取得することは容易である。例えば、対象者の挙動、音声等を基準に、利用者の無表情の顔写真13と利用者の笑顔の顔写真14を取得しても良い。
2)対象者の顔写真から、AI用の顔写真データ20を生成する(S502)。
3)AIに入力する(S503)。
4)AIの出力結果から、認知症度、うつ病度の推定値を確定する(S504)。
5)もし認知症度やうつ病度の推定値が予想される値よりも悪かった場合には、親族や家族に対し、対象者の認知症度、うつ病度のAI推定値とそれに応じたアドバイスを通知する(S505)。
具体的には、認知症とされていない対象者に高い認知症度が推定された場合に、システムは、予め登録された親族や家族に対して、お知らせ等で対象者の認知症の可能性について連絡する。また、その際、認知症の確認のための医療機関の紹介や、対象者への対応のアドバイス等も行う。
In addition, the dementia and/or depression estimation AI1 can be used in a monitoring support system. When the monitoring support system is used, it estimates the dementia level and depression level of the person being monitored. This will be described along the flow of FIG. 12.
The monitoring support system is a system that uses cameras and sensors to check on the condition of elderly family members and relatives who live far away, and provides support or contacts family members if an emergency occurs.
1) In the monitoring support system, a facial photograph of the subject is obtained from a video image for confirming the safety of the subject (S501). In the monitoring support system, since it is necessary to constantly check the condition of the subject, the subject is often photographed by a camera at all times, and it is easy to obtain facial photographs of the subject with a blank expression and a smiling face. For example, a facial photograph 13 of the user with a blank expression and a facial photograph 14 of the user with a smiling face may be obtained based on the behavior, voice, etc. of the subject.
2) Generate facial photo data 20 for AI from a facial photo of the subject (S502).
3) Input to AI (S503).
4) From the output results of the AI, estimates of the degree of dementia and depression are determined (S504).
5) If the estimated level of dementia or depression is worse than expected, the AI-estimated level of dementia or depression of the subject and corresponding advice will be provided to the relatives or family members (S505).
Specifically, if a subject who is not diagnosed with dementia is suspected to have a high level of dementia, the system will notify pre-registered relatives and family members of the subject's possible dementia. At that time, the system will also introduce medical institutions to confirm dementia and provide advice on how to treat the subject.

このように、認知症及び/又はうつ病推定AI1を見守りサポートシステムに付加することによって、対象者に特別な負担をかけることなく、対象者の認知症及びうつ病の可能性を推定し、親族や家族に連絡することで、早めの対応を行うことが可能となる。 In this way, by adding the dementia and/or depression prediction AI1 to the monitoring support system, it is possible to predict the possibility of dementia or depression in a subject without placing any special burden on the subject, and to take early action by contacting relatives or family members.

また、認知症及び/又はうつ病推定AI1は、OTCに利用することができる。OTC医療品販売店で、販売店を訪れた利用者に対応する際、対象者として認知症度、うつ病度を推定するものである。
1)OTCにて、対象者の顔写真を撮影する。対象者には、認知症及びうつ病の簡易的な確認ができるとして、撮影を勧めることができる。利用者の無表情の顔写真13と対象者の笑顔の顔写真14を取得する。難しい場合は、いずれか1枚でも良い。
2)対象者の顔写真12から認知症及び/又はうつ病推定AI1に入力する顔写真データとなるように、画像加工をおこなう。
3)AIに入力する。1枚のみ取得の場合は、同じ写真を2枚入力する。
4)認知症及び/又はうつ病推定AI1の出力部53の値を確認し、認知症度、うつ病度の推定値を確定する。
5)対象者に対しては、あくまで推定であることを説明し、認知症度並びにうつ病度の推定値と、その推定値に応じたアドバイスを通知する。
具体的には、認知症やうつ病の認識が無い対象者に、高い認知症度、やうつ病度が推定された場合には、認知症、うつ病の確認のための医療機関の紹介や、対応の手引きのようなアドバイスを行う。
The dementia and/or depression estimation AI1 can also be used for OTC products. When dealing with a user who visits an OTC medical product store, the AI1 estimates the degree of dementia and depression of the user.
1) Take a facial photograph of the subject over the counter. The subject can be encouraged to take a photograph as it allows for simple confirmation of dementia and depression. Take a facial photograph 13 of the user with no facial expression and a facial photograph 14 of the subject with a smile. If this is difficult, one of them will suffice.
2) Image processing is performed on the subject's facial photo 12 so that it becomes facial photo data to be input into the dementia and/or depression prediction AI 1.
3) Input the image into the AI. If only one image is required, input two identical images.
4) Check the value of the output section 53 of the dementia and/or depression estimation AI1 and determine the estimated values of the dementia level and depression level.
5) The subjects will be informed that these are merely estimates and will be informed of the estimated level of dementia and depression, as well as advice based on those estimates.
Specifically, if a subject who is unaware of dementia or depression is suspected to have a high level of dementia or depression, the system will provide advice such as a referral to a medical institution to confirm dementia or depression and guidelines on how to respond.

このように、認知症及び/又はうつ病推定AI1をOTCで活用することによって、対象者は、特別な負担なく、認知症及びうつ病についての簡易診断やアドバイスを得ることができる。 In this way, by using the dementia and/or depression prediction AI1 over-the-counter, subjects can receive simple diagnoses and advice about dementia and depression without any special burden.

また、免許更新時に活用することもできる。
免許更新時に、認知症等の発症、程度の確認のため、質問形式による認知テストを行うことがある。しかし、ある程度の時間を要するので、対象者からは迂遠とされることも多い。
認知テストの代わりに又は補完的に、認知症及び/又はうつ病推定AI1を用いることによって、認知テストの精度を向上させたり、量的削減あるいは廃止したりすることができる。
具体的には、以下の様に行う。
1)免許更新会場にて、免許証用の写真を撮影する際、その写真データを対象者の顔写真12として取得する。従来通り、免許証用写真のみを撮影してもいいし、認知症確認のためと説明し、笑顔の顔写真14を取得しても良い。
2)対象者の顔写真12から認知症及び/又はうつ病推定AI1に入力する顔写真データ20となるように、画像加工をおこなう。
3)AIに入力する。免許証用の写真のみであれば、その写真データを2枚入力する。
4)認知症及び/又はうつ病推定AI1の出力部53の値を確認し、認知症度、うつ病度の推定値を確定する。
5)対象者に対しては、質問形式による認知テストを補完するものとして、AIによる認知症度、うつ病度の推定値を含めた検査結果を通知する。
It can also be used when renewing a driver's license.
When renewing a driver's license, a cognitive test may be conducted in the form of questions to check the onset and severity of dementia, etc. However, as this takes a certain amount of time, it is often considered a roundabout way of doing things by those who are eligible.
By using the dementia and/or depression prediction AI1 instead of or as a complement to cognitive testing, the accuracy of cognitive testing can be improved, or the amount of cognitive testing can be reduced or eliminated.
Specifically, the procedure is as follows.
1) When a driver's license photograph is taken at a license renewal venue, the photographic data is acquired as the subject's facial photograph 12. As in the past, only the driver's license photograph may be taken, or a smiling facial photograph 14 may be acquired with the explanation that this is for dementia confirmation.
2) Image processing is performed on the subject's facial photo 12 to generate facial photo data 20 to be input into the dementia and/or depression prediction AI 1.
3) Input the data into the AI. If you only have a driver's license photo, input two copies of the photo data.
4) Check the value of the output section 53 of the dementia and/or depression estimation AI1 and determine the estimated values of the dementia level and depression level.
5) Subjects will be notified of the test results, which will include AI-based estimates of the level of dementia and depression, as a complement to the question-based cognitive test.

このように、認知テストを補完する手段として用いることで,検査の精度向上等に資する。また、認知テストに代えてAIを用いることで、利用者の負担軽減になる。 In this way, using AI as a means to complement cognitive tests will contribute to improving the accuracy of tests. In addition, using AI instead of cognitive tests will reduce the burden on users.

例題データとして、無表情の顔写真13と笑顔の顔写真14を用いる例を説明したが、いずれか、一方のみの写真から教師データを生成することもできる。
一般的に、免許証等の証明用写真は、無表情のものが多く、このような写真から、認知症、うつ病の推定を行う場合として、無表情の写真のみを用いることが考えられる。
教師データの構築については、写真が、無表情と笑顔の2枚の顔写真から無表情の顔写真13が1枚となるのみで、他のデータは同様である。無表情の顔写真13のみとする利点として、利用者に「笑ってください」等の要求をすることなく、容易に取得できることが挙げられる。
Although an example has been described in which the expressionless face photograph 13 and the smiling face photograph 14 are used as sample data, training data can also be generated from only one of the photographs.
Generally, photos taken for identification purposes such as driver's licenses often have a blank expression on the face, and when trying to infer dementia or depression from such photos, it may be possible to use only photos with a blank expression.
The training data is constructed in the same way as the other data, except that the two facial photographs, one with a blank expression and one with a smile, are reduced to one blank facial photograph 13. The advantage of using only blank facial photograph 13 is that it can be easily acquired without requiring the user to "smile", etc.

また、笑顔の顔写真14の1枚のみを用いる場合も考えられる。すでに、対象者を撮影した写真を用いる場合、笑顔のものが多い場合があるからである。
認知症、うつ病は、笑顔で特有の特徴が出る場合もあり、笑顔のみの写真も有効である。笑顔のみの教師データを作り、機械学習を行うことにより、笑顔の顔写真14のみからも病気を推定することができる。
It is also possible to use only one smiling face photograph 14. This is because, when photographs of the subject are used, there may be many photographs in which the subject is smiling.
Dementia and depression may show distinctive features when smiling, so photos of smiling faces only are also effective. By creating training data of smiling faces only and performing machine learning, it is possible to infer illness from only smiling face photos 14.

取得したデータの活用方法に関し、利用者の顔写真12として、利用者の無表情の顔写真13と利用者の笑顔の顔写真14を取得し、顔写真データ20として、無表情の顔写真データ21と笑顔の顔写真データ22を生成したのち、敢えて一方の写真データのみを用いて、AIを構築することもできる。
その場合、1つのデータ群から、AIとして、無表情と笑顔から判別するAIと、無表情から判別するAIと、笑顔から判別するAIと、を構築することができる。活用時に、利用者の無表情、笑顔の写真を取得できた場合は、無表情と笑顔から判別するAIを用い、無表情などの1枚の写真しか取得できなかった場合は、無表情から判別するAIなどを用いることによって、その場面に応じたAI活用を行うことができる。
Regarding the method of utilizing the acquired data, a facial photo 12 of the user is acquired as a facial photo 13 of the user with a blank expression and a facial photo 14 of the user with a smiling expression. As facial photo data 20, facial photo data 21 of the user with a blank expression and facial photo data 22 of the user with a smiling expression are generated. Then, AI can be constructed by deliberately using only one of the photo data.
In that case, from one data group, it is possible to construct AI that distinguishes between a blank expression and a smiling face, an AI that distinguishes from a blank expression, and an AI that distinguishes from a smiling face. When using the AI, if a photo of the user with a blank expression and a smiling face can be obtained, the AI that distinguishes between a blank expression and a smiling face can be used, and if only one photo of a blank expression can be obtained, the AI that distinguishes from a blank expression can be used, etc., allowing the AI to be used according to the situation.

他の実施例について、図6から図8を用いて説明する。実施例1と同様の部分は省略する。
図6は、本実施例に係る認知症及び/又はうつ病診断AIの教師データ作成方法を示すフロー図である。図7は、認知症及び/又はうつ病診断AIの顔の特徴量を抽出する模式図であり、(a)は顔の特徴量を抽出する部分を示す模式図、(b)は口角の上がり・下がりを説明する図である。図8は、本実施例に係る認知症及び/又はうつ病診断AIの教師データ作成方法における教師データの例を示す表である。
Another embodiment will be described with reference to Figures 6 to 8. The same parts as in the first embodiment will be omitted.
Fig. 6 is a flow diagram showing a method for creating training data for dementia and/or depression diagnostic AI according to the present embodiment. Fig. 7 is a schematic diagram showing how facial features are extracted for dementia and/or depression diagnostic AI, where (a) is a schematic diagram showing the part where facial features are extracted, and (b) is a diagram explaining the rise and fall of the corners of the mouth. Fig. 8 is a table showing an example of training data in the method for creating training data for dementia and/or depression diagnostic AI according to the present embodiment.

実施例1によって、医療機関から情報を得ることなく、認知症及び/又はうつ病についてのAIを構築することができる。
しかしながら、対象者の顔写真データからAIを構築するためには、比較的多くのサンプル、教師データが必要である。
そこで、顔写真データから得られる認知症並びにうつ病に大きく関連する特徴を用いることで、AI構築の作業量を低減する方法が求められるところである。
Example 1 makes it possible to build AI for dementia and/or depression without obtaining information from medical institutions.
However, in order to build an AI from a subject's facial photo data, a relatively large amount of sample and training data is required.
Therefore, there is a need for a method to reduce the workload of building AI by using features closely related to dementia and depression obtained from facial photo data.

認知症やうつ病の患者の表情等については、特有の特徴があることが専門医によって指摘されている。図7に、利用者の顔60の模式図を示す。
認知症並びにうつ病の患者を判別する一例として、口角の下り度61、まぶたの下り度62、ほほの下り度63、眉の下り度64、開口度65等が考えられる。
各特徴について数値化することで、AIの入力データとすることができる。
例えば、口角の下り度61について、図7(b)のように、口角が最も上がった状態を口角の下り度0とする。図7(d)のように、口角が最も下がった場合で、口角の下り度9とする。図7(c)のように、口角がある程度下がった状態は、口角の下り度5とする。
このように、各特徴量70について、下がり度を定義し、数値化することで、認知症及び/又はうつ病推定AI1への入力が可能となる。
また、無表情時のデータと笑顔時のデータを数値化することによって、より精度の高いAIを構築することができる。
Specialists have pointed out that facial expressions of patients with dementia or depression have distinctive features. Fig. 7 shows a schematic diagram of a user's face 60.
As an example for discriminating patients with dementia and depression, the degree of drooping of the corners of the mouth 61, the degree of drooping of the eyelids 62, the degree of drooping of the cheeks 63, the degree of drooping of the eyebrows 64, the degree of mouth opening 65, etc. may be considered.
By converting each feature into a numerical value, they can be used as input data for AI.
For example, with regard to the degree of downward movement of the corners of the mouth 61, when the corners of the mouth are raised to the maximum, as shown in Fig. 7(b), the degree of downward movement of the corners of the mouth is set to 0. When the corners of the mouth are lowered to the maximum, as shown in Fig. 7(d), the degree of downward movement of the corners of the mouth is set to 9. When the corners of the mouth are lowered to a certain degree, as shown in Fig. 7(c), the degree of downward movement of the corners of the mouth is set to 5.
In this way, by defining and quantifying the degree of decline for each feature 70, it is possible to input this to the dementia and/or depression estimation AI1.
In addition, by quantifying data from expressionless and smiling faces, it is possible to build a more accurate AI.

本実施例での教師データの例を、図8の表に沿って説明する。
実施例1では、顔写真データ20である無表情の顔写真データ21と笑顔の顔写真データ22が例題データであり、認知度・うつ度が正解データであった。正解データは、実施例1と同じであるが、例題データは、利用者の顔写真から抽出された特徴量70となる。顔写真データ20から抽出し、口角の下り度61、まぶたの下り度62、ほほの下り度63、眉の下り度64、開口度65を数値として決定する。この例では、0から9の10段階である。
特徴量70としては、無表情の特徴量71の群と、笑顔の特徴量72の群を用いることになる。
特徴量70は、顔写真データ20のみから抽出するので、利用者Pへの負担が増えることは無い。
An example of the training data in this embodiment will be described with reference to the table in FIG.
In the first embodiment, facial photo data 20, which consisted of expressionless facial photo data 21 and smiling facial photo data 22, were the example data, and the recognition and depression levels were the correct data. The correct data was the same as in the first embodiment, but the example data was feature quantity 70 extracted from the facial photo of the user. Extracted from the facial photo data 20, the degree of descent of the mouth corners 61, the degree of descent of the eyelids 62, the degree of descent of the cheeks 63, the degree of descent of the eyebrows 64, and the degree of mouth opening 65 were determined as numerical values. In this example, there are 10 levels from 0 to 9.
As the feature amounts 70, a group of feature amounts 71 of neutral expressions and a group of feature amounts 72 of smiling expressions are used.
Since the feature amount 70 is extracted only from the facial photograph data 20, the burden on the user P is not increased.

図6のフローに沿って、本実施例を説明する。
利用者から処方箋31等の内容を取得し(S201)、利用者の顔写真12を取得し(S202)、処方箋31の記載の薬の種類、量から認知症度及びうつ病度を推定する(S203)部分は、実施例1と同じである。
顔写真から顔の特徴量70を抽出し、例題データとして生成する(S204)。この部分で、実施例1と同様に、利用者の顔写真12から、顔写真データ20を生成する。その後、顔写真データ20である無表情の顔写真データ21と笑顔の顔写真データ22から、顔の特徴量70を抽出し、例題データとして生成する。
例えば、図8の特徴量70を用いた教師データの例では、番号1の場合、先ず例題データの元となる無表情の顔写真データ21を画像処理することで、口角の下り度が8、まぶたの下り度5、ほほの下り度3、眉の下り度5、開口度2を得る。次に、笑顔の顔写真データ22を画像処理することで、口角の下り度が7、まぶたの下り度5、ほほの下り度2、眉の下り度5、開口度2を得る。正解データの生成方法は、実施例1と同じである。
このようにして、1つの教師データ40が完成する(S205)。他のデータについても、同様の処理を行い、教師データ40を生成する。
The present embodiment will be described with reference to the flow chart of FIG.
The parts of obtaining the contents of the prescription 31 etc. from the user (S201), obtaining a facial photo 12 of the user (S202), and estimating the degree of dementia and depression from the type and amount of medication listed on the prescription 31 (S203) are the same as in Example 1.
Facial feature values 70 are extracted from the facial photograph and generated as example data (S204). In this step, similar to the first embodiment, facial photograph data 20 is generated from the user's facial photograph 12. Then, facial feature values 70 are extracted from expressionless facial photograph data 21 and smiling facial photograph data 22, which are the facial photograph data 20, and generated as example data.
For example, in the case of number 1 in the example of training data using feature amount 70 in Fig. 8, first, expressionless face photo data 21 that is the source of the example data is image-processed to obtain a mouth corner drooping degree of 8, eyelid drooping degree of 5, cheek drooping degree of 3, eyebrow drooping degree of 5, and mouth opening degree of 2. Next, smiling face photo data 22 is image-processed to obtain a mouth corner drooping degree of 7, eyelid drooping degree of 5, cheek drooping degree of 2, eyebrow drooping degree of 5, and mouth opening degree of 2. The method of generating the correct answer data is the same as in Example 1.
In this manner, one piece of teacher data 40 is completed (S205). The same process is carried out for the other data to generate teacher data 40.

このように、例題データとして、顔の特徴量70を用いることによって、例題データが、認知症及び/又はうつ病に特化したものとなり、且つ、入力データ数が減るので、少ない教師データ数でAIの精度を向上させることができる。 In this way, by using facial features 70 as example data, the example data becomes specialized for dementia and/or depression, and the amount of input data is reduced, making it possible to improve the accuracy of the AI with a small amount of training data.

また、例題データを、顔の特徴量70とすることによって、教師データ40の生成を一部簡略化することができる。
認知症・うつ病の専門家は、顔の特徴量70と認知症・うつ病の程度について、豊富な知識と経験を持っている。そこで、専門家の支援を受けることで、利用者の写真や処方箋31を用いずに、ある程度の教師データを作ることができる。
言い換えれば、特定の認知症度並びにうつ病度時に予想される特徴量70を推定し、推定された特徴量70を例題データとし、その際、予想される認知症度並びにうつ病度を正解データとし、機械学習を行うことで、データ確保を容易にすることができる。
Furthermore, by using facial features 70 as example data, the generation of the teacher data 40 can be partially simplified.
Dementia and depression experts have ample knowledge and experience regarding the facial feature quantities 70 and the degree of dementia and depression. Therefore, with the support of experts, it is possible to create a certain amount of training data without using the user's photograph or prescription 31.
In other words, by estimating the feature value 70 expected at the time of a specific dementia level and depression level, and using the estimated feature value 70 as example data, and at that time, using the predicted dementia level and depression level as correct answer data, machine learning can be performed, thereby making it easier to obtain data.

すなわち、専門家に、無表情の場合に認知症・うつ病に現れやすい特徴を列挙してもらうことで、写真を集めることなく、ある程度のデータを構築することができる。
同様に、笑顔の場合、無表情と笑顔の差についても特徴を列挙してもらうことで、ある程度のデータを構築することができる。
In other words, by asking experts to list characteristics that are likely to be present in dementia or depression when the face is expressionless, it is possible to build up a certain amount of data without collecting photographs.
Similarly, in the case of smiling, by asking subjects to list the characteristics that distinguish them from a smile and a neutral expression, it is possible to build up some data.

AIの機械学習において、学習の初期は、AIの出力と正解との乖離が大きい場合がある。予め、専門家による支援により作成された教師データによる機械学習を行うことで、利用者のデータによる機械学習を行った際、AIの出力と正解との乖離を小さくすることができ、AIの収束を早くすることができる。 In AI machine learning, in the early stages of learning, there may be a large discrepancy between the AI output and the correct answer. By performing machine learning using training data created in advance with the assistance of experts, it is possible to reduce the discrepancy between the AI output and the correct answer when performing machine learning using user data, allowing the AI to converge more quickly.

図9のフローに沿って説明する。
顔の特徴量70と、認知症・うつ病の程度について、専門家により数値化してもらう。(S301)。顔の特徴量70として、例えば、無表情時の口角の下り度61、まぶたの下り度62、ほほの下り度63、眉の下り度64、開口度65と、笑顔時の口角の下り度61、まぶたの下り度62、ほほの下り度63、眉の下り度64、開口度65との組み合わせについて、認知症・うつ病の程度を0から100%の間で数値化する。
一例を図10(a)に示す。この例は、無表情時のほほの下り度5、眉の下り度4、開口度2、まぶたの下り度4、口角の下り度5の場合の、無表情から笑顔での口角の下り度の変化、まぶたの下り度の変化をそれぞれ10段階で変化させた場合、推定される認知症度を示す表である。
口角の下り度の変化量の幅は、無表情時の口角の下り度は5であるので、変化幅は-5から4である。まぶたの下り度の変化量の幅は、無表情時のまぶたの下り度は4であるので、-4から5である。
例えば、笑顔になった際、まぶたの下り度の変化量が0であり、口角の下り度の変化量が-3であれば、笑顔を適切に表現できているので、認知度は低いと考えられる。一例としては、変化量の最大値、最小値を推定し、そこから比例計算し、推定値は34%とする。
また同様に、笑顔になった際の口角の下り度の変化量が+2であれば、笑顔であるにも関わらず、口角が、より下がったことになり、笑顔を適切に表現できていないと考えられるので、認知度は高いと考えられる。一例としては、変化量の最大値、最小値を推定し、そこから比例計算し、推定値は59%とする。
The explanation will be given along the flow of FIG.
The facial feature amount 70 and the degree of dementia/depression are quantified by an expert (S301). For example, the facial feature amount 70 is a combination of the degree of drooping of the corners of the mouth 61, the degree of drooping of the eyelids 62, the degree of drooping of the cheeks 63, the degree of drooping of the eyebrows 64, and the degree of mouth opening 65 when the face is expressionless, and the degree of drooping of the corners of the mouth 61, the degree of drooping of the eyelids 62, the degree of drooping of the cheeks 63, the degree of drooping of the eyebrows 64, and the degree of mouth opening 65 when the face is smiling, and the degree of dementia/depression is quantified between 0 and 100%.
An example is shown in Fig. 10(a). This example is a table showing the estimated dementia level when the change in the degree of drooping of the corners of the mouth and the change in the degree of drooping of the eyelids from a neutral expression to a smiling expression is changed on a 10-point scale, for a face with a neutral cheek drooping degree of 5, a face with a drooping eyebrow degree of 4, an opening degree of 2, a face with a drooping eyelid degree of 4, and a face with a drooping corner of the mouth degree of 5.
The range of change in the degree of descent of the mouth corners when the face is expressionless is 5, so the range of change is −5 to 4. The range of change in the degree of descent of the eyelids when the face is expressionless is 4, so the range of change in the degree of descent of the eyelids when the face is expressionless is −4 to 5.
For example, if the change in the degree of eyelid drooping when smiling is 0 and the change in the degree of mouth corner drooping is -3, the smile is appropriately expressed and the recognition rate is considered to be low. As an example, the maximum and minimum values of the change are estimated, and a proportional calculation is performed from there, resulting in an estimated value of 34%.
Similarly, if the change in the degree of downward movement of the corners of the mouth when smiling is +2, the corners of the mouth are further downward despite the smile, and it is considered that the smile is not being expressed appropriately, so the recognition rate is considered to be high. As an example, the maximum and minimum values of the amount of change are estimated, and a proportional calculation is performed from there, resulting in an estimated value of 59%.

このような表を全ての特徴量70について行う。
それらを用いて、特徴のレベルを例題データ、推定される認知症度及びうつ病度を正解データとする(S302)。図10(b)に、教師データ群の例を示す。顔の特徴量70を全て0から9で変化させた際の正解データとして、認知症度〇〇%・うつ病度××%が列挙される。図10(b)の例は、1つの特徴量群の場合の例である。無表情の特徴量71と笑顔の特徴量72を用いる場合は、より多くの場合分けになる。
専門家指導による教師データが完成する(S303)。
次に、実際に存在しそうな特徴量70の組み合わせについて、重点的に認知症度・うつ病度を専門家に生成してもらう(S304)。この作業により、実際に近い教師データを増やすことができる。以上によって、初期の機械学習用の教師データが完成する(S305)。
Such a table is created for all the feature quantities 70 .
Using these, the feature levels are set as example data, and the estimated dementia and depression levels are set as correct answer data (S302). An example of a training data group is shown in FIG. 10(b). As correct answer data when all face feature amounts 70 are changed from 0 to 9, dementia level XX% and depression level XX% are listed. The example in FIG. 10(b) is an example of the case of one feature group. When a neutral feature amount 71 and a smiling feature amount 72 are used, the number of divisions becomes larger.
Teacher data is completed through expert guidance (S303).
Next, we ask an expert to generate dementia and depression levels with a focus on combinations of feature quantities 70 that are likely to actually exist (S304). This process increases the amount of teacher data that is closer to reality. Through the above steps, the initial teacher data for machine learning is completed (S305).

このように、教師データを生成することによって、収集するデータ数を少なくすることができ、また、AIの機械学習による収束を早めることができる。 By generating training data in this way, the amount of data to be collected can be reduced and the convergence of AI machine learning can be accelerated.

他の実施例について、図13から図17を用いて説明する。実施例1と同様の部分は省略する。
図13は、本発明に係る実施例3のシステム図である。図14は、本発明に係る実施例3の携帯端末の画面の図であり、(a)は、質問により、元気度の程度を確認する質問の画面であり、(b)は、教師データの取得の許可を求める画面であり、(c)は、携帯端末により、利用者の顔写真を取得するガイダンスを表示する画面であり、(d)は、携帯端末により、利用者の服用する薬を確認するガイダンスを表示する画面である。
図15は、本発明に係る実施例3の教師データ生成のための情報を示す表である。図16は、本発明に係る実施例3の教師データ取得手順を示すフロー図である。図17は、本発明に係る認知症及び/又はうつ病推定AIシステムにおける携帯端末での実施例を示すフロー図である。
Another embodiment will be described with reference to Figures 13 to 17. The same parts as in the first embodiment will be omitted.
Fig. 13 is a system diagram of the third embodiment of the present invention. Fig. 14 is a diagram of a screen of a mobile terminal of the third embodiment of the present invention, (a) is a screen for a question to confirm the level of vitality by a question, (b) is a screen for requesting permission to obtain teacher data, (c) is a screen for displaying guidance for obtaining a face photo of the user by the mobile terminal, and (d) is a screen for displaying guidance for confirming the medicine taken by the user by the mobile terminal.
Fig. 15 is a table showing information for generating teacher data according to the third embodiment of the present invention. Fig. 16 is a flow diagram showing a teacher data acquisition procedure according to the third embodiment of the present invention. Fig. 17 is a flow diagram showing an embodiment of the dementia and/or depression estimation AI system according to the present invention on a mobile terminal.

実施例1によって、医療機関から情報を得ることなく、薬局での情報から教師データを生成することによって、認知症及び/又はうつ病についてのAIを構築することができる。
しかしながら、対象者の顔写真データからAIを構築するためには、比較的多くのサンプル、教師データが必要である。
そこで、薬局に限らず、認知症及びうつ病についての教師データを取得する方法が求められるところである。
According to Example 1, it is possible to build an AI for dementia and/or depression by generating training data from information at a pharmacy without obtaining information from a medical institution.
However, in order to build an AI from a subject's facial photo data, a relatively large amount of sample and training data is required.
Therefore, there is a need for a method to obtain supervisory data on dementia and depression, not limited to pharmacies.

近年、スマートフォン等の携帯端末のアプリで、認知症の予防のために、食生活や運動についてアドバイスを行うものも開発されている。
そこで、本実施例では、AIの教師データとなる情報を利用者が使用する携帯端末のアプリケーションから取得可能とすることとした。
また、教師データとして、少なくとも該利用者の顔写真と、処方箋、指示書又は、該利用者の認知症及び/又はうつ病を推定可能な情報と、を含むこととした。また、利用者の認知症及び/又はうつ病を推定可能な情報は、利用者への質問により取得することとした。
このように携帯端末のアプリから教師データに関わる情報を取得することによって、薬局に限らず、多くの人のサンプルデータを取得することができる。
In recent years, apps for mobile devices such as smartphones have been developed that provide advice on diet and exercise to prevent dementia.
Therefore, in this embodiment, it is made possible to obtain information that serves as training data for AI from an application on a mobile device used by a user.
The training data includes at least a facial photograph of the user, a prescription, an instruction sheet, or information that can be used to infer the user's dementia and/or depression. The information that can be used to infer the user's dementia and/or depression is obtained by asking the user questions.
In this way, by obtaining information related to teacher data from an app on a mobile device, it is possible to obtain sample data from many people, not just pharmacies.

図13に、本実施例のシステム図を示す。
本実施例における認知症及び/又はうつ病推定AI1は、ネットワークを介した利用者の携帯端末から、教師データを得るシステムである。
認知症及び/又はうつ病推定AI1は、機械学習システム50と、管理部80と、サーバ81と、携帯端末90から成る。
FIG. 13 shows a system diagram of this embodiment.
The dementia and/or depression prediction AI1 in this embodiment is a system that obtains teacher data from a user's mobile terminal via a network.
The dementia and/or depression prediction AI1 consists of a machine learning system 50, a management unit 80, a server 81, and a mobile terminal 90.

機械学習システム50は、実施例1と同様に、AIのコア部分である。
教師データで学習する学習時と、学習によって構築された中間部を用いて、AIの回答を出す活用時とを持つ。
学習時は、管理部80から送られる教師データを用いて、学習を行い、中間部の調整を行い、AIの精度を高める。
活用時は、管理部80から送られる写真データから、認知度、うつ度を推定し、推定値を管理部80に返す。
管理部80は、携帯端末90と機械学習システム50との間を橋渡しする部分である。管理部80は、サーバ81に対して、教師データ生成に関連するデータを書き込んだり、読み出したりする。
携帯端末90から、インターネットNを介して送られる、教師データ生成に必要な情報を受け取り、一部は、加工、調整して、更に、教師データの形としたものを含めて、サーバ81に記憶する。
加工する情報としては、例えば、利用者が撮影した薬写真がある。管理部80は、受信した薬写真が、お薬手帳の場合は、手帳に記載された薬名を読み取り、薬内容とする。受信した薬写真が、薬袋や、薬そのものであった場合は、薬袋の表面の薬名や、薬のシートの薬名から薬名を特定する。
そのあとは、実施例1と同様に、図3のような薬名と推定される認知度、うつ度算出表によって、認知度、うつ度を推定し、算出する。算出した値は、サーバ81に記憶する。
顔写真についても同様に加工、調整する。利用者が撮影した顔写真は、撮影の環境や利用者の撮影の仕方によって、教師データとして適当でない場合もあるので、管理部80にて、実施例1と同様に、顔の大きさや背景の単純化等を行う。加工した写真は、サーバ81に記憶する。
管理部80は、サーバ81に記憶された教師データである、顔写真、認知度、うつ度の値を読み出し、学習時となっている機械学習システム50に、教師データを送る。
The machine learning system 50 is the core part of the AI, similar to the first embodiment.
It has a learning phase in which it learns from teacher data, and a utilization phase in which the intermediate part constructed through learning is used to provide AI answers.
During learning, the learning is carried out using the teacher data sent from the management unit 80, adjustments are made to the intermediate parts, and the accuracy of the AI is improved.
When in use, the recognition level and depression level are estimated from the photographic data sent from the management unit 80, and the estimated values are returned to the management unit 80.
The management unit 80 is a part that acts as an intermediary between the mobile terminal 90 and the machine learning system 50. The management unit 80 writes data related to the generation of teacher data to the server 81 and reads it out.
The information necessary for generating teacher data is received from the mobile terminal 90 via the Internet N, and some of it is processed and adjusted, and then stored in the server 81, including the information that has been converted into teacher data.
The information to be processed may be, for example, a photograph of a medicine taken by a user. If the received medicine photograph is a medicine notebook, the management unit 80 reads the name of the medicine written in the notebook and sets it as the medicine contents. If the received medicine photograph is a medicine bag or the medicine itself, the medicine name is identified from the name on the surface of the medicine bag or the name on the medicine sheet.
Thereafter, similarly to the first embodiment, the recognition degree and the depression degree are estimated and calculated using the recognition degree and depression degree calculation table for the drug name as shown in FIG.
Facial photographs are also processed and adjusted in the same manner. Since facial photographs taken by users may not be suitable as training data depending on the shooting environment and the user's shooting method, the management unit 80 performs the same operations as in the first embodiment, such as simplifying the size of the face and simplifying the background. The processed photographs are stored in the server 81.
The management unit 80 reads out the facial photograph, recognition level, and depression level values, which are the training data stored in the server 81, and sends the training data to the machine learning system 50 that is currently learning.

サーバ81は、主に、利用者情報83と、利用者から取得した情報84と、教師データに関連する情報を加工し、教師データの例題データ41とした情報と正解データ42とした情報を保持する。これらをまとめて、サーバ管理データ82とする。
サーバ管理データ82について図15に沿って説明する。
利用者ごとに、ユーザーIDが設定されており、情報は、ユーザーIDによって管理される。例えば、ユーザーIDが1001の利用者は山田太郎であり、ユーザーIDが1056の利用者は鈴木花子である。
それぞれ、生年月日、性別、病歴が記録されている。このデータは、基本的に、登録後変更されない。
利用者から取得した情報84のひとまとめごとに、データNo、データ取得日が管理部80によって付与される。データNoは、一意的であり、重複は無い。年齢、無表情の顔写真、笑顔の顔写真、薬に関する写真、アプリから出された質問から推定される認知度、うつ度が、管理部80に送信され、サーバ81に記録される。
薬に関する写真は、お薬手帳の場合もあるし、薬袋や薬のシートの場合もある。
管理部80が、携帯端末90からの情報を調整・加工したデータとして、調整した顔写真を例題データ41として、薬の内容と、薬から推定した認知度、うつ度値が、正解データとして、サーバ81に記録される。
一つのデータNoで管理される情報は、一つの教師データに対応する。教師データに関する情報として、1ユーザーに対して、複数のデータNoを持っても良い。取得の時期によって、利用者の状態が変わる可能性があるからである。
The server 81 mainly processes user information 83, information acquired from the user 84, and information related to the teacher data, and holds the information as example data 41 of the teacher data and information as correct answer data 42. These are collectively referred to as server management data 82.
The server management data 82 will be described with reference to FIG.
A user ID is assigned to each user, and information is managed by the user ID. For example, a user with a user ID of 1001 is Yamada Taro, and a user with a user ID of 1056 is Suzuki Hanako.
Each person's date of birth, gender, and medical history are recorded. This data is generally not changed after registration.
A data number and a data acquisition date are assigned to each collection of information 84 acquired from the user by the management unit 80. The data numbers are unique and do not overlap. Age, a face photo with a neutral expression, a face photo with a smile, a photo related to medication, and awareness and depression levels estimated from questions posed by the app are transmitted to the management unit 80 and recorded in the server 81.
Photographs of medications may be of a medicine book, a medicine packet, or a medicine sheet.
The management unit 80 records on the server 81 the adjusted and processed data from the mobile terminal 90, the adjusted facial photo as example data 41, the contents of the medication, and the awareness and depression values estimated from the medication as correct answer data.
Information managed under one data number corresponds to one piece of teacher data. As information related to teacher data, multiple data numbers may be stored for one user. This is because the user's status may change depending on the time of acquisition.

サーバ管理データ82には、薬情報から生成された認知度、うつ度情報と、アプリから出された質問から推定される認知度、うつ度が記録されている。
薬情報から生成された認知度、うつ度情報を正解データ42としてもいいし、アプリから出された質問から推定される認知度、うつ度を正解データとしても良い。
また、薬情報から生成されたものと、アプリから出された質問から推定されたものとの平均等をとったものを正解データとしても良い。
また、利用者が撮影した薬写真が不鮮明であった場合に、代替として、アプリから出された質問から推定される認知度、うつ度を用いても良い。
The server management data 82 records awareness and depression level information generated from drug information, and awareness and depression level estimated from questions posed by the app.
The awareness and depression level information generated from the drug information may be used as the correct answer data 42, or the awareness and depression level estimated from the questions posed by the app may be used as the correct answer data.
In addition, the correct answer data may be an average of the data generated from the drug information and the data estimated from the questions posed by the app.
In addition, if the photo of the medication taken by the user is unclear, the awareness and depression levels estimated from the questions posed by the app may be used as an alternative.

携帯端末90は、各利用者と管理部80を繋ぐものである。
携帯端末90は、主に、表示部91と、図示しない制御部と記憶部と操作部と通信部とカメラ部とから成る。
制御部は、携帯端末90全体を制御する部分である。アプリケーション92の起動中は、アプリケーションの内容に従っての制御も行う。
制御部は、操作部から、利用者の操作内容を取得し、表示部91に、文字、記号、画像等を表示し、カメラで撮影し、通信部に、ネットワークとの送受信を指示する。また、記憶部に一時的な記憶の書き込み、読み出しを行ったり、アプリケーション92の読み出しを行う。
記憶部には、制御部を動作されるためのプログラムが書き込まれ、制御に用いる変数、データ等を一時的に記憶される。実施例のアプリケーション92も、プログラムの一つとして、記憶されている。
The mobile terminal 90 connects each user with the management unit 80 .
The mobile terminal 90 mainly comprises a display unit 91, a control unit, a storage unit, an operation unit, a communication unit, and a camera unit, all of which are not shown.
The control unit is a part that controls the entire mobile terminal 90. When the application 92 is running, the control unit also performs control according to the content of the application.
The control unit acquires the operation contents of the user from the operation unit, displays characters, symbols, images, etc. on the display unit 91, takes pictures with the camera, and instructs the communication unit to transmit and receive data to and from the network. It also writes and reads temporary data to and from the memory unit, and reads out applications 92.
The storage unit stores a program for operating the control unit and temporarily stores variables, data, etc. used for control. The application 92 of the embodiment is also stored as one of the programs.

カメラは、携帯端末90の周囲を撮影するカメラである。本実施例では、利用者の顔写真を撮影したり、お薬手帳を撮影したりする。
通信部は、インターネットNと通信する通信部である。WiFiや4G等の移動通信システムを用いて、インターネットNに接続する。
操作部は、利用者が端末を操作するための機構である。ボタンやタッチパネルを用いて、操作する。
表示部91は、ガイダンス、メッセージ等の文字や画像を表示する部分である。アプリの画面表示となったり、撮影する映像のモニタとなったりする。
The camera is a camera that captures images of the surroundings of the mobile terminal 90. In this embodiment, the camera captures a photograph of the user's face and a photograph of the user's medicine notebook.
The communication unit is a communication unit that communicates with the Internet N. The communication unit connects to the Internet N using a mobile communication system such as Wi-Fi or 4G.
The operation unit is a mechanism that allows the user to operate the terminal using buttons and a touch panel.
The display unit 91 is a part that displays text and images such as guidance and messages, and serves as a display screen for applications and a monitor for captured images.

本実施例では、アプリケーション92として、高齢者の認知症予防のための運動推奨アプリや、健康度チェックアプリを想定している。
そして、それらのアプリの一部に、教師データに関する情報を取得する部分を持つ構成としている。
認知症予防のためのアプリをインストールしている利用者は、認知症にかかるリスクを気にしている人々である。言い換えれば、認知症、うつ病になる可能性の高い人々といえる。
従って、このようなアプリをインストールした携帯端末から取得した教師データは、認知症、うつ病の初期の状態を示す教師データとなる可能性が高く、AI学習用に用いることで、認知症、うつ病推定のAIの精度を向上させることができる。
In this embodiment, the application 92 is assumed to be an exercise recommendation application for preventing dementia in the elderly and a health check application.
Some of these apps are configured to have a section that acquires information about teacher data.
Users who install dementia prevention apps are people who are concerned about their risk of developing dementia. In other words, they are people who are at high risk of developing dementia or depression.
Therefore, the training data obtained from a mobile device on which such an app is installed is highly likely to be training data that indicates the early stages of dementia or depression, and by using it for AI training, the accuracy of the AI in estimating dementia and depression can be improved.

教師データに関連する情報の取得の流れを図16のフローに沿って説明する。
本実施例は、携帯端末90内のアプリケーション92の一部として機能する例としている。
アプリケーション92としては、例えば、高齢者の認知症予防のための運動推奨アプリや、健康度チェックアプリなどが考えられる。
ユーザーがアプリケーション92を起動した際、このアプリを初めて起動したか、又は、前回の教師データ関連情報取得依頼から3か月経過したかを、アプリ内データ等によって確認する(S601)。
該当しなければ、NOとして、通常のアプリ動作へ向かう(S608)。
該当した場合は、S602のAIの学習への協力のお願いとして、AI学習のための情報提供依頼画面94を、画面に表示する(図14(b))。
The flow of acquiring information related to the teacher data will be described with reference to the flow of FIG.
In this embodiment, the function is an example of a part of an application 92 in a mobile terminal 90 .
Examples of the application 92 include an exercise recommendation application for preventing dementia in the elderly and a health check application.
When a user launches application 92, it is confirmed by data within the app, etc. whether this is the first time the app has been launched or whether three months have passed since the last request to obtain teacher data-related information (S601).
If not, the result is NO and the application proceeds to normal operation (S608).
If so, an information provision request screen 94 for AI learning is displayed on the screen as a request for cooperation in the AI learning of S602 (Figure 14 (b)).

S603において、ユーザーが、「はい」を選択した場合は、情報取得を進める。「いいえ」を選択した場合は、通常のアプリ動作へ向かう(S608)。 If the user selects "Yes" in S603, the information acquisition proceeds. If the user selects "No", the application proceeds to normal operation (S608).

顔写真の撮影ガイダンスとして、表示部91に、顔写真ガイダンス画面95を表示し、無表情の写真と笑顔の写真を撮影する(S604、図14(c))。無表情と指定しにくい場合は、自然な普通の顔の写真と指定しても良い。
薬についての情報取得のガイダンスとして、薬情報撮影ガイダンス画面96を画面に表示し、お薬手帳の薬情報のわかる頁や、薬袋等を撮影する(S605、図14(d))。
As a guidance for taking a face photo, a face photo guidance screen 95 is displayed on the display unit 91, and a face photo with no expression and a face photo with a smile are taken (S604, FIG. 14(c)). If it is difficult to specify a face photo with no expression, a natural, normal face photo may be specified.
As guidance for obtaining information about medicine, a medicine information photographing guidance screen 96 is displayed on the screen, and a photograph of the page of the medicine notebook showing the medicine information, the medicine envelope, etc. is taken (S605, FIG. 14(d)).

認知症、うつ病に関連する質問(図14(a))を行い、利用者からの回答から推定される認知度・うつ度を、質問によるに認知度・うつ度として、取得する(S606)。認知度・うつ度の推定は、携帯端末内のアプリで簡易的に推定する。
また、ネットを介して、管理部80に質問内容を通知し、管理部80から、適切な推定結果を得ても良い。
利用者のIDNoと、1つのデータNoで管理される、顔写真、薬に関する写真、質問への回答から推定される認知度、うつ度と、をインターネットNを介して、管理部80に送信する。(S607)。
情報の取得、送信が完了したので、通常のアプリ動作に移る(S608)。
このような一連の動作によって、携帯端末90を介して、極めて容易に、教師データに関連する情報を入手することができる。
Questions related to dementia and depression (FIG. 14(a)) are asked, and the awareness level and depression level estimated from the user's answers are acquired as awareness level and depression level according to the questions (S606). The awareness level and depression level are estimated simply by an app in the mobile terminal.
Also, the content of the question may be notified to the management unit 80 via the Internet, and an appropriate estimation result may be obtained from the management unit 80.
The user's ID number, a face photo, a photo related to medication, and the degree of awareness and depression estimated from answers to questions, all of which are managed under a single data number, are transmitted to the management unit 80 via the Internet N (S607).
Since the acquisition and transmission of information is completed, the application proceeds to normal operation (S608).
Through this series of operations, information related to the teacher data can be obtained extremely easily via the mobile terminal 90.

また、認知症及び/又はうつ病推定AI1は、携帯端末90にて、診断の対象者へのアドバイスに活用することができる。
構成としては、対象者が使用する携帯端末で撮影した、対象者の顔写真を、ネットワークを介して取得可能とし、取得した顔写真に対するAIシステムの結果に応じて、アドバイスを通知するもととした。
例えば、携帯端末90のアプリケーション92から呼びかけで、対象者の顔写真を撮影し、AIによる認知症・うつ病の推定値によって、認知症・うつ病についてのアドバイスを行うものである。図17のフローに沿って説明する。
In addition, the dementia and/or depression prediction AI1 can be used on the mobile terminal 90 to provide advice to the person being diagnosed.
The system is designed to enable the subject's facial photograph taken with a mobile device used by the subject to be obtained via the network, and advice is provided based on the results of the AI system's application of the obtained facial photograph.
For example, a facial photograph of a target person is taken by calling from an application 92 of a mobile terminal 90, and advice on dementia and depression is provided based on the estimated dementia and depression score by AI. The flow of FIG. 17 will be described.

1)対象者に対して、携帯端末90であるスマホ内のアプリケーション92が、認知症、うつ病についての簡易診断の提案を行う(S701)。
高齢者の認知症予防のための運動推奨アプリや、健康度チェックアプリからの提案となるので、対象者は、違和感なく、簡易診断を受けることができる。
1) The application 92 in the mobile terminal 90 (smartphone) proposes a simple diagnosis of dementia and depression to the subject (S701).
The suggestions will come from exercise recommendation apps to prevent dementia in the elderly and health check apps, so subjects can receive a simple diagnosis without feeling uncomfortable.

2)対象者は、アプリケーション92のガイダンスに従い、自身の顔写真を撮影する(S702)。顔写真として、無表情の写真と笑顔の写真の2つの写真を撮影すると好適である。認知症、うつ病の推定精度を高めることができるからである。
携帯端末90で、自身の映像を見ながら、撮影することによって、利用者は、自身の無表情、笑顔の様子を意識しながら撮影できるので、より適切な顔写真が撮影できる。
2) The subject takes a photograph of his/her face according to the guidance of the application 92 (S702). It is preferable to take two photographs of the face, one with a blank expression and one with a smiling face, because this can improve the accuracy of estimating dementia and depression.
By taking a picture while viewing the image of the user on the mobile terminal 90, the user can take a picture while being conscious of his/her own expressionless face and smiling face, and therefore can take a more appropriate facial picture.

3)アプリケーション92は、インターネットNを介して、管理部80に顔写真を送信する。
管理部80は、対象者の顔写真について、背景の除去、顔のサイズの調整等の加工を行い、例題データと同様の顔写真データとなるようにする。(S703)。
3) The application 92 transmits the facial photograph to the management unit 80 via the Internet N.
The management unit 80 processes the facial photograph of the subject by removing the background, adjusting the size of the face, etc., so that the facial photograph data becomes similar to the sample data (S703).

4)管理部80は、AIのコアである機械学習システム50の入力部51に、写真データを入力する(S704)。
5)機械学習システム50の出力部53の値を確認し、認知症度並びにうつ病度の推定値を確定する(S705)。
6)推定値は、インターネットNを介して、携帯端末90に送信される。(S706)。
4) The management unit 80 inputs the photo data to the input unit 51 of the machine learning system 50, which is the core of the AI (S704).
5) Check the values of the output section 53 of the machine learning system 50 and determine the estimated values of the dementia level and depression level (S705).
6) The estimated value is transmitted to the mobile terminal 90 via the Internet N (S706).

7)AIで推定した認知症度・うつ病度を、対象者に通知し、AI推定値に応じたアドバイスを画面に表示する。例えば、「認知症度は70%と推定されました。早めに、医療機関での診断をお勧めします。」とアドバイスする。
アドバイスの内容は、管理部80で生成してもいいし、携帯端末90で、予め、推定値に応じて設定された内容を表示してもよい。
また、2回目以降の簡易診断の場合は、過去の推定値も表示し、値の増減に応じて、アドバイスを行ってもよい(S707)。例えば、「認知症度は30%と推定されました。前回の推定値40%よりも良くなりました。引き続き、認知症予防のための運動に励んでください。」とアドバイスする。
7) The subject will be notified of the degree of dementia and depression estimated by the AI, and advice based on the AI estimate will be displayed on the screen. For example, the advice could be, "The degree of dementia is estimated to be 70%. We recommend that you seek medical attention as soon as possible."
The contents of the advice may be generated by the management unit 80, or the contents may be displayed on the mobile terminal 90 in advance according to the estimated values.
In addition, in the case of the second or subsequent simple diagnosis, the past estimated values may also be displayed, and advice may be given according to the increase or decrease in the value (S707). For example, the advice may be, "The degree of dementia is estimated to be 30%. This is better than the previous estimated value of 40%. Please continue to exercise to prevent dementia."

このような提案を行うことによって、対象者の潜在的な認知症度並びにうつ病度を、対象者の負担なく確認できるので、認知症及び/又はうつ病の早期発見に寄与することができる。 By making such suggestions, the subject's potential level of dementia and depression can be confirmed without burdening the subject, which can contribute to the early detection of dementia and/or depression.

本発明に係る認知症及び/又はうつ病推定AIシステム並びに教師データ作成方法は、病院以外での認知症及び/又はうつ病推定AIを構築する技術として利用されるのはもちろんのこと、病症が顔の特徴的表情として現れるその他の症例にも応用可能である。したがって、本発明の産業上の利用可能性は大きいと思料する。 The dementia and/or depression prediction AI system and training data creation method of the present invention can of course be used as technology for building dementia and/or depression prediction AI outside of hospitals, but can also be applied to other cases in which the illness is manifested as a characteristic facial expression. Therefore, it is believed that the present invention has great industrial applicability.

1 認知症及び/又はうつ病推定AI
10 薬局
11 撮影機材
12 利用者の顔写真
13 無表情の顔写真
14 笑顔の顔写真
20 顔写真データ
21 無表情の顔写真データ
22 笑顔の顔写真データ
30 お薬手帳
31 処方箋
32 薬データ
40 教師データ
41 例題データ
42 正解データ
43 算出表
50 機械学習システム
51 入力部
52 中間部
53 出力部
54 正解部
60 利用者の顔
61 口角の下り度
62 まぶたの下り度
63 ほほの下り度
64 眉の下り度
65 開口度
70 特徴量
71 無表情の特徴量
72 笑顔の特徴量
80 管理部
81 サーバ
82 サーバ管理データ
83 利用者情報
84 利用者から取得した情報
90 携帯端末
91 表示部
92 アプリケーション
93 元気度チェック質問欄
94 AI学習のための情報提供依頼画面
95 顔写真ガイダンス画面
96 薬情報撮影ガイダンス画面
P 利用者
D 誤差
N インターネット

1. Dementia and/or depression prediction AI
10 Pharmacy 11 Photography equipment 12 User's face photo 13 Expressionless face photo 14 Smiling face photo 20 Face photo data 21 Expressionless face photo data 22 Smiling face photo data 30 Medicine notebook 31 Prescription 32 Medicine data 40 Teacher data 41 Example data 42 Answer data 43 Calculation table 50 Machine learning system 51 Input section 52 Intermediate section 53 Output section 54 Answer section 60 User's face 61 Degree of drooping of corners of mouth 62 Degree of drooping of eyelids 63 Degree of drooping of cheeks 64 Degree of drooping of eyebrows 65 Mouth opening degree 70 Feature amount 71 Expressionless feature amount 72 Smile feature amount 80 Management section 81 Server 82 Server management data 83 User information 84 Information acquired from user 90 Mobile terminal 91 Display section 92 Application 93 Health level check question column 94 Information provision request screen for AI learning 95 Face photo guidance screen 96 Drug information shooting guidance screen P User D Error N Internet

Claims (13)

利用者の顔写真から認知症及び/又はうつ病の程度を推定するAIに用いられる教師データを作成するための方法であって、
認知症及び/又はうつ病の程度を推定するシステムにおいて、
AIの教師データとなる情報は、利用者が処方箋に応じた薬を受け取る場所、又は、該利用者が使用する携帯端末のアプリケーションから取得可能であり、
該教師データとして、少なくとも該利用者の顔写真と、処方箋、指示書又は、該利用者の認知症及び/又はうつ病を推定可能な情報と、を含み、
該利用者の顔写真として無表情の顔写真又は笑顔の顔写真のいずれか1つ若しくは両方を用い、該顔写真から顔の特徴量を抽出して教師データの例題データとして生成し、
該処方箋又は指示書に記載された薬の種類と量から認知症度及びうつ病度を推定して教師データの正解データとして用い、
機械学習を行うための前記教師データを作成することを特徴とする教師データ作成方法。
A method for creating training data used in an AI that estimates the degree of dementia and/or depression from a user's facial photograph, comprising:
1. A system for estimating the degree of dementia and/or depression,
The information that serves as training data for the AI can be obtained from the location where the user receives the medicine according to the prescription or from an application on the mobile device used by the user.
The teacher data includes at least a facial photograph of the user, a prescription, an instruction sheet, or information that can estimate the user's dementia and/or depression,
Using either a facial photograph of the user with a neutral expression or a facial photograph with a smiling expression or both, extracting facial features from the facial photograph and generating them as example data of training data;
The degree of dementia and the degree of depression are estimated from the type and amount of the medicine described in the prescription or instruction sheet and used as correct answer data for training data;
A method for creating teacher data, comprising creating the teacher data for machine learning .
前記利用者の認知症及び/又はうつ病を推定可能な情報は、前記利用者への質問により取得することを特徴とする請求項1に記載の教師データ作成方法。 The method for creating teacher data according to claim 1, characterized in that the information that can be used to estimate the user's dementia and/or depression is obtained by asking the user questions. 前記教師データの前記例題データとして、さらに年齢、性別、病歴、家族の病歴を含むことを特徴とする請求項1に記載の教師データ作成方法。 2. The method for creating training data according to claim 1 , wherein the example data of the training data further includes age, sex, medical history, and family medical history. 前記教師データの前記例題データとして、前記利用者の顔写真から抽出された特徴量を用いることを特徴とする請求項1に記載の教師データ作成方法。 2. The method for generating training data according to claim 1 , wherein a feature amount extracted from a facial photograph of the user is used as the example data of the training data. 前記特徴量として、少なくとも口角の下がり度、まぶたの下がり度、ほほの下がり度、眉の下がり度、開口度のいずれかを持つことを特徴とする請求項4に記載の教師データ作成方法。 5. The method for generating training data according to claim 4 , wherein the feature values include at least one of the following: degree of drooping of the corners of the mouth, degree of drooping of the eyelids, degree of drooping of the cheeks, degree of drooping of the eyebrows, and degree of mouth opening. 特定の認知症度及びうつ病度時に予想される前記特徴量を推定し、
推定された前記特徴量を前記例題データとし、その際、予想される前記認知症度及びうつ病度を前記正解データとし、機械学習を行うことを特徴とする請求項4に記載の教師データ作成方法。
Estimating the feature amount predicted at a specific dementia level and depression level;
The teacher data creation method described in claim 4, characterized in that the estimated features are used as the example data, and the predicted dementia level and depression level are used as the correct answer data, and machine learning is performed.
請求項1から請求項6のいずれかに記載の教師データ作成方法により作成された教師データを用いたAIシステムであって、
対象者の顔写真によって、該対象者の前記認知症度及びうつ病度を推定することを特徴とする認知症及び/又はうつ病推定AIシステム。
An AI system using teacher data created by the teacher data creation method according to any one of claims 1 to 6 ,
A dementia and/or depression estimation AI system that estimates the degree of dementia and depression of a subject based on a facial photograph of the subject.
薬局にて、前記対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、アドバイスを通知することを特徴とする請求項7に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system of claim 7, characterized in that a facial photo of the subject is taken at the pharmacy and advice is provided based on the results of the AI system's analysis of the photo. 前記対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、動画コンテンツに誘導することを特徴とする請求項7に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system as described in claim 7, characterized in that a photo of the subject's face is taken and, depending on the results of the AI system's response to the photo, the subject is guided to video content. 前記対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、専門の医療機関を紹介することを特徴とする請求項7に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system of claim 7, characterized in that a facial photo of the subject is taken and, depending on the results of the AI system's analysis, a referral to a specialized medical institution is made. 前記対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、家族にアドバイスを通知することを特徴とする請求項7に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system of claim 7, characterized in that a facial photo of the subject is taken and advice is provided to the family depending on the results of the AI system's response to the photo. OTC医療品販売店にて、前記対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、アドバイスを通知することを特徴とする請求項7に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system of claim 7, characterized in that a facial photo of the subject is taken at an OTC medical product store, and advice is provided based on the results of the AI system's analysis of the photo. 前記対象者が使用する携帯端末で撮影した、前記対象者の顔写真を、ネットワークを介して取得可能であり、取得した該顔写真に対する前記AIシステムの結果に応じて、アドバイスを通知することを特徴とする請求項7に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system of claim 7, characterized in that a facial photograph of the subject taken with a mobile device used by the subject can be obtained via a network, and advice is provided depending on the results of the AI system's use of the obtained facial photograph.
JP2023145755A 2022-12-16 2023-09-08 Dementia and/or depression prediction AI system and teacher data creation method Active JP7626487B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2025005687A JP7816821B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005682A JP7773266B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005683A JP7787616B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005684A JP7787617B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005685A JP7803598B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005688A JP7816822B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005686A JP7803599B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022200901 2022-12-16
JP2022200901 2022-12-16

Related Child Applications (7)

Application Number Title Priority Date Filing Date
JP2025005684A Division JP7787617B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005683A Division JP7787616B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005685A Division JP7803598B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005682A Division JP7773266B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005687A Division JP7816821B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005686A Division JP7803599B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005688A Division JP7816822B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method

Publications (2)

Publication Number Publication Date
JP2024086560A JP2024086560A (en) 2024-06-27
JP7626487B2 true JP7626487B2 (en) 2025-02-04

Family

ID=91617794

Family Applications (8)

Application Number Title Priority Date Filing Date
JP2023145755A Active JP7626487B2 (en) 2022-12-16 2023-09-08 Dementia and/or depression prediction AI system and teacher data creation method
JP2025005687A Active JP7816821B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005682A Active JP7773266B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005686A Active JP7803599B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005684A Active JP7787617B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005685A Active JP7803598B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005683A Active JP7787616B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005688A Active JP7816822B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method

Family Applications After (7)

Application Number Title Priority Date Filing Date
JP2025005687A Active JP7816821B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005682A Active JP7773266B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005686A Active JP7803599B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005684A Active JP7787617B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005685A Active JP7803598B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005683A Active JP7787616B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method
JP2025005688A Active JP7816822B2 (en) 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method

Country Status (1)

Country Link
JP (8) JP7626487B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021245728A1 (en) 2020-06-01 2021-12-09 サスメド株式会社 Disease estimation system, teacher data acquisition device, and program for acquiring teacher data
WO2022034682A1 (en) 2020-08-14 2022-02-17 日本電気株式会社 Information processing device, control method, and storage medium
US20220165425A1 (en) 2020-05-21 2022-05-26 Baruch SCHLER Methods for visual identification of cognitive disorders
JP2022184032A (en) 2021-05-31 2022-12-13 新東工業株式会社 Expression recognition device, dialog robot, expression recognition system, expression recognition method and program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MD3426251T2 (en) 2016-03-10 2022-09-30 Janssen Pharmaceutica Nv Methods of treating depression using orexin-2 receptor antagonists
JP2018007792A (en) 2016-07-12 2018-01-18 株式会社コンフォートビジョン研究所 Expression recognition diagnosis support device
JP6804779B2 (en) * 2018-07-24 2020-12-23 日本テクトシステムズ株式会社 Mild cognitive impairment estimation system, mild cognitive impairment estimation device, and program for estimating the presence or absence of mild cognitive impairment
WO2021106825A1 (en) 2019-11-25 2021-06-03 学校法人 慶應義塾 Disease prediction device, prediction model generation device, and disease prediction program
JP7580716B2 (en) 2020-10-29 2024-11-12 グローリー株式会社 Cognitive function assessment device, cognitive function assessment system, learning model generation device, cognitive function assessment method, learning model production method, and program
JP7166663B2 (en) 2021-03-02 2022-11-08 株式会社エフアンドエフ Health management system
JP2022141322A (en) 2021-03-15 2022-09-29 TXP Medical株式会社 Information processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220165425A1 (en) 2020-05-21 2022-05-26 Baruch SCHLER Methods for visual identification of cognitive disorders
WO2021245728A1 (en) 2020-06-01 2021-12-09 サスメド株式会社 Disease estimation system, teacher data acquisition device, and program for acquiring teacher data
WO2022034682A1 (en) 2020-08-14 2022-02-17 日本電気株式会社 Information processing device, control method, and storage medium
JP2022184032A (en) 2021-05-31 2022-12-13 新東工業株式会社 Expression recognition device, dialog robot, expression recognition system, expression recognition method and program

Also Published As

Publication number Publication date
JP2025039850A (en) 2025-03-21
JP2025039851A (en) 2025-03-21
JP7787616B2 (en) 2025-12-17
JP7803599B2 (en) 2026-01-21
JP2025039852A (en) 2025-03-21
JP2025039847A (en) 2025-03-21
JP7787617B2 (en) 2025-12-17
JP2025039849A (en) 2025-03-21
JP2025039853A (en) 2025-03-21
JP7773266B2 (en) 2025-11-19
JP7816821B2 (en) 2026-02-18
JP7816822B2 (en) 2026-02-18
JP2024086560A (en) 2024-06-27
JP2025039848A (en) 2025-03-21
JP7803598B2 (en) 2026-01-21

Similar Documents

Publication Publication Date Title
US20230162871A1 (en) Care lifecycle tele-health system and methods
JP2020199072A (en) Cerebral apoplexy determination device, method, and program
JP7759066B2 (en) Support information providing system, support information providing device, support information providing method and program
Jacob Management of patient healthcare information: Healthcare-related information flow, access, and availability
CN118299013A (en) Medical and nutritional integrated data management method and system based on AI
Ayouni et al. Development of a smart hospital bed based on deep learning to monitor patient conditions
Dewadas et al. Digitalisation in healthcare: a review of present developments in Malaysia
KR102730141B1 (en) Method, apparatus and system of providing telemedicine based on ict
JP7626487B2 (en) Dementia and/or depression prediction AI system and teacher data creation method
JP7616775B2 (en) Test presentation device, test presentation method, and recording medium
US20250218581A1 (en) Facility presentation apparatus, facility presentation method and recording medium
US20250157663A1 (en) Systems and methods for automated triaging of electronic ordered lists
Niechzial Digitalization in the Health Sector–Challenges and Perspectives
JP2023109385A (en) System for insurance proposal, method of operation of system for insurance proposal
US20260100280A1 (en) Digital biomarker of dementia and depression
JP7485233B2 (en) Information processing system, information processing device, information processing method, and program
Alamari et al. Adopting Digital Innovations in Nursing: Impact, Barriers and Future Direction for Transformation in Saudi Arabia
Davidson et al. Digital Therapeutics
JP7844871B2 (en) Information processing device, information processing system, and information processing program
Dakanalis et al. Artificial intelligence: A game-changer for mental health care
Kannan et al. Clinical Decision Support System for Heart Failure Prognosis Using Gradient Boosting and Django-based Web Frameworks
WO2024042613A1 (en) Terminal, method for controlling terminal, and storage medium
Vandana et al. Personalized healthcare information system framework for enhancing student mental healthcare
Jayakumar Impact of Al in Patient Engagement
van der Heijden et al. Healthcare at Any Distance: Evolving Past Traditional Telemedicine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240730

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240926

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20241217

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250116

R150 Certificate of patent or registration of utility model

Ref document number: 7626487

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150