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
JP7787616B2 - Dementia and/or depression estimation AI system and training data creation method - Google Patents
[go: Go Back, main page]

JP7787616B2 - Dementia and/or depression estimation AI system and training data creation method - Google Patents

Dementia and/or depression estimation AI system and training data creation method

Info

Publication number
JP7787616B2
JP7787616B2 JP2025005683A JP2025005683A JP7787616B2 JP 7787616 B2 JP7787616 B2 JP 7787616B2 JP 2025005683 A JP2025005683 A JP 2025005683A JP 2025005683 A JP2025005683 A JP 2025005683A JP 7787616 B2 JP7787616 B2 JP 7787616B2
Authority
JP
Japan
Prior art keywords
dementia
depression
data
degree
subject
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
JP2025005683A
Other languages
Japanese (ja)
Other versions
JP2025039848A (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 JP2025039848A publication Critical patent/JP2025039848A/en
Application granted granted Critical
Publication of JP7787616B2 publication Critical patent/JP7787616B2/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.
Therefore, there was a need for a method that uses AI to estimate the degree of a subject's dementia or depression from information obtained outside of a hospital.

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

特開2021-108800号公報Japanese Patent Application Laid-Open No. 2021-108800

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

上記課題を解決するため、本発明は、利用者の顔写真から認知症及び/又はうつ病の程度を推定するAIに用いられる教師データを作成するための方法であって、認知症及び/又はうつ病の程度を推定するシステムにおいて、AIの教師データとなる情報は、利用者が処方箋に応じた薬を受け取る場所、又は、該利用者が使用する携帯端末のアプリケーションから取得可能であり、該教師データとして、少なくとも該利用者の顔写真と、処方箋、指示書又は、該利用者への質問により取得した該利用者の認知症及び/又はうつ病を推定可能な情報と、を含み、該利用者の顔写真として無表情の顔写真又は笑顔の顔写真のいずれか1つ若しくは両方を用い、該顔写真から顔の特徴量を抽出して教師データの例題データとして生成し、該特徴量は、少なくとも口角の下がり度、まぶたの下がり度、ほほの下がり度、眉の下がり度、開口度のいずれかを持ち、該処方箋又は指示書に記載された薬の種類と量から認知症度及びうつ病度を推定して教師データの正解データとして用い、機械学習を行うための該教師データを作成する手段を採る。 To solve the above problem, the present invention provides a method for creating training data for use in AI that estimates the level of dementia and/or depression from a user's facial photograph. In this system for estimating the level of dementia and/or depression, information that serves as training data for the AI can be obtained from the location where the user picks up prescription medication or from an application on the user's mobile device. The training data includes at least a facial photograph of the user and information that can be used to estimate the user's dementia and/or depression, obtained from the prescription, instructions, or questions asked of the user. The facial photograph of the user is either an expressionless facial photograph or a smiling facial photograph, or both. Facial features are extracted from the facial photograph to generate example data for training data. The features include at least 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. The level of dementia and depression is estimated from the type and amount of medication listed on the prescription or instructions, and used as correct answer data for training data, thereby creating the training data for machine learning.

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

さらに、本発明は、前記教師データ作成方法により作成された教師データを用いた認知症及び/又はうつ病推定AIシステムであって、対象者の顔写真によって、該対象者の前記認知症度及びうつ病度を推定する手段を採る。 Furthermore, the present invention provides an AI system for predicting dementia and/or depression that uses training data created by the training data creation method, and employs a means for estimating 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 facial photograph of the subject 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 based on the results of the AI system's analysis.

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

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

またさらに、本発明は、OTC医療品販売店にて、前記対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、アドバイスを通知する手段を採る。 Furthermore, the present invention employs a means for taking a facial photograph of the subject at an OTC medical supply store and providing advice based on the results of the AI system's analysis.

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

本発明に係る認知症及び/又はうつ病推定AIシステム並びに教師データ作成方法によれば、病院以外の場所で、対象者の認知症やうつ病の程度を推定するAIを構築するための情報を取得できるので、病院関係者に限らず、認知症及び/又はうつ病を推定するAIを構築できる。
また、利用者が使用する携帯端末のアプリケーションを活用することによって、認知症及び/又はうつ病を推定するAIを構築するための情報を容易に多く取得することができる。
According to the dementia and/or depression estimation AI system and teacher data creation method of the present invention, information for constructing AI that estimates the degree of dementia or depression of a subject can be obtained outside of a hospital, so that AI that estimates 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, it is possible to easily obtain a large amount of information needed to build AI that predicts dementia and/or depression.

本発明に係る教師データ作成方法の実施例を示すフロー図である。FIG. 1 is a flow chart showing an embodiment of a teacher data creation method according to the present invention. 本発明に係る教師データ作成方法の実施例を示す模式図である。1 is a schematic diagram showing an embodiment of a teacher data creation method according to the present invention; 本発明に係る教師データ作成方法における正解データを生成する際の実施例を示す算出表である。10 is a calculation table showing an example of generating correct answer data in the teacher data generating method according to the present invention. 本発明に係る教師データ作成方法における教師データの実施例を示す表図である。FIG. 1 is a table showing an example of training data in a training data creation method according to the present invention. 本発明に係る認知症及び/又はうつ病推定AIシステムにおけるAIの動作例を示す模式図である。FIG. 1 is a schematic diagram showing an example of the operation of the AI in the dementia and/or depression prediction AI system according to the present invention. 本発明に係る教師データ作成方法の他の実施例を示すフロー図である。FIG. 10 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. 10 is a table showing another example of the training data in the training data creation method according to the present invention. 本発明に係る教師データ作成方法における教師データの実施例を示すフロー図である。FIG. 1 is a flow chart showing an example of teacher data in a teacher data creation method according to the present invention. 本発明に係る教師データ作成方法における教師データの実施例を示す説明図である。1 is an explanatory diagram showing an example of teacher data in a teacher data creation method according to the present invention; 本発明に係る認知症及び/又はうつ病推定AIシステムにおける薬局での実施例を示すフロー図である。FIG. 1 is a flow chart showing an example 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. 10 is a system diagram of another embodiment of the present invention. 本発明に係る他の実施例の携帯端末の画面の図である。FIG. 10 is a diagram of a screen of a mobile terminal according to another embodiment of the present invention. 本発明に係る他の実施例の教師データ生成のための情報を示す表である。10 is a table showing information for generating training data according to another embodiment of the present invention. 本発明に係る他の実施例の教師データ取得手順を示すフロー図である。FIG. 10 is a flowchart showing a procedure for acquiring teacher data according to another embodiment of the present invention. 本発明に係る認知症及び/又はうつ病推定AIシステムにおける携帯端末での実施例を示すフロー図である。FIG. 10 is a flow chart showing an example of a mobile terminal implementation of the dementia and/or depression prediction AI system of the present invention.

本発明に係る認知症及び/又はうつ病推定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 build AI that can predict dementia and/or depression not only for hospital personnel but also for anyone.
Hereinafter, embodiments of the dementia and/or depression prediction AI system and training data creation method according to the present invention will be described with reference to the drawings.

尚、以下に示される認知症及び/又はうつ病推定AIシステム並びに教師データ作成方法の全体構成及び各部の構成は、下記に述べる実施例に限定されるものではなく、本発明の技術的思想の範囲内、即ち、同一の作用効果を発揮できる構成等の範囲内で適宜変更することができるものである。
また、本発明は、認知症及び/又はうつ病推定AIシステム並びに教師データ作成方法であるので、当然に、認知症推定AIシステム、うつ病推定AIシステム、認知症及びうつ病推定AIシステムを含むが、実施例においては、認知症及びうつ病を推定する場合の例を重点的に説明する。
認知症推定AIシステムの場合は、他の要素であるうつ病の要素を除くことで、容易にシステムを構築できる。うつ病推定AIシステムの場合も同様である。
また、実施例において、利用者とは、教師データの提供に協力してもらう人であり、対象者とは、AIを用いて、病状の推定を受ける人をいう。
Note that the overall configuration and the configuration of each part of the dementia and/or depression estimation AI system and teacher data creation method shown below are not limited to the examples described below, but 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.
Furthermore, since the present invention is a dementia and/or depression estimation AI system and a method for creating training data, 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 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 a training data creation method according to the present invention. FIG. 2 is a schematic diagram showing an embodiment of a training 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 sample data from a user's facial photograph, and (c) is a schematic diagram of the work of creating correct answer data from a prescription or other information. FIG. 3 is a calculation table showing an embodiment of generating correct answer data in the training data creation method according to the present invention, where (a) is a table for estimating and calculating dementia level and depression level, and (b) is a calculation table obtained by estimating and calculating dementia level and depression level based on actual medication type and dosage. FIG. 4 is a table showing an embodiment of training data in the training data creation method according to the present invention, where (a) is an example in which correct answer data is calculated in 10% frequency increments, (b) is an example in which the frequency is 1 or 0, and (c) is an example in which age, etc., is included in the sample data. Figure 5 is a schematic diagram showing an example of the operation of AI in the dementia and/or depression prediction AI system of the present invention, where (a) shows an example of predicting dementia, etc. using AI, and (b) shows the process of machine learning using 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 estimation AI1 is to generate training data and have the AI learn a large amount of it to make highly accurate estimations.
Training data is data used for machine learning in AI. Training data is often generated as pairs of example data and correct answer data.
Example data is data that represents the event that you want the AI to estimate, and correct answer data is data that you want the AI to answer.

AIに、病気であるか否かを推定させる場合には、例えば、例題データとして対象者の症状等とし、正解データとして対象者の病名とする。このような教師データを大量にAIに学習させることによって、病気を推定するAIが構築される。 When asking AI to estimate whether or not a person is ill, for example, the subject's symptoms are used as example data, and the subject's disease name 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 and 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 taking a photo with a camera, but the subject's illness name is managed by a doctor in a medical record, etc., and it is generally difficult to take this 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 are estimated from the prescription, etc. at the pharmacy, and training data is obtained.
In other words, this is a method for creating training data in which information that serves as training data for AI is obtained at the location where the user receives the medicine according to the prescription, and the training data includes at least a photograph of the user's face and the prescription or instructions.
Information that serves as training data includes information that serves as the basis for the training data and information that is used as training data.
Prescriptions, etc. include at least prescriptions, medicine notebooks, and instructions. Instructions, also known as medication instructions, are written documents in which a doctor instructs guardians, facilities, etc. on the time and amount of medication to be administered.
The procedure for acquiring training data will be described with reference to FIGS.
Fig. 1 shows a flow for generating teacher data 40. Fig. 2 shows a procedure for generating teacher data 40.
The information is collected by the pharmacy 10. Here, the term "pharmacy" refers to both pharmacies that are independent of the hospital and pharmacies that are located within the hospital. The data handled by both pharmacies is the same.
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 also be obtained along 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 is easy.
Apart from dispensing medicine, permission is obtained to use information from the prescription 31, medicine 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 estimation AI1, permission is obtained from the user to obtain a facial photograph 12, and the user P is photographed with the photographing device 11 to obtain the facial photograph 12 of the user (S102, Figure 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. The facial photograph 12 of the user with a neutral expression can be said to be a natural, ordinary face.
It is said that in cases of dementia or depression, facial expressions tend to be dull, with drooping eyelids and a lack of overall expression. Smiles may also be unnatural or may be no different from a blank smile.
Therefore, by using facial photos of users with a neutral expression and a smiling expression, the difference between normal people and those with dementia or depression can be emphasized.
When taking a photo with no expression, if it is difficult to say, "Please make sure you have no 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 and severity of dementia or depression are estimated from the type and amount of medication written on the prescription 31, etc. (S103, FIG. 2(b)). While a pharmacist or the like can make a certain degree of estimation, a calculation table 43 is used to reduce variability. An example of the calculation table is shown in FIG. 3(a). Correct answer data is generated using 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 correcting the images 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 facial photograph data 20 consists of facial photograph data 21 with a neutral expression and facial photograph data 22 with a smiling expression.
A series of operations completes one piece of training data (S105).
In other words, the process involves using a photograph 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.
Increasing the amount of training data can improve the accuracy of machine learning.

処方箋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 notebook 30, and instructions.
The calculation table 43 has a column for recording the type and amount of medication, which is filled in according to the user's information. There are columns for dementia and depression, and coefficients are listed for each type of medication. Medications that are closely related to each disease have high coefficients, and medications that are 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 obtain correct data, normalization is required, such as 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.
Figure 3(b) 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 at 30, and the evaluation for dementia is 76.7% and the evaluation for depression is 13.3%. As correct answer data, correct answer data 1 with 10 levels and correct answer data 2 with two levels (1 and 0) are generated.
Correct answer data 1 has a dementia level of 70% and a depression level of 10%, and correct answer data 2 has a dementia level of 1 and a depression level of 0.
This process generates correct data on the dementia level and depression level.

図4は、教師データの例を示す。図4(a)は、教師データの例題データとして顔写真データ20を用い、顔写真データ20として、無表情の顔写真21と笑顔の顔写真データ22を用いている。
正解データとして、認知症・うつ病とも10段階のデータとしている。正解データは、10段階×10段階で100個の正解の要素があるので、機械学習のための教師データの数も、それに応じて大量に必要となる。
図4(b)は、教師データの正解データとして、認知症・うつ病とも2段階のデータとした場合である。正解データは、2段階×2段階で4個の正解の要素となるので、機械学習のための教師データの数は、図4(a)の場合に比べれば少なくすむ場合もある。
図4(c)は、例題データとして、顔写真データ以外に利用者の年齢、性別、病歴を加えた場合である。家族の病歴を加えることもできる。多くのデータを用いることで、推定が容易になる場合もある。但し、AIを活用する際には、学習時の同様のデータを入力する必要があるので、この場合は、顔写真データ以外に利用者の年齢、性別、病歴を入力する必要があり、汎用性は低くなる。
4A shows examples of training data. In FIG. 4A, facial photograph data 20 is used as example data of the training data, and as the facial photograph data 20, a facial photograph 21 of a neutral face and a facial photograph 22 of a smiling face are used.
The correct answer data for both dementia and depression is based on a 10-point scale. The correct answer data has 100 correct answer elements (10 points x 10 points), so a correspondingly large amount of training data is required for machine learning.
Figure 4(b) shows the case where two levels of data are used as correct answer data for both dementia and depression as training data. The correct answer data consists of four correct answer elements (two levels x two levels), so the amount of training data required for machine learning may be smaller than in the case of Figure 4(a).
Figure 4(c) shows an example data set in which the user's age, gender, and medical history are added in addition to facial photograph data. Family medical history can also be added. Using a large amount of data can sometimes make estimation easier. However, when using AI, it is necessary to input the same data as during learning, so in this case, the user's age, gender, and medical history must be input in addition to facial photograph 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 operations during AI learning and utilization 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 corresponding to the information to be input to the AI. The intermediate section 52 is the 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 the section that outputs the answer and has elements Z1 to Zm corresponding to 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 (Figure 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 Z1 to Zm and A1 to Am are calculated, and the sum of these values becomes the error D. Minimizing the error D improves the accuracy of the AI ( FIG. 5( b) ).

認知症及び/又はうつ病推定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 estimation AI1 will be simplified for the sake of explanation, and an example of an AI that estimates 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 output unit 53 has two elements, for example, Z1 "has dementia" and Z2 "does not have dementia."
When face photograph data 20 including expressionless face photograph data 21 and smiling face photograph data 22 is input, the number of elements X in input unit 51 is an element according to the resolution.
When facial photo data 20 is input to the AI input unit 51, 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 accurate the answer 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. Because the difference between the values of Z1 and Z2 is large, the accuracy can be said to be 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), the output unit 53 of the dementia and/or depression estimation AI 1 will have 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 estimation AI 1, and processed by 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 the 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. Z2 has a dementia level of 0 and a depression level of 1, so the AI's response is "There is a possibility of depression."
Alternatively, 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 "There is a 60% chance of depression."

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

また、出力部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 data items in the input unit 51, intermediate unit 52, and output unit 53 can be reduced.
In this case, the final output of the dementia and/or depression estimation AI1 is the combination of the answers of 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 explained with reference to Figure 5(b). Facial photo data 20, consisting of expressionless facial photo data 21 and smiling facial photo data 22, is input to the input unit 51 of the dementia and/or depression estimation AI 1, and the output unit 53 has 100 elements ranging from a dementia level of 0% and a depression level of 0% to a dementia level of 90% and a depression level of 90%.
First, one of the training 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 training 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 excluding Aj are set to 0.
When example data 41 is input to 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 process 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を運用・活用することが可能となる。
In this way, according to this embodiment, information for constructing an AI that estimates the degree of dementia and/or depression of 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 not only for hospital personnel.
In addition, by using a facial photograph of the person being diagnosed, it becomes possible to operate and utilize AI to estimate the degree of dementia and/or depression of the person.

また、認知症及び/又はうつ病推定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 estimation AI1 can be used at the pharmacy 10 to provide advice to pharmacy customers about dementia and depression.
A photograph of the face of a person who requests AI advice is taken, and advice on dementia and depression is provided by the dementia and/or depression estimation AI 1. This will be explained along the flow of Figure 11.
1) A photograph of the subject's face is taken (S401). The photographs should include one with a neutral expression and one with a smiling expression. If this is difficult, only one of them will suffice. This may be done in parallel with the acquisition of training data 40 to improve 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 estimation 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 level and depression level (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 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 that are not related to dementia or depression, such as dermatology or surgery, advice may be given without checking prescriptions, etc.

このような作業を行うことによって、対象者の潜在的な認知症度並びにうつ病度を、対象者の負担なく確認できるので、認知症及びうつ病の早期発見に寄与することができる。 By performing this type of work, 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 user's level of dementia and depression during a health check.
1) Take a photograph of the face of the person undergoing the health checkup. 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 the health checkup, but if this is difficult, just one of the photographs will suffice.
2) Generate facial photo data 20 for AI.
3) Input the data into the AI. If only one photo is needed, input two of the same photo.
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 checkup, subjects can obtain diagnostic 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)。
具体的には、認知症とされていない対象者に高い認知症度が推定された場合に、システムは、予め登録された親族や家族に対して、お知らせ等で対象者の認知症の可能性について連絡する。また、その際、認知症の確認のための医療機関の紹介や、対象者への対応のアドバイス等も行う。
The dementia and/or depression estimation AI1 can also be used in a monitoring support system. When the monitoring support system is used, it estimates the degree of dementia and depression of the person being monitored. This will be explained with reference to the flow in Figure 12.
A monitoring support system is a system that uses cameras and sensors to check on 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 acquired from video to confirm the safety of the subject (S501). Because the monitoring support system requires constant monitoring of the subject's condition, the subject is often constantly photographed with a camera, and it is easy to acquire facial photographs of the subject with a blank expression and a smiling expression. For example, a facial photograph 13 of the user with a blank expression and a facial photograph 14 of the user with a smiling expression may be acquired based on the subject's behavior, voice, etc.
2) Generate facial photo data 20 for AI from the subject's facial photo (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 dementia or depression level is worse than expected, the AI estimates of the subject's dementia or depression level and corresponding advice will be notified to the subject's 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 via notifications, etc. At that time, the system will also refer the subject to a medical institution to confirm dementia and provide advice on how to respond to the subject.

