Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7682664B2 - System, method, and program - Google Patents
[go: Go Back, main page]

JP7682664B2 - System, method, and program - Google Patents

System, method, and program Download PDF

Info

Publication number
JP7682664B2
JP7682664B2 JP2021053693A JP2021053693A JP7682664B2 JP 7682664 B2 JP7682664 B2 JP 7682664B2 JP 2021053693 A JP2021053693 A JP 2021053693A JP 2021053693 A JP2021053693 A JP 2021053693A JP 7682664 B2 JP7682664 B2 JP 7682664B2
Authority
JP
Japan
Prior art keywords
detection unit
user
distance
unit
face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021053693A
Other languages
Japanese (ja)
Other versions
JP2022150894A (en
Inventor
友理 大塚
佳奈子 皆内
理恵 羽切
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujita Corp
Original Assignee
Fujita Corp
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 Fujita Corp filed Critical Fujita Corp
Priority to JP2021053693A priority Critical patent/JP7682664B2/en
Publication of JP2022150894A publication Critical patent/JP2022150894A/en
Application granted granted Critical
Publication of JP7682664B2 publication Critical patent/JP7682664B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Emergency Alarm Devices (AREA)
  • Alarm Systems (AREA)

Description

本発明の一実施形態は、感染症を予防するためのシステム、制御装置、携帯端末、方法、及びプログラムに関する。 One embodiment of the present invention relates to a system, a control device, a mobile terminal, a method, and a program for preventing infectious diseases.

近年、インフルエンザウィルスだけでなく、新型コロナウィルスが世界中で猛威を振るっている。このようなウィルスは、主に人の顔の粘膜から侵入することが知られている。従来から、手洗い又はうがいをすることや、マスクで鼻及び口を覆うことで、ウィルスが人の体内に侵入することを防止することが勧められてきた。 In recent years, not only influenza viruses but also the novel coronavirus have been wreaking havoc around the world. Such viruses are known to enter the human body mainly through the mucous membranes of the face. Traditionally, it has been recommended to prevent viruses from entering the human body by washing hands or gargling, and covering the nose and mouth with a mask.

しかしながら、こまめに手洗いをしたとしても、ウィルスが付着している表面に触れた手で顔を無意識に触ってしまうと、ウィルスに感染してしまうおそれがある。特許文献1には、認識した顔領域の周辺に手があるかどうかを画像認識によって判定する手認識装置について開示されている。 However, even if you wash your hands frequently, if you unconsciously touch your face after touching a surface that has the virus on it, you may become infected with the virus. Patent Document 1 discloses a hand recognition device that uses image recognition to determine whether a hand is present near a recognized face area.

特開2011-86052号公報JP 2011-86052 A

画像認識によって、顔領域の周辺に手があるかどうかを判別する場合、顔と手との距離が判別できず、誤検知してしまう恐れがある。この場合、顔と手との距離が離れている場合であっても、顔領域の周辺に手があると判定されてしまうため、判定の精度が低下する恐れがある。 When using image recognition to determine whether there are hands near a face area, the distance between the face and the hands cannot be determined, which may result in a false positive. In this case, even if the face and hands are far apart, the hands may be determined to be near the face area, which may reduce the accuracy of the determination.

上記問題に鑑み、本発明の一実施形態では、ユーザの顔にユーザの手が近づいているか否かの判定の精度をより向上させることを目的の一つとする。 In view of the above problems, one of the objectives of one embodiment of the present invention is to further improve the accuracy of determining whether a user's hand is approaching the user's face.

本発明の一実施形態に係るシステムは、ユーザの顔画像データを取得する画像撮像部と、顔画像データを解析する制御部と、を有する制御装置と、ユーザの手首近傍に装着された第1検知部を有する携帯端末と、ユーザの頭部近傍に装着された第2検知部と、を備え、第1検知部は、第2検知部との距離データを取得し、制御部は、顔画像データを解析することで、顔と手とが重なると判定する場合に、距離データを取得し、距離データが予め設定された所定の距離よりも小さい場合に、携帯端末に警報を出力する。 A system according to one embodiment of the present invention includes a control device having an image capture unit that acquires facial image data of a user and a control unit that analyzes the facial image data, a mobile terminal having a first detection unit worn near the user's wrist, and a second detection unit worn near the user's head, the first detection unit acquires distance data from the second detection unit, the control unit acquires distance data by analyzing the facial image data when it is determined that the face and the hand overlap, and outputs an alarm to the mobile terminal when the distance data is smaller than a predetermined distance set in advance.

上記構成において、制御部は、顔と手とが重ならないと判定する場合は、新たに取得した顔画像データを解析する。 In the above configuration, if the control unit determines that the face and the hand do not overlap, it analyzes the newly acquired face image data.

上記構成において、取得した第1検知部と第2検知部との距離が、予め設定された所定の距離以上の場合は、新たに取得した顔画像データを解析する。 In the above configuration, if the distance between the acquired first detection unit and the second detection unit is equal to or greater than a predetermined distance, the newly acquired face image data is analyzed.

上記構成において、所定の距離は、ユーザの手をユーザの目に近づけた場合の第1検知部と第2検知部との距離である。 In the above configuration, the specified distance is the distance between the first detection unit and the second detection unit when the user brings their hand close to the user's eye.

本発明の一実施形態に係る方法は、ユーザの顔画像データを取得して、顔画像データを解析することで、顔と手とが重なるか否かを判定し、顔と手とが重なると判定する場合に、ユーザの手首近傍に装着された携帯端末の第1検知部は、ユーザの頭部近傍に装着された第2検知部との距離データを取得し、取得した第1検知部と第2検知部との距離が、予め設定された所定の距離よりも小さい場合に警報を出力する。 A method according to one embodiment of the present invention acquires facial image data of a user, and by analyzing the facial image data, determines whether the face and hand overlap. If it is determined that the face and hand overlap, a first detection unit of a mobile device worn near the user's wrist acquires distance data between the first detection unit and a second detection unit worn near the user's head, and outputs an alarm if the acquired distance between the first detection unit and the second detection unit is smaller than a predetermined distance.

上記方法において、取得した第1検知部と第2検知部との距離が、予め設定された所定の距離以上の場合は、新たな顔画像データを取得する。 In the above method, if the acquired distance between the first detection unit and the second detection unit is equal to or greater than a predetermined distance, new face image data is acquired.

上記方法において、取得した第1検知部と第2検知部との距離が、予め設定された所定の距離以上の場合は、新たに取得した顔画像データを解析する。 In the above method, if the distance between the first and second detection units is equal to or greater than a predetermined distance, the newly acquired face image data is analyzed.

上記方法において、所定の距離は、ユーザが手を目に近づけた場合の第1検知部と第2検知部との距離である。 In the above method, the specified distance is the distance between the first detection unit and the second detection unit when the user brings his/her hand close to his/her eye.

本発明の一実施形態に係るプログラムは、顔画像データを取得し、顔画像データを解析し、解析結果に基づいて顔の一部と手とが重なっているか否かを判定し、顔の一部と手と重なっていると判定された場合、ユーザの手首に装着された携帯端末の第1検知部とユーザの頭部近傍に設けられた第2検知部との距離を取得し、取得した第1検知部と第2検知部との距離が、所定の距離よりも小さい場合に、携帯端末に警報を出力することを、コンピュータに実行させる。 A program according to one embodiment of the present invention causes a computer to acquire facial image data, analyze the facial image data, and determine whether or not a part of the face overlaps with a hand based on the analysis result; if it is determined that a part of the face overlaps with a hand, acquire the distance between a first detection unit of a mobile device worn on the user's wrist and a second detection unit provided near the user's head; and if the acquired distance between the first detection unit and the second detection unit is smaller than a predetermined distance, output an alert to the mobile device.

本発明の一実施形態によれば、ユーザの顔にユーザの手が近づいているか否かの判定の精度をより向上させることができる。 According to one embodiment of the present invention, it is possible to further improve the accuracy of determining whether a user's hand is approaching the user's face.

本発明の一実施形態におけるシステムの概要を説明する図である。FIG. 1 is a diagram illustrating an overview of a system according to an embodiment of the present invention. 本発明の一実施形態におけるハードウェアのブロック図である。FIG. 2 is a block diagram of hardware according to an embodiment of the present invention. 所定の距離が格納されたデータベースの一例である。13 is an example of a database in which predetermined distances are stored. 本発明の一実施形態における判定機能を説明する機能ブロック図である。FIG. 4 is a functional block diagram illustrating a determination function in one embodiment of the present invention. 画像解析部の機能ブロック図である。FIG. 2 is a functional block diagram of an image analysis unit. 本発明の一実施形態における判定処理を説明するフローチャートである。10 is a flowchart illustrating a determination process in one embodiment of the present invention. 本発明の一実施形態におけるハードウェアのブロック図である。FIG. 2 is a block diagram of hardware according to an embodiment of the present invention. 本発明の一実施形態における判定処理を説明するフローチャートである。10 is a flowchart illustrating a determination process in one embodiment of the present invention.

以下、本発明の一実施形態について図面を参照して詳細に説明する。本発明は、以下の実施の形態に限定されるものではなく、その趣旨の範囲内で種々変形して実施することができる。 One embodiment of the present invention will be described in detail below with reference to the drawings. The present invention is not limited to the following embodiment, and can be modified in various ways within the scope of the invention.

(1.概要)
本発明の一実施形態に係るシステム1は、例えば、スーパーのレジや工場のライン作業などのように、ユーザが決められた位置で作業する場合に、ユーザが無意識に顔を触らないように警報を出力するものである。
(1. Overview)
System 1 according to one embodiment of the present invention outputs an alarm to prevent a user from unconsciously touching their face when working in a fixed position, such as working at a supermarket cash register or on a factory line.

図1は、本発明の一実施形態に係るシステム1の概要を説明する図である。システム1は、制御装置10、携帯端末20、及び検知部30を有する。制御装置10は、携帯端末20と無線又は有線のネットワーク40で接続されている。また、携帯端末20は、検知部30と短距離無線通信によって接続されていてもよいし、ネットワーク40によって接続されていてもよい。短距離無線通信とは、例えば、Bluetooth(登録商標)、赤外線通信、LAN(Local Area Network)などを用いた通信である。 FIG. 1 is a diagram illustrating an overview of a system 1 according to an embodiment of the present invention. The system 1 includes a control device 10, a mobile terminal 20, and a detection unit 30. The control device 10 is connected to the mobile terminal 20 via a wireless or wired network 40. The mobile terminal 20 may be connected to the detection unit 30 via short-range wireless communication, or may be connected via the network 40. Short-range wireless communication is, for example, communication using Bluetooth (registered trademark), infrared communication, LAN (Local Area Network), etc.

制御装置10は、ユーザ1000が顔を触らないようにするために、警報を携帯端末20に出力するものである。制御装置10は、例えば、パーソナルコンピュータ、スマートフォン、又はタブレットなどである。画像撮像部103は、ユーザ1000の顔を常時取得できる位置に設けられる。画像撮像部103は、ユーザ1000の顔画像データを所定の期間毎に取得する。制御装置10は、取得されたユーザ1000の顔画像データを解析し、ユーザ1000の顔、特に、目、鼻、口などの粘膜の部分と、ユーザ1000の手が重なっていないかを判定する。画像撮像部103は、図1に示すように、制御装置10とは別の装置であってもよいし、制御装置10に含まれてもよい。 The control device 10 outputs an alarm to the mobile terminal 20 to prevent the user 1000 from touching his/her face. The control device 10 is, for example, a personal computer, a smartphone, or a tablet. The image capturing unit 103 is provided in a position where it can constantly capture the face of the user 1000. The image capturing unit 103 captures facial image data of the user 1000 at predetermined intervals. The control device 10 analyzes the captured facial image data of the user 1000 and determines whether the user's 1000 face, particularly the mucous membranes such as the eyes, nose, and mouth, are overlapping with the user's 1000 hands. The image capturing unit 103 may be a device separate from the control device 10 as shown in FIG. 1, or may be included in the control device 10.

画像撮像部103によって取得されたユーザ1000の顔画像データでは、ユーザ1000の顔と手とが重なっていたとしても、ユーザ1000の顔と手との距離は判別できない。そのため、ユーザ1000の顔と手との距離を検知する必要がある。 Even if the face and hands of the user 1000 are overlapping, the distance between the face and hands of the user 1000 cannot be determined from the facial image data of the user 1000 acquired by the image capturing unit 103. Therefore, it is necessary to detect the distance between the face and hands of the user 1000.

ユーザ1000は、手の近傍に携帯端末20を装着しており、頭の近傍に検知部30を装着している。携帯端末20には、検知部207が設けられている。携帯端末20は、例えば、腕時計型、指輪型などのウェアラブルデバイスである。検知部30は、物品31に設置されている。検知部30が設置される物品は、ヘルメット、ピアス、ネックレス、メガネ、ヘアアクセサリ、マスク、首掛け型のウェアラブルデバイスなど、頭の近傍に装着することが可能である物品であればよい。ユーザ1000の手がユーザ1000の顔の近傍に近づくと、携帯端末20の検知部207は検知部30との距離を検知する。 The user 1000 wears the mobile terminal 20 near the hand and the detection unit 30 near the head. The mobile terminal 20 is provided with a detection unit 207. The mobile terminal 20 is, for example, a wearable device such as a wristwatch type or a finger ring type. The detection unit 30 is installed on an item 31. The item on which the detection unit 30 is installed may be any item that can be worn near the head, such as a helmet, earrings, a necklace, glasses, a hair accessory, a mask, or a neck-hanging wearable device. When the hand of the user 1000 approaches the vicinity of the user's 1000 face, the detection unit 207 of the mobile terminal 20 detects the distance to the detection unit 30.

図1では、ユーザ1000が手首に携帯端末20を装着し、首に検知部30が設置されたネックレス31をしていることを想定する。このとき、手首に装着された携帯端末20の検知部207は、ネックレス31に設置された検知部30との距離データを所定の期間毎に取得して、制御装置10に送信する。制御装置10は、携帯端末20と検知部30との距離が、予め設定された所定の距離よりも小さいと判定する場合、制御装置10は、警報を出力する。ここで、所定の距離は、ユーザ1000の顔と手とが近づいたと判定するための距離である。 In FIG. 1, it is assumed that a user 1000 wears a mobile device 20 on his/her wrist, and a necklace 31 with a detection unit 30 attached around his/her neck. At this time, the detection unit 207 of the mobile device 20 worn on the wrist acquires distance data between the detection unit 30 attached to the necklace 31 at predetermined intervals and transmits it to the control device 10. If the control device 10 determines that the distance between the mobile device 20 and the detection unit 30 is shorter than a predetermined distance, the control device 10 outputs an alarm. Here, the predetermined distance is the distance for determining that the face and hand of the user 1000 are close to each other.

システム1によれば、ユーザ1000が無意識に顔を触ろうとすると警報を出力することができる。ユーザ1000の顔と手が重なっているか否かを画像認識によって判定し、かつ携帯端末20と検知部30との距離によって判定している。そのため、ユーザ1000の顔にユーザ1000の手が近づいているか否かの判定の精度をより向上させることができる。これにより、不要な警報が出力されることを抑制することができる。ユーザが無意識に顔を触ることを抑制することができるため、感染症予防を促すことができる。 According to the system 1, an alarm can be output when the user 1000 unconsciously tries to touch his/her face. Whether the user 1000's face and hand are overlapping is determined by image recognition, and is also determined based on the distance between the mobile terminal 20 and the detection unit 30. This can further improve the accuracy of determining whether the user 1000's hand is approaching the user's 1000 face. This can prevent unnecessary alarms from being output. Since the user can be prevented from unconsciously touching their face, it can encourage the prevention of infectious diseases.

(2.第1実施形態)
本実施形態では、制御装置10において、ユーザの手が顔に近づいているか否かを判定し、ユーザに顔を触らないように警報を出力する場合について説明する。
2. First embodiment
In this embodiment, a case will be described in which the control device 10 determines whether or not the user's hand is approaching the face, and outputs a warning to the user not to touch the face.

図2は、本発明の一実施形態におけるハードウェアのブロック図である。図2に示すように、制御装置10は、制御部101、記憶部102、画像撮像部103、通信部104、操作部106、及び表示部105を有する。 Figure 2 is a block diagram of hardware in one embodiment of the present invention. As shown in Figure 2, the control device 10 has a control unit 101, a memory unit 102, an image capture unit 103, a communication unit 104, an operation unit 106, and a display unit 105.

制御部101は、CPUなどの演算処理回路を含む。制御部101は、記憶部102に記憶されたプログラムをCPUにより実行して、各機能を制御装置10において実現させる。制御装置10において実現される機能は、例えば、判定処理を実行するための判定機能を含む。記憶部102は、不揮発性メモリなどの記憶装置である。記憶部102は、上記判定機能を実現するためのプログラム300を記憶する。判定機能については、後述する。また、記憶部102は、判定処理に用いる顔画像データ及び距離データを記憶する。ここで、顔画像データとは、ユーザの顔画像であり、距離データとは、携帯端末20から取得した携帯端末20と検知部30との距離である。また、記憶部102は、予めユーザによって設定された携帯端末20と検知部30との距離データ(所定の距離ともいう)が格納されたデータベースが記憶されていてもよい。所定の距離は、ユーザの手がユーザの目、鼻、又は口に近づいたと判定するための距離である。携帯端末20を装着しているユーザ毎に、所定の距離が異なるため、携帯端末20毎に所定の距離を設定する。また、データベースに記憶される距離データは、ユーザが携帯端末20を装着する部位、及び検知部30を装着する部位によって異なる。例えば、携帯端末20(デバイス0001)を手首に装着し、検知部30を首に装着した場合の距離データを記憶しても良いし、携帯端末20(デバイス0003)を指に装着し、検知部30をヘルメットに装着した場合の距離データを記憶してもよい。 The control unit 101 includes an arithmetic processing circuit such as a CPU. The control unit 101 executes a program stored in the storage unit 102 by the CPU to realize each function in the control device 10. The functions realized in the control device 10 include, for example, a judgment function for executing a judgment process. The storage unit 102 is a storage device such as a non-volatile memory. The storage unit 102 stores a program 300 for realizing the above-mentioned judgment function. The judgment function will be described later. The storage unit 102 also stores face image data and distance data used in the judgment process. Here, the face image data is a face image of the user, and the distance data is the distance between the mobile terminal 20 and the detection unit 30 acquired from the mobile terminal 20. The storage unit 102 may also store a database in which distance data (also called a predetermined distance) between the mobile terminal 20 and the detection unit 30 set in advance by the user is stored. The predetermined distance is a distance for determining that the user's hand has approached the user's eyes, nose, or mouth. Since the predetermined distance differs for each user wearing the mobile terminal 20, the predetermined distance is set for each mobile terminal 20. Furthermore, the distance data stored in the database differs depending on the part of the body where the user wears the mobile terminal 20 and the part of the body where the detection unit 30 is worn. For example, distance data when the mobile terminal 20 (device 0001) is worn on the wrist and the detection unit 30 is worn around the neck may be stored, or distance data when the mobile terminal 20 (device 0003) is worn on a finger and the detection unit 30 is worn on a helmet may be stored.

画像撮像部103は、例えば、CCDカメラなどの撮影装置である。画像撮像部103によって、ユーザの顔画像を撮像する。画像撮像部103によって撮像されたユーザの顔画像の顔画像データは、記憶部102に保存される。画像撮像部103は、所定の期間毎(例えば、数ミリ秒~1秒ごと)ユーザの顔画像を撮像する。 The image capturing unit 103 is, for example, a photographing device such as a CCD camera. The image capturing unit 103 captures an image of the user's face. The facial image data of the user's facial image captured by the image capturing unit 103 is stored in the storage unit 102. The image capturing unit 103 captures the user's facial image at predetermined intervals (for example, every few milliseconds to one second).

通信部104は、制御部101の制御に基づいて、無線通信によって携帯端末20と接続する。通信部104は、例えば、Bluetooth(登録商標)、赤外線通信、LAN(Local Area Network)などを用いた通信によって、携帯端末20と情報の送受信をする。通信部104は、例えば、携帯端末20から距離データを取得してもよいし、携帯端末20に警報を送信してもよい。 The communication unit 104 connects to the mobile terminal 20 by wireless communication based on the control of the control unit 101. The communication unit 104 transmits and receives information to and from the mobile terminal 20 by communication using, for example, Bluetooth (registered trademark), infrared communication, LAN (Local Area Network), or the like. The communication unit 104 may, for example, obtain distance data from the mobile terminal 20 or transmit an alert to the mobile terminal 20.

操作部106は、キーボード、マウス、及びタッチセンサなどの装置であり、入力された操作に応じた信号を制御部101に出力する。表示部105は、液晶ディスプレイ、有機ELディスプレイ等の表示装置であり、制御部101による制御に基づいた画面や、画像撮像部103で撮像された画像が表示される。なお、操作部106と表示部105とは一体としてタッチパネルを構成してもよい。 The operation unit 106 is a device such as a keyboard, a mouse, and a touch sensor, and outputs a signal according to an input operation to the control unit 101. The display unit 105 is a display device such as a liquid crystal display or an organic EL display, and displays a screen based on the control by the control unit 101 and an image captured by the image capturing unit 103. The operation unit 106 and the display unit 105 may be integrated to form a touch panel.

ここで、記憶部102に記憶されるデータベースの一例について、図3を参照して説明する。図3は、データベース313の一例である。データベース313に格納されたデバイスIDは、携帯端末20を識別するためのIDである。デバイスID毎に、ユーザによって設定された距離[mm]が対応づけられている。図3では、目に手が近づいたときの距離、鼻に手が近づいたときの距離、口に手が近づいたときの距離のそれぞれについて設定している例について示す。目に手が近づいたときの距離とは、目に手が近づいたときの携帯端末20(検知部207)と検知部30との距離を意味する。同様に、鼻に手が近づいたときの距離とは、鼻に手が近づいたときの携帯端末20(検知部207)と検知部30との距離であり、口に手が近づいたときの距離とは、口に手が近づいたときの携帯端末20(検知部207)と検知部30との距離である。所定の距離の設定は、ユーザが手で目を触る動作、鼻を触る動作、及び口を触る動作をすることで、検知部207がそれぞれの動作の場合の距離データを取得して、データベース313に格納させてもよい。また、ユーザが、操作部106から、所定の距離を入力してもよい。図3では、目、鼻、口のそれぞれに手が近づいたときの距離を設定しているが、判定処理は、これらの距離のうち一番大きい数値を使用してもよい。例えば、携帯端末20のデバイスIDが0001の場合は、目との距離が10cmと設定されている。制御装置10は判定処理において、携帯端末20と検知部30との距離が10cmよりも小さいと判定する場合に、警報を出力してもよい。また、図3では図示しないが、デバイスIDごとに、警報を出力した回数を記録してもよい。制御装置10の表示部105又は携帯端末20の表示部に、警報を出力した回数を表示させることで、ユーザに顔を触らないように注意を促すことができる。 Here, an example of the database stored in the storage unit 102 will be described with reference to FIG. 3. FIG. 3 is an example of the database 313. The device ID stored in the database 313 is an ID for identifying the mobile terminal 20. A distance [mm] set by the user is associated with each device ID. FIG. 3 shows an example in which the distance when the hand approaches the eye, the distance when the hand approaches the nose, and the distance when the hand approaches the mouth are set. The distance when the hand approaches the eye means the distance between the mobile terminal 20 (detection unit 207) and the detection unit 30 when the hand approaches the eye. Similarly, the distance when the hand approaches the nose means the distance between the mobile terminal 20 (detection unit 207) and the detection unit 30 when the hand approaches the nose, and the distance when the hand approaches the mouth means the distance between the mobile terminal 20 (detection unit 207) and the detection unit 30 when the hand approaches the mouth. The predetermined distance may be set by the user touching the eyes, nose, and mouth with the hand, and the detection unit 207 may acquire distance data for each of the actions and store the data in the database 313. The user may also input the predetermined distance from the operation unit 106. In FIG. 3, the distance when the hand approaches the eyes, nose, and mouth is set, but the largest value among these distances may be used in the determination process. For example, when the device ID of the mobile terminal 20 is 0001, the distance from the eyes is set to 10 cm. In the determination process, the control device 10 may output an alarm when it is determined that the distance between the mobile terminal 20 and the detection unit 30 is less than 10 cm. In addition, although not shown in FIG. 3, the number of times an alarm has been output may be recorded for each device ID. By displaying the number of times an alarm has been output on the display unit 105 of the control device 10 or the display unit of the mobile terminal 20, the user can be alerted not to touch his or her face.

なお、図2において、制御装置10は、制御部101、記憶部102、画像撮像部103、通信部104、操作部106、及び表示部105を含むように図示しているが、本発明の一実施形態はこれに限定されない。例えば、画像撮像部103は、制御装置10とは、別に設けられた画像撮像装置(例えば、カメラ)であってもよく、画像撮像装置が、制御装置10と接続されている構成であってもよい。また、記憶部102に格納されたプログラム又は所定の距離が格納されたデータベース313は、記憶部102とは別の記憶装置に格納されてもよく、別の記憶装置が、制御装置10と接続されている構成であってもよい。 2, the control device 10 is illustrated as including a control unit 101, a storage unit 102, an image capturing unit 103, a communication unit 104, an operation unit 106, and a display unit 105, but an embodiment of the present invention is not limited to this. For example, the image capturing unit 103 may be an image capturing device (e.g., a camera) provided separately from the control device 10, and the image capturing device may be connected to the control device 10. In addition, the program stored in the storage unit 102 or the database 313 in which the predetermined distance is stored may be stored in a storage device separate from the storage unit 102, and the separate storage device may be connected to the control device 10.

携帯端末20は、制御部201、記憶部202、通信部204、検知部207、及び警報出力部208を有する。 The mobile terminal 20 has a control unit 201, a memory unit 202, a communication unit 204, a detection unit 207, and an alarm output unit 208.

制御部201は、CPUなどの演算処理回路を含む。制御部201は、記憶部202に記憶されたプログラムをCPUにより実行して、各機能を制御装置10において実現させる。記憶部202は、不揮発性メモリなどの記憶装置である。また、記憶部202は、検知部207によって取得した距離データを記憶する。 The control unit 201 includes an arithmetic processing circuit such as a CPU. The control unit 201 executes a program stored in the memory unit 202 using the CPU, and realizes each function in the control device 10. The memory unit 202 is a storage device such as a non-volatile memory. The memory unit 202 also stores distance data acquired by the detection unit 207.

検知部207は、例えば、距離センサなど、距離を計測できるセンサである。距離センサとして、例えば、赤外線距離センサ、光学センサ、超音波センサ等を使用できる。検知部207は、加速度センサ及びジャイロセンサ等を含んでいてもよい。検知部207は、検知部30と対となり、検知部207と検知部30と距離を計測する。検知部207は、所定の期間毎(例えば、数ミリ秒~1秒ごと)に検知部207と検知部30との距離データを取得する。距離データは、記憶部202に格納される。距離データは、制御装置10に送信されて、制御装置10の記憶部102に格納されてもよい。 The detection unit 207 is a sensor capable of measuring distance, such as a distance sensor. For example, an infrared distance sensor, an optical sensor, an ultrasonic sensor, etc. can be used as the distance sensor. The detection unit 207 may include an acceleration sensor, a gyro sensor, etc. The detection unit 207 is paired with the detection unit 30, and measures the distance between the detection unit 207 and the detection unit 30. The detection unit 207 acquires distance data between the detection unit 207 and the detection unit 30 at predetermined intervals (for example, every few milliseconds to one second). The distance data is stored in the memory unit 202. The distance data may be transmitted to the control device 10 and stored in the memory unit 102 of the control device 10.

通信部204は、制御部201の制御に基づいて、無線通信によって制御装置10と接続する。通信部204は、例えば、Bluetooth(登録商標)、赤外線通信、LAN(Local Area Network)などを用いた通信によって、制御装置10と情報の送受信をする。通信部204は、例えば、制御装置10に距離データを送信したり、制御装置10から警報を受信したりする。通信部204は、制御装置10に距離データを送信するタイミングは、例えば、数ミリ秒~1秒ごとである。 The communication unit 204 connects to the control device 10 via wireless communication based on the control of the control unit 201. The communication unit 204 transmits and receives information to and from the control device 10 via communication using, for example, Bluetooth (registered trademark), infrared communication, LAN (Local Area Network), or the like. The communication unit 204 transmits distance data to the control device 10 and receives alarms from the control device 10, for example. The communication unit 204 transmits distance data to the control device 10 at timings ranging from every few milliseconds to every second.

警報出力部208は、例えば、音出力部281、発光部282、及び振動部283の少なくとも一つを含む。警報出力部208は、制御装置10から受信した警報を、音出力部281、発光部282、及び振動部283の少なくとも一つによって出力する。ここで、警報とは、例えば、音出力部281によって音声や警告音を出力することであってもよいし、振動部283によって振動させることであってもよい。また、警報とは、発光部282のLEDを発光させて点灯させることであってもよいし、点滅させることであってもよい。図示しないが、携帯端末20が、表示部を有する場合には、警報として、警告文を表示部に表示させてもよい。警報出力部208は、警報を出力する信号を受信すると、音出力部281、発光部282、及び振動部283のいずれか一つ、又はこれらを組み合わせて警報を出力する。警報を出力する期間は、所定の期間(例えば、数ミリ秒~1秒)であってもよいし、ユーザからの操作によって、操作部107から警報を停止する信号を制御部101に送信してもよい。また、警報を出力する期間は、制御部101が、次の顔画像データを取得するまでであってもよい。 The alarm output unit 208 includes, for example, at least one of the sound output unit 281, the light-emitting unit 282, and the vibration unit 283. The alarm output unit 208 outputs an alarm received from the control device 10 by at least one of the sound output unit 281, the light-emitting unit 282, and the vibration unit 283. Here, the alarm may be, for example, outputting a voice or a warning sound by the sound output unit 281, or vibrating by the vibration unit 283. In addition, the alarm may be causing the LED of the light-emitting unit 282 to emit light and turn on, or may be causing it to blink. Although not shown, if the mobile terminal 20 has a display unit, a warning message may be displayed on the display unit as an alarm. When the alarm output unit 208 receives a signal to output an alarm, it outputs an alarm by using one of the sound output unit 281, the light-emitting unit 282, and the vibration unit 283, or a combination of these. The period for outputting the alarm may be a predetermined period (for example, several milliseconds to one second), or a signal to stop the alarm may be sent from the operation unit 107 to the control unit 101 in response to an operation by the user. The period for outputting the alarm may also be until the control unit 101 acquires the next face image data.

図2に図示しないが、携帯端末20は、制御装置10と同様に、表示部及び操作部を有していてもよい。 Although not shown in FIG. 2, the mobile terminal 20 may have a display unit and an operation unit, similar to the control device 10.

図4は、本発明の一実施形態における判定機能を示すブロック図である。なお、以下に説明する各機能を実現する構成の一部又は全部は、ハードウェアにより実現されてもよい。 Figure 4 is a block diagram showing the determination function in one embodiment of the present invention. Note that some or all of the configuration for realizing each function described below may be realized by hardware.

警報を出力するための判定機能(プログラム300)は、取得部301、画像解析部302、判定部303、及び出力部304を含む。 The judgment function (program 300) for outputting an alarm includes an acquisition unit 301, an image analysis unit 302, a judgment unit 303, and an output unit 304.

取得部301は、画像撮像部103が取得した顔画像データ311及び携帯端末20の検知部207で取得した距離データ312を取得する。取得部301が、顔画像データ311及び距離データ312を取得するタイミングは、所定の期間毎(例えば、数ミリ秒~1秒ごと)である。 The acquisition unit 301 acquires face image data 311 acquired by the image capturing unit 103 and distance data 312 acquired by the detection unit 207 of the mobile terminal 20. The acquisition unit 301 acquires the face image data 311 and distance data 312 at predetermined intervals (for example, every few milliseconds to one second).

画像解析部302は、顔画像データ311を解析する。図5は、画像解析部302の機能ブロック図である。画像解析部302は、教師データ322、学習部323、機械学習モデル324、及び推定部325を有する。 The image analysis unit 302 analyzes the facial image data 311. FIG. 5 is a functional block diagram of the image analysis unit 302. The image analysis unit 302 has teacher data 322, a learning unit 323, a machine learning model 324, and an estimation unit 325.

画像解析部302は、取得部301で取得したユーザの顔画像データを解析する機能を有する。教師データ322は、顔と手とが重なる画像、顔と手とが重ならない画像の2種類が格納されている。顔と手とが重なる画像は、例えば、目と手が重なる画像、鼻と手が重なる画像、及び口と手が重なる画像を含む。また、顔と手とが重なる画像は、頬と手が重なる画像であっても良いし、額と手が重なる画像であってもよいし、顎と手が重なる画像であってもよい。また、目の全てが手と重なっていなくてもよく、目の一部と手(指)の一部が重なっている画像であってもよい。また、ユーザが横を向いている状態で、目と手とが重なる画像であってもよい。また、顔と手が重ならない画像は、顔のみの画像であってもよいし、顔の近傍に手がある画像であってもよいし、顔と離れた場所に手がある画像であってもよい。学習部323は、顔と手とが重なる画像、顔と手とが重ならない画像の2種類を教師データ322として予め機械学習することで、機械学習モデル324を構築する。構築された機械学習モデル324は、記憶部202に格納される。 The image analysis unit 302 has a function of analyzing the user's face image data acquired by the acquisition unit 301. The teacher data 322 stores two types of images: an image in which the face and hands overlap, and an image in which the face and hands do not overlap. The image in which the face and hands overlap includes, for example, an image in which the eyes and hands overlap, an image in which the nose and hands overlap, and an image in which the mouth and hands overlap. The image in which the face and hands overlap may be an image in which the cheek and hands overlap, an image in which the forehead and hands overlap, or an image in which the chin and hands overlap. The entire eye does not have to overlap with the hand, and may be an image in which a part of the eye and a part of the hand (fingers) overlap. The image may also be an image in which the user is facing sideways and the eyes and hands overlap. The image in which the face and hands do not overlap may be an image of only the face, an image in which the hands are near the face, or an image in which the hands are away from the face. The learning unit 323 constructs a machine learning model 324 by performing machine learning in advance on two types of training data 322: images in which the face and hands overlap, and images in which the face and hands do not overlap. The constructed machine learning model 324 is stored in the storage unit 202.

画像撮像部103で取得したユーザの顔画像データは、取得部301に送信される。取得部301で取得した顔画像データは、機械学習モデル324を用いて推定部325によって、顔と手とが重なる顔画像データであるか、顔と手が重ならない顔画像データであるか推定される。 The user's facial image data acquired by the image capturing unit 103 is sent to the acquisition unit 301. The facial image data acquired by the acquisition unit 301 is estimated by the estimation unit 325 using the machine learning model 324 as to whether it is facial image data in which the face and hands overlap, or facial image data in which the face and hands do not overlap.

判定部303は、画像解析部302の解析の結果に基づいて、ユーザの顔とユーザの手とが重なっているか否かを判定する。具体的には、判定部303は、ユーザの目、鼻、口と、ユーザの手とが重なっているか否かを判定する。判定部303は、ユーザがマスクをしている場合には、少なくともユーザの目と、ユーザの手とが重なっているかを判定する。また、判定部303は、距離データ312が、予め設定された所定の距離よりも小さいか否かを判定する。 The determination unit 303 determines whether the user's face and the user's hand overlap based on the result of the analysis by the image analysis unit 302. Specifically, the determination unit 303 determines whether the user's eyes, nose, and mouth overlap with the user's hand. When the user is wearing a mask, the determination unit 303 determines whether at least the user's eyes and the user's hand overlap. In addition, the determination unit 303 determines whether the distance data 312 is smaller than a predetermined distance set in advance.

また、取得部301は、距離データ312を取得する。判定部303は、距離データ312を取得すると、所定の距離が格納されたデータベースを参照して、取得した距離データ312が所定の距離より小さいか否かを判定する。 The acquisition unit 301 also acquires distance data 312. When the determination unit 303 acquires the distance data 312, it refers to a database in which a predetermined distance is stored and determines whether the acquired distance data 312 is smaller than the predetermined distance.

判定部303が顔画像データの解析結果に基づいて、ユーザの顔とユーザの手とが重なっていると判定し、かつ距離データが所定の距離よりも小さいと判定する場合に、出力部304は警報を出力する。制御部101は、出力部304から出力された警報を携帯端末20に送信する。携帯端末20は制御装置10から警報を受信すると、警報出力部208より警報を出力する。 When the determination unit 303 determines that the user's face and the user's hand are overlapping based on the analysis result of the facial image data and determines that the distance data is smaller than a predetermined distance, the output unit 304 outputs an alarm. The control unit 101 transmits the alarm output from the output unit 304 to the mobile terminal 20. When the mobile terminal 20 receives the alarm from the control device 10, it outputs the alarm from the alarm output unit 208.

次に、本発明の一実施形態に係る判定処理について、図6を参照して説明する。判定処理は、画像撮像部103で取得したユーザの顔の顔画像データ及び携帯端末20から取得した距離データに基づいて、携帯端末20に警報を出力する。 Next, the determination process according to one embodiment of the present invention will be described with reference to FIG. 6. The determination process outputs an alarm to the mobile terminal 20 based on the facial image data of the user's face acquired by the image capturing unit 103 and the distance data acquired from the mobile terminal 20.

図6は、本発明の一実施形態における判定処理を説明するフローチャートである。 Figure 6 is a flowchart explaining the determination process in one embodiment of the present invention.

例えば、携帯端末20において、判定処理の開始を指示する信号を出力すると、制御装置10の制御部101は、ユーザの手が顔に近づいているかを判定する処理を開始する。まず、制御部101は、画像撮像部103が撮像したユーザの顔画像データを取得する(ステップS401)。制御部101が、画像撮像部103が撮像したユーザの顔画像データを取得するタイミングは、数ミリ秒~1秒ごとである。次に、制御部101は、顔画像データを解析する(ステップS402)。次に、制御部101は、解析した顔画像データに基づいて、ユーザの顔とユーザの手(又は指)とが重なっているか否かを判定する(ステップS403)。制御部101は、解析した顔画像データにおいて、ユーザの顔とユーザの手とが重なっていないと判定する場合(ステップS403;No)、ステップS401の処理に進む。 For example, when the mobile terminal 20 outputs a signal instructing the start of the determination process, the control unit 101 of the control device 10 starts the process of determining whether the user's hand is approaching the face. First, the control unit 101 acquires the user's face image data captured by the image capturing unit 103 (step S401). The control unit 101 acquires the user's face image data captured by the image capturing unit 103 every few milliseconds to one second. Next, the control unit 101 analyzes the face image data (step S402). Next, the control unit 101 determines whether the user's face and the user's hand (or finger) are overlapping based on the analyzed face image data (step S403). If the control unit 101 determines that the user's face and the user's hand are not overlapping in the analyzed face image data (step S403; No), the control unit 101 proceeds to the process of step S401.

制御部101は、解析した顔画像データにおいて、ユーザの顔とユーザの手とが重なっていると判定する場合(ステップS403;Yes)、距離データを取得する(ステップS404)。制御部101は、距離データが、予め設定された所定の距離よりも小さいか否かを判定する(ステップS404)。ステップS405の判定に用いる所定の距離としては、図3に示すデータベースにおいて、目に手が近づいたときの距離、鼻に手が近づいた時の距離、及び口に手が近づいた時の距離のいずれか一つを用いる。所定の距離として、3つの距離のうちどれを使用するかは、デバイス毎に異なっていてもよい。ここでは、所定の距離として、目に手が近づいたときの距離を用いる。制御部101は、距離データが所定の距離以上であると判定する場合(ステップS405;No)、ステップS401の処理に進む。 When the control unit 101 determines that the user's face and the user's hand overlap in the analyzed face image data (step S403; Yes), it acquires distance data (step S404). The control unit 101 determines whether the distance data is smaller than a predetermined distance set in advance (step S404). As the predetermined distance used in the determination of step S405, one of the distances when the hand approaches the eye, the distance when the hand approaches the nose, and the distance when the hand approaches the mouth in the database shown in FIG. 3 is used. Which of the three distances is used as the predetermined distance may be different for each device. Here, the distance when the hand approaches the eye is used as the predetermined distance. When the control unit 101 determines that the distance data is equal to or greater than the predetermined distance (step S405; No), it proceeds to the processing of step S401.

制御部101は、距離データが所定の距離よりも小さいと判定する場合(ステップS405;Yes)、制御部101は、警報を携帯端末20に出力する(ステップS406)。携帯端末20は警報を受信すると、警報出力部208から警報を出力する。警報を出力する期間は、所定の期間(例えば、数秒)である。次に、制御部101は、終了条件を満たすか否かを判定する(ステップS407)。ここで、終了条件とは、例えば、判定処理が開始されてから所定の期間が経過した場合、操作部106から判定処理を停止させる信号を受信した場合などが挙げられる。制御部101が、終了条件を満たすと判定する場合(ステップS407;Yes)、制御部101は判定処理を終了する。制御部101が、終了条件を満たさないと判定する場合(ステップS407;No)、ステップS401に進む。 When the control unit 101 determines that the distance data is smaller than the predetermined distance (step S405; Yes), the control unit 101 outputs an alarm to the mobile device 20 (step S406). When the mobile device 20 receives the alarm, the alarm output unit 208 outputs an alarm. The period for outputting the alarm is a predetermined period (e.g., several seconds). Next, the control unit 101 determines whether or not the end condition is satisfied (step S407). Here, examples of the end condition include a case where a predetermined period has elapsed since the start of the judgment process, and a case where a signal to stop the judgment process is received from the operation unit 106. When the control unit 101 determines that the end condition is satisfied (step S407; Yes), the control unit 101 ends the judgment process. When the control unit 101 determines that the end condition is not satisfied (step S407; No), the process proceeds to step S401.

図6に示す判定処理によれば、制御部101において、ユーザの顔に手が近づいていると判定されると、警報が出力される。制御部101がステップS401において顔画像データを取得してからステップS407まで進み、次のステップS401に進むタイミングが数ミリ秒~1秒と短い場合、ユーザの顔に手が近づいている間は、連続的に警報が出力され続ける。この場合、ユーザの顔から手が離れている間は、警報の出力が停止する。 According to the determination process shown in FIG. 6, when the control unit 101 determines that a hand is approaching the user's face, an alarm is output. If the timing at which the control unit 101 proceeds from acquiring face image data in step S401 to step S407 and proceeds to the next step S401 is short, such as a few milliseconds to one second, the alarm continues to be output continuously while the hand is approaching the user's face. In this case, the output of the alarm stops while the hand is away from the user's face.

本発明の一実施形態における制御装置10によれば、ユーザの顔画像データからユーザの手と顔が重なっているか否かを判定し、ユーザの手とが顔が重なっていると判定する場合に、携帯端末20と検知部30との距離が所定の距離よりも小さいか否かを判定する。これにより、顔画像データだけで、ユーザの手が顔に近づいているかを判定するよりも、警報を出力するタイミングの精度をより向上させることができる。 According to the control device 10 of one embodiment of the present invention, it is determined from the user's facial image data whether the user's hand and face are overlapping, and if it is determined that the user's hand and face are overlapping, it is determined whether the distance between the mobile terminal 20 and the detection unit 30 is smaller than a predetermined distance. This makes it possible to improve the accuracy of the timing of outputting an alarm compared to determining whether the user's hand is approaching the face based on facial image data alone.

(3.第2実施形態)
本実施形態では、携帯端末20において、ユーザの手が顔に近づいているか否かを判定し、ユーザに顔を触らないように警報を出力する場合について説明する。なお、第1実施形態と相違する部分について説明し、重複する部分については説明を省略する。
3. Second embodiment
In this embodiment, a case will be described in which the mobile terminal 20 determines whether or not the user's hand is approaching the face and outputs a warning to the user not to touch the face. Note that only the parts that differ from the first embodiment will be described, and the explanation of the overlapping parts will be omitted.

図7は、本発明の一実施形態に係るシステム1Aの概要を説明する図である。本実施形態では、携帯端末20において、プログラム300を実行する。本実施形態では、携帯端末20は、例えば、腕時計型、指輪型などのウェアラブルデバイスである。 Figure 7 is a diagram illustrating an overview of a system 1A according to one embodiment of the present invention. In this embodiment, a program 300 is executed in a mobile terminal 20. In this embodiment, the mobile terminal 20 is a wearable device, such as a wristwatch or finger ring.

図7において、制御装置10は、画像撮像部103によって取得した顔画像データを通信部104から携帯端末20に送信する。 In FIG. 7, the control device 10 transmits face image data acquired by the image capturing unit 103 from the communication unit 104 to the mobile terminal 20.

携帯端末20において、制御部201は、記憶部202に格納されたプログラム300をCPUにより実行して、図4に示す各機能を携帯端末20において実現させる。記憶部202は、制御装置10から受信した顔画像データ311を格納する。また、記憶部202は、ユーザが予め設定した所定の距離(携帯端末20と検知部30との距離)を格納する。本実施形態では、記憶部202に、携帯端末20を使用するユーザの所定の距離が格納されていればよい。また、記憶部202は、検知部207が所定の期間毎に取得した携帯端末20と検知部30との距離データ312を記憶する。記憶部202は、取得した距離データ312を蓄積して格納し、長期的に記憶してもよい。または記憶部202は、取得した距離データ312を、一時的に記憶してもよい。距離データ312を、一時的に記憶する場合、過去の距離データを新しい距離データで更新してもよい。 In the mobile terminal 20, the control unit 201 executes the program 300 stored in the storage unit 202 by the CPU, and realizes each function shown in FIG. 4 in the mobile terminal 20. The storage unit 202 stores face image data 311 received from the control device 10. The storage unit 202 also stores a predetermined distance (the distance between the mobile terminal 20 and the detection unit 30) previously set by the user. In this embodiment, it is sufficient that the predetermined distance of the user who uses the mobile terminal 20 is stored in the storage unit 202. The storage unit 202 also stores distance data 312 between the mobile terminal 20 and the detection unit 30 acquired by the detection unit 207 at every predetermined period. The storage unit 202 may accumulate and store the acquired distance data 312 for long-term storage. Alternatively, the storage unit 202 may temporarily store the acquired distance data 312. When the distance data 312 is temporarily stored, the past distance data may be updated with new distance data.

次に、図6を参照して、本実施形態における判定処理を説明する。 Next, the determination process in this embodiment will be described with reference to FIG.

携帯端末20において、判定処理の開始を指示する信号を出力すると、制御部201は、ユーザの手が顔に近づいているかを判定する処理を開始する。まず、制御部201は、画像撮像部103が撮像したユーザの顔画像データ311を取得する(ステップS401)。次に、制御部201は、顔画像データ311を解析する(ステップS402)。次に、制御部201は、解析した顔画像データ311に基づいて、ユーザの顔とユーザの手(又は指)とが重なっているか否かを判定する(ステップS403)。制御部201は、解析した顔画像データ311において、ユーザの顔とユーザの手とが重なっていないと判定する場合(ステップS403;No)、ステップS401の処理に進む。 When the mobile terminal 20 outputs a signal instructing the start of the determination process, the control unit 201 starts the process of determining whether the user's hand is approaching the face. First, the control unit 201 acquires the user's face image data 311 captured by the image capturing unit 103 (step S401). Next, the control unit 201 analyzes the face image data 311 (step S402). Next, the control unit 201 determines whether the user's face and the user's hand (or fingers) are overlapping based on the analyzed face image data 311 (step S403). If the control unit 201 determines that the user's face and the user's hand are not overlapping in the analyzed face image data 311 (step S403; No), it proceeds to the process of step S401.

制御部201は、解析した顔画像データにおいて、ユーザの顔とユーザの手とが重なっていると判定する場合(ステップS403;Yes)、距離データ312を取得する(ステップS404)。制御部201は、距離データ312が、予め設定された所定の距離よりも小さいか否かを判定する(ステップS404)。制御部201は、距離データ312が所定の距離以上であると判定する場合(ステップS404;No)、ステップS401の処理に進む。 When the control unit 201 determines that the user's face and the user's hand overlap in the analyzed facial image data (step S403; Yes), it acquires distance data 312 (step S404). The control unit 201 determines whether the distance data 312 is smaller than a predetermined distance that has been set in advance (step S404). When the control unit 201 determines that the distance data 312 is equal to or greater than the predetermined distance (step S404; No), it proceeds to the processing of step S401.

制御部201は、距離データ312が所定の距離よりも小さいと判定する場合(ステップS404;Yes)、制御部201は、警報を警報出力部208に出力して(ステップS406)、制御部101は判定処理を終了する。 If the control unit 201 determines that the distance data 312 is smaller than the predetermined distance (step S404; Yes), the control unit 201 outputs an alarm to the alarm output unit 208 (step S406), and the control unit 101 ends the determination process.

本発明の一実施形態における携帯端末20によれば、ユーザの顔画像データからユーザの手と顔が重なっているか否かを判定し、ユーザの手とが顔が重なっていると判定する場合に、携帯端末20の検知部207と検知部30との距離が所定の距離よりも小さいか否かを判定する。これにより、顔画像データだけで、ユーザの手が顔に近づいているかを判定するよりも、警報を出力するタイミングの精度をより向上させることができる。 According to the mobile terminal 20 of one embodiment of the present invention, it is determined from the user's facial image data whether the user's hand and face are overlapping, and if it is determined that the user's hand and face are overlapping, it is determined whether the distance between the detection unit 207 of the mobile terminal 20 and the detection unit 30 is smaller than a predetermined distance. This makes it possible to improve the accuracy of the timing of outputting an alarm compared to determining whether the user's hand is approaching the face from facial image data alone.

(4.変形例)
以上、本発明の一実施形態について説明したが、本発明の一実施形態は、以下のように様々な形態に変形することもできる。また、上述した実施形態および以下に説明する変形例は、それぞれ互いに組み合わせて適用することもできる。
(4. Modifications)
Although one embodiment of the present invention has been described above, this embodiment can be modified in various ways as described below. Furthermore, the above-described embodiment and the modifications described below can be applied in combination with each other.

(1)第1実施形態及び第2実施形態では、顔画像データの解析結果に基づいて顔と手とが重なっているか否かを判定した後、携帯端末20と検知部30との距離を判定する場合について説明したが、本発明の一実施形態はこれに限定されない。携帯端末20と検知部30との距離を判定した後、顔画像データの解析結果に基づいて顔と手とが重なっているか否かを判定してもよい。 (1) In the first and second embodiments, a case has been described in which it is determined whether or not the face and the hand overlap based on the analysis results of the facial image data, and then the distance between the mobile terminal 20 and the detection unit 30 is determined, but one embodiment of the present invention is not limited to this. After determining the distance between the mobile terminal 20 and the detection unit 30, it may be determined whether or not the face and the hand overlap based on the analysis results of the facial image data.

図8は、本発明の一実施形態における判定処理を説明するフローチャートである。ここでは、制御装置10の制御部101において、判定処理を実行する場合について説明するが、携帯端末20の制御部201において、判定処理を実行してもよい。 Figure 8 is a flowchart explaining the determination process in one embodiment of the present invention. Here, a case is explained in which the determination process is executed in the control unit 101 of the control device 10, but the determination process may also be executed in the control unit 201 of the mobile terminal 20.

例えば、携帯端末20において、判定処理の開始を指示する信号を出力すると、制御装置10の制御部101は、ユーザの手が顔に近づいているかを判定する処理を開始する。まず、制御部101は、携帯端末20から距離データを取得する(ステップS411)。制御部101は、距離データが、予め設定された所定の距離よりも小さいか否かを判定する(ステップS412)。制御部101は、距離データが所定の距離以上であると判定する場合(ステップS412;No)、ステップS411の処理に進む。 For example, when a signal instructing the start of the determination process is output in the mobile terminal 20, the control unit 101 of the control device 10 starts the process of determining whether the user's hand is approaching the face. First, the control unit 101 acquires distance data from the mobile terminal 20 (step S411). The control unit 101 determines whether the distance data is smaller than a predetermined distance that has been set in advance (step S412). When the control unit 101 determines that the distance data is equal to or greater than the predetermined distance (step S412; No), it proceeds to the process of step S411.

制御部101は、距離データが所定のよりも小さいと判定する場合(ステップS412;Yes)、制御部101は、画像撮像部103が撮像したユーザの顔画像データを取得する(ステップS413)。次に、制御部101は、顔画像データを解析する(ステップS414)。次に、制御部101は、解析した顔画像データに基づいて、ユーザの顔とユーザの手(又は指)とが重なっているか否かを判定する(ステップS415)。制御部101は、解析した顔画像データにおいて、ユーザの顔とユーザの手とが重なっていないと判定する場合(ステップS415;No)、ステップS411の処理に進む。 When the control unit 101 determines that the distance data is smaller than a predetermined value (step S412; Yes), the control unit 101 acquires the user's facial image data captured by the image capturing unit 103 (step S413). Next, the control unit 101 analyzes the facial image data (step S414). Next, the control unit 101 determines whether the user's face and the user's hand (or finger) overlap based on the analyzed facial image data (step S415). When the control unit 101 determines that the user's face and the user's hand do not overlap in the analyzed facial image data (step S415; No), the control unit 101 proceeds to the processing of step S411.

制御部101は、解析した顔画像データにおいて、ユーザの顔とユーザの手とが重なっていると判定する場合(ステップS415;Yes)、制御部101は、警報を携帯端末20に出力して(ステップS406)、制御部101は判定処理を終了する。携帯端末20は警報を受信すると、警報出力部208から警報を出力する。 When the control unit 101 determines that the user's face and the user's hand overlap in the analyzed facial image data (step S415; Yes), the control unit 101 outputs an alarm to the mobile terminal 20 (step S406), and the control unit 101 ends the determination process. When the mobile terminal 20 receives the alarm, it outputs the alarm from the alarm output unit 208.

(2)第1実施形態及び第2実施形態では、携帯端末20が検知部30との距離を計測する例について説明したが、本発明の一実施形態はこれに限定されない。携帯端末20の検知部207のみによって、ユーザの顔に手が近づいているか、距離を計測してもよい。 (2) In the first and second embodiments, an example has been described in which the mobile terminal 20 measures the distance to the detection unit 30, but one embodiment of the present invention is not limited to this. Whether a hand is approaching the user's face or not may be measured by only the detection unit 207 of the mobile terminal 20, and the distance may be measured.

(3)第1実施形態及び第2実施形態では、携帯端末20が、ウェアラブルデバイスである場合について説明したが、本発明の一実施形態はこれに限定されない。携帯端末20が、例えば、スマートフォン、又はタブレットなどのユーザが所持する携帯端末であってもよい。 (3) In the first and second embodiments, the mobile terminal 20 is described as a wearable device, but one embodiment of the present invention is not limited to this. The mobile terminal 20 may be, for example, a mobile terminal carried by a user, such as a smartphone or a tablet.

(4)システム1、1Aは、ユーザが決められた位置で作業する場合に有用である。例えば、オフィスにおけるデスクワークや、車を運転する場合などにも適用可能である。 (4) Systems 1 and 1A are useful when a user works in a fixed position. For example, they can be applied to desk work in an office, driving a car, etc.

(5)第1実施形態及び第2実施形態では、携帯端末20から警報を出力する場合について説明したが、本発明の一実施形態はこれに限定されない。検知部30が設置された物品に通信部及び警報出力部を設けてもよい。制御装置10又は携帯端末20から警報が出力されると、当該物品が有する警報出力部から警報を出力してもよい。例えば、制御装置10又は携帯端末20から警報が出力された場合に、検知部30が設置された物品が有する音出力部によって音声や警告音を出力してもよい。 (5) In the first and second embodiments, a case has been described in which an alarm is output from the mobile terminal 20, but one embodiment of the present invention is not limited to this. A communication unit and an alarm output unit may be provided in the item in which the detection unit 30 is installed. When an alarm is output from the control device 10 or the mobile terminal 20, an alarm may be output from an alarm output unit possessed by the item. For example, when an alarm is output from the control device 10 or the mobile terminal 20, a voice or warning sound may be output by a sound output unit possessed by the item in which the detection unit 30 is installed.

1、1A:システム、10:制御装置、20:携帯端末、30:検知部、40:ネットワーク、101:制御部、102:記憶部、103:画像撮像部、104:通信部、105:表示部、106:操作部、201:制御部、202:記憶部、204:通信部、207:検知部、208:警報出力部、300:プログラム、301:取得部、302:画像解析部、303:判定部、304:出力部、311:顔画像データ、312:距離データ 1, 1A: System, 10: Control device, 20: Mobile terminal, 30: Detection unit, 40: Network, 101: Control unit, 102: Storage unit, 103: Image capture unit, 104: Communication unit, 105: Display unit, 106: Operation unit, 201: Control unit, 202: Storage unit, 204: Communication unit, 207: Detection unit, 208: Alarm output unit, 300: Program, 301: Acquisition unit, 302: Image analysis unit, 303: Determination unit, 304: Output unit, 311: Face image data, 312: Distance data

Claims (9)

ユーザの顔画像データを取得する画像撮像部と、前記顔画像データを解析する制御部と、を有する制御装置と、
前記ユーザの手首近傍に装着された第1検知部を有する携帯端末と、
前記ユーザの頭部近傍に装着された第2検知部と、を備え、
前記第1検知部は、前記第2検知部との距離データを取得し、
前記制御部は、前記顔画像データを解析することで、顔と手とが重なると判定する場合に、前記距離データを取得し、前記距離データが予め設定された所定の距離よりも小さい場合に、前記携帯端末に警報を出力する、システム。
A control device having an image capturing unit that captures face image data of a user and a control unit that analyzes the face image data;
A portable terminal having a first detection unit attached to the user's wrist;
A second detection unit is attached near the head of the user,
The first detection unit acquires distance data from the second detection unit,
The control unit analyzes the facial image data and, when it determines that the face and the hand overlap, acquires the distance data, and when the distance data is smaller than a predetermined distance set in advance, outputs an alert to the mobile terminal.
前記制御部は、前記顔と手とが重ならないと判定する場合は、新たに取得した顔画像データを解析する、請求項1に記載のシステム。 The system of claim 1, wherein the control unit analyzes newly acquired face image data if it determines that the face and the hand do not overlap. 取得した前記第1検知部と前記第2検知部との距離が、予め設定された所定の距離以上の場合は、新たに取得した顔画像データを解析する、請求項1又は2に記載のシステム。 The system according to claim 1 or 2, wherein if the acquired distance between the first detection unit and the second detection unit is equal to or greater than a preset distance, newly acquired face image data is analyzed. 前記所定の距離は、前記ユーザの手を前記ユーザの目に近づけた場合の前記第1検知部と前記第2検知部との距離である、請求項1乃至3のいずれか一項に記載のシステム。 The system according to any one of claims 1 to 3, wherein the predetermined distance is the distance between the first detection unit and the second detection unit when the user brings his/her hand close to the user's eye. ユーザの顔画像データを取得して、前記顔画像データを解析することで、顔と手とが重なるか否かを判定し、
前記顔と手とが重なると判定する場合に、前記ユーザの手首近傍に装着された携帯端末の第1検知部は、前記ユーザの頭部近傍に装着された第2検知部との距離データを取得し、
取得した前記第1検知部と前記第2検知部との距離が、予め設定された所定の距離よりも小さい場合に警報を出力する、方法。
acquiring face image data of the user and analyzing the face image data to determine whether the face and the hand overlap;
When it is determined that the face and the hand overlap, a first detection unit of the portable terminal worn near the wrist of the user acquires distance data between the first detection unit and a second detection unit worn near the head of the user;
A method for outputting an alarm when the acquired distance between the first detection unit and the second detection unit is smaller than a predetermined distance set in advance.
前記顔と手とが重ならないと判定する場合は、新たに取得した顔画像データを解析する、請求項5に記載の方法。 The method according to claim 5, further comprising: analyzing newly acquired face image data if it is determined that the face and the hand do not overlap. 取得した前記第1検知部と前記第2検知部との距離が、予め設定された所定の距離以上の場合は、新たに取得した顔画像データを解析する、請求項5又は6に記載の方法。 The method according to claim 5 or 6, further comprising: analyzing newly acquired face image data if the acquired distance between the first detection unit and the second detection unit is equal to or greater than a preset predetermined distance. 前記所定の距離は、前記ユーザが前記手を目に近づけた場合の前記第1検知部と前記第2検知部との距離である、請求項5乃至7のいずれか一項に記載の方法。 The method according to any one of claims 5 to 7, wherein the predetermined distance is the distance between the first detection unit and the second detection unit when the user brings the hand close to the eye. ユーザの顔画像データを取得し、
前記顔画像データを解析し、解析結果に基づいて顔の一部と手とが重なっているか否かを判定し、
前記顔の一部と前記手と重なっていると判定された場合、前記ユーザの手首に装着された携帯端末の第1検知部と前記ユーザの頭部近傍に設けられた第2検知部との距離を取得し、
取得した前記第1検知部と前記第2検知部との距離が、所定の距離よりも小さい場合に、前記携帯端末に警報を出力することを、コンピュータに実行させるためのプログラム。
Acquire facial image data of the user ;
Analyzing the face image data and determining whether or not a part of the face overlaps with the hand based on the analysis result;
When it is determined that the part of the face and the hand overlap, a distance between a first detection unit of a portable terminal worn on the wrist of the user and a second detection unit provided near a head of the user is acquired;
A program for causing a computer to execute the following: when the acquired distance between the first detection unit and the second detection unit is smaller than a predetermined distance, outputting an alarm to the mobile terminal.
JP2021053693A 2021-03-26 2021-03-26 System, method, and program Active JP7682664B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021053693A JP7682664B2 (en) 2021-03-26 2021-03-26 System, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021053693A JP7682664B2 (en) 2021-03-26 2021-03-26 System, method, and program

Publications (2)

Publication Number Publication Date
JP2022150894A JP2022150894A (en) 2022-10-07
JP7682664B2 true JP7682664B2 (en) 2025-05-26

Family

ID=83465067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021053693A Active JP7682664B2 (en) 2021-03-26 2021-03-26 System, method, and program

Country Status (1)

Country Link
JP (1) JP7682664B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117056988A (en) * 2023-04-06 2023-11-14 哈尔滨茂森软件有限公司 An artificial intelligence-based Internet of Things big data supervision system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009053797A (en) 2007-08-24 2009-03-12 Oki Electric Ind Co Ltd Proximity state estimation device, program, proximity state estimation method and proximity state estimation system
JP2011086052A (en) 2009-10-14 2011-04-28 Fujitsu Ltd Hand recognition device
US20160140830A1 (en) 2014-11-14 2016-05-19 James HATHORN System and method for tracking and reducing human-to-human transmission of infectious pathogens
CN107066089A (en) 2017-03-08 2017-08-18 北京互讯科技有限公司 A kind of mobile phone eye posture guard method based on computer vision technique
US10847017B1 (en) 2020-03-17 2020-11-24 Discovery Democracy LLC Electronic face mask

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009053797A (en) 2007-08-24 2009-03-12 Oki Electric Ind Co Ltd Proximity state estimation device, program, proximity state estimation method and proximity state estimation system
JP2011086052A (en) 2009-10-14 2011-04-28 Fujitsu Ltd Hand recognition device
US20160140830A1 (en) 2014-11-14 2016-05-19 James HATHORN System and method for tracking and reducing human-to-human transmission of infectious pathogens
CN107066089A (en) 2017-03-08 2017-08-18 北京互讯科技有限公司 A kind of mobile phone eye posture guard method based on computer vision technique
US10847017B1 (en) 2020-03-17 2020-11-24 Discovery Democracy LLC Electronic face mask

Also Published As

Publication number Publication date
JP2022150894A (en) 2022-10-07

Similar Documents

Publication Publication Date Title
CN107407977B (en) Information processing equipment, control method and program
JP6669069B2 (en) Detection device, detection method, control device, and control method
CN108986766B (en) Information display terminal and information display method
EP3090331B1 (en) Systems with techniques for user interface control
JP7504476B2 (en) Apparatus, method and program for determining the cognitive state of a user of a mobile device
US10474411B2 (en) System and method for alerting VR headset user to real-world objects
KR101284797B1 (en) Apparatus for user interface based on wearable computing environment and method thereof
CN110164440A (en) Electronic equipment, method and medium are waken up based on the interactive voice for sealing mouth action recognition
JP2012146216A (en) Electronic device and program for controlling the same
US11237639B2 (en) Method and system for electronic communication by persons with disabilities
CN108153424A (en) The eye of aobvious equipment is moved moves exchange method with head
US11137600B2 (en) Display device, display control method, and display system
EP3163407B1 (en) Method and apparatus for alerting to head mounted display user
JP2018533775A (en) Device and method for determining the position of a mobile device with respect to a subject
US20170118642A1 (en) Electronic apparatus, method for authenticating the same, and recording medium
JP2012146209A (en) Electronic device and control program for electronic device
JP7682664B2 (en) System, method, and program
EP3346368B1 (en) Device, method and system for control of a target apparatus
JP2018041164A (en) Operation input device and program
EP3586733B1 (en) Information processing method, information processing device, and program
US20160091717A1 (en) Head-mounted display system and operation method thereof
CN113995416A (en) Apparatus and method for displaying user interface in glasses
KR101497829B1 (en) Watch type device utilizing motion input
JP2012114755A (en) Head-mounted display and computer program
WO2017016941A1 (en) Wearable device, method and computer program product

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250306

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250415

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250514

R150 Certificate of patent or registration of utility model

Ref document number: 7682664

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350