JP2024052838A - Image analysis device, image analysis method, and image analysis system - Google Patents

Image analysis device, image analysis method, and image analysis system Download PDF

Info

Publication number
JP2024052838A
JP2024052838A JP2024026369A JP2024026369A JP2024052838A JP 2024052838 A JP2024052838 A JP 2024052838A JP 2024026369 A JP2024026369 A JP 2024026369A JP 2024026369 A JP2024026369 A JP 2024026369A JP 2024052838 A JP2024052838 A JP 2024052838A
Authority
JP
Japan
Prior art keywords
patient
unit
image
analysis
assistant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2024026369A
Other languages
Japanese (ja)
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.)
Metrica
Original Assignee
Metrica
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 Metrica filed Critical Metrica
Priority to JP2024026369A priority Critical patent/JP2024052838A/en
Publication of JP2024052838A publication Critical patent/JP2024052838A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • External Artificial Organs (AREA)

Abstract

【課題】腹膜透析の安全性を向上できるようにする。【解決手段】本発明の一実施形態に係る宅内デバイス1は、透析機器2を用いて腹膜透析を行っている患者又は患者を補助する補助者を撮像した撮像画像を取得する画像取得部と、撮像画像に基づいて患者又は補助者の姿勢を特定する姿勢特定部と、姿勢に基づいて患者又は補助者が行っている腹膜透析の手順を分析する分析部と、分析部による分析結果を出力する出力部と、を有する。管理サーバ4は、宅内デバイス1が出力した分析結果を、情報端末5へ出力する。【選択図】図1[Problem] To improve the safety of peritoneal dialysis. [Solution] An in-home device 1 according to one embodiment of the present invention has an image acquisition unit that acquires an image of a patient undergoing peritoneal dialysis using a dialysis machine 2 or an assistant assisting the patient, a posture identification unit that identifies the posture of the patient or assistant based on the captured image, an analysis unit that analyzes the peritoneal dialysis procedure being performed by the patient or assistant based on the posture, and an output unit that outputs the analysis results by the analysis unit. A management server 4 outputs the analysis results output by the in-home device 1 to an information terminal 5. [Selected Figure] Figure 1

Description

本発明は、腹膜透析を行う患者を撮像した撮像画像を解析するための画像解析装置、画像解析方法及び画像解析システムに関する。 The present invention relates to an image analysis device, an image analysis method, and an image analysis system for analyzing images taken of a patient undergoing peritoneal dialysis.

従来、透析治療の方法として、血液透析(Hemodialysis: HD)と腹膜透析(Peritoneal Dialysis: PD)が知られている。血液透析は患者が毎回通院する必要があるのに対して、腹膜透析は自宅や職場で行うことができるという利点がある。 Hemodialysis (HD) and peritoneal dialysis (PD) are traditionally known methods of dialysis treatment. Hemodialysis requires patients to visit a hospital every time, whereas peritoneal dialysis has the advantage that it can be performed at home or at work.

腹膜透析を行う際に、患者又は患者の家族等の補助者は、透析機器を患者の腹部に埋め込まれた管に接続し、所定の手順で透析機器の操作(例えばクランプの開閉)を行う必要がある。特許文献1には、患者が腹膜透析を行う際に、音声及び画像によって透析機器の操作手順を出力する装置が開示されている。 When performing peritoneal dialysis, the patient or an assistant such as the patient's family member must connect the dialysis equipment to a tube implanted in the patient's abdomen and operate the dialysis equipment (e.g., opening and closing a clamp) in a specific procedure. Patent Document 1 discloses a device that outputs the operating procedure for the dialysis equipment by voice and image when the patient is performing peritoneal dialysis.

特開2012-40445号公報JP 2012-40445 A

患者又は補助者が誤った手順で腹膜透析を行うと、患者は感染症にかかるおそれがある。しかしながら、特許文献1に記載された装置が正しい腹膜透析の手順を出力しても、患者又は補助者が該手順どおりに腹膜透析を行うとは限らない。腹膜透析は患者の自宅や職場で行われるため、医師や看護師は、患者又は補助者が実際に行っている腹膜透析の手順や、感染症にかかっているか等の患者の状態を確認することができない。そのため、腹膜透析の安全性を向上させる技術が求められている。 If a patient or assistant performs peritoneal dialysis using an incorrect procedure, the patient may contract an infection. However, even if the device described in Patent Document 1 outputs the correct peritoneal dialysis procedure, the patient or assistant will not necessarily perform peritoneal dialysis according to that procedure. Because peritoneal dialysis is performed at the patient's home or workplace, doctors and nurses cannot confirm the peritoneal dialysis procedure that the patient or assistant is actually performing, or the patient's condition, such as whether they have an infection. Therefore, there is a demand for technology that improves the safety of peritoneal dialysis.

本発明はこれらの点に鑑みてなされたものであり、腹膜透析の安全性を向上できるようにすることを目的とする。 The present invention was made in consideration of these points, and aims to improve the safety of peritoneal dialysis.

本発明の第1の態様の画像解析装置は、透析機器を用いて腹膜透析を行っている患者又は前記患者を補助する補助者を撮像した撮像画像を取得する画像取得部と、前記撮像画像に基づいて前記患者又は前記補助者の姿勢を特定する姿勢特定部と、前記姿勢に基づいて前記患者又は前記補助者が行っている前記腹膜透析の手順を分析する分析部と、前記分析部による分析結果を出力する出力部と、を有する。 The image analysis device of the first aspect of the present invention has an image acquisition unit that acquires an image of a patient undergoing peritoneal dialysis using a dialysis device or an assistant assisting the patient, a posture identification unit that identifies the posture of the patient or the assistant based on the captured image, an analysis unit that analyzes the procedure of the peritoneal dialysis being performed by the patient or the assistant based on the posture, and an output unit that outputs the analysis result by the analysis unit.

前記画像解析装置は、前記撮像画像に基づいて前記透析機器が備える部品の位置及び状態の少なくとも一方を特定する部品特定部をさらに有し、前記分析部は、前記姿勢と、前記部品の位置及び状態の少なくとも一方とに基づいて、前記手順が所定の基準に適合するか否かを判定し、前記出力部は、前記手順が前記所定の基準に適合するか否かを示す情報を前記分析結果として出力してもよい。 The image analysis device may further include a part identification unit that identifies at least one of the position and state of a part of the dialysis equipment based on the captured image, the analysis unit may determine whether the procedure complies with a predetermined standard based on the posture and at least one of the position and state of the part, and the output unit may output information indicating whether the procedure complies with the predetermined standard as the analysis result.

前記部品特定部は、前記透析機器が備える複数の前記部品それぞれの前記位置及び状態の少なくとも一方を特定し、前記分析部は、前記姿勢と、複数の前記部品の位置及び状態の少なくとも一方とに基づいて前記患者又は前記補助者が複数の前記部品を操作した順序を特定し、特定した前記順序と所定の基準順序とを比較することによって、前記手順が前記所定の基準に適合するか否かを判定してもよい。 The part identification unit may identify at least one of the position and state of each of the multiple parts of the dialysis equipment, and the analysis unit may identify the order in which the patient or assistant operated the multiple parts based on the posture and at least one of the positions and states of the multiple parts, and may determine whether the procedure complies with the specified criteria by comparing the identified order with a specified standard order.

前記分析部は、特定した前記順序において前記患者又は前記補助者が複数の前記部品のうち少なくとも1つを操作した操作時間を算出し、算出した操作時間に基づいて前記手順が円滑であるか否かを判定し、前記出力部は、前記手順が円滑であるか否かを示す情報を前記分析結果として出力してもよい。 The analysis unit may calculate an operation time during which the patient or the assistant operates at least one of the multiple parts in the identified sequence, and determine whether the procedure is smooth or not based on the calculated operation time, and the output unit may output information indicating whether the procedure is smooth or not as the analysis result.

前記手順が前記所定の基準に適合しないと前記分析部が判定した場合に、前記出力部は、前記撮像画像を前記画像解析装置の外部へ送信してもよい。 If the analysis unit determines that the procedure does not conform to the predetermined criteria, the output unit may transmit the captured image to an external device of the image analysis device.

前記分析部は、前記姿勢に基づいて、前記患者又は前記補助者が前記透析機器以外の物体に触れた回数を算出し、算出した前記回数に基づいて、前記手順の衛生の程度を評価し、前記出力部は、前記衛生の程度を示す情報を前記分析結果として出力してもよい。 The analysis unit may calculate the number of times the patient or assistant touches objects other than the dialysis equipment based on the posture, and evaluate the degree of hygiene of the procedure based on the calculated number of times, and the output unit may output information indicating the degree of hygiene as the analysis result.

前記画像解析装置は、前記撮像画像に基づいて前記患者又は前記補助者が着用しているマスクを検出するマスク検出部をさらに有し、前記出力部は、前記マスク検出部が前記マスクを検出したか否かを示す情報を出力してもよい。 The image analysis device may further include a mask detection unit that detects a mask worn by the patient or the assistant based on the captured image, and the output unit may output information indicating whether the mask detection unit has detected the mask.

前記画像取得部は、前記患者の身体において前記透析機器が接続されている出口部を含む前記撮像画像を取得し、前記分析部は、前記撮像画像に基づいて前記出口部の衛生の程度を評価し、前記出力部は、前記衛生の程度を示す情報を前記分析結果として出力してもよい。 The image acquisition unit may acquire the captured image including an outlet portion to which the dialysis machine is connected in the patient's body, the analysis unit may evaluate the degree of hygiene of the outlet portion based on the captured image, and the output unit may output information indicating the degree of hygiene as the analysis result.

前記分析部は、前記撮像画像を入力することにより前記撮像画像に含まれている前記出口部の衛生の程度を示す情報を出力する機械学習モデルに前記撮像画像を入力することによって、前記出口部の衛生の程度を示す情報を取得してもよい。 The analysis unit may obtain information indicating the degree of hygiene of the exit area by inputting the captured image into a machine learning model that outputs information indicating the degree of hygiene of the exit area contained in the captured image by inputting the captured image.

前記出力部は、前記出口部の衛生の程度が所定の条件を満たす場合に、所定の通知を出力することと、前記透析機器を停止させる情報を出力することとのうち少なくとも一方を行ってもよい。 When the degree of hygiene of the outlet portion satisfies a predetermined condition, the output unit may at least one of outputting a predetermined notification and outputting information to stop the dialysis machine.

本発明の第2の態様の画像解析方法は、プロセッサが実行する、透析機器を用いて腹膜透析を行っている患者又は前記患者を補助する補助者を撮像した撮像画像を取得するステップと、前記撮像画像に基づいて前記患者又は前記補助者の姿勢を特定するステップと、前記姿勢に基づいて前記患者又は前記補助者が行っている前記腹膜透析の手順を分析するステップと、前記分析するステップによる分析結果を出力するステップと、を有する。 The image analysis method of the second aspect of the present invention includes the steps of: acquiring an image of a patient undergoing peritoneal dialysis using a dialysis device or an assistant assisting the patient, executed by a processor; identifying the posture of the patient or assistant based on the acquired image; analyzing the peritoneal dialysis procedure being performed by the patient or assistant based on the posture; and outputting the analysis results from the analyzing step.

本発明の第3の態様の画像解析システムは、画像取得装置と、前記画像取得装置と通信可能な画像解析装置とを備え、前記画像取得装置は、透析機器を用いて腹膜透析を行っている患者又は前記患者を補助する補助者を撮像した撮像画像を取得する画像取得部と、前記撮像画像に基づいて前記患者又は前記補助者の姿勢を特定する姿勢特定部と、前記姿勢を示す情報を前記画像解析装置へ送信する送信部と、を有し、前記画像解析装置は、前記姿勢を示す情報を前記画像取得装置から受信する受信部と、前記姿勢に基づいて前記患者又は前記補助者が行っている前記腹膜透析の手順を分析する分析部と、前記分析部による分析結果を出力する出力部と、を有する。 The image analysis system of the third aspect of the present invention includes an image acquisition device and an image analysis device capable of communicating with the image acquisition device. The image acquisition device has an image acquisition unit that acquires an image of a patient undergoing peritoneal dialysis using a dialysis device or an assistant assisting the patient, a posture identification unit that identifies the posture of the patient or the assistant based on the captured image, and a transmission unit that transmits information indicating the posture to the image analysis device. The image analysis device has a reception unit that receives information indicating the posture from the image acquisition device, an analysis unit that analyzes the procedure of the peritoneal dialysis being performed by the patient or the assistant based on the posture, and an output unit that outputs the analysis result by the analysis unit.

前記画像解析装置の前記出力部は、ユーザから所定の入力を受け付けた場合、又は前記分析結果が所定の条件を満たす場合に、前記撮像画像の要求を前記画像取得装置へ送信し、前記画像取得装置の前記送信部は、前記画像解析装置から前記要求を受信したことを条件として、前記撮像画像を前記画像解析装置へ送信してもよい。 The output unit of the image analysis device may transmit a request for the captured image to the image acquisition device when a predetermined input is received from a user or when the analysis result satisfies a predetermined condition, and the transmission unit of the image acquisition device may transmit the captured image to the image analysis device on the condition that the request is received from the image analysis device.

本発明によれば、腹膜透析の安全性を向上できるという効果を奏する。 The present invention has the effect of improving the safety of peritoneal dialysis.

第1の実施形態に係る画像解析システムの模式図である。1 is a schematic diagram of an image analysis system according to a first embodiment. 第1の実施形態に係る画像解析システムのブロック図である。1 is a block diagram of an image analysis system according to a first embodiment. 腹膜透析で用いられる透析機器の模式図である。FIG. 1 is a schematic diagram of a dialysis device used in peritoneal dialysis. 画像取得部が取得した撮像画像を示す図である。FIG. 4 is a diagram showing a captured image acquired by an image acquisition unit. 画像取得部が取得した撮像画像を示す図である。FIG. 4 is a diagram showing a captured image acquired by an image acquisition unit. 画像取得部が取得した撮像画像を示す図である。FIG. 4 is a diagram showing a captured image acquired by an image acquisition unit. 第1の実施形態に係る画像解析システムが実行する画像解析方法のシーケンス図である。FIG. 2 is a sequence diagram of an image analysis method executed by the image analysis system according to the first embodiment. 第2の実施形態に係る画像解析システムのブロック図である。FIG. 11 is a block diagram of an image analysis system according to a second embodiment. 第2の実施形態に係る画像解析システムが実行する画像解析方法のシーケンス図である。FIG. 11 is a sequence diagram of an image analysis method executed by an image analysis system according to a second embodiment.