このように、認知症及び/又はうつ病推定AI1を見守りサポートシステムに付加することによって、対象者に特別な負担をかけることなく、対象者の認知症及びうつ病の可能性を推定し、親族や家族に連絡することで、早めの対応を行うことが可能となる。 In this way, by adding the dementia and/or depression estimation AI1 to the monitoring support system, it is possible to estimate the possibility of a subject having dementia or depression 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 over-the-counter (OTC) products. When dealing with customers who visit an OTC medical supply store, the AI estimates the degree of dementia and depression of the customer.
1) Take a facial photograph of the subject over the counter. The subject can be encouraged to take a photograph as it allows for a simple check of dementia and depression. Take a facial photograph 13 of the user with a neutral expression and a facial photograph 14 of the subject with a smiling face. If this is difficult, just one of them will suffice.
2) Image processing is performed on the subject's facial photograph 12 so that it becomes facial photograph data to be input into the dementia and/or depression estimation AI 1.
3) Input the data into the AI. If only one photo is needed, 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 level and depression level.
5) The subject will be informed that this is merely an estimate, and will be notified of the estimated level of dementia and depression, along with advice based on those estimates.
Specifically, if a subject who is not aware of dementia or depression is suspected to have a high level of dementia or depression, the system will refer them to a medical institution to confirm dementia or depression and provide advice such as guidelines on how to respond.