(第1の実施形態)
[画像解析システムSの概要]
図1は、本実施形態に係る画像解析システムSの模式図である。画像解析システムSは、宅内デバイス1と、透析機器2と、撮像装置3と、管理サーバ4と、情報端末5とを含む。画像解析システムSは、その他のサーバ、端末等の機器を含んでもよい。
First Embodiment
[Overview of Image Analysis System S]
1 is a schematic diagram of an image analysis system S according to the present embodiment. The image analysis system S includes an in-home device 1, a dialysis machine 2, an imaging device 3, a management server 4, and an information terminal 5. The image analysis system S may include other devices such as a server and a terminal.

宅内デバイス1、透析機器2及び撮像装置3は、患者に対する腹膜透析が実施される自宅や職場等の場所に設けられている。宅内デバイス1は、撮像装置3が撮像した撮像画像を撮像装置3から取得し、撮像画像を解析するコンピュータである。すなわち、宅内デバイス1は、画像解析装置として機能する。宅内デバイス1は、エッジデバイスともいう。 The home device 1, dialysis equipment 2, and imaging device 3 are installed in a location such as a home or workplace where peritoneal dialysis is performed on a patient. The home device 1 is a computer that acquires images captured by the imaging device 3 from the imaging device 3 and analyzes the captured images. In other words, the home device 1 functions as an image analysis device. The home device 1 is also called an edge device.