このように、認知症及び/又はうつ病推定AI1をOTCで活用することによって、対象者は、特別な負担なく、認知症及びうつ病についての簡易診断やアドバイスを得ることができる。 In this way, by utilizing the dementia and/or depression prediction AI1 over-the-counter, subjects can receive a simple diagnosis 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 your 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, this is done as follows.
1) When a driver's license photo is taken at a license renewal venue, the photo data is acquired as the subject's facial photo 12. As in the past, only the driver's license photo may be taken, or a smiling facial photo 14 may be acquired with the explanation that it is for dementia confirmation.
2) Image processing is performed on the subject's facial photograph 12 to create facial photograph data 20 to be input into the dementia and/or depression estimation 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, including AI-based estimates of the degree 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. Furthermore, using AI in place 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, many identification photos, such as driver's licenses, are expressionless, and when assessing dementia or depression from such photos, it may be necessary to use only expressionless photos.
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 smiling face, are reduced to one blank facial photograph 13. The advantage of using only the blank facial photograph 13 is that it can be easily acquired without requiring the user to "please smile."

また、笑顔の顔写真14の1枚のみを用いる場合も考えられる。すでに、対象者を撮影した写真を用いる場合、笑顔のものが多い場合があるからである。
認知症、うつ病は、笑顔で特有の特徴が出る場合もあり、笑顔のみの写真も有効である。笑顔のみの教師データを作り、機械学習を行うことにより、笑顔の顔写真14のみからも病気を推定することができる。
It is also possible to use only one smiling face photograph 14. This is because when using photographs of the subject, there may be many smiling faces.
Dementia and depression can sometimes show distinctive characteristics 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 smiling face photos 14 alone.

取得したデータの活用方法に関し、利用者の顔写真12として、利用者の無表情の顔写真13と利用者の笑顔の顔写真14を取得し、顔写真データ20として、無表情の顔写真データ21と笑顔の顔写真データ22を生成したのち、敢えて一方の写真データのみを用いて、AIを構築することもできる。
その場合、1つのデータ群から、AIとして、無表情と笑顔から判別するAIと、無表情から判別するAIと、笑顔から判別するAIと、を構築することができる。活用時に、利用者の無表情、笑顔の写真を取得できた場合は、無表情と笑顔から判別するAIを用い、無表情などの1枚の写真しか取得できなかった場合は、無表情から判別するAIなどを用いることによって、その場面に応じたAI活用を行うことができる。
Regarding how to utilize the acquired data, a facial photo 13 of the user with a blank expression and a facial photo 14 of the user with a smiling expression can be acquired as facial photo 12 of the user, and facial photo data 20 can be generated as facial photo data 21 of the blank expression and facial photo data 22 of the smiling expression. After that, AI can be constructed by deliberately using only one of the photographic data.
In this case, from one data group, it is possible to construct AI that distinguishes between expressionless and smiling faces, AI that distinguishes from expressionless faces, and AI that distinguishes from smiling faces.When using the system, if a photo of the user with a expressionless face and a smiling face can be obtained, the AI that distinguishes between expressionless and smiling faces can be used, and if only one photo of an expressionless face or the like can be obtained, the AI that distinguishes from expressionless faces can be used, 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 chart showing a method for creating training data for a dementia and/or depression diagnostic AI according to this embodiment. Fig. 7 is a schematic diagram showing how facial features are extracted for a dementia and/or depression diagnostic AI, where (a) is a schematic diagram showing the area from which facial features are extracted, and (b) is a diagram explaining the rising and falling 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 a dementia and/or depression diagnostic AI according to this 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 AI from facial photograph data of a subject, a relatively large number of samples and training data are 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 photograph 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 specific characteristics. 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 quantifying each feature, 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 extent, 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 becomes possible to input this information into the dementia and/or depression estimation AI1.
In addition, by quantifying data from expressionless and smiling faces, it is possible to build AI with higher accuracy.