透析機器2は、患者又は患者を補助する補助者による操作に応じて、患者の体内への透析液の注入と、患者の体内からの透析液の排出とを行うための器具である。患者を補助する補助者は、腹膜透析を実施するための作業を行う、患者以外の人間(例えば患者の家族、介護士等)である。また、透析機器2は、患者の体内への透析液の注入と、患者の体内からの透析液の排出とを、電気的に制御する制御装置を含んでもよい。 The dialysis equipment 2 is an instrument for injecting dialysis fluid into the patient's body and discharging the dialysis fluid from the patient's body in response to operations by the patient or an assistant assisting the patient. The assistant assisting the patient is a person other than the patient (e.g., the patient's family member, a caregiver, etc.) who performs the tasks required to perform peritoneal dialysis. The dialysis equipment 2 may also include a control device that electrically controls the injection of dialysis fluid into the patient's body and the discharge of dialysis fluid from the patient's body.

より具体的には、透析機器2は、患者又は補助者の操作に応じて患者の体内の透析液を手動で交換するCAPD(Continuous Ambulatory Peritoneal Dialysis)を実施する機器であってもよく、電気的な制御装置によって患者の体内の透析液を自動的に交換するAPD(Automated Peritoneal Dialysis)を実施する機器であってもよい。CAPD及びAPDのどちらの場合であっても、患者又は補助者は、患者に対する腹膜透析を実施するために、透析機器2を患者の腹部に埋め込まれた管に接続し、所定の手順で透析機器2の操作(例えばクランプの開閉やスイッチの操作)を行う必要がある。 More specifically, the dialysis equipment 2 may be an equipment that performs CAPD (Continuous Ambulatory Peritoneal Dialysis), in which the dialysis fluid in the patient's body is manually exchanged in response to the operation of the patient or an assistant, or an equipment that performs APD (Automated Peritoneal Dialysis), in which the dialysis fluid in the patient's body is automatically exchanged by an electrical control device. In either case of CAPD or APD, the patient or an assistant must connect the dialysis equipment 2 to a tube implanted in the patient's abdomen and operate the dialysis equipment 2 in a predetermined procedure (e.g., opening and closing a clamp or operating a switch) in order to perform peritoneal dialysis on the patient.

本実施形態において、患者又は補助者が腹膜透析を行うことは、患者に対する腹膜透析を実施するための作業であり、例えば透析機器2を患者の体に埋め込まれた管に接続すること、注液用バッグ及び排液用バッグの交換を行うこと、透析機器2自体を操作すること、患者の身体において管が埋め込まれている出口部の管理(観察、洗浄、消毒、薬品の塗布等)をすること、及びその他の腹膜透析関連の作業(記録をつけること等)のうち少なくとも1つを含む。 In this embodiment, the patient or assistant performing peritoneal dialysis is a task for performing peritoneal dialysis on the patient, and includes at least one of the following: connecting the dialysis equipment 2 to the tubes implanted in the patient's body, replacing the infusion bag and the drainage bag, operating the dialysis equipment 2 itself, managing the outlet where the tubes are implanted in the patient's body (observing, cleaning, disinfecting, applying chemicals, etc.), and other tasks related to peritoneal dialysis (keeping records, etc.).

撮像装置3は、透析機器2を用いて腹膜透析を行っている患者又は患者を補助する補助者を撮像する、少なくとも1つの撮像部(カメラ)を有する。撮像装置3は、腹膜透析を行っている患者又は補助者を撮像した撮像画像を宅内デバイス1へ出力する。撮像装置3が撮像する範囲は、患者又は補助者の全身であってもよく、患者又は補助者の体の一部であってもよい。撮像装置3は、宅内デバイス1と一体化されてもよく、宅内デバイス1との間で有線又は無線で信号を授受してもよい。 The imaging device 3 has at least one imaging section (camera) that captures an image of a patient undergoing peritoneal dialysis using the dialysis equipment 2 or an assistant assisting the patient. The imaging device 3 outputs the captured image of the patient or assistant undergoing peritoneal dialysis to the home device 1. The range captured by the imaging device 3 may be the entire body of the patient or assistant, or may be a part of the body of the patient or assistant. The imaging device 3 may be integrated with the home device 1, and may transmit and receive signals between the imaging device 3 and the home device 1 via a wired or wireless connection.

管理サーバ4は、宅内デバイス1が出力した情報を記録するとともに、ユーザに対する情報を情報端末5へ出力するコンピュータである。ユーザは、例えば医師、看護師等の医療従事者である。管理サーバ4は、複数の宅内デバイス1及び複数の情報端末5に接続されてもよい。 The management server 4 is a computer that records the information output by the home device 1 and outputs information for the user to the information terminal 5. The user is, for example, a medical professional such as a doctor or a nurse. The management server 4 may be connected to multiple home devices 1 and multiple information terminals 5.

情報端末5は、ユーザの操作を受け付けるとともに、管理サーバ4が出力した情報を表示するコンピュータである。情報端末5は、管理サーバ4と一体化されてもよく、管理サーバ4との間で有線又は無線で信号を授受してもよい。情報端末5は、ユーザによる操作を受け付け可能なキーボード、マウス等の操作部と、情報を表示可能な液晶ディスプレイ等の表示部とを有する。 The information terminal 5 is a computer that accepts user operations and displays information output by the management server 4. The information terminal 5 may be integrated with the management server 4, and may transmit and receive signals between the information terminal 5 and the management server 4 via wired or wireless communication. The information terminal 5 has an operation unit such as a keyboard or mouse that can accept operations by the user, and a display unit such as a liquid crystal display that can display information.

本実施形態に係る画像解析システムSが画像を解析する処理の概要を以下に説明する。まず宅内デバイス1は、撮像装置3によって、透析機器2を用いて腹膜透析を行っている患者又は患者を補助する補助者を撮像し、撮像画像を取得する。 An overview of the image analysis process performed by the image analysis system S according to this embodiment is given below. First, the home device 1 uses the imaging device 3 to capture an image of a patient undergoing peritoneal dialysis or an assistant assisting the patient using the dialysis equipment 2, and obtains the captured image.

宅内デバイス1は、取得した撮像画像に基づいて、腹膜透析を行っている患者又は補助者の姿勢を特定する。宅内デバイス1は、特定した姿勢に基づいて、患者又は補助者が行っている腹膜透析の手順を分析する。例えば宅内デバイス1は、後述のように、患者又は補助者の姿勢に基づいて、腹膜透析において不衛生な行為をしていることを検出することによって、腹膜透析の手順が正しいか否か(すなわち所定の基準に適合するか否か)を判定する。また、宅内デバイス1は、患者又は補助者の姿勢に基づいて、患者又は補助者が透析機器2のクランプ(締め具)等の部品がどのような順序で操作したかを特定し、特定した順序が所定の順序に沿っているかに基づいて、腹膜透析の手順が所定の基準に適合するか否かを判定する。 The home device 1 identifies the posture of the patient or assistant performing peritoneal dialysis based on the acquired captured image. The home device 1 analyzes the peritoneal dialysis procedure being performed by the patient or assistant based on the identified posture. For example, as described below, the home device 1 determines whether the peritoneal dialysis procedure is correct (i.e., whether it conforms to a predetermined standard) by detecting whether an unsanitary act is being performed during peritoneal dialysis based on the posture of the patient or assistant. The home device 1 also identifies the order in which the patient or assistant operated parts such as clamps (fasteners) of the dialysis equipment 2, based on the posture of the patient or assistant, and determines whether the peritoneal dialysis procedure conforms to a predetermined standard based on whether the identified order is in accordance with the predetermined order.

宅内デバイス1は、撮像画像を用いた分析結果を、管理サーバ4へ送信する。さらに宅内デバイス1は、腹膜透析の手順が正しくないと判定した場合に、撮像画像を管理サーバ4へ送信する。管理サーバ4は、宅内デバイス1から受信した分析結果及び撮像画像を情報端末5に表示させる。 The home device 1 transmits the analysis results using the captured images to the management server 4. Furthermore, if the home device 1 determines that the peritoneal dialysis procedure is incorrect, it transmits the captured images to the management server 4. The management server 4 displays the analysis results and captured images received from the home device 1 on the information terminal 5.

このように本実施形態に係る画像解析システムSは、腹膜透析を行っている患者又は患者を補助する補助者を撮像した撮像画像に基づいて、患者又は補助者が実際に行っている腹膜透析の手順を分析し、分析結果を医療従事者等のユーザに対して出力する。そのため、医療従事者等のユーザは、患者又は補助者が実際に行っている腹膜透析の手順に基づいて患者又は補助者に対して適切な指導を行うことができ、患者に対する腹膜透析の安全性を向上できる。 In this way, the image analysis system S according to this embodiment analyzes the peritoneal dialysis procedure actually performed by the patient or assistant based on captured images of the patient undergoing peritoneal dialysis or the assistant assisting the patient, and outputs the analysis results to a user such as a medical professional. As a result, the user such as a medical professional can provide appropriate guidance to the patient or assistant based on the peritoneal dialysis procedure actually performed by the patient or assistant, thereby improving the safety of peritoneal dialysis for the patient.

[画像解析システムSの構成]
図2は、本実施形態に係る画像解析システムSのブロック図である。図2において、矢印は主なデータの流れを示しており、図2に示していないデータの流れがあってよい。図2において、各ブロックはハードウェア(装置)単位の構成ではなく、機能単位の構成を示している。そのため、図2に示すブロックは単一の装置内に実装されてよく、あるいは複数の装置内に分かれて実装されてよい。ブロック間のデータの授受は、データバス、ネットワーク、可搬記憶媒体等、任意の手段を介して行われてよい。
[Configuration of image analysis system S]
FIG. 2 is a block diagram of an image analysis system S according to this embodiment. In FIG. 2, the arrows indicate the main data flows, and there may be data flows not shown in FIG. 2. In FIG. 2, each block indicates a functional unit configuration, not a hardware (device) unit configuration. Therefore, the blocks shown in FIG. 2 may be implemented in a single device, or may be implemented separately in multiple devices. Data exchange between blocks may be performed via any means, such as a data bus, a network, or a portable storage medium.

宅内デバイス1は、制御部11と、記憶部12とを有する。制御部11は、画像取得部111と、姿勢特定部112と、マスク検出部113と、部品特定部114と、分析部115と、出力部116とを有する。記憶部12は、画像記憶部121と、分析基準記憶部122と、分析結果記憶部123とを有する。 The indoor device 1 has a control unit 11 and a memory unit 12. The control unit 11 has an image acquisition unit 111, a posture identification unit 112, a mask detection unit 113, a part identification unit 114, an analysis unit 115, and an output unit 116. The memory unit 12 has an image memory unit 121, an analysis criteria memory unit 122, and an analysis result memory unit 123.

記憶部12は、ROM(Read Only Memory)、RAM(Random Access Memory)、ハードディスクドライブ等を含む記憶媒体である。記憶部12は、制御部11が実行するプログラムを予め記憶している。記憶部12は、宅内デバイス1の外部に設けられてもよく、その場合にネットワークを介して制御部11との間でデータの授受を行ってもよい。画像記憶部121は、撮像装置3が撮像した撮像画像を記憶する。分析基準記憶部122は、分析を行うための基準値や機械学習モデル等、分析に用いる情報を記憶する。分析結果記憶部123は、撮像画像を用いた分析結果を記憶する。画像記憶部121、分析基準記憶部122及び分析結果記憶部123は、それぞれ記憶部12上の記憶領域であってもよく、あるいは記憶部12上で構成されたデータベースであってもよい。 The storage unit 12 is a storage medium including a ROM (Read Only Memory), a RAM (Random Access Memory), a hard disk drive, etc. The storage unit 12 stores in advance a program executed by the control unit 11. The storage unit 12 may be provided outside the home device 1, in which case data may be exchanged between the storage unit 12 and the control unit 11 via a network. The image storage unit 121 stores images captured by the imaging device 3. The analysis criteria storage unit 122 stores information used in analysis, such as reference values for analysis and machine learning models. The analysis result storage unit 123 stores analysis results using the captured images. The image storage unit 121, the analysis criteria storage unit 122, and the analysis result storage unit 123 may each be a storage area on the storage unit 12, or may be a database configured on the storage unit 12.

制御部11は、例えばCPU(Central Processing Unit)等のプロセッサであり、記憶部12に記憶されたプログラムを実行することにより、画像取得部111、姿勢特定部112、マスク検出部113、部品特定部114、分析部115及び出力部116として機能する。制御部11の機能の少なくとも一部は電気回路によって実行されてもよい。また、制御部11の機能の少なくとも一部は、制御部11がネットワーク経由で実行されるプログラムを実行することによって実現されてもよい。 The control unit 11 is a processor such as a CPU (Central Processing Unit), and functions as an image acquisition unit 111, a posture identification unit 112, a mask detection unit 113, a part identification unit 114, an analysis unit 115, and an output unit 116 by executing a program stored in the memory unit 12. At least some of the functions of the control unit 11 may be performed by an electric circuit. In addition, at least some of the functions of the control unit 11 may be realized by the control unit 11 executing a program executed via a network.

管理サーバ4は、制御部41と、記憶部42とを有する。制御部41は、受信部411と、分析部412と、出力部413とを有する。記憶部42は、画像記憶部421と、分析基準記憶部422と、分析結果記憶部423とを有する。 The management server 4 has a control unit 41 and a memory unit 42. The control unit 41 has a receiving unit 411, an analysis unit 412, and an output unit 413. The memory unit 42 has an image memory unit 421, an analysis criteria memory unit 422, and an analysis result memory unit 423.

記憶部42は、ROM、RAM、ハードディスクドライブ等を含む記憶媒体である。記憶部42は、制御部41が実行するプログラムを予め記憶している。記憶部42は、管理サーバ4の外部に設けられてもよく、その場合にネットワークを介して制御部41との間でデータの授受を行ってもよい。画像記憶部421は、撮像装置3が撮像した撮像画像を記憶する。分析基準記憶部422は、分析を行うための基準値や機械学習モデル等、分析に用いる情報を記憶する。分析結果記憶部423は、撮像画像を用いた分析結果を記憶する。画像記憶部421、分析基準記憶部422及び分析結果記憶部423は、それぞれ記憶部42上の記憶領域であってもよく、あるいは記憶部42上で構成されたデータベースであってもよい。 The storage unit 42 is a storage medium including a ROM, a RAM, a hard disk drive, and the like. The storage unit 42 stores in advance a program to be executed by the control unit 41. The storage unit 42 may be provided outside the management server 4, in which case data may be exchanged between the storage unit 42 and the control unit 41 via a network. The image storage unit 421 stores the captured images captured by the imaging device 3. The analysis criteria storage unit 422 stores information used in the analysis, such as reference values for analysis and machine learning models. The analysis result storage unit 423 stores the analysis results using the captured images. The image storage unit 421, the analysis criteria storage unit 422, and the analysis result storage unit 423 may each be a storage area on the storage unit 42, or may be a database configured on the storage unit 42.

制御部41は、例えばCPU等のプロセッサであり、記憶部42に記憶されたプログラムを実行することにより、受信部411、分析部412及び出力部413として機能する。制御部41の機能の少なくとも一部は電気回路によって実行されてもよい。また、制御部41の機能の少なくとも一部はネットワーク経由で実行されるプログラムによって実行されてもよい。 The control unit 41 is a processor such as a CPU, and functions as a receiving unit 411, an analyzing unit 412, and an output unit 413 by executing a program stored in the memory unit 42. At least some of the functions of the control unit 41 may be performed by an electric circuit. In addition, at least some of the functions of the control unit 41 may be performed by a program executed via a network.

本実施形態に係る画像解析システムSは、図2に示す具体的な構成に限定されない。宅内デバイス1及び管理サーバ4は、それぞれ1つの装置に限られず、2つ以上の物理的に分離した装置が有線又は無線で接続されることにより構成されてもよい。 The image analysis system S according to this embodiment is not limited to the specific configuration shown in FIG. 2. Each of the in-home device 1 and the management server 4 is not limited to a single device, and may be configured by connecting two or more physically separate devices by wire or wirelessly.

[透析機器2の構成]
図3は、腹膜透析で用いられる透析機器2の模式図である。透析機器2は、患者の腹部に埋め込まれた管と、患者の体内へ注入する前の透析液を保持する注液用バッグB1と、患者の体内から排出された後の透析液を保持する排液用バッグB2とを接続し、それらの間の透析液の輸送を制御する器具である。
[Configuration of dialysis machine 2]
3 is a schematic diagram of a dialysis device 2 used in peritoneal dialysis. The dialysis device 2 is an instrument that connects a tube implanted in the patient's abdomen, an infusion bag B1 that holds the dialysis fluid before being injected into the patient's body, and a drainage bag B2 that holds the dialysis fluid after being discharged from the patient's body, and controls the transport of the dialysis fluid between them.

透析機器2は、管21(チューブ)を介して、患者の腹部に埋め込まれた管と、注液用バッグB1と、排液用バッグB2とを連通させる。管21は、患者の腹部に埋め込まれた管に接続するための患者側コネクタ22と、注液用バッグB1に接続するための注液側コネクタ23と、排液用バッグB2に接続するための排液側コネクタ24とを有する。管21は、分岐部25によって、患者の腹部に埋め込まれた管、注液用バッグB1及び排液用バッグB2への3方向に分岐されている。 The dialysis equipment 2 communicates the tube embedded in the patient's abdomen with the infusion bag B1 and the drainage bag B2 via the tube 21. The tube 21 has a patient side connector 22 for connecting to the tube embedded in the patient's abdomen, an infusion side connector 23 for connecting to the infusion bag B1, and a drainage side connector 24 for connecting to the drainage bag B2. The tube 21 is branched by a branching section 25 into three directions: the tube embedded in the patient's abdomen, the infusion bag B1, and the drainage bag B2.

管21の途中には、ユーザによる操作に応じて開状態と閉状態との間で切り替えられる複数のクランプ26(締め具)が設けられている。開状態のクランプ26は、管21の中を透析液が通過可能にする。閉状態のクランプ26は、管21の中を透析液が通過不可能にする。クランプ26は開状態と閉状態とで形状が変化するため、宅内デバイス1は撮像画像中の外観に基づいてクランプ26が開状態及び閉状態のいずれにあるかを特定可能である。 A number of clamps 26 (fasteners) are provided along the tube 21, which can be switched between an open state and a closed state in response to a user's operation. When the clamps 26 are open, they allow the dialysis fluid to pass through the tube 21. When the clamps 26 are closed, they prevent the dialysis fluid from passing through the tube 21. Because the clamps 26 change shape between the open and closed states, the home device 1 can identify whether the clamps 26 are in the open state or the closed state based on their appearance in the captured image.

図3の例では、複数のクランプ26は、患者側クランプ26a、注液側クランプ26b及び排液側クランプ26cを含む。患者側コネクタ22と分岐部25との間には、患者側クランプ26aが設けられている。注液側コネクタ23と分岐部25との間には、注液側クランプ26bが設けられている。排液側コネクタ24と分岐部25との間には、排液側クランプ26cが設けられている。複数のクランプ26は、図3の例に限られず、その他の数であってもよく、その他の位置に設けられてもよい。 In the example of FIG. 3, the multiple clamps 26 include a patient side clamp 26a, a fluid injection side clamp 26b, and a fluid drainage side clamp 26c. The patient side clamp 26a is provided between the patient side connector 22 and the branching portion 25. The fluid injection side clamp 26b is provided between the fluid injection side connector 23 and the branching portion 25. The fluid drainage side clamp 26c is provided between the fluid drainage side connector 24 and the branching portion 25. The multiple clamps 26 are not limited to the example of FIG. 3, and may be any number or provided at any position.

複数のクランプ26には互いに異なる色又は模様が付されているため、宅内デバイス1は撮像画像中の外観に基づいて複数のクランプ26それぞれを特定可能である。また、複数のクランプ26を互いに異なる形状にすることによって、宅内デバイス1が撮像画像中の外観に基づいて複数のクランプ26それぞれを特定可能にしてもよい。 Since the multiple clamps 26 have different colors or patterns, the indoor device 1 can identify each of the multiple clamps 26 based on their appearance in the captured image. In addition, the multiple clamps 26 may be made to have different shapes, allowing the indoor device 1 to identify each of the multiple clamps 26 based on their appearance in the captured image.

透析機器2は、図3に示した構成に限られず、その他の構成であってもよい。例えば透析機器2は、透析液の輸送を電気的に制御する制御装置を含んでもよい。この場合には、制御装置は、管21を介して患者の腹部に埋め込まれた管に接続され、透析液の注入及び排出を電気的に制御する。制御装置と患者の腹部に埋め込まれた管とを接続する管21の途中には複数のクランプ26が設けられており、患者又は補助者は制御装置による制御を開始する前後に複数のクランプ26を操作する。 The dialysis equipment 2 is not limited to the configuration shown in FIG. 3, and may have other configurations. For example, the dialysis equipment 2 may include a control device that electrically controls the transport of the dialysis fluid. In this case, the control device is connected to a tube implanted in the patient's abdomen via a tube 21, and electrically controls the injection and discharge of the dialysis fluid. A number of clamps 26 are provided midway along the tube 21 that connects the control device to the tube implanted in the patient's abdomen, and the patient or an assistant operates the multiple clamps 26 before and after control by the control device begins.

[画像解析方法の説明]
以下、本実施形態に係る画像解析システムSが実行する画像解析方法を詳細に説明する。まず宅内デバイス1は、撮像装置3によって、患者又は補助者の撮像を開始する。このとき宅内デバイス1は、患者又は補助者が所定の操作(例えば宅内デバイス1又は透析機器2に設けられた開始ボタンの押下)を行った場合に、撮像を開始する。別の方法として、宅内デバイス1は、所定の条件(例えば透析機器2が含む制御装置の電源が入れられたこと)が満たされた場合に、自動的に撮像を開始してもよい。また、宅内デバイス1は、患者又は補助者が所定の操作(例えば宅内デバイス1又は透析機器2に設けられた終了ボタンの押下)を行った場合、又は所定の条件(例えば透析機器2が含む制御装置の電源が切られたこと)が満たされた場合に、撮像を終了する。宅内デバイス1は、撮像が開始されてから終了されるまでの撮像画像をまとめて分析してもよく、撮像が開始されてから所定時間ごとの撮像画像を逐次分析してもよい。
[Explanation of image analysis method]
The image analysis method executed by the image analysis system S according to the present embodiment will be described in detail below. First, the home device 1 starts capturing images of the patient or assistant by the imaging device 3. At this time, the home device 1 starts capturing images when the patient or assistant performs a predetermined operation (e.g., pressing a start button provided on the home device 1 or the dialysis machine 2). As another method, the home device 1 may automatically start capturing images when a predetermined condition (e.g., the control device included in the dialysis machine 2 is turned on) is satisfied. In addition, the home device 1 ends capturing images when the patient or assistant performs a predetermined operation (e.g., pressing an end button provided on the home device 1 or the dialysis machine 2) or when a predetermined condition (e.g., the control device included in the dialysis machine 2 is turned off) is satisfied. The home device 1 may analyze captured images from the start of capturing images to the end of capturing images collectively, or may analyze captured images at predetermined time intervals from the start of capturing images.

宅内デバイス1において、画像取得部111は、撮像装置3が撮像した、透析機器2を用いて腹膜透析を行っている患者又は補助者を撮像した撮像画像を取得し、画像記憶部121に記憶させる。撮像画像は、動画像であってもよく、所定の時間間隔で撮像された複数の静止画像であってもよい。撮像画像は、1つの撮像範囲を撮像した1つの画像であってもよく、同時に異なる複数の撮像範囲を撮像した複数の画像の組であってもよい。 In the home device 1, the image acquisition unit 111 acquires captured images of a patient or assistant undergoing peritoneal dialysis using the dialysis equipment 2 captured by the imaging device 3, and stores the images in the image storage unit 121. The captured images may be moving images or multiple still images captured at a predetermined time interval. The captured images may be one image capturing one imaging range, or a set of multiple images capturing multiple different imaging ranges simultaneously.

図4は、画像取得部111が取得した撮像画像IMを示す図である。図4は、撮像画像IMの中で患者を含む領域を表している。姿勢特定部112は、画像取得部111が取得した撮像画像に基づいて、患者の姿勢Pを特定する。姿勢特定部112が特定する姿勢Pは、患者の全身の姿勢であってもよく、患者の特定部位の位置であってもよい。例えば、姿勢特定部112は、姿勢推定モデルを用いて、撮像画像IMに含まれている人間が備える複数の関節点の座標を算出し、算出した複数の関節点の座標の組を患者の姿勢Pとして特定する。姿勢特定部112は、ここに示した方法に限られず、人間の姿勢Pを推定可能な既知の姿勢推定方法を用いることができる。姿勢特定部112は、特定した患者の姿勢P(例えば患者の複数の関節点の座標)を示す姿勢情報を出力する。また、姿勢特定部112は、同様の方法で、撮像画像に基づいて補助者の姿勢を特定してもよい。 Figure 4 is a diagram showing the captured image IM acquired by the image acquisition unit 111. Figure 4 shows an area including the patient in the captured image IM. The posture identification unit 112 identifies the posture P of the patient based on the captured image acquired by the image acquisition unit 111. The posture P identified by the posture identification unit 112 may be the posture of the entire body of the patient, or the position of a specific part of the patient. For example, the posture identification unit 112 uses a posture estimation model to calculate the coordinates of multiple joint points of a human being included in the captured image IM, and identifies the set of coordinates of the calculated multiple joint points as the posture P of the patient. The posture identification unit 112 is not limited to the method shown here, and can use any known posture estimation method capable of estimating the posture P of a human being. The posture identification unit 112 outputs posture information indicating the identified posture P of the patient (for example, the coordinates of multiple joint points of the patient). The posture identification unit 112 may also identify the posture of the assistant based on the captured image using a similar method.

マスク検出部113は、画像取得部111が取得した撮像画像に基づいて、患者又は補助者が着用しているマスクMを検出する。例えば、マスク検出部113は、物体認識モデルを用いて、撮像画像IMに含まれているマスクMを検出する。マスク検出部113は、ここに示した方法に限られず、マスクMを検出可能な既知の物体検出方法を用いることができる。マスク検出部113は、患者又は補助者が着用しているマスクMを検出したか否か(例えばマスクMの座標)を示すマスク検出情報を出力する。このようにマスク検出部113は、患者又は補助者がマスクMを装着しているか否かを示す情報を出力することによって、患者又は補助者が衛生的な状態で腹膜透析を行っているかを判定可能にすることができる。 The mask detection unit 113 detects the mask M worn by the patient or assistant based on the captured image acquired by the image acquisition unit 111. For example, the mask detection unit 113 detects the mask M included in the captured image IM using an object recognition model. The mask detection unit 113 is not limited to the method shown here, and any known object detection method capable of detecting the mask M can be used. The mask detection unit 113 outputs mask detection information indicating whether or not the mask M worn by the patient or assistant has been detected (e.g., the coordinates of the mask M). In this way, the mask detection unit 113 can determine whether or not the patient or assistant is performing peritoneal dialysis in a hygienic state by outputting information indicating whether or not the patient or assistant is wearing the mask M.

図5は、画像取得部111が取得した撮像画像IMを示す図である。図5は、撮像画像IMの中で透析機器2の複数のクランプ26(患者側クランプ26a、注液側クランプ26b及び排液側クランプ26c)を含む領域を表している。部品特定部114は、画像取得部111が取得した撮像画像に基づいて、透析機器2が備える複数の部品である複数のクランプ26それぞれの位置及び状態を特定する。例えば、部品特定部114は、物体認識モデルを用いて、撮像画像IMに含まれている複数のクランプ26それぞれの位置を特定するとともに、複数のクランプ26それぞれが開状態及び閉状態のいずれにあるかを特定する。上述のように複数のクランプ26の色や形状に基づいて、撮像画像IMから複数のクランプ26それぞれの位置及び状態が特定可能である。部品特定部114は、ここに示した方法に限られず、クランプ26の状態を特定可能な既知の物体検出方法を用いることができる。部品特定部114は、特定した複数のクランプ26それぞれの位置及び状態を示す部品情報を出力する。部品特定部114は、クランプ26に限らず、透析機器2が備えるその他の部品の位置及び状態を示す部品情報を出力してもよい。 Figure 5 is a diagram showing the captured image IM acquired by the image acquisition unit 111. Figure 5 shows an area in the captured image IM that includes the multiple clamps 26 (patient side clamp 26a, infusion side clamp 26b, and drainage side clamp 26c) of the dialysis equipment 2. The part identification unit 114 identifies the position and state of each of the multiple clamps 26, which are multiple parts of the dialysis equipment 2, based on the captured image acquired by the image acquisition unit 111. For example, the part identification unit 114 uses an object recognition model to identify the position of each of the multiple clamps 26 included in the captured image IM and to identify whether each of the multiple clamps 26 is in an open state or a closed state. As described above, the position and state of each of the multiple clamps 26 can be identified from the captured image IM based on the color and shape of the multiple clamps 26. The part identification unit 114 is not limited to the method shown here, and can use a known object detection method that can identify the state of the clamp 26. The part identification unit 114 outputs part information indicating the position and state of each of the multiple clamps 26 identified. The part identification unit 114 may output part information indicating the position and status of other parts of the dialysis machine 2, in addition to the clamp 26.

姿勢特定部112による姿勢Pの特定、マスク検出部113によるマスクMの検出、及び部品特定部114によるクランプ26の特定は、並行して行われてもよく、任意の順序で行われてもよい。 The identification of the orientation P by the orientation identification unit 112, the detection of the mask M by the mask detection unit 113, and the identification of the clamp 26 by the part identification unit 114 may be performed in parallel or in any order.

分析部115は、姿勢特定部112が出力した姿勢情報が示す患者の姿勢P又は補助者の姿勢に基づいて、患者又は補助者が行っている腹膜透析の手順を分析する。分析部115による腹膜透析の手順の分析は、患者又は補助者が腹膜透析において不衛生な行為をしているかの分析と、患者又は補助者が複数のクランプ26を正しい順序で操作しているかの分析とを含む。具体的には、まず分析部115は、姿勢特定部112が姿勢Pを特定するために用いた撮像画像のタイムスタンプと、部品特定部114がクランプ26の状態を特定するために用いた撮像画像のタイムスタンプとを関連付けることによって、姿勢特定部112が出力した姿勢情報と、部品特定部114が出力した部品情報との時刻を合わせる。 The analysis unit 115 analyzes the peritoneal dialysis procedure being performed by the patient or assistant based on the patient's posture P or the assistant's posture indicated by the posture information output by the posture identification unit 112. The analysis of the peritoneal dialysis procedure by the analysis unit 115 includes an analysis of whether the patient or assistant is performing unsanitary practices during peritoneal dialysis, and an analysis of whether the patient or assistant is operating the multiple clamps 26 in the correct order. Specifically, the analysis unit 115 first associates the timestamp of the captured image used by the posture identification unit 112 to identify the posture P with the timestamp of the captured image used by the part identification unit 114 to identify the state of the clamps 26, thereby aligning the time between the posture information output by the posture identification unit 112 and the part information output by the part identification unit 114.

次に分析部115は、姿勢情報が複数の人間の姿勢Pを含む場合に、いずれか1人の姿勢Pを患者の姿勢Pとして選択する。例えば、分析部115は、過去の姿勢情報に基づいて患者の姿勢Pを選択する。この場合に、分析部115は、あるタイミングで特定された複数の人間の姿勢Pのうち、時系列における1つ前のタイミングで特定された患者の姿勢Pに最も近い姿勢Pを、患者の姿勢Pとして選択する。別の方法として、分析部115は、あるタイミングで特定された複数の人間の姿勢Pのうち、クランプ26に最も近い姿勢Pを、患者の姿勢Pとして選択してもよい。 Next, when the posture information includes postures P of multiple people, the analysis unit 115 selects one of the postures P as the posture P of the patient. For example, the analysis unit 115 selects the posture P of the patient based on past posture information. In this case, the analysis unit 115 selects, as the posture P of the patient, the posture P that is closest to the posture P of the patient identified at the previous timing in the time series, from among the postures P of multiple people identified at a certain timing. As an alternative method, the analysis unit 115 may select, as the posture P of the patient, the posture P that is closest to the clamp 26, from among the postures P of multiple people identified at a certain timing.

次に分析部115は、患者又は補助者が腹膜透析において行う不衛生な行為として、姿勢特定部112が出力した姿勢情報が示す患者の姿勢P又は補助者の姿勢に基づいて、透析機器2以外の物体に触れた回数を算出する。例えば分析部115は、患者が患者自身の頭部に触れた回数を算出する。頭部は、患者の顔や毛髪を含む。このとき分析部115は、患者の姿勢Pにおける手の位置と頭部の位置との間の距離を算出し、該距離が所定値以下となった場合に患者が頭部に触れた回数に1を加算することによって、患者が頭部に触れた回数を算出する。分析部115は、患者の頭部に限らず、患者又は補助者が腹膜透析中に触れるべきではないその他の物体に触れた回数を算出してもよい。そして分析部115は、算出した回数に基づいて、腹膜透析の手順の衛生の程度を評価する。 Next, the analysis unit 115 calculates the number of times that the patient or assistant touches objects other than the dialysis machine 2 as an unsanitary act performed by the patient or assistant during peritoneal dialysis, based on the patient's posture P or the assistant's posture indicated by the posture information output by the posture identification unit 112. For example, the analysis unit 115 calculates the number of times that the patient touches his or her own head. The head includes the patient's face and hair. In this case, the analysis unit 115 calculates the distance between the position of the hand and the position of the head in the patient's posture P, and when the distance is equal to or less than a predetermined value, adds 1 to the number of times that the patient touched his or her head, thereby calculating the number of times that the patient touched his or her head. The analysis unit 115 may calculate not only the number of times that the patient's head is touched, but also the number of times that the patient or assistant touches other objects that should not be touched during peritoneal dialysis. The analysis unit 115 then evaluates the degree of hygiene of the peritoneal dialysis procedure based on the calculated number of times.

例えば分析部115は、算出した回数が大きいほど衛生の程度を示すスコアを低く算出し、算出した回数が小さいほど衛生の程度を示すスコアを高く算出する。分析部115は、患者又は補助者が透析機器2以外の物体に触れた回数と、該回数に基づいて評価した衛生の程度を示す情報(スコア)とを、分析結果として分析結果記憶部123に記憶させる。このように分析部115は患者又は補助者が透析機器2以外の物体に触れた回数を算出することによって、医療従事者等のユーザは患者又は補助者が腹膜透析において不衛生な行為をしていることを把握でき、適切な指導を行うことができる。 For example, the analysis unit 115 calculates a lower score indicating the degree of hygiene the greater the calculated number of times, and calculates a higher score indicating the degree of hygiene the smaller the calculated number of times. The analysis unit 115 stores the number of times the patient or assistant touched objects other than the dialysis equipment 2 and information (score) indicating the degree of hygiene evaluated based on the number of times in the analysis result storage unit 123 as the analysis result. In this way, the analysis unit 115 calculates the number of times the patient or assistant touched objects other than the dialysis equipment 2, allowing users such as medical professionals to know that the patient or assistant is engaging in unhygienic behavior during peritoneal dialysis and to provide appropriate guidance.

次に分析部115は、姿勢特定部112が出力した姿勢情報が示す患者の姿勢P又は補助者の姿勢と、部品特定部114が出力した部品情報が示す複数の部品それぞれの位置及び状態とに基づいて、患者又は補助者が部品の操作を行ったか否かを判定する。以下では、透析機器2が備える部品としてクランプ26を用いて、分析部115が行う処理を説明する。 Next, the analysis unit 115 determines whether the patient or the assistant has operated a part, based on the patient's posture P or the assistant's posture indicated by the posture information output by the posture identification unit 112, and the position and state of each of the multiple parts indicated by the part information output by the part identification unit 114. Below, the processing performed by the analysis unit 115 is described using the clamp 26 as a part of the dialysis machine 2.

分析部115は、姿勢特定部112が出力した姿勢情報が示す患者の姿勢P又は補助者の姿勢と、部品特定部114が出力した部品情報が示す複数のクランプ26それぞれの位置及び状態の少なくとも一方とに基づいて、患者又は補助者がクランプ26の操作を行ったか否かを判定する。このとき分析部115は、患者の姿勢P又は補助者の姿勢における手の位置と、複数のクランプ26それぞれの位置との間の距離を算出し、該距離が所定値以下となった場合に患者又は補助者がクランプ26に触れた(すなわちクランプ26を操作した)と判定する。 The analysis unit 115 determines whether the patient or assistant has operated the clamp 26 based on the patient's posture P or the assistant's posture indicated by the posture information output by the posture identification unit 112 and at least one of the positions and states of each of the multiple clamps 26 indicated by the part information output by the part identification unit 114. At this time, the analysis unit 115 calculates the distance between the hand position in the patient's posture P or the assistant's posture and the position of each of the multiple clamps 26, and determines that the patient or assistant has touched the clamp 26 (i.e., operated the clamp 26) when the distance is equal to or less than a predetermined value.

分析部115は、患者又は補助者がクランプ26に触れたと判定した場合に、患者又は補助者が触れたクランプ26の識別情報(すなわち患者又は補助者が複数のクランプ26のいずれに触れたか)と、患者又は補助者が該クランプ26に触れた時刻と、患者又は補助者が触れた際の該クランプ26の状態とを関連付ける。クランプ26の状態は、例えばクランプ26が開状態及び閉状態のどちらであるかを示す情報である。分析部115は、腹膜透析の開始から終了までの撮像画像IMについて、患者によるクランプ26の操作の判定を時系列で繰り返すことによって、患者又は補助者が複数のクランプ26を操作した順序を特定する。 When the analysis unit 115 determines that the patient or assistant has touched a clamp 26, it associates the identification information of the clamp 26 touched by the patient or assistant (i.e., which of the multiple clamps 26 the patient or assistant touched), the time when the patient or assistant touched the clamp 26, and the state of the clamp 26 at the time when the patient or assistant touched it. The state of the clamp 26 is information indicating, for example, whether the clamp 26 is in an open state or a closed state. The analysis unit 115 identifies the order in which the patient or assistant operated the multiple clamps 26 by repeating the determination of the operation of the clamp 26 by the patient in chronological order for the captured images IM from the start to the end of peritoneal dialysis.

また、分析部115は、クランプ26の状態を用いず、患者又は補助者の姿勢とクランプ26の位置とに基づいて、患者又は補助者が複数のクランプ26を操作した順序を特定してもよい。この場合には、分析部115は、患者又は補助者が触れたクランプ26の識別情報と、患者又は補助者が該クランプ26に触れた時刻とを関連付けることによって、患者又は補助者が複数のクランプ26を操作した順序を特定する。このような構成により、分析部115は、透析機器2の部品の状態変化を特定しない場合であっても、患者又は補助者の姿勢と部品の位置との間の関係に基づいて、部品の操作順序を推定できる。 The analysis unit 115 may also determine the order in which the patient or assistant operated the multiple clamps 26 based on the posture of the patient or assistant and the position of the clamps 26, without using the state of the clamps 26. In this case, the analysis unit 115 determines the order in which the patient or assistant operated the multiple clamps 26 by associating the identification information of the clamps 26 touched by the patient or assistant with the time when the patient or assistant touched the clamps 26. With this configuration, even if the analysis unit 115 does not determine a change in the state of the parts of the dialysis equipment 2, it can estimate the operation order of the parts based on the relationship between the posture of the patient or assistant and the position of the parts.

分析部115は、特定した順序を、分析基準記憶部122に予め記憶された所定の基準順序と比較する。基準順序は、透析機器2に含まれる複数のクランプ26がどのような順序で、どのように操作されるか(例えばクランプ26が開状態と閉状態のどちらに切り替えられるか、又はクランプ26が触れられたか)を示す情報である。分析部115は、特定した順序が基準順序と合致していない場合(すなわち所定の基準の適合していない場合)に、患者又は補助者が行っている腹膜透析の手順が正しくないと判定し、そうでない場合に、患者又は補助者が行っている腹膜透析の手順が正しいと判定する。このように分析部115は複数のクランプ26の操作順序に基づいて腹膜透析の手順を分析することによって、高精度に腹膜透析の手順が正しいか否か(すなわち所定の基準に適合するか否か)を判定できる。 The analysis unit 115 compares the identified sequence with a predetermined reference sequence stored in advance in the analysis criterion storage unit 122. The reference sequence is information indicating in what order and how the multiple clamps 26 included in the dialysis equipment 2 are operated (for example, whether the clamps 26 are switched to an open or closed state, or whether the clamps 26 are touched). If the identified sequence does not match the reference sequence (i.e., if the predetermined criteria are not met), the analysis unit 115 determines that the peritoneal dialysis procedure performed by the patient or assistant is incorrect, and if not, determines that the peritoneal dialysis procedure performed by the patient or assistant is correct. In this way, the analysis unit 115 can accurately determine whether the peritoneal dialysis procedure is correct (i.e., whether it meets the predetermined criteria) by analyzing the peritoneal dialysis procedure based on the operation sequence of the multiple clamps 26.

分析部115は、クランプ26に限らず、透析機器2が備えるその他の部品(例えば注液用バッグB1や排液用バッグB2)を患者又は補助者が操作した順序を特定し、特定した順序に基づいて腹膜透析の手順が所定の基準に適合するか否かを判定してもよい。この場合には、分析部115は、患者又は補助者の姿勢と、透析機器2の部品の位置及び状態の少なくとも一方とに基づいて、患者又は補助者が透析機器2の部品を操作した順序を特定する。 The analysis unit 115 may identify the order in which the patient or assistant operates other parts of the dialysis equipment 2 (e.g., the infusion bag B1 and the drainage bag B2) in addition to the clamp 26, and may determine whether the peritoneal dialysis procedure complies with a predetermined standard based on the identified order. In this case, the analysis unit 115 identifies the order in which the patient or assistant operates the parts of the dialysis equipment 2 based on the posture of the patient or assistant and at least one of the position and state of the parts of the dialysis equipment 2.

分析部115は、患者又は補助者が複数の部品(クランプ26)を操作した順序と、該順序に基づいた腹膜透析の手順が所定の基準に適合するか否かの判定とを、分析結果として分析結果記憶部123に記憶させる。 The analysis unit 115 stores in the analysis result storage unit 123 as analysis results the order in which the patient or assistant operated the multiple parts (clamps 26) and a determination of whether the peritoneal dialysis procedure based on that order complies with predetermined standards.

図6(a)、図6(b)は、画像取得部111が取得した撮像画像IMを示す図である。図6(a)、図6(b)は、撮像画像IMの中で患者の身体において透析機器2が接続されている出口部を含む領域を表している。出口部は、患者の身体の腹部において、透析機器2に接続される管(カテーテル)が予め埋め込まれている部分である。出口部の管が透析機器2の管21に接続されることにより、患者の体内(腹腔内)と透析機器2の管21とが連通し、透析液の注入及び排出が可能になる。 Figures 6(a) and 6(b) are diagrams showing the captured image IM acquired by the image acquisition unit 111. Figures 6(a) and 6(b) show an area of the captured image IM including an outlet part in the patient's body to which the dialysis equipment 2 is connected. The outlet part is a part in the abdominal part of the patient's body in which a tube (catheter) connected to the dialysis equipment 2 is embedded in advance. When the tube of the outlet part is connected to the tube 21 of the dialysis equipment 2, the inside of the patient's body (intraperitoneal cavity) is connected to the tube 21 of the dialysis equipment 2, and the injection and discharge of dialysis fluid becomes possible.

出口部の周辺が不衛生になると、細菌等の感染が起こり得る。出口部に感染が起こった状態で腹膜透析を続けると、細菌等が患者の体内に侵入し、より重篤な腹膜炎等の感染症が発生するおそれがある。図6(a)は出口部に感染が起こっていない状態を表しており、図6(b)は出口部に感染が起こっている状態を表している。図6(a)、図6(b)に示すように、撮像画像IMに含まれている出口部の外観と出口部の衛生の程度とは相関性がある。そこで、分析部115は、撮像画像IMに基づいて、出口部の衛生の程度の評価を行う。 If the area around the exit becomes unsanitary, infection by bacteria, etc. may occur. If peritoneal dialysis is continued with the exit infected, bacteria, etc. may enter the patient's body, causing a more serious infection such as peritonitis. Figure 6(a) shows a state where the exit is not infected, and Figure 6(b) shows a state where the exit is infected. As shown in Figures 6(a) and 6(b), there is a correlation between the appearance of the exit contained in the captured image IM and the degree of hygiene of the exit. Therefore, the analysis unit 115 evaluates the degree of hygiene of the exit based on the captured image IM.

分析基準記憶部122には、画像を入力することにより画像に含まれている出口部の衛生の程度を示す情報(スコア)を出力する機械学習モデルを示す情報が予め記憶されている。機械学習モデルは、予め画像と、該画像に含まれている出口部の衛生の程度を示すスコア(点数)とを、既知の機械学習方法によって学習することによって生成される。衛生の程度のスコアは、例えば腫脹の大きさ、痂皮の大きさ、発赤の大きさ、疼痛の強さ、及び滲出液の種類に応じて決定される値である。本実施形態において、スコアが高いほど衛生状態が悪いように、スコアが決定される。スコアは、ここに示した定義に限定されない。 The analysis criteria storage unit 122 prestores information indicating a machine learning model that, when an image is input, outputs information (score) indicating the degree of hygiene of the exit area contained in the image. The machine learning model is generated by learning an image and a score (point number) indicating the degree of hygiene of the exit area contained in the image in advance using a known machine learning method. The score of the degree of hygiene is a value determined according to, for example, the size of swelling, the size of the crust, the size of redness, the intensity of pain, and the type of exudate. In this embodiment, the score is determined so that the higher the score, the worse the hygiene state. The score is not limited to the definition shown here.

分析部115は、分析基準記憶部122に予め記憶されている機械学習モデルに、撮像画像IMを入力することによって、出口部の衛生の程度を示すスコアを取得する。分析部115は、取得した出口部の衛生の程度を示すスコアを、分析結果として分析結果記憶部123に記憶させる。医療従事者等のユーザが撮像画像IMから出口部の衛生の程度を毎回判定するには大きな手間が掛かるが、分析部115は、機械学習モデルを用いることによって自動的に出口部の衛生の程度を評価できる。 The analysis unit 115 obtains a score indicating the degree of hygiene of the exit area by inputting the captured image IM into a machine learning model that is pre-stored in the analysis criteria storage unit 122. The analysis unit 115 stores the obtained score indicating the degree of hygiene of the exit area in the analysis result storage unit 123 as the analysis result. It is very time-consuming for a user such as a medical professional to determine the degree of hygiene of the exit area from the captured image IM every time, but the analysis unit 115 can automatically evaluate the degree of hygiene of the exit area by using the machine learning model.

本実施形態において分析部115は宅内に設置された撮像装置3が撮像した撮像画像IMを用いているが、患者又は補助者が有する通信端末(スマートフォン等)の撮像部を用いて撮像した撮像画像IMを用いてもよい。この場合に、患者又は補助者は、腹膜透析の開始時、途中及び終了時のいずれかのタイミングで、通信端末の撮像部を用いて出口部を撮像する。宅内デバイス1の画像取得部111は、通信端末が撮像した出口部を含む撮像画像IMを、通信によって取得する。そして分析部115は、通信端末から取得した撮像画像IMを用いて、出口部の衛生の程度を示すスコアを取得する。 In this embodiment, the analysis unit 115 uses the captured image IM captured by the imaging device 3 installed in the home, but it may also use a captured image IM captured using an imaging unit of a communication terminal (such as a smartphone) owned by the patient or assistant. In this case, the patient or assistant captures an image of the outlet section using the imaging unit of the communication terminal at the start, middle, or end of peritoneal dialysis. The image acquisition unit 111 of the home device 1 acquires, by communication, the captured image IM including the outlet section captured by the communication terminal. The analysis unit 115 then acquires a score indicating the degree of hygiene of the outlet section using the captured image IM acquired from the communication terminal.

さらに分析部115は、撮像画像IMに含まれている患者及び透析機器2の周囲の環境に基づいて、衛生の程度を評価してもよい。例えば分析部115は、既知の物体検出方法を用いて、撮像画像IMにおいて患者及び透析機器2の周囲に不衛生な要因となる所定の物体(食品やゴミ)を検出する。そして分析部115は、撮像画像IMに含まれている出口部の状態に加えて、検出した物体の数及び種類に基づいて、衛生の程度を示す情報(スコア)を算出する。これにより分析部115は、患者及び透析機器2の周囲の環境を考慮して衛生の程度を評価できる。 Furthermore, the analysis unit 115 may evaluate the degree of hygiene based on the environment around the patient and dialysis equipment 2 included in the captured image IM. For example, the analysis unit 115 uses a known object detection method to detect specific objects (food or garbage) that are factors that cause unsanitary conditions around the patient and dialysis equipment 2 in the captured image IM. The analysis unit 115 then calculates information (score) indicating the degree of hygiene based on the number and type of detected objects, in addition to the state of the outlet part included in the captured image IM. This allows the analysis unit 115 to evaluate the degree of hygiene taking into account the environment around the patient and dialysis equipment 2.

さらに分析部115は、患者の生体情報、患者の投薬情報、及び患者の体内から排出された透析液の排液情報のうち少なくとも1つに基づいて、衛生の程度を評価してもよい。この場合には、分析部115は、患者の身体に設けられたセンサから、体温、血圧、脈拍数等の生体情報を取得する。また、分析部115は、記憶部12に予め記憶された患者の投薬情報(薬剤名等)を取得する。また、分析部115は、透析機器2に設けられたセンサから、患者の体内から排出された後の透析液の色、成分等の排液情報を取得する。 The analysis unit 115 may further evaluate the degree of hygiene based on at least one of the patient's biometric information, the patient's medication information, and drainage information of the dialysis fluid discharged from the patient's body. In this case, the analysis unit 115 acquires biometric information such as body temperature, blood pressure, and pulse rate from a sensor provided on the patient's body. The analysis unit 115 also acquires the patient's medication information (such as drug name) pre-stored in the memory unit 12. The analysis unit 115 also acquires drainage information such as the color and components of the dialysis fluid after it has been discharged from the patient's body from a sensor provided on the dialysis equipment 2.

そして分析部115は、撮像画像IMに含まれている出口部の状態に加えて、取得した生体情報、投薬情報、及び排液情報に基づいて、衛生の程度を示す情報(スコア)を算出する。具体的には、分析部115は、生体情報が通常の患者の状態と異なること(例えば発熱していること)を示す場合に、スコアに所定値を加算する。これは、患者が通常の状態ではない場合に、患者が感染症にかかっているおそれがあるためである。 The analysis unit 115 then calculates information (score) indicating the degree of hygiene based on the state of the exit port contained in the captured image IM as well as the acquired biometric information, medication information, and drainage information. Specifically, when the biometric information indicates that the patient's condition is different from the normal state (e.g., the patient has a fever), the analysis unit 115 adds a predetermined value to the score. This is because if the patient is not in a normal state, there is a risk that the patient has an infectious disease.

また、分析部115は、投薬情報が所定の薬剤(例えば糖尿病の処方薬)の投与を示す場合に、スコアに所定値を加算する。これは、糖尿病等の患者は感染症のリスクが高いためである。また、分析部115は、排液情報が通常の排液の状態と異なること(例えば排液が濁っていること)を示す場合に、スコアに所定値を加算する。これは、排液が通常の状態ではない場合に、患者が感染症にかかっているおそれがあるためである。 Furthermore, the analysis unit 115 adds a predetermined value to the score when the medication information indicates administration of a predetermined drug (e.g., a prescription drug for diabetes). This is because patients with diabetes, etc. are at high risk of infection. Furthermore, the analysis unit 115 adds a predetermined value to the score when the drainage information indicates that the drainage state is different from the normal state (e.g., the drainage is cloudy). This is because if the drainage state is not normal, there is a risk that the patient has an infection.

このように分析部115は出口部を含む撮像画像IMに加えて、生体情報、投薬情報、及び排液情報に基づいて、衛生の程度を示すスコアを算出することによって、より高精度に衛生の程度を評価できる。 In this way, the analysis unit 115 can evaluate the degree of hygiene with higher accuracy by calculating a score indicating the degree of hygiene based on the captured image IM including the exit portion, as well as the biological information, medication information, and drainage information.

出力部116は、姿勢特定部112が出力した姿勢情報と、マスク検出部113が出力したマスク検出情報と、部品特定部114が出力した部品情報と、分析部115による分析結果とを、管理サーバ4へ送信することによって出力する。分析結果は、患者又は補助者が透析機器2以外の物体に触れた回数、該回数に基づいて評価した衛生の程度を示す情報、患者又は補助者が複数の部品(クランプ26)を操作した順序、該順序に基づいた腹膜透析の手順が所定の基準に適合するか否かの判定、及び出口部の衛生の程度を示すスコアを含む。分析結果は、これらの情報のうち一部のみを管理サーバ4へ送信してもよい。出力部116は、管理サーバ4への送信に限られず、記憶装置へのデータの記録、プリンタを用いた紙への印刷、スピーカを用いた音声の出力等、その他の方法で分析結果を出力してもよい。 The output unit 116 outputs the posture information output by the posture identification unit 112, the mask detection information output by the mask detection unit 113, the part information output by the part identification unit 114, and the analysis result by the analysis unit 115 by transmitting them to the management server 4. The analysis result includes the number of times the patient or assistant touched objects other than the dialysis equipment 2, information indicating the degree of hygiene evaluated based on the number of times, the order in which the patient or assistant operated multiple parts (clamps 26), a determination of whether the peritoneal dialysis procedure based on the order complies with a predetermined standard, and a score indicating the degree of hygiene of the outlet. The analysis result may transmit only a part of this information to the management server 4. The output unit 116 may output the analysis result by other methods such as recording data in a storage device, printing on paper using a printer, outputting sound using a speaker, etc., without being limited to transmission to the management server 4.

さらに出力部116は、患者又は補助者が複数の部品(クランプ26)を操作した順序に基づいた腹膜透析の手順が所定の基準に適合するか否かの判定が、所定の条件(例えば腹膜透析の手順が正しくないこと)を満たす場合に、撮像画像IMを管理サーバ4へ送信する。これにより、出力部116は例えば腹膜透析の手順に異常があると判定された場合にのみ撮像画像を宅内デバイス1の外部へ送信するため、宅内デバイス1が行う通信のデータ量を削減することができる。 Furthermore, the output unit 116 transmits the captured image IM to the management server 4 when a determination of whether or not the peritoneal dialysis procedure based on the order in which the patient or assistant operates multiple parts (clamps 26) meets a predetermined standard satisfies a predetermined condition (e.g., the peritoneal dialysis procedure is incorrect). As a result, the output unit 116 transmits the captured image outside the home device 1 only when it is determined that there is an abnormality in the peritoneal dialysis procedure, for example, and therefore the amount of data communication performed by the home device 1 can be reduced.

さらに出力部116は、出口部の衛生の程度を示すスコアが、分析基準記憶部122に予め記憶された所定の条件を満たす場合に、患者及びユーザの少なくとも一方に対する通知を出力してもよい。通知を出力する条件は、例えばスコアが所定値以上であることである。通知は、出口部の衛生状態が悪い旨を含み、患者又は補助者が有する通信端末(スマートフォン等)、又はユーザが用いる情報端末5へ送信され、画面表示又は音声によって出力される。また、出口部の衛生の程度を示すスコアが所定の条件を満たす場合であって、透析機器2が透析液の輸送を電気的に制御する制御装置を含む場合に、出力部116は、透析機器2を停止させる情報(信号)を出力してもよい。透析機器2を停止させる条件は、例えばスコアが所定値以上であることである。これにより、出力部116は、出口部の衛生の程度を示すスコアに基づいて患者又はユーザへフィードバックを行うことができる。 Furthermore, the output unit 116 may output a notification to at least one of the patient and the user when the score indicating the degree of hygiene of the outlet meets a predetermined condition stored in advance in the analysis criterion storage unit 122. The condition for outputting the notification is, for example, that the score is equal to or greater than a predetermined value. The notification includes information that the hygiene of the outlet is poor, and is transmitted to a communication terminal (such as a smartphone) held by the patient or assistant, or to an information terminal 5 used by the user, and is output by screen display or voice. In addition, when the score indicating the degree of hygiene of the outlet meets a predetermined condition and the dialysis device 2 includes a control device that electrically controls the transport of the dialysis fluid, the output unit 116 may output information (signal) to stop the dialysis device 2. The condition for stopping the dialysis device 2 is, for example, that the score is equal to or greater than a predetermined value. This allows the output unit 116 to provide feedback to the patient or user based on the score indicating the degree of hygiene of the outlet.

通知を出力する条件と、透析機器2を停止させる条件とは、互いに異なっていてもよい。これにより出力部116は、例えば衛生の程度が第1の条件を満たす場合に通知を出力し、衛生の程度が第1の条件とは異なる第2の条件を満たす場合に透析機器2を強制的に停止させることができる。 The condition for outputting the notification and the condition for stopping the dialysis equipment 2 may be different from each other. In this way, the output unit 116 can output a notification when the degree of hygiene satisfies, for example, a first condition, and forcibly stop the dialysis equipment 2 when the degree of hygiene satisfies a second condition different from the first condition.

管理サーバ4において、受信部411は、宅内デバイス1が送信した姿勢情報、マスク検出情報、部品情報及び分析結果を受信し、分析結果記憶部423に記憶させる。また、受信部411は、宅内デバイス1が送信した撮像画像IMを受信し、画像記憶部421に記憶させる。 In the management server 4, the receiving unit 411 receives the posture information, mask detection information, part information, and analysis results transmitted by the home device 1, and stores them in the analysis result storage unit 423. The receiving unit 411 also receives the captured image IM transmitted by the home device 1, and stores them in the image storage unit 421.

分析部412は、宅内デバイス1が送信した姿勢情報、マスク検出情報、部品情報及び分析結果を取得する。そして分析部412は、取得した姿勢情報、マスク検出情報、部品情報及び分析結果に対して追加の分析を行う。例えば分析部412は、分析結果が含む患者又は補助者が透析機器2の複数の部品(クランプ26)を操作した順序に含まれる複数のステップそれぞれの操作時間を算出する。具体的には、分析部412は、患者又は補助者が複数のクランプ26を操作した順序において、患者又は補助者が複数のクランプ26のうち少なくとも1つの操作を開始してから(例えばクランプ26に触れてから)、該クランプ26の操作を終了するまで(例えばクランプ26を離すまで)の時間を、1つのステップの操作時間として算出する。分析部412は、腹膜透析の開始から終了までの撮像画像IMについて操作時間の算出を時系列で繰り返すことによって、患者又は補助者が複数のクランプ26を操作した順序に含まれる複数のステップそれぞれの操作時間を算出する。 The analysis unit 412 acquires the posture information, mask detection information, part information, and analysis results transmitted by the home device 1. The analysis unit 412 then performs additional analysis on the acquired posture information, mask detection information, part information, and analysis results. For example, the analysis unit 412 calculates the operation time of each of the multiple steps included in the sequence in which the patient or assistant operated the multiple parts (clamps 26) of the dialysis equipment 2, which is included in the analysis result. Specifically, the analysis unit 412 calculates the operation time of one step as the time from when the patient or assistant starts operating at least one of the multiple clamps 26 (e.g., from when the patient or assistant touches the clamp 26) to when the operation of the clamp 26 is completed (e.g., from when the clamp 26 is released) in the sequence in which the patient or assistant operated the multiple clamps 26. The analysis unit 412 calculates the operation time of each of the multiple steps included in the sequence in which the patient or assistant operated the multiple clamps 26 by repeating the calculation of the operation time for the captured images IM from the start to the end of peritoneal dialysis in chronological order.

分析部412は、算出した複数のステップそれぞれの操作時間に基づいて腹膜透析の手順が円滑か否かを判定し、腹膜透析の手順が円滑か否かを示す情報を、分析結果として出力する。例えば分析部412は、算出した複数のステップのうち少なくとも1つの操作時間が所定の基準時間よりも長い場合に、腹膜透析の手順が円滑でないと判定し、そうでない場合に、腹膜透析の手順が円滑であると判定する。このように分析部412は複数のステップそれぞれの操作時間を算出することによって、医療従事者等のユーザは患者又は補助者がどのステップで戸惑っているかを把握でき、適切な指導を行うことができる。分析部412は、ここに示した分析に限られず、その他の分析を行ってもよい。 The analysis unit 412 determines whether the peritoneal dialysis procedure is smooth or not based on the calculated operation time of each of the multiple steps, and outputs information indicating whether the peritoneal dialysis procedure is smooth or not as an analysis result. For example, the analysis unit 412 determines that the peritoneal dialysis procedure is not smooth if the operation time of at least one of the calculated multiple steps is longer than a predetermined reference time, and determines that the peritoneal dialysis procedure is smooth if this is not the case. In this way, the analysis unit 412 calculates the operation time of each of the multiple steps, allowing a user such as a medical professional to understand which step the patient or assistant is confused about and to provide appropriate guidance. The analysis unit 412 is not limited to the analysis shown here and may perform other analyses.

画像解析システムSにおいて、宅内デバイス1(エッジデバイス)は、各家庭に設けられるため低い計算能力を有し、管理サーバ4は、宅内デバイス1よりも高い計算能力を有することが想定される。このような構成の場合に、管理サーバ4の分析部412が、宅内デバイス1で行われていない追加の分析を行うことによって、宅内デバイス1の負荷を抑えることができる。一方、管理サーバ4は、分析部412による分析を省略し、宅内デバイス1が送信した分析結果をそのまま用いてもよい。 In the image analysis system S, the home device 1 (edge device) is installed in each home and therefore has low computing power, while the management server 4 is assumed to have higher computing power than the home device 1. In such a configuration, the analysis unit 412 of the management server 4 can reduce the load on the home device 1 by performing additional analysis not performed by the home device 1. On the other hand, the management server 4 may omit the analysis by the analysis unit 412 and use the analysis results sent by the home device 1 as is.

出力部413は、宅内デバイス1が送信した分析結果及び分析部412が出力した分析結果を、情報端末5へ送信することによって出力する。情報端末5は、管理サーバ4が送信した分析結果を、画面表示又は音声によって出力する。また、出力部413は、宅内デバイス1が送信したマスク検出情報を情報端末5へ送信してもよい。また、出力部413は、宅内デバイス1が送信した撮像画像IMを情報端末5へ送信してもよい。 The output unit 413 outputs the analysis results transmitted by the home device 1 and the analysis results output by the analysis unit 412 by transmitting them to the information terminal 5. The information terminal 5 outputs the analysis results transmitted by the management server 4 by screen display or audio. The output unit 413 may also transmit the mask detection information transmitted by the home device 1 to the information terminal 5. The output unit 413 may also transmit the captured image IM transmitted by the home device 1 to the information terminal 5.

[画像解析方法のシーケンス]
図7は、本実施形態に係る画像解析システムSが実行する画像解析方法のシーケンス図である。まず宅内デバイス1は、撮像装置3によって、患者又は補助者の撮像を開始する。画像取得部111は、撮像装置3が撮像した、透析機器2を用いて腹膜透析を行っている患者又は患者を補助する補助者を撮像した撮像画像を取得する(S11)。
[Image analysis method sequence]
7 is a sequence diagram of an image analysis method executed by the image analysis system S according to this embodiment. First, the home device 1 starts capturing an image of a patient or an assistant using the imaging device 3. The image acquisition unit 111 acquires an image captured by the imaging device 3 of a patient undergoing peritoneal dialysis using the dialysis machine 2 or an assistant assisting the patient (S11).

姿勢特定部112は、画像取得部111が取得した撮像画像に基づいて、患者の姿勢P又は補助者の姿勢を特定する(S12)。マスク検出部113は、画像取得部111が取得した撮像画像に基づいて、患者又は補助者が着用しているマスクMを検出する(S13)。部品特定部114は、画像取得部111が取得した撮像画像に基づいて、複数の部品(クランプ26)それぞれの位置及び状態を特定する(S14)。 The posture identification unit 112 identifies the posture P of the patient or the posture of the assistant based on the captured image acquired by the image acquisition unit 111 (S12). The mask detection unit 113 detects the mask M worn by the patient or assistant based on the captured image acquired by the image acquisition unit 111 (S13). The part identification unit 114 identifies the position and state of each of the multiple parts (clamps 26) based on the captured image acquired by the image acquisition unit 111 (S14).

分析部115は、姿勢特定部112が出力した姿勢情報が示す患者の姿勢P又は補助者の姿勢に基づいて、患者又は補助者が透析機器2以外の物体に触れた回数を算出する(S15)。分析部115は、姿勢特定部112が出力した姿勢情報が示す患者の姿勢P又は補助者の姿勢と、部品特定部114が出力した部品情報が示す複数の部品それぞれの位置及び状態の少なくとも一方とに基づいて、患者又は補助者が部品の操作を行ったか否かを判定する。分析部115は、患者による部品の操作の判定を時系列で繰り返すことによって、患者又は補助者が複数の部品を操作した順序を特定する(S16)。 The analysis unit 115 calculates the number of times the patient or assistant touches objects other than the dialysis equipment 2 based on the patient's posture P or the assistant's posture indicated by the posture information output by the posture identification unit 112 (S15). The analysis unit 115 determines whether the patient or assistant has operated a part based on the patient's posture P or the assistant's posture indicated by the posture information output by the posture identification unit 112 and at least one of the position and state of each of the multiple parts indicated by the part information output by the part identification unit 114. The analysis unit 115 identifies the order in which the patient or assistant operated the multiple parts by repeating the determination of the operation of the parts by the patient in chronological order (S16).

分析部115は、算出した回数に基づいて、衛生の程度を示す情報(スコア)を算出する。また、分析部115は、特定した順序が基準順序と合致していない場合(すなわち所定の基準に適合していない場合)に、患者又は補助者が行っている腹膜透析の手順が正しくないと判定し、そうでない場合に、患者又は補助者が行っている腹膜透析の手順が正しいと判定する(S17)。 The analysis unit 115 calculates information (score) indicating the degree of hygiene based on the calculated number of times. Furthermore, if the identified sequence does not match the standard sequence (i.e., does not meet the specified criteria), the analysis unit 115 determines that the peritoneal dialysis procedure performed by the patient or assistant is incorrect, and if not, determines that the peritoneal dialysis procedure performed by the patient or assistant is correct (S17).

分析部115は、撮像画像IMに基づいて、出口部の衛生の程度の評価を行う(S18)。出力部116は、姿勢特定部112が出力した姿勢情報と、マスク検出部113が出力したマスク検出情報と、部品特定部114が出力した部品情報と、分析部115による分析結果とを、管理サーバ4へ送信することによって出力する(S19)。このとき出力部116は、患者又は補助者が複数の部品を操作した順序に基づいた腹膜透析の手順が所定の基準に適合するか否かの判定が、所定の条件(例えば腹膜透析の手順が正しくないこと)を満たす場合に、撮像画像IMを管理サーバ4へ送信してもよい。 The analysis unit 115 evaluates the degree of hygiene of the outlet based on the captured image IM (S18). The output unit 116 outputs the posture information output by the posture identification unit 112, the mask detection information output by the mask detection unit 113, the part information output by the part identification unit 114, and the analysis results by the analysis unit 115 by transmitting them to the management server 4 (S19). At this time, the output unit 116 may transmit the captured image IM to the management server 4 if the determination of whether or not the peritoneal dialysis procedure based on the order in which the patient or assistant operated multiple parts complies with a predetermined standard satisfies a predetermined condition (for example, the peritoneal dialysis procedure is incorrect).

管理サーバ4において、受信部411は、宅内デバイス1が送信した姿勢情報、マスク検出情報、部品情報及び分析結果を受信する。分析部412は、分析結果が含む患者又は補助者が複数の部品を操作した順序に含まれる複数のステップそれぞれの操作時間を算出する(S20)。分析部412は、算出した複数のステップそれぞれの操作時間を、分析結果として出力する。 In the management server 4, the receiving unit 411 receives the posture information, mask detection information, part information, and analysis results transmitted by the in-home device 1. The analysis unit 412 calculates the operation time for each of the multiple steps included in the sequence in which the patient or assistant operated the multiple parts included in the analysis result (S20). The analysis unit 412 outputs the calculated operation time for each of the multiple steps as the analysis result.

出力部413は、宅内デバイス1が送信した分析結果及び分析部412が出力した分析結果を、情報端末5へ送信することによって出力する(S21)。情報端末5は、管理サーバ4が送信した分析結果を、画面表示又は音声によって出力する。 The output unit 413 outputs the analysis results sent by the in-home device 1 and the analysis results output by the analysis unit 412 by sending them to the information terminal 5 (S21). The information terminal 5 outputs the analysis results sent by the management server 4 by displaying them on a screen or by voice.

[実施形態の効果]
本実施形態に係る画像解析システムSは、腹膜透析を行っている患者又は患者を補助する補助者を撮像した撮像画像から患者の姿勢又は補助者の姿勢を特定し、特定した姿勢に基づいて患者又は補助者が実際に行っている腹膜透析の手順を分析し、分析結果を医療従事者等のユーザに対して出力する。そのため、医療従事者等のユーザは、患者又は補助者が実際に行っている腹膜透析の手順に基づいて患者に対して適切な指導を行うことができ、患者に対する腹膜透析の安全性を向上できる。
[Effects of the embodiment]
The image analysis system S according to the present embodiment identifies the posture of the patient or assistant from an image of the patient undergoing peritoneal dialysis or the assistant assisting the patient, analyzes the procedure of peritoneal dialysis actually performed by the patient or assistant based on the identified posture, and outputs the analysis result to a user such as a medical professional. Therefore, the user such as a medical professional can provide appropriate guidance to the patient based on the procedure of peritoneal dialysis actually performed by the patient or assistant, thereby improving the safety of peritoneal dialysis for the patient.

(第2の実施形態)
第1の実施形態では宅内デバイス1が主に分析を行うのに対して本実施形態では管理サーバ4が主に分析を行う。以下、第1の実施形態とは異なる構成について説明する。
Second Embodiment
In the first embodiment, the in-home device 1 mainly performs the analysis, whereas in the present embodiment, the management server 4 mainly performs the analysis. The following describes configurations that are different from the first embodiment.

図8は、本実施形態に係る画像解析システムSのブロック図である。本実施形態に係る宅内デバイス1は、図2の構成とは異なり、分析部115を有していない。その代わりに、管理サーバ4の分析部412は、第1の実施形態において分析部115が行っていた分析を行う。すなわち、本実施形態において、宅内デバイス1は画像取得装置として機能し、管理サーバ4は画像解析装置として機能する。 Figure 8 is a block diagram of an image analysis system S according to this embodiment. Unlike the configuration of Figure 2, the in-home device 1 according to this embodiment does not have an analysis unit 115. Instead, the analysis unit 412 of the management server 4 performs the analysis that was performed by the analysis unit 115 in the first embodiment. That is, in this embodiment, the in-home device 1 functions as an image acquisition device, and the management server 4 functions as an image analysis device.

具体的には、宅内デバイス1において、出力部116は、姿勢特定部112が出力した姿勢情報と、マスク検出部113が出力したマスク検出情報と、部品特定部114が出力した部品情報とを、分析に用いる情報として管理サーバ4へ送信することによって出力する。第1の実施形態とは異なり、出力部116は分析結果を送信しない。出力部116は、姿勢特定部112が出力した姿勢情報と、部品特定部114が出力した部品情報との時刻を合わせてから送信してもよい。 Specifically, in the indoor device 1, the output unit 116 outputs the posture information output by the posture identification unit 112, the mask detection information output by the mask detection unit 113, and the part information output by the part identification unit 114 by transmitting them to the management server 4 as information to be used for analysis. Unlike the first embodiment, the output unit 116 does not transmit the analysis results. The output unit 116 may synchronize the posture information output by the posture identification unit 112 and the part information output by the part identification unit 114 before transmitting them.

管理サーバ4において、受信部411は、宅内デバイス1が送信した姿勢情報、マスク検出情報及び部品情報を、分析に用いる情報として受信する。分析部412は、第1の実施形態の分析部115と同様に、宅内デバイス1が送信した姿勢情報に基づいて、患者又は補助者が透析機器2以外の物体に触れた回数を算出し、算出した回数に基づいて腹膜透析の手順の衛生の程度を評価する。分析部412は、患者又は補助者が透析機器2以外の物体に触れた回数と、該回数に基づいて評価した衛生の程度を示す情報とを、分析結果として分析結果記憶部423に記憶させる。 In the management server 4, the receiving unit 411 receives the posture information, mask detection information, and part information transmitted by the home device 1 as information to be used for analysis. Similar to the analysis unit 115 in the first embodiment, the analysis unit 412 calculates the number of times the patient or assistant touches objects other than the dialysis equipment 2 based on the posture information transmitted by the home device 1, and evaluates the degree of hygiene of the peritoneal dialysis procedure based on the calculated number of times. The analysis unit 412 stores the number of times the patient or assistant touches objects other than the dialysis equipment 2 and information indicating the degree of hygiene evaluated based on the number of times in the analysis result storage unit 423 as analysis results.

また、分析部412は、第1の実施形態の分析部115と同様に、宅内デバイス1が送信した姿勢情報及び部品情報に基づいて、患者又は補助者が複数の部品(クランプ26)を操作した順序を特定し、特定した順序に基づいて腹膜透析の手順が正しいか否か(すなわち所定の基準に適合するか否か)を判定する。分析部412は、患者又は補助者が複数の部品を操作した順序と、該順序に基づいた腹膜透析の手順が所定の基準に適合するか否かの判定とを、分析結果として分析結果記憶部423に記憶させる。 Similarly to the analysis unit 115 of the first embodiment, the analysis unit 412 identifies the order in which the patient or assistant operated multiple parts (clamps 26) based on the posture information and part information transmitted by the in-home device 1, and determines whether the peritoneal dialysis procedure is correct (i.e., whether it complies with a predetermined standard) based on the identified order. The analysis unit 412 stores the order in which the patient or assistant operated multiple parts and the determination of whether the peritoneal dialysis procedure based on the order complies with a predetermined standard in the analysis result storage unit 423 as the analysis result.

また、分析部412は、第1の実施形態と同様に、患者又は補助者が複数の部品を操作した順序に含まれる複数のステップそれぞれの操作時間を算出する。分析部412は、算出した複数のステップそれぞれの操作時間を、分析結果として分析結果記憶部423に記憶させる。 Furthermore, as in the first embodiment, the analysis unit 412 calculates the operation time for each of the multiple steps included in the sequence in which the patient or assistant operates the multiple parts. The analysis unit 412 stores the calculated operation time for each of the multiple steps as the analysis result in the analysis result storage unit 423.

出力部413は、分析部412による分析結果を、情報端末5へ送信することによって出力する。情報端末5は、管理サーバ4が送信した分析結果を、画面表示又は音声によって出力する。また、出力部413は、宅内デバイス1が送信したマスク検出情報を情報端末5へ送信してもよい。本実施形態において、宅内デバイス1は分析を行わないため、宅内デバイス1の計算能力を低く構成でき、患者の宅内に宅内デバイス1を導入するためのコストを削減できる。 The output unit 413 outputs the analysis results by the analysis unit 412 by transmitting them to the information terminal 5. The information terminal 5 outputs the analysis results transmitted by the management server 4 by screen display or audio. The output unit 413 may also transmit the mask detection information transmitted by the home device 1 to the information terminal 5. In this embodiment, since the home device 1 does not perform analysis, the computational power of the home device 1 can be configured to be low, and the cost of introducing the home device 1 into the patient's home can be reduced.

分析部412は、撮像画像IMに基づいて、出口部の衛生の程度の評価を行ってもよい。この場合には、宅内デバイス1の出力部116は、姿勢情報、マスク検出情報及び部品情報に加えて、撮像画像IMを、管理サーバ4へ送信する。管理サーバ4において、受信部411は、宅内デバイス1が送信した撮像画像IMを受信し、画像記憶部421に記憶させる。分析部412は、第1の実施形態の分析部115と同様に、撮像画像IMに基づいて、出口部の衛生の程度の評価を行う。分析部412は、取得した出口部の衛生の程度を示すスコアを、分析結果として分析結果記憶部423に記憶させる。これにより、宅内デバイス1ではなく管理サーバ4が、出口部の衛生の程度を評価できる。 The analysis unit 412 may evaluate the degree of hygiene of the exit area based on the captured image IM. In this case, the output unit 116 of the home device 1 transmits the captured image IM to the management server 4 in addition to the posture information, mask detection information, and part information. In the management server 4, the receiving unit 411 receives the captured image IM transmitted by the home device 1 and stores it in the image storage unit 421. The analysis unit 412 evaluates the degree of hygiene of the exit area based on the captured image IM, similar to the analysis unit 115 of the first embodiment. The analysis unit 412 stores the acquired score indicating the degree of hygiene of the exit area in the analysis result storage unit 423 as the analysis result. This allows the management server 4, rather than the home device 1, to evaluate the degree of hygiene of the exit area.

情報端末5は、分析結果を参照した医療従事者等のユーザから、撮像画像IMを要求するための入力を受け付けてもよい。情報端末5がユーザから撮像画像IMを要求するための入力を受け付けた場合に、出力部413は、撮像画像IMの要求を宅内デバイス1へ送信する。また、出力部413は、患者又は補助者が複数の部品を操作した順序に基づいた腹膜透析の手順が所定の基準に適合するか否かの判定が、所定の条件(例えば腹膜透析の手順が正しくないこと)を満たす場合に、自動的に撮像画像IMの要求を宅内デバイス1へ送信してもよい。 The information terminal 5 may receive an input for requesting the captured image IM from a user such as a medical professional who has referred to the analysis results. When the information terminal 5 receives an input for requesting the captured image IM from a user, the output unit 413 transmits a request for the captured image IM to the home device 1. In addition, the output unit 413 may automatically transmit a request for the captured image IM to the home device 1 when a determination of whether or not the peritoneal dialysis procedure based on the order in which the patient or assistant operates multiple parts meets a predetermined standard satisfies a predetermined condition (for example, the peritoneal dialysis procedure is incorrect).

宅内デバイス1において、出力部116は、管理サーバ4から撮像画像IMの要求を受信したことを条件として、次回の腹膜透析(すなわち出力部116が撮像画像IMの要求を受信した後の最初の腹膜透析)において撮像される撮像画像IMを、管理サーバ4へ送信する。管理サーバ4において、受信部411は、宅内デバイス1が送信した撮像画像IMを受信し、画像記憶部421に記憶させる。出力部413は、宅内デバイス1が送信した撮像画像IMを情報端末5へ送信する。このような構成により、宅内デバイス1は、撮像画像IMを記録していない場合であっても、ユーザの要求に応じて次回の撮像画像IMを管理サーバ4へ送信し、ユーザが撮像画像IMを確認可能にすることができる。 In the home device 1, the output unit 116 transmits the captured image IM captured during the next peritoneal dialysis (i.e., the first peritoneal dialysis after the output unit 116 receives the request for the captured image IM) to the management server 4, on condition that the output unit 116 receives a request for the captured image IM from the management server 4. In the management server 4, the receiving unit 411 receives the captured image IM transmitted by the home device 1 and stores it in the image storage unit 421. The output unit 413 transmits the captured image IM transmitted by the home device 1 to the information terminal 5. With this configuration, even if the home device 1 has not recorded the captured image IM, it can transmit the next captured image IM to the management server 4 in response to a user request, allowing the user to check the captured image IM.

[画像解析方法のシーケンス]
図9は、本実施形態に係る画像解析システムSが実行する画像解析方法のシーケンス図である。ステップS11~S14は、図7と同様である。出力部116は、姿勢特定部112が出力した姿勢情報と、マスク検出部113が出力したマスク検出情報と、部品特定部114が出力した部品情報とを、分析に用いる情報として管理サーバ4へ送信することによって出力する(S15’)。
[Image analysis method sequence]
Fig. 9 is a sequence diagram of an image analysis method executed by the image analysis system S according to this embodiment. Steps S11 to S14 are the same as those in Fig. 7. The output unit 116 outputs the orientation information output by the orientation identification unit 112, the mask detection information output by the mask detection unit 113, and the part information output by the part identification unit 114 by transmitting them to the management server 4 as information to be used in analysis (S15').

管理サーバ4において、受信部411は、宅内デバイス1が送信した姿勢情報、マスク検出情報及び部品情報を、分析に用いる情報として受信する。分析部412は、宅内デバイス1が送信した姿勢情報に基づいて、患者又は補助者が透析機器2以外の物体に触れた回数を算出し、算出した回数に基づいて腹膜透析の手順の衛生の程度を評価する(S16’)。分析部412は、宅内デバイス1が送信した姿勢情報及び部品情報に基づいて、患者又は補助者が透析機器2の複数の部品(クランプ26)を操作した順序を特定する(S17’)。 In the management server 4, the receiving unit 411 receives the posture information, mask detection information, and part information transmitted by the home device 1 as information to be used for analysis. The analysis unit 412 calculates the number of times the patient or assistant touches objects other than the dialysis equipment 2 based on the posture information transmitted by the home device 1, and evaluates the degree of hygiene of the peritoneal dialysis procedure based on the calculated number of times (S16'). The analysis unit 412 identifies the order in which the patient or assistant operates multiple parts (clamps 26) of the dialysis equipment 2 based on the posture information and part information transmitted by the home device 1 (S17').

分析部412は、算出した回数に基づいて、衛生の程度を示す情報(スコア)を算出する。また、分析部412は、特定した順序が基準順序と合致していない場合に、患者又は補助者が行っている腹膜透析の手順が正しくないと判定し、そうでない場合に、患者又は補助者が行っている腹膜透析の手順が正しいと判定する(S18’)。 The analysis unit 412 calculates information (score) indicating the degree of hygiene based on the calculated number of times. Furthermore, if the identified sequence does not match the reference sequence, the analysis unit 412 determines that the peritoneal dialysis procedure performed by the patient or assistant is incorrect, and if not, determines that the peritoneal dialysis procedure performed by the patient or assistant is correct (S18').

分析部412は、宅内デバイス1が送信した撮像画像IMに基づいて、出口部の衛生の程度の評価を行う(S19’)。分析部412は、患者又は補助者が複数の部品を操作した順序に含まれる複数のステップそれぞれの操作時間を算出する(S20’)。 The analysis unit 412 evaluates the degree of hygiene of the exit section based on the captured image IM sent by the indoor device 1 (S19'). The analysis unit 412 calculates the operation time of each of the multiple steps included in the sequence in which the patient or assistant operated the multiple parts (S20').

出力部413は、分析部412による分析結果を、情報端末5へ送信することによって出力する(S21’)。情報端末5は、管理サーバ4が送信した分析結果を、画面表示又は音声によって出力する。 The output unit 413 outputs the analysis results by the analysis unit 412 by transmitting them to the information terminal 5 (S21'). The information terminal 5 outputs the analysis results transmitted by the management server 4 by displaying them on a screen or by voice.

[実施形態の効果]
本実施形態に係る画像解析システムSによれば、第1の実施形態と同様に、医療従事者等のユーザは、患者又は補助者が実際に行っている腹膜透析の手順に基づいて患者に対して適切な指導を行うことができ、患者に対する腹膜透析の安全性を向上できる。さらに、宅内デバイス1ではなく管理サーバ4が主に分析を行うため、宅内デバイス1を導入するためのコストを削減できる。
[Effects of the embodiment]
According to the image analysis system S of this embodiment, as in the first embodiment, a user such as a medical professional can provide appropriate guidance to a patient based on the procedure of peritoneal dialysis actually performed by the patient or an assistant, thereby improving the safety of peritoneal dialysis for the patient. Furthermore, since the management server 4, not the home device 1, mainly performs the analysis, the cost of introducing the home device 1 can be reduced.

以上、実施の形態を用いて本発明を説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の全部又は一部は、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を併せ持つ。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes are possible within the scope of the gist of the invention. For example, all or part of the device can be configured by distributing or integrating functionally or physically in any unit. In addition, new embodiments resulting from any combination of multiple embodiments are also included in the embodiments of the present invention. The effect of the new embodiment resulting from the combination also has the effect of the original embodiment.

宅内デバイス1及び管理サーバ4のプロセッサは、図7、図9に示す画像解析方法に含まれる各ステップ(工程)の主体となる。すなわち、宅内デバイス1及び管理サーバ4のプロセッサは、図7、図9に示す画像解析方法を実行するためのプログラムを記憶部から読み出し、該プログラムを実行して画像解析システムSの各部を制御することによって、図7、図9に示す画像解析方法を実行する。図7、図9に示す画像解析方法に含まれるステップは一部省略されてもよく、ステップ間の順番が変更されてもよく、複数のステップが並行して行われてもよい。 The processors of the in-home device 1 and the management server 4 are responsible for each step (process) included in the image analysis method shown in Figures 7 and 9. That is, the processors of the in-home device 1 and the management server 4 read a program for executing the image analysis method shown in Figures 7 and 9 from a storage unit, and execute the program to control each unit of the image analysis system S, thereby executing the image analysis method shown in Figures 7 and 9. Some of the steps included in the image analysis method shown in Figures 7 and 9 may be omitted, the order of the steps may be changed, and multiple steps may be performed in parallel.

S 画像解析システム
1 宅内デバイス
11 制御部
111 画像取得部
112 姿勢特定部
113 マスク検出部
114 部品特定部
115 分析部
116 出力部
4 管理サーバ
41 制御部
411 受信部
412 分析部
413 出力部

S Image analysis system 1 In-home device 11 Control unit 111 Image acquisition unit 112 Posture identification unit 113 Mask detection unit 114 Part identification unit 115 Analysis unit 116 Output unit 4 Management server 41 Control unit 411 Reception unit 412 Analysis unit 413 Output unit

Claims (10)

透析機器を用いて腹膜透析を行っている患者又は前記患者を補助する補助者を撮像した撮像画像を取得する画像取得部と、
前記撮像画像に基づいて前記患者又は前記補助者の姿勢を特定する姿勢特定部と、
前記撮像画像に基づいて前記透析機器が備える複数の部品それぞれの位置及び状態の少なくとも一方を特定する部品特定部と、
前記姿勢と、前記複数の部品それぞれの位置及び状態の少なくとも一方と、に基づいて前記患者又は前記補助者が前記複数の部品を操作した複数のステップの順序を特定し、前記複数のステップそれぞれにおいて前記患者又は前記補助者が前記複数の部品それぞれを操作した操作時間を算出し、算出した操作時間に基づいて前記複数のステップそれぞれが円滑に行われたか否かを判定する分析部と、
前記複数のステップそれぞれが円滑に行われたか否かを示す情報を含む分析結果を出力する出力部と、
を有する、画像解析装置。
an image acquisition unit that acquires an image of a patient undergoing peritoneal dialysis using a dialysis device or an assistant assisting the patient;
a posture identification unit that identifies a posture of the patient or the assistant based on the captured image;
a part identification unit that identifies at least one of a position and a state of each of a plurality of parts included in the dialysis machine based on the captured image;
an analysis unit that identifies a sequence of a plurality of steps in which the patient or the assistant operates the plurality of parts based on the posture and at least one of the position and state of each of the plurality of parts, calculates an operation time in which the patient or the assistant operates each of the plurality of parts in each of the plurality of steps, and judges whether each of the plurality of steps has been performed smoothly based on the calculated operation time;
an output unit that outputs an analysis result including information indicating whether each of the plurality of steps has been performed smoothly;
An image analysis device comprising:
前記部品特定部は、前記撮像画像に基づいて前記複数の部品それぞれが透析液を通過させる開状態又は透析液を通過させない閉状態のどちらであるかを特定し、
前記分析部は、前記姿勢と、前記複数の部品それぞれが前記開状態又は前記閉状態のどちらであるかと、に基づいて、前記複数のステップの順序を特定する、
請求項1に記載の画像解析装置。
the component identification unit identifies whether each of the plurality of components is in an open state that allows the dialysis fluid to pass or a closed state that does not allow the dialysis fluid to pass based on the captured image;
the analysis unit identifies a sequence of the steps based on the posture and whether each of the plurality of components is in the open state or the closed state.
The image analysis device according to claim 1 .
前記分析部は、前記姿勢に基づいて、前記患者又は前記補助者が前記透析機器以外の物体に触れた回数を算出し、算出した前記回数に基づいて、前記腹膜透析の手順の衛生の程度を評価し、
前記出力部は、前記衛生の程度を示す情報を含む前記分析結果を出力する、請求項1又は2に記載の画像解析装置。
The analysis unit calculates the number of times that the patient or the assistant touches an object other than the dialysis equipment based on the posture, and evaluates a degree of hygiene of the peritoneal dialysis procedure based on the calculated number of times;
The image analyzing device according to claim 1 , wherein the output unit outputs the analysis result including information indicating a degree of hygiene.
前記撮像画像に基づいて前記患者又は前記補助者が着用しているマスクを検出するマスク検出部をさらに有し、
前記出力部は、前記マスク検出部が前記マスクを検出したか否かを示す情報を含む前記分析結果を出力する、請求項1から3のいずれか一項に記載の画像解析装置。
A mask detection unit detects a mask worn by the patient or the assistant based on the captured image,
The image analyzing device according to claim 1 , wherein the output unit outputs the analysis result including information indicating whether or not the mask detection unit has detected the mask.
前記画像取得部は、前記患者の身体において前記透析機器が接続されている出口部を含む前記撮像画像を取得し、
前記分析部は、前記撮像画像に基づいて前記出口部の衛生の程度を評価し、
前記出力部は、前記衛生の程度を示す情報を含む前記分析結果を出力する、請求項1から4のいずれか一項に記載の画像解析装置。
the image acquisition unit acquires the captured image including an outlet portion of the patient's body to which the dialysis machine is connected;
The analysis unit evaluates a degree of hygiene of the exit portion based on the captured image,
The image analyzing device according to claim 1 , wherein the output unit outputs the analysis result including information indicating a degree of hygiene.
前記分析部は、前記撮像画像を入力することにより前記撮像画像に含まれている前記出口部の衛生の程度を示す情報を出力する機械学習モデルに前記撮像画像を入力することによって、前記出口部の衛生の程度を示す情報を取得する、請求項5に記載の画像解析装置。 The image analysis device according to claim 5, wherein the analysis unit obtains information indicating the degree of hygiene of the exit area by inputting the captured image into a machine learning model that outputs information indicating the degree of hygiene of the exit area contained in the captured image by inputting the captured image. 前記出力部は、前記出口部の衛生の程度が所定の条件を満たす場合に、所定の通知を出力することと、前記透析機器を停止させる情報を出力することとのうち少なくとも一方を行う、請求項5又は6に記載の画像解析装置。 The image analysis device according to claim 5 or 6, wherein the output unit performs at least one of outputting a predetermined notification and outputting information to stop the dialysis machine when the degree of hygiene of the outlet portion satisfies a predetermined condition. プロセッサが実行する、
撮像画像に基づいて患者又は前記患者を補助する補助者の姿勢を特定するステップであって、当該撮像画像は透析機器を用いて腹膜透析を行っている前記患者又は補助者が撮像されたものであるステップと、
前記撮像画像に基づいて前記透析機器が備える複数の部品それぞれの位置及び状態の少なくとも一方を特定するステップと、
前記姿勢と、前記複数の部品それぞれの位置及び状態の少なくとも一方と、に基づいて前記患者又は前記補助者が前記複数の部品を操作した複数のステップの順序を特定するステップと、
前記複数のステップそれぞれにおいて前記患者又は前記補助者が前記複数の部品それぞれを操作した操作時間を算出するステップと、
算出した操作時間に基づいて前記複数のステップそれぞれが円滑に行われたか否かを判定するステップと、
前記複数のステップそれぞれが円滑に行われたか否かを示す情報を含む分析結果を出力するステップと、
を有する、画像解析方法。
The processor executes
A step of identifying a posture of a patient or an assistant assisting the patient based on a captured image, the captured image being an image of the patient or an assistant performing peritoneal dialysis using a dialysis device;
Identifying at least one of a position and a state of each of a plurality of components of the dialysis device based on the captured image;
Identifying an order of a plurality of steps in which the patient or the assistant manipulated the plurality of parts based on the posture and at least one of the position and state of each of the plurality of parts;
calculating an operation time during which the patient or the assistant operates each of the plurality of parts in each of the plurality of steps;
determining whether each of the plurality of steps has been smoothly performed based on the calculated operation time;
outputting an analysis result including information indicating whether each of the plurality of steps was performed smoothly;
The image analysis method comprises:
画像取得装置と、前記画像取得装置と通信可能な画像解析装置とを備え、
前記画像取得装置は、
透析機器を用いて腹膜透析を行っている患者又は前記患者を補助する補助者を撮像した撮像画像を取得する画像取得部と、
前記撮像画像に基づいて前記患者又は前記補助者の姿勢を特定する姿勢特定部と、
前記撮像画像に基づいて前記透析機器が備える複数の部品それぞれの位置及び状態の少なくとも一方を特定する部品特定部と、
前記姿勢を示す情報と、前記複数の部品それぞれの位置及び状態の少なくとも一方を示す情報と、を前記画像解析装置へ送信する送信部と、
を有し、
前記画像解析装置は、
前記姿勢を示す情報と、前記複数の部品それぞれの位置及び状態の少なくとも一方を示す情報と、を前記画像取得装置から受信する受信部と、
前記姿勢と、前記複数の部品それぞれの位置及び状態の少なくとも一方と、に基づいて前記患者又は前記補助者が前記複数の部品を操作した複数のステップの順序を特定し、前記複数のステップそれぞれにおいて前記患者又は前記補助者が前記複数の部品それぞれを操作した操作時間を算出し、算出した操作時間に基づいて前記複数のステップそれぞれが円滑に行われたか否かを判定する分析部と、
前記複数のステップそれぞれが円滑に行われたか否かを示す情報を含む分析結果を出力する出力部と、
を有する、画像解析システム。
An image acquisition device and an image analysis device capable of communicating with the image acquisition device,
The image acquisition device includes:
an image acquisition unit that acquires an image of a patient undergoing peritoneal dialysis using a dialysis device or an assistant assisting the patient;
a posture identification unit that identifies a posture of the patient or the assistant based on the captured image;
a part identification unit that identifies at least one of a position and a state of each of a plurality of parts included in the dialysis machine based on the captured image;
a transmission unit that transmits information indicating the posture and information indicating at least one of a position and a state of each of the plurality of parts to the image analyzing device;
having
The image analysis device includes:
a receiving unit that receives information indicating the posture and information indicating at least one of a position and a state of each of the plurality of parts from the image acquisition device;
an analysis unit that identifies a sequence of a plurality of steps in which the patient or the assistant operates the plurality of parts based on the posture and at least one of the position and state of each of the plurality of parts, calculates an operation time in which the patient or the assistant operates each of the plurality of parts in each of the plurality of steps, and judges whether each of the plurality of steps has been performed smoothly based on the calculated operation time;
an output unit that outputs an analysis result including information indicating whether each of the plurality of steps has been performed smoothly;
An image analysis system comprising:
前記画像解析装置の前記出力部は、ユーザから所定の入力を受け付けた場合、又は前記分析結果が所定の条件を満たす場合に、前記撮像画像の要求を前記画像取得装置へ送信し、
前記画像取得装置の前記送信部は、前記画像解析装置から前記要求を受信したことを条件として、前記撮像画像を前記画像解析装置へ送信する、請求項9に記載の画像解析システム。
the output unit of the image analysis device transmits a request for the captured image to the image acquisition device when a predetermined input is received from a user or when the analysis result satisfies a predetermined condition;
The image analysis system according to claim 9 , wherein the transmission unit of the image acquisition device transmits the captured image to the image analysis device on condition that the request is received from the image analysis device.
JP2024026369A 2019-07-08 2024-02-26 Image analysis device, image analysis method, and image analysis system Pending JP2024052838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2024026369A JP2024052838A (en) 2019-07-08 2024-02-26 Image analysis device, image analysis method, and image analysis system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019126938A JP7449551B2 (en) 2019-07-08 2019-07-08 Image analysis device, image analysis method, and image analysis system
JP2024026369A JP2024052838A (en) 2019-07-08 2024-02-26 Image analysis device, image analysis method, and image analysis system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019126938A Division JP7449551B2 (en) 2019-07-08 2019-07-08 Image analysis device, image analysis method, and image analysis system

Publications (1)

Publication Number Publication Date
JP2024052838A true JP2024052838A (en) 2024-04-12

Family

ID=74226967

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019126938A Active JP7449551B2 (en) 2019-07-08 2019-07-08 Image analysis device, image analysis method, and image analysis system
JP2024026369A Pending JP2024052838A (en) 2019-07-08 2024-02-26 Image analysis device, image analysis method, and image analysis system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2019126938A Active JP7449551B2 (en) 2019-07-08 2019-07-08 Image analysis device, image analysis method, and image analysis system

Country Status (1)

Country Link
JP (2) JP7449551B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003047657A (en) 2001-08-03 2003-02-18 Terumo Corp Home peritoneal dialysis therapy support system
US9717840B2 (en) 2002-01-04 2017-08-01 Nxstage Medical, Inc. Method and apparatus for machine error detection by combining multiple sensor inputs
EP2619724A2 (en) 2010-09-23 2013-07-31 Stryker Corporation Video monitoring system
JP2013220148A (en) 2012-04-13 2013-10-28 Seiko Epson Corp Unsafe behavior detection device and unsafe behavior detection method
WO2014152828A1 (en) 2013-03-14 2014-09-25 AI Cure Technologies, Inc. Apparatus and method for recognition of suspicious activties
JP2016214293A (en) 2015-05-14 2016-12-22 日機装株式会社 Puncture needle detachment detection device and detection method using the same

Also Published As

Publication number Publication date
JP2021010651A (en) 2021-02-04
JP7449551B2 (en) 2024-03-14

Similar Documents

Publication Publication Date Title
US11436829B2 (en) Head-mounted display device for use in a medical facility
CN108882850B (en) Medical diagnostic apparatus, system and method of use
US11488381B2 (en) Medical device with camera for imaging disposable
KR101051263B1 (en) Home Telehealth Home Care Service System and Method for Chronic Patients
TWI512665B (en) Ward cloud system
US10716533B2 (en) Auscultation data acquisition, communication and evaluation system incorporating mobile facilities
WO2015175681A1 (en) Head-mounted display device for use in a medical facility
US20220027629A1 (en) Determining characteristic of blood component with handheld camera
CN112786219B (en) Medical care management method, system and device
CA2704183A1 (en) Neural networks in sedation and analgesia systems
CA2743658A1 (en) Method for remote diagnostic monitoring and support of patients and device and telemedical center
WO2019100584A1 (en) Traditional chinese medicine disease prevention management system and method based on traditional chinese medicine four diagnostic instrument
CN109770881A (en) A kind of health monitor method and blood pressure measuring device based on blood pressure
US20140310024A1 (en) Wifi cloud electronic vital-sign monitoring system
WO2019100585A1 (en) Fundus camera-based monitoring system and method for prevention and treatment of potential diseases based on traditional chinese medicine
CN110974201A (en) Wireless medical monitoring system
CN115298744A (en) Automated device pairing using biometric identifiers
CN109300251A (en) A kind of intelligent sharing first-aid station and control method
JP7449551B2 (en) Image analysis device, image analysis method, and image analysis system
CN104873171B (en) A kind of medical system and medical information transmission method
CN113017564B (en) Nursing system and method after oral surgery of children
CN111993442A (en) High-intelligence general medical practice robot based on big data
WO2011021163A1 (en) Medication and/or treatment regimen compliance
CN110335648A (en) Intelligent medicine box information interaction system
EP4141802A1 (en) Determining characteristic of blood component with handheld camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240226