本実施例での教師データの例を、図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 Example 1, 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 Example 1, but the example data was feature quantities 70 extracted from the user's facial photo. Extracted from the facial photo data 20, the degree of drooping of the mouth corners 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 were determined as numerical values. In this example, there are 10 levels ranging 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.
The feature amount 70 is extracted only from the facial photograph data 20, so 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 along the flow of FIG.
The process of obtaining the contents of the prescription 31 etc. from the user (S201), obtaining a facial photograph 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) is the same as in Example 1.
Facial feature amounts 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. Thereafter, facial feature amounts 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 example of training data using feature quantity 70 in Figure 8, in the case of number 1, first, image processing is performed on expressionless face photo data 21, which is the source of the example data, 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, image processing is performed on smiling face photo data 22 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 correct answer data is the same as in Example 1.
In this way, one piece of training data 40 is completed (S205). The same process is performed on the other data to generate training 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 the facial feature amount 70 as example data, the generation of the training data 40 can be partially simplified.
Dementia and depression experts have extensive knowledge and experience regarding facial feature values 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 photos of the user or prescriptions 31.
In other words, by estimating the feature values 70 expected at a specific level of dementia and depression, using the estimated feature values 70 as example data, and then using the predicted level of dementia and depression as correct answer data and performing machine learning, it becomes easier to obtain data.

すなわち、専門家に、無表情の場合に認知症・うつ病に現れやすい特徴を列挙してもらうことで、写真を集めることなく、ある程度のデータを構築することができる。
同様に、笑顔の場合、無表情と笑顔の差についても特徴を列挙してもらうことで、ある程度のデータを構築することができる。
In other words, by asking experts to list the characteristics that are likely to be present in people with dementia or depression when they have a blank expression, it is possible to build up a certain amount of data without collecting photographs.
Similarly, in the case of smiles, by asking people 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, there can be a large discrepancy between the AI output and the correct answer in the early stages of learning. 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 quantities 70 and the degree of dementia/depression are quantified by an expert (S301). For example, the facial feature quantities 70 include 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 Figure 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 degree of drooping of the eyelids from a neutral expression to a smiling expression is changed on a 10-point scale, assuming that the cheeks are drooped to a degree of 5, the eyebrows are drooped to a degree of 4, the mouth opening is open to a degree of 2, the eyelids are drooped to a degree of 4, and the corners of the mouth are drooped to a degree of 5 when the face is expressionless.
The range of change in the degree of downward movement of the mouth corners is from −5 to 4, since the degree of downward movement of the mouth corners when the face is expressionless is 5. The range of change in the degree of downward movement of the eyelids is from −4 to 5, since the degree of downward movement of the eyelids when the face is expressionless is 4.
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 downwards despite the smile, and it is considered that the smile is not being properly expressed, so the recognition rate is considered to be high. 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 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 data (S302). Figure 10(b) shows an example of a training data group. When all facial feature values 70 are changed from 0 to 9, the correct data is listed as dementia level XX% and depression level XX%. The example in Figure 10(b) is an example of a single feature value group. If a neutral feature value 71 and a smiling feature value 72 are used, the number of classifications will be even larger.
The training data is completed through expert guidance (S303).
Next, experts are asked to generate dementia and depression levels, focusing on combinations of feature quantities 70 that are likely to actually exist (S304). This process increases the amount of training data that is closer to reality. This completes the initial training data for machine learning (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. Portions that are the same as those in the first embodiment will be omitted.
Fig. 13 is a system diagram of Example 3 according to the present invention. Fig. 14 is a diagram of screens of a mobile terminal according to Example 3 according to the present invention, in which (a) is a screen for asking questions to confirm the level of energy, (b) is a screen for requesting permission to acquire teacher data, (c) is a screen for displaying guidance for acquiring a facial photo of the user by the mobile terminal, and (d) is a screen for displaying guidance for confirming the medications taken by the user by the mobile terminal.
Fig. 15 is a table showing information for generating teacher data according to Example 3 of the present invention. Fig. 16 is a flow diagram showing a teacher data acquisition procedure according to Example 3 of the present invention. Fig. 17 is a flow diagram showing an example of a mobile terminal in the dementia and/or depression prediction AI system according to the present invention.

実施例1によって、医療機関から情報を得ることなく、薬局での情報から教師データを生成することによって、認知症及び/又はうつ病についてのAIを構築することができる。
しかしながら、対象者の顔写真データからAIを構築するためには、比較的多くのサンプル、教師データが必要である。
そこで、薬局に限らず、認知症及びうつ病についての教師データを取得する方法が求められるところである。
According to Example 1, it is possible to build AI for dementia and/or depression by generating training data from information at pharmacies without obtaining information from medical institutions.
However, in order to build AI from facial photograph data of a subject, a relatively large number of samples and training data are required.
Therefore, there is a need for a method to obtain training data on dementia and depression, not just for 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 possible to obtain information that serves as training data for AI from an application on a mobile terminal used by a user.
The training data includes at least a facial photograph of the user, a prescription, instructions, 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.
By obtaining information related to training data from a mobile device app in this way, 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 estimation AI1 in this embodiment is a system that obtains training data from the 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, as in the first embodiment.
It has a learning phase where it learns using training data, and a utilization phase where it uses the intermediate part constructed through learning to provide AI answers.
During learning, training data sent from the management unit 80 is used to learn, intermediate adjustments are made, and the accuracy of the AI is improved.
When in use, the recognition level and depression level are estimated from the photograph 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 a bridge 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 and reads data from the server 81.
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 what has been converted into teacher data.
The information to be processed may be, for example, a photograph of a medicine taken by the user. If the received photograph of a medicine is a medicine notebook, the management unit 80 reads the name of the medicine written in the notebook and sets it as the medicine content. If the received photograph of a medicine is a medicine bag or the medicine itself, the name of the medicine is identified from the name on the surface of the medicine bag or the name on the medicine sheet.
Thereafter, similarly to Example 1, the recognition level and the depression level are estimated and calculated using the recognition level and depression level calculation table for the drug name as shown in Figure 3. The calculated values are stored in the server 81.
Facial photographs are also processed and adjusted in the same way. 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 Example 1, such as simplifying the size of the face and the background. The processed photographs are stored in the server 81.
The management unit 80 reads out the training data stored in the server 81, which includes the facial photograph, recognition level, and depression level, 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 stores the information that has been used as example data 41 of the teacher data and information that has been used 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, the user with user ID 1001 is Yamada Taro, and the user with user ID 1056 is Suzuki Hanako.
Each person's date of birth, gender, and medical history are recorded, and 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 there are no duplicates. Age, a photo of a face with a neutral expression, a photo of a face with a smiling expression, a photo related to medication, and awareness and depression levels estimated from questions posed by the app are sent to the management unit 80 and recorded on the server 81.
Medications may be photographs of a medicine notebook, a medicine packet, or a medicine sheet.
The management unit 80 adjusts and processes the information from the mobile terminal 90, records the adjusted facial photo as example data 41, and records the contents of the medicine and the recognition and depression values estimated from the medicine as correct answer data on the server 81.
Information managed by one data number corresponds to one piece of training data. As information related to training 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 the awareness and depression level information generated from the drug information, and the awareness and depression level estimated from the 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.
Alternatively, the correct answer data may be the 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 portable terminal 90. While 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 send 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 takes pictures of the surroundings of the mobile terminal 90. In this embodiment, the camera takes pictures of the user's face and the 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 the mechanism that allows the user to operate the terminal. It is operated 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 screen display for an application 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, or a health check application.
Some of these apps are configured to have a section that acquires information about training 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 a 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 and depression, and by using it for AI training, the accuracy of 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 application 92 functions as a part of the application 92 in the 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 checked using in-app data, 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 (FIG. 14(b)) to request cooperation in AI learning in S602.

S603において、ユーザーが、「はい」を選択した場合は、情報取得を進める。「いいえ」を選択した場合は、通常のアプリ動作へ向かう(S608)。 If the user selects "Yes" in S603, information acquisition will proceed. If the user selects "No," the application will proceed 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 a neutral expression and a face photo with a smiling expression are taken (S604, FIG. 14(c)). If it is difficult to specify a face photo with a neutral expression, a face photo with a normal, natural face 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 using an app on the mobile device.
Alternatively, 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 facial photo, a photo related to medication, and the degree of awareness and depression estimated from answers to questions, all managed under a single data number, are transmitted to the management unit 80 via the Internet N (S607).
Once the information has been acquired and transmitted, 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 estimation AI1 can be used on the mobile terminal 90 to provide advice to the person being diagnosed.
The system is designed so that a photograph of the subject's face taken with the mobile device used by the subject can be obtained via the network, and advice is provided based on the results of the AI system's analysis of the obtained photograph.
For example, a photo of the subject's face is taken in response to a call from an application 92 on a mobile terminal 90, and advice on dementia and depression is provided based on the estimated dementia and depression scores by AI. This will be explained along the flow in FIG. 17 .

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

2)対象者は、アプリケーション92のガイダンスに従い、自身の顔写真を撮影する(S702)。顔写真として、無表情の写真と笑顔の写真の2つの写真を撮影すると好適である。認知症、うつ病の推定精度を高めることができるからである。
携帯端末90で、自身の映像を見ながら、撮影することによって、利用者は、自身の無表情、笑顔の様子を意識しながら撮影できるので、より適切な顔写真が撮影できる。
2) The subject takes a photograph of their own face according to the guidance of the application 92 (S702). It is preferable to take two photographs of the face, one with a neutral expression and one with a smiling face, as 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 or her expressionless face and smiling face, and thus can take a more appropriate facial picture.

3)アプリケーション92は、インターネットNを介して、管理部80に顔写真を送信する。
管理部80は、対象者の顔写真について、背景の除去、顔のサイズの調整等の加工を行い、例題データと同様の顔写真データとなるようにする。(S703)。
3) The application 92 sends 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 the same as 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 into the input unit 51 of the machine learning system 50, which is the core of the AI (S704).
5) The values of the output section 53 of the machine learning system 50 are checked, and the estimated values of the dementia level and depression level are determined (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 AI-estimated level of dementia and depression, and advice based on the AI estimate will be displayed on the screen. For example, the advice may read, "The level of dementia is estimated to be 70%. We recommend that you seek medical advice as soon as possible."
The content of the advice may be generated by the management unit 80, or the content may be displayed on the mobile terminal 90 in advance according to the estimated value.
Furthermore, in the case of the second or subsequent simple diagnosis, the previous 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 dementia level is estimated to be 30%, which 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, thereby contributing 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 naturally be used as technology for building dementia and/or depression prediction AI outside of hospitals, and can also be applied to other cases in which the illness manifests as a distinctive 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 Correct answer data 43 Calculation table 50 Machine learning system 51 Input unit 52 Intermediate unit 53 Output unit 54 Correct answer unit 60 User's face 61 Degree of drooping of mouth corners 62 Degree of drooping of eyelids 63 Degree of drooping of cheeks 64 Degree of drooping of eyebrows 65 Mouth opening degree 70 Feature 71 Expressionless feature 72 Smile feature 80 Management unit 81 Server 82 Server management data 83 User information 84 Information acquired from the user 90 Mobile terminal 91 Display unit 92 Application 93 Energy level check question column 94 Information provision request screen for AI learning 95 Face photo guidance screen 96 Drug information photography guidance screen P User D Error N Internet

Claims (9)

利用者の顔写真から認知症及び/又はうつ病の程度を推定するAIに用いられる教師データを作成するための方法であって、
認知症及び/又はうつ病の程度を推定するシステムにおいて、
AIの教師データとなる情報は、利用者が処方箋に応じた薬を受け取る場所、又は、該利用者が使用する携帯端末のアプリケーションから取得可能であり、
該教師データとして、少なくとも該利用者の顔写真と、処方箋、指示書又は、該利用者への質問により取得した該利用者の認知症及び/又はうつ病を推定可能な情報と、を含み、
該利用者の顔写真として無表情の顔写真又は笑顔の顔写真のいずれか1つ若しくは両方を用い、該顔写真から顔の特徴量を抽出して教師データの例題データとして生成し、
該特徴量は、少なくとも口角の下がり度、まぶたの下がり度、ほほの下がり度、眉の下がり度、開口度のいずれかを持ち、
該処方箋又は指示書に記載された薬の種類と量から認知症度及びうつ病度を推定して教師データの正解データとして用い、
機械学習を行うための該教師データを作成することを特徴とする教師データ作成方法。
A method for creating training data to be used in 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 picks up the prescription medicine or from an application on the mobile device used by the user.
The training data includes at least a facial photograph of the user, and information that can be used to estimate the user's dementia and/or depression, obtained from a prescription, an instruction sheet, or questions to the user,
Using either a facial photograph of the user with a neutral expression or a facial photograph of a smiling expression, or both, and extracting facial features from the facial photograph to generate example data of training data;
The feature amount has 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,
The degree of dementia and the degree of depression are estimated from the type and amount of the medicine written in the prescription or instruction sheet and used as correct answer data for training data.
A teacher data creation method for creating teacher data for machine learning.
特定の認知症度及びうつ病度時に予想される前記特徴量を推定し、
推定された前記特徴量を前記例題データとし、その際、予想される前記認知症度及びうつ病度を前記正解データとし、機械学習を行うことを特徴とする請求項1に記載の教師データ作成方法。
Estimating the feature amounts expected at a specific dementia level and depression level;
The teacher data creation method described in claim 1, 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又は請求項2に記載の教師データ作成方法により作成された教師データを用いたAIシステムであって、
対象者の顔写真によって、該対象者の前記認知症度及びうつ病度を推定することを特徴とする認知症及び/又はうつ病推定AIシステム。
An AI system using teacher data created by the teacher data creation method according to claim 1 or 2,
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システムの結果に応じて、アドバイスを通知することを特徴とする請求項3に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system described in claim 3, characterized in that a facial photograph of the subject is taken at the pharmacy, and advice is provided based on the results of the AI system's analysis of the photograph. 前記対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、動画コンテンツに誘導することを特徴とする請求項3に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system described in claim 3, characterized in that a photograph of the subject's face is taken and, depending on the results of the AI system's analysis of the photograph, the subject is guided to video content. 前記対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、専門の医療機関を紹介することを特徴とする請求項3に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system described in claim 3, characterized in that it takes a facial photo of the subject and, depending on the results of the AI system's analysis, refers the subject to a specialized medical institution. 前記対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、家族にアドバイスを通知することを特徴とする請求項3に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system described in claim 3, characterized in that a photograph of the subject's face is taken and advice is provided to the family based on the results of the AI system's analysis of the photograph. OTC医療品販売店にて、前記対象者の顔写真を撮影し、それに対する前記AIシステムの結果に応じて、アドバイスを通知することを特徴とする請求項3に記載の認知症及び/又はうつ病推定AIシステム。 The dementia and/or depression prediction AI system described in claim 3, characterized in that a facial photograph of the subject is taken at an OTC medical supply store, and advice is provided based on the results of the AI system's analysis of the photograph. 前記対象者が使用する携帯端末で撮影した、前記対象者の顔写真を、ネットワークを介して取得可能であり、取得した該顔写真に対する前記AIシステムの結果に応じて、アドバイスを通知することを特徴とする請求項3に記載の認知症及び/又はうつ病推定AIシステム。

The dementia and/or depression prediction AI system described in claim 3, 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 analysis of the obtained facial photograph.

JP2025005683A 2022-12-16 2025-01-15 Dementia and/or depression estimation AI system and training data creation method Active JP7787616B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2022200901 2022-12-16
JP2022200901 2022-12-16
JP2023145755A JP7626487B2 (en) 2022-12-16 2023-09-08 Dementia and/or depression prediction AI system and teacher data creation method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2023145755A Division JP7626487B2 (en) 2022-12-16 2023-09-08 Dementia and/or depression prediction AI system and teacher data creation method

Publications (2)

Publication Number Publication Date
JP2025039848A JP2025039848A (en) 2025-03-21
JP7787616B2 true JP7787616B2 (en) 2025-12-17

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 Before (6)

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

Family Applications After (1)

Application Number Title Priority Date Filing Date
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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018007792A (en) 2016-07-12 2018-01-18 株式会社コンフォートビジョン研究所 Expression recognition diagnosis support device
JP2019511489A (en) 2016-03-10 2019-04-25 ヤンセン ファーマシューティカ エヌ.ベー. Methods of treating depression with orexin-2 receptor antagonists
WO2021106825A1 (en) 2019-11-25 2021-06-03 学校法人 慶應義塾 Disease prediction device, prediction model generation device, and disease prediction program
WO2021245728A1 (en) 2020-06-01 2021-12-09 サスメド株式会社 Disease estimation system, teacher data acquisition device, and program for acquiring teacher data
JP2022133610A (en) 2021-03-02 2022-09-14 株式会社エフアンドエフ Health management system
JP2022184032A (en) 2021-05-31 2022-12-13 新東工業株式会社 Expression recognition device, dialog robot, expression recognition system, expression recognition method and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US11276498B2 (en) * 2020-05-21 2022-03-15 Schler Baruch Methods for visual identification of cognitive disorders
WO2022034682A1 (en) * 2020-08-14 2022-02-17 日本電気株式会社 Information processing device, control method, and storage medium
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
JP2022141322A (en) 2021-03-15 2022-09-29 TXP Medical株式会社 Information processing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019511489A (en) 2016-03-10 2019-04-25 ヤンセン ファーマシューティカ エヌ.ベー. Methods of treating depression with orexin-2 receptor antagonists
JP2018007792A (en) 2016-07-12 2018-01-18 株式会社コンフォートビジョン研究所 Expression recognition diagnosis support device
WO2021106825A1 (en) 2019-11-25 2021-06-03 学校法人 慶應義塾 Disease prediction device, prediction model generation device, and disease prediction program
WO2021245728A1 (en) 2020-06-01 2021-12-09 サスメド株式会社 Disease estimation system, teacher data acquisition device, and program for acquiring teacher data
JP2022133610A (en) 2021-03-02 2022-09-14 株式会社エフアンドエフ Health management system
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
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
JP7626487B2 (en) 2025-02-04
JP2025039848A (en) 2025-03-21
JP7803598B2 (en) 2026-01-21

Similar Documents

Publication Publication Date Title
US9536052B2 (en) Clinical predictive and monitoring system and method
KR20210083478A (en) Mobile based self-oral examination device
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
Bolt et al. Telemonitoring: Ethical lessons from the COVID-19 pandemic
KR102730141B1 (en) Method, apparatus and system of providing telemedicine based on ict
JP7787616B2 (en) Dementia and/or depression estimation AI system and training 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
US11033227B1 (en) Digital eyewear integrated with medical and other services
JP7485233B2 (en) Information processing system, information processing device, information processing method, and program
US20260100280A1 (en) Digital biomarker of dementia and depression
Dakanalis et al. Artificial intelligence: A game-changer for mental health care
JP7572843B2 (en) Worker management support system and worker management support processing method
EP4390797A1 (en) System and method to assess and enhance a patient's virtual care readiness
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
Clemens Returning Health and Care to Healthcare: A Constitutional Multi-Model Stack Architecture for Clinical Governance
Jayakumar Impact of Al in Patient Engagement

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250115

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20251029

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20251104

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20251128

R150 Certificate of patent or registration of utility model

Ref document number: 7787616

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150