JP2021149488A - Image storage control device and image storage control method - Google Patents
Image storage control device and image storage control method Download PDFInfo
- Publication number
- JP2021149488A JP2021149488A JP2020048576A JP2020048576A JP2021149488A JP 2021149488 A JP2021149488 A JP 2021149488A JP 2020048576 A JP2020048576 A JP 2020048576A JP 2020048576 A JP2020048576 A JP 2020048576A JP 2021149488 A JP2021149488 A JP 2021149488A
- Authority
- JP
- Japan
- Prior art keywords
- state
- driver
- unsafe
- determination
- unit
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 14
- 238000001514 detection method Methods 0.000 claims abstract description 18
- 238000004891 communication Methods 0.000 description 7
- 238000003384 imaging method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000001815 facial effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
Images
Landscapes
- Traffic Control Systems (AREA)
Abstract
Description
本発明は、ドライバの状態を示す画像を記憶する技術に関する。 The present invention relates to a technique for storing an image showing the state of a driver.
特許文献1には、ドライバの心拍数などの生理データに基づいて、ドライバが異常状態であると判定された後に、ドライバの顔を撮像する技術が開示されている。 Patent Document 1 discloses a technique of imaging a driver's face after the driver is determined to be in an abnormal state based on physiological data such as the driver's heart rate.
上記の技術では、異常状態であると判定してから、ドライバの顔を撮像するまでの間にドライバの状態が変化することがあり、顔画像におけるドライバの状態が異常状態でない場合があった。 In the above technique, the state of the driver may change between the time when the driver's face is determined to be in the abnormal state and the time when the driver's face is imaged, and the state of the driver in the face image may not be in the abnormal state.
そこで、本発明はこれらの点に鑑みてなされたものであり、ドライバの状態が不安全状態である撮像画像を記憶する技術を提供することを目的とする。 Therefore, the present invention has been made in view of these points, and an object of the present invention is to provide a technique for storing a captured image in which the driver is in an unsafe state.
本発明の第1の態様においては、車両のドライバの顔の状態を示す状態データを検出装置から順次取得する状態データ取得部と、前記状態データ取得部が取得した複数の前記状態データに基づいて、前記ドライバが不安全状態であるか否かを判定する第1判定部と、前記ドライバが前記不安全状態であると前記第1判定部が判定した後に撮像された前記ドライバの顔を含む撮像画像を取得する画像取得部と、前記画像取得部が取得した前記撮像画像に含まれる前記ドライバの状態が、前記第1判定部が判定した前記不安全状態と同じ状態であるか否かを判定する第2判定部と、前記不安全状態と同じ状態であると前記第2判定部が判定した場合、前記第2判定部が判定した対象の前記撮像画像を記憶部に記憶させる記憶制御部と、を備える画像記憶制御装置を提供する。 In the first aspect of the present invention, a state data acquisition unit that sequentially acquires state data indicating the state of the face of the driver of the vehicle from the detection device, and a plurality of the state data acquired by the state data acquisition unit are used. An image including a first determination unit for determining whether or not the driver is in an unsafe state and an image taken after the first determination unit determines that the driver is in an unsafe state. It is determined whether or not the state of the image acquisition unit for acquiring an image and the driver included in the captured image acquired by the image acquisition unit is the same as the unsafe state determined by the first determination unit. When the second determination unit determines that the state is the same as the unsafe state, the second determination unit and the storage control unit that stores the captured image of the target determined by the second determination unit in the storage unit. Provided is an image storage control device including.
例えば、前記記憶制御部は、前記不安全状態であると前記第1判定部が判定したことを示す判定情報を、前記第2判定部が判定した対象の前記撮像画像に関連付けて前記記憶部に記憶させる。 For example, the storage control unit associates the determination information indicating that the first determination unit has determined that the state is unsafe with the captured image of the target determined by the second determination unit in the storage unit. Remember.
例えば、前記第1判定部は、複数の前記状態データが、複数の不安全状態の各々に対応する判定条件を満たす場合、当該判定条件に対応する不安全状態であると判定し、前記記憶制御部は、当該判定条件に対応する不安全状態であると前記第1判定部が判定したことを示す前記判定情報を、前記撮像画像に関連付けて前記記憶部に記憶させる。 For example, when the plurality of state data satisfy the determination conditions corresponding to each of the plurality of unsafe states, the first determination unit determines that the determination conditions are unsafe and the storage control. The unit stores the determination information indicating that the first determination unit has determined that it is in an unsafe state corresponding to the determination condition in the storage unit in association with the captured image.
例えば、前記記憶制御部は、前記撮像画像を外部装置に送信することにより、前記外部装置の記憶部に記憶させる。 For example, the storage control unit transmits the captured image to an external device to store the captured image in the storage unit of the external device.
例えば、前記状態データ取得部は、前記状態データとして前記ドライバの開眼度を取得し、前記第1判定部は、前記開眼度が第1判定閾値よりも小さい場合、前記ドライバが前記不安全状態であると判定し、前記第2判定部は、前記撮像画像中の前記ドライバの開眼度が、第1判定閾値よりも大きい第2判定閾値よりも小さい場合、前記第1判定部が判定した前記不安全状態と同じ不安全状態であると判定する。 For example, the state data acquisition unit acquires the degree of eye opening of the driver as the state data, and the first determination unit is in the unsafe state when the degree of eye opening is smaller than the first determination threshold value. When the degree of eye opening of the driver in the captured image is smaller than the second determination threshold value, which is larger than the first determination threshold value, the second determination unit determines that the first determination unit does not. Judge that it is the same unsafe state as the safe state.
本発明の第2の態様においては、コンピュータのプロセッサが、車両のドライバの顔の状態を示す状態データを検出装置から順次取得するステップと、取得した複数の前記状態データに基づいて、前記ドライバが不安全状態であるか否かを判定するステップと、前記ドライバが前記不安全状態であると判定した後に撮像された前記ドライバの顔を含む撮像画像を取得するステップと、取得した前記撮像画像に含まれる前記ドライバの状態が、前記不安全状態と同じ状態であるか否かを判定するステップと、前記不安全状態と同じ状態であると判定した場合、判定した対象の前記撮像画像を記憶部に記憶させるステップと、を実行する画像記憶制御方法を提供する。 In the second aspect of the present invention, the computer processor sequentially acquires state data indicating the facial state of the driver of the vehicle from the detection device, and the driver uses the acquired state data based on the acquired state data. The step of determining whether or not the driver is in an unsafe state, the step of acquiring an image including the driver's face imaged after the driver determines that the driver is in an unsafe state, and the acquired image. A step of determining whether or not the state of the driver included is the same as the unsafe state, and when it is determined that the state is the same as the unsafe state, the captured image of the determined target is stored in the storage unit. Provides a step of storing in and an image storage control method for executing.
本発明によれば、ドライバの状態が不安全状態である撮像画像を記憶できるという効果を奏する。 According to the present invention, there is an effect that a captured image in which the driver state is an unsafe state can be stored.
[実施の形態に係る画像記憶制御システムSの構成]
図1は、実施の形態に係る画像記憶制御システムSの構成を示す図である。画像記憶制御システムSは、画像記憶制御装置1と、撮像装置2と、検出装置3と、外部装置4とを備える。画像記憶制御装置1と撮像装置2と検出装置3とは、車両に搭載される。
[Configuration of image storage control system S according to the embodiment]
FIG. 1 is a diagram showing a configuration of an image storage control system S according to an embodiment. The image storage control system S includes an image storage control device 1, an
撮像装置2は、撮像装置2が搭載される車両のドライバの顔を撮像する。具体的には、撮像装置2は、車両の運転席を含む撮像領域を撮像し、ドライバの顔を含む撮像画像を生成する。撮像装置2は、生成した撮像画像を検出装置3に出力する。撮像装置2は、検出装置3に撮像画像を出力すると、出力した撮像画像を削除する。
The
検出装置3は、車両のドライバの顔の状態を示す状態データを検出する。例えば、検出装置3は、撮像装置2から取得したドライバの顔を含む撮像画像を解析することにより状態データを検出する。例えば、検出装置3は、状態データとして目の開き具合を示す開眼度を検出することができる。また、検出装置3は、基準方向である車両の進行方向前方に対するドライバの顔の向きを示す顔向き角度を検出できる。検出装置3は、検出した状態データを画像記憶制御装置1に送信する。
The detection device 3 detects state data indicating the state of the face of the driver of the vehicle. For example, the detection device 3 detects the state data by analyzing the captured image including the driver's face acquired from the
画像記憶制御装置1は、車両のドライバの顔の状態に基づいてドライバの状態を判定する。画像記憶制御装置1は、ドライバの状態が不安全状態であるか否かを判定する。不安全状態は、ドライバが居眠りや脇見などをして安全に運転できない状態である。画像記憶制御装置1は、ドライバが不安全状態であると判定した場合、不安全状態であるドライバを撮像した撮像画像を記憶する。そして、画像記憶制御装置1は、ドライバの状態が不安全状態である撮像画像を外部装置4に送信する。
The image storage control device 1 determines the state of the driver based on the state of the face of the driver of the vehicle. The image storage control device 1 determines whether or not the state of the driver is an unsafe state. An unsafe state is a state in which the driver cannot drive safely due to falling asleep or looking aside. When the image storage control device 1 determines that the driver is in an unsafe state, the image storage control device 1 stores an image captured by the driver in the unsafe state. Then, the image storage control device 1 transmits the captured image in which the driver state is unsafe to the
外部装置4は、画像記憶制御装置1と通信可能に接続される、例えばサーバである。外部装置4は、車両を運転するドライバを管理する管理者により運用されている。外部装置4は、ドライバの状態が不安全状態である撮像画像を画像記憶制御装置1から受信する。外部装置4は、ドライバの状態が不安全状態である撮像画像を記憶部41に記憶する。外部装置4を運用する管理者は、ドライバの状態が不安全状態である撮像画像を確認しながら、車両のドライバの安全運転指導を行う。このように、管理者は、不安全状態であった証拠となる撮像画像を確認しながらドライバを指導することができる。
The
[画像記憶制御装置1の構成]
画像記憶制御装置1は、通信部10と、記憶部11と、制御部12とを備える。通信部10は、外部装置4と情報を送受信するための無線通信モジュールである。無線通信の規格は、例えば、LTE(Long Term Evolution)である。
[Configuration of image storage control device 1]
The image storage control device 1 includes a
記憶部11は、ROM(Read Only Memory)、RAM(Random Access Memory)及びハードディスク等を含む記憶媒体である。記憶部11は、制御部12が実行するプログラムを記憶する。
The
制御部12は、例えばCPU(Central Processing Unit)等のプロセッサを含む計算リソースである。制御部12は、記憶部11に記憶されたプログラムを実行することにより、状態データ取得部121、第1判定部122、指示出力部123、画像取得部124、第2判定部125及び記憶制御部126としての機能を実現する。以下、図2を参照しながら説明する。図2は、撮像画像を記憶させる処理を説明するための図である。
The
状態データ取得部121は、状態データを検出装置3から順次取得する。例えば、状態データ取得部121は、状態データとしてドライバの開眼度を取得する。ここでは、状態データ取得部121は、所定期間に0%の開眼度を複数取得したものとする。また、状態データ取得部121が所定期間に取得した複数の開眼度の平均値又は最頻値は、0%であるとして説明する。図2の左端に示すドライバの状態は、0%の開眼度に対応するドライバの状態である。
The state
第1判定部122は、状態データ取得部121が所定期間に取得した複数の状態データに基づいて、ドライバが不安全状態であるか否かを判定する。例えば、第1判定部122は、所定期間中の複数の状態データが、不安全状態に対応する判定条件を満たすか否かに基づいてドライバが不安全状態であるか否かを判定する。例えば、第1判定部122は、所定期間中の複数の状態データの平均値又は最頻値が、判定条件を満たす場合、ドライバが不安全状態であると判定する。また、第1判定部122は、状態データ取得部121が順次取得する状態データが、判定条件を継続的に満たす場合に、ドライバが不安全状態であると判定してもよい。
The
例えば、第1判定部122は、複数の状態データが、複数の不安全状態の各々に対応する判定条件を満たす場合、当該判定条件に対応する不安全状態であると判定する。複数の不安全状態は、例えば、居眠りをしている居眠り状態、又は脇見をしている脇見状態である。以下、不安全状態として、開眼度に基づいて居眠りをしている不安全状態か否かを判定する場合について説明する。
For example, when the plurality of state data satisfy the determination conditions corresponding to each of the plurality of unsafe states, the
第1判定部122は、ドライバの開眼度が判定閾値よりも小さい場合、ドライバが居眠りをしている不安全状態であると判定する(図2の表の左から2番目)。より具体的には、第1判定部122は、開眼度が判定閾値よりも小さい状態が所定時間継続した場合、ドライバが居眠りをしている不安全状態であると判定する。判定閾値の具体的な値は、例えば20%である。所定時間の具体的な値は、居眠りをしているとみなせる時間として適宜設定すればよく、例えば3秒である。
When the degree of eye opening of the driver is smaller than the determination threshold value, the
指示出力部123は、ドライバが不安全状態であると第1判定部122が判定したことを契機として、撮像装置2に撮像画像を生成する指示を出力する。この場合、撮像装置2は、指示出力部123から指示を受信すると撮像画像を生成し、生成した撮像画像を画像記憶制御装置1に出力する。
The
第1判定部122が不安全状態であると判定してから撮像装置2が撮像画像を生成するまでには、時間的なずれが生じる。そのため、不安全状態であると判定してから撮像画像を生成するまでに、ドライバの状態が、不安全状態から、安全に車両を運転できる正常状態に変化してしまうことがある。つまり、第1判定部122の判定後に生成された撮像画像中のドライバの状態は、第1判定部122が判定したときの状態と異なる場合がある。そこで、画像記憶制御装置1は、撮像画像中のドライバの状態が、第1判定部122が判定した不安全状態と同じ不安全状態である場合に撮像画像を記憶させ、同じ不安全状態でない場合、撮像画像を記憶させない。以下、撮像装置2が生成した撮像画像中のドライバの状態が、第1判定部122が判定した不安全状態と同じ不安全状態であるか否かを判定する処理について説明する。
There is a time lag between the time when the
まず、画像取得部124は、撮像装置2が生成した撮像画像を取得する。具体的には、画像取得部124は、ドライバが不安全状態であると第1判定部122が判定した後に撮像されたドライバの顔を含む撮像画像を取得する。より具体的には、画像取得部124は、撮像装置2が指示出力部123から指示を受信したことを契機として生成した撮像画像を取得する。図2の表の左から3番目は、画像取得部124が取得した、判定後に撮像された撮像画像である。
First, the
次に、第2判定部125は、画像取得部124が取得した撮像画像を解析することにより、撮像画像に含まれるドライバの顔の状態を検出する。具体的には、第2判定部125は、顔の状態として開眼度を検出する。図2において、第2判定部125は、開眼度を0%と検出する(図2の表の左から4番目)。
Next, the
続いて、第2判定部125は、撮像画像中のドライバの状態が、不安全状態であるか否かを判定する。例えば、第2判定部125は、検出した顔の状態が、複数の不安全状態の各々に対応する判定条件を満たすか否かを判定することにより、ドライバが不安全状態であるか否かを判定する。具体的には、第2判定部125は、検出した開眼度が判定閾値よりも小さいか否かを判定することにより、ドライバが居眠りをしている不安全状態であるか否かを判定する。第2判定部125は、検出した開眼度(0%)が判定閾値(20%)よりも小さいので、撮像画像中のドライバの状態が居眠りをしている不安全状態であると判定する(図2の表の左から5番目)。
Subsequently, the
第2判定部125は、撮像画像中のドライバの状態が、第1判定部122が判定した不安全状態と同じ状態であるか否かを判定する。具体的には、第2判定部125は、第1判定部122が判定した不安全状態と、撮像画像中のドライバの不安全状態とが同じ不安全状態であるか否かを判定する。例えば、第2判定部125は、第1判定部122が居眠りをしている不安全状態であると判定した場合、撮像画像中のドライバが居眠りをしている不安全状態であるとき、撮像画像中のドライバが、第1判定部122が判定した不安全状態と同じ不安全状態であると判定する。
The
記憶制御部126は、撮像画像中のドライバの状態が、第1判定部122が判定した不安全状態と同じ不安全状態であると第2判定部125が判定した場合、第2判定部125が判定した対象の撮像画像を記憶部11に記憶させる(図2の表の左から6番目)。第2判定部125が判定した対象の撮像画像は、図2における「判定後に撮像された撮像画像」である。このようにすることで、画像記憶制御装置1は、ドライバの状態が不安全状態である撮像画像を記憶させることができる。
When the
また、記憶制御部126は、不安全状態であると第1判定部122が判定したことを示す判定情報を、第2判定部125が判定した対象の撮像画像に関連付けて記憶させてもよい。具体的には、記憶制御部126は、複数の不安全状態の各々に対応する判定条件のうち、状態データが満たした判定条件に対応する不安全状態であると判定したことを示す判定情報を、撮像画像に関連付けて記憶させる。より具体的には、記憶制御部126は、開眼度が判定閾値よりも小さい場合、居眠りをしている不安全状態であると判定したことを示す判定情報を撮像画像に関連付けて記憶させる。
Further, the
以上、撮像画像中のドライバの状態が、第1判定部122が判定した不安全状態と同じ不安全状態である場合に、画像記憶制御装置1が撮像画像を記憶させる処理について説明した。以下、撮像画像中のドライバの状態が、第1判定部122が判定した不安全状態と同じ状態でない場合に、画像記憶制御装置1が撮像画像を記憶させない処理について説明する。
The process of storing the captured image by the image storage control device 1 when the state of the driver in the captured image is the same unsafe state as the unsafe state determined by the
図3は、撮像画像を記憶させない場合を説明するための図である。図3において、状態データ取得部121は、所定期間に0%の開眼度を複数取得したものとする。また、状態データ取得部121が所定期間に取得した複数の開眼度の平均値又は最頻値は、0%であるとして説明する。図3の左端に示すドライバの状態は、0%の開眼度に対応するドライバの状態である。第1判定部122は、ドライバの状態を「不安全状態(居眠り)」と判定する(図3の表の左から2番目)。
FIG. 3 is a diagram for explaining a case where the captured image is not stored. In FIG. 3, it is assumed that the state
図3の表の左から3番目は、判定後に撮像された撮像画像である。第2判定部125は、判定後に撮像された撮像画像を解析することにより、開眼度を100%と検出する(図3の表の左から4番目)。第2判定部125は、検出した開眼度(100%)が判定閾値(20%)よりも大きいので、撮像画像中のドライバの状態が、車両を安全に運転できる正常状態であると判定する(図3の表の左から5番目)。続いて、第2判定部125は、撮像画像中のドライバが正常状態であるので、第1判定部122が判定した不安全状態と同じ状態でないと判定する。記憶制御部126は、第2判定部125が同じ状態でないと判定した場合、第2判定部125が判定した対象の撮像画像を記憶させない(図3の表の左から6番目)。
The third from the left in the table of FIG. 3 is an captured image captured after the determination. The
このように、画像記憶制御装置1は、ドライバの状態が正常状態である撮像画像を記憶させない。その結果、画像記憶制御装置1は、ドライバの状態が不安全状態である撮像画像のみを記憶させることができる。 As described above, the image storage control device 1 does not store the captured image in which the driver state is normal. As a result, the image storage control device 1 can store only the captured image in which the driver state is unsafe.
なお、第2判定部125は、第1判定部122の判定条件と異なる条件で撮像画像中のドライバの状態を判定してもよい。例えば、第2判定部125は、撮像画像中のドライバの開眼度が、第1判定部122が開眼度を判定するための第1判定閾値よりも大きい第2判定閾値よりも小さい場合、居眠りをしている不安全状態であると判定する。すなわち、第2判定部125は、撮像画像中のドライバの開眼度が第2判定閾値よりも小さい場合、第1判定部122が判定した不安全状態と同じ不安全状態であると判定する。第2判定閾値は、不安全状態であるとみなせる値を適宜設定すればよく、具体的な値は、第1判定閾値が20%である場合、例えば40%である。
The
図4は、第2判定部125が第1判定閾値よりも大きい第2判定閾値で開眼度を判定する場合を説明するための図である。図4において、状態データ取得部121は、0%の開眼度を取得したものとする。また、状態データ取得部121が所定期間に取得した複数の開眼度の平均値又は最頻値は、0%であるとして説明する。図4の左端に示すドライバの状態は、0%の開眼度に対応するドライバの状態である。第1判定部122は、ドライバの状態を「不安全状態(居眠り)」と判定する(図4の表の左から2番目)。
FIG. 4 is a diagram for explaining a case where the
図4の表の左から3番目は、判定後に撮像された撮像画像である。第2判定部125は、第1判定部122の判定後に撮像された撮像画像を解析することにより、開眼度を30%と検出する(図4の表の左から4番目)。第2判定部125は、検出した開眼度(30%)が第2判定閾値(40%)よりも小さいので、撮像画像中のドライバの状態が居眠りをしている不安全状態であると判定する(図4の表の左から5番目)。続いて、第2判定部125は、撮像画像中のドライバが居眠りをしている不安全状態であるので、撮像画像を記憶させると判定する(図4の表の左から6番目)。そして、記憶制御部126は、第2判定部125が判定した対象の撮像画像(図4における「判定後に撮像された撮像画像」)を記憶部11に記憶させる。
The third from the left in the table of FIG. 4 is an captured image captured after the determination. The
このようにすることで、画像記憶制御装置1は、不安全状態であると判定してから撮像画像を生成するまでの時間的なずれにより、ドライバの状態が変化したとしても、判定後のドライバの状態が不安全状態であるとみなせる撮像画像を記憶させることができる。そのため、画像記憶制御装置1は、第2判定部125が第1判定閾値で開眼度を判定する場合よりも多くの撮像画像を記憶させることができる。
By doing so, even if the state of the driver changes due to a time lag between the determination that the image storage control device 1 is in an unsafe state and the generation of the captured image, the driver after the determination is made. It is possible to store a captured image that can be regarded as an unsafe state. Therefore, the image storage control device 1 can store more captured images than when the
記憶制御部126は、撮像画像を外部装置4の記憶部41に記憶させることができる。例えば、記憶制御部126は、第2判定部125が同じ状態であると判定した対象の撮像画像を外部装置4に送信することにより、外部装置4の記憶部41に記憶させる。具体的には、記憶制御部126は、不安全状態であると判定したことを示す判定情報を、撮像画像に関連付けて外部装置4に送信する。このようにすることで、画像記憶制御装置1は、ドライバが不安全状態である撮像画像のみを送信できるので、通信量を低減できる。また、ドライバを管理する管理者は、ドライバが不安全状態であった証拠となる撮像画像を確認しながらドライバを指導することができる。
The
また、記憶制御部126は、判定情報を撮像画像に関連付けて外部装置4に送信してもよい。例えば、記憶制御部126は、複数の不安全状態の各々に対応する判定条件のうち、状態データが満たした判定条件に対応する不安全状態であると判定したことを示す判定情報を、撮像画像に関連付けて外部装置4に送信する。具体的には、記憶制御部126は、居眠りをしている不安全状態であると判定したことを示す判定情報を、撮像画像に関連付けて外部装置4に送信する。このようにすることで、管理者は、判定情報と、撮像画像とを照らし合わせて、同じ不安全状態であったかどうかを確認できるので、ドライバの指導がしやすくなる。
Further, the
また、記憶制御部126は、撮像画像中のドライバの状態が、第1判定部122が判定した不安全状態と同じ不安全状態でないと第2判定部125が判定した場合、不安全状態であると判定したことを示す判定情報のみを外部装置4に送信してもよい。具体的には、記憶制御部126は、複数の判定条件のうち、状態データが満たした判定条件に対応する不安全状態であると判定したことを示す判定情報を外部装置4に送信する。このようにすることで、記憶制御部126は、撮像画像中のドライバが正常状態である場合に撮像画像を送信しないので、通信量を低減できる。また、管理者は、ドライバが不安全状態であったことを少なくとも確認でき、ドライバが不安全状態でない画像を見ることが無くなるので、撮像画像を確認する際の手間を低減できる。
Further, the
[画像記憶制御装置1が実行する撮像画像を記憶させる処理]
図5は、撮像画像を記憶させる処理の流れの一例を示すフローチャートである。まず、状態データ取得部121は、検出装置3からドライバの顔の状態を示す状態データを取得する(ステップS1)。具体的には、状態データ取得部121は、顔の状態を示す状態データとして開眼度を順次取得する。
[Process for storing the captured image executed by the image storage control device 1]
FIG. 5 is a flowchart showing an example of the flow of processing for storing the captured image. First, the state
続いて、第1判定部122は、状態データ取得部121が取得した複数の状態データに基づいてドライバが不安全状態であるか否かを判定する(ステップS2)。例えば、第1判定部122は、複数の状態データが、複数の不安全状態の各々に対応する判定条件を満たすか否かを判定することにより、当該判定条件に対応する不安全状態であるか否かを判定する。具体的には、第1判定部122は、開眼度が判定閾値よりも小さい居眠り状態が、居眠りとみなせる時間継続した場合、ドライバが居眠りをしている不安全状態であると判定する。画像記憶制御装置1は、第1判定部122が不安全状態でないと判定した場合(ステップS2でNo)、ステップS1に移行する。
Subsequently, the
指示出力部123は、第1判定部122が不安全状態であると判定した場合(ステップS2でYes)、撮像装置2に撮像画像を生成する指示を出力する(ステップS3)。この場合、撮像装置2は、指示出力部123から指示を受信すると撮像画像を生成し、生成した撮像画像を画像記憶制御装置1に出力する。そして、画像取得部124は、撮像装置2が生成した撮像画像を取得する(ステップS4)。具体的には、画像取得部124は、ドライバが不安全状態であると第1判定部122が判定した後に撮像されたドライバの顔を含む撮像画像を取得する。
When the
第2判定部125は、画像取得部124が取得した撮像画像中のドライバの状態が、第1判定部122が判定した不安全状態と同じ状態であるか否かを判定する(ステップS5)。例えば、第2判定部125は、撮像画像中のドライバが居眠りをしている不安全状態である場合、第1判定部122が判定した不安全状態が居眠りをしている不安全状態であるか否かを判定する。
The
記憶制御部126は、撮像画像中のドライバの状態が、第1判定部122が判定した不安全状態と同じ不安全状態であると第2判定部125が判定した場合(ステップS5でYes)、第2判定部125が判定した対象の撮像画像を記憶部11に記憶させる(ステップS6)。そして、記憶制御部126は、記憶した撮像画像を外部装置4に送信することにより、外部装置4の記憶部41に記憶させる(ステップS7)。具体的には、記憶制御部126は、不安全状態であると判定したことを示す判定情報を撮像画像に関連付けて外部装置4に送信する。
When the
記憶制御部126は、撮像画像中のドライバの状態が、第1判定部122が判定した不安全状態と同じ不安全状態でないと第2判定部125が判定した場合(ステップS5でNo)、不安全状態であると判定したことを示す判定情報のみを外部装置4に送信する(ステップS8)。例えば、記憶制御部126は、居眠りをしている不安全状態であると判定したことを示す判定情報を外部装置4に送信する。
When the
(変形例)
状態データ取得部121は、状態データとして顔向き角度を取得してもよい。この場合、第1判定部122は、顔向き角度の絶対値が判定角度以上である場合、ドライバが不安全状態であると判定する。判定角度は例えば20度である。具体的には、第1判定部122は、顔向き角度の絶対値が判定角度以上である状態が、脇見とみなせる時間継続した場合、脇見をしている不安全状態であると判定する。
(Modification example)
The state
第2判定部125は、第1判定部122が不安全状態であると判定した後に撮像された撮像画像から、顔の状態として顔向き角度を検出する。具体的には、第2判定部125は、基準方向である車両の進行方向前方に対する顔向き角度を検出する。そして、第2判定部125は、検出した顔向き角度の絶対値が判定角度以上であるか否かを判定することにより、ドライバが脇見をしている不安全状態であるか否かを判定する。
The
第2判定部125は、第1判定部122が脇見をしている不安全状態であると判定し、撮像画像中のドライバの状態が脇見をしている不安全状態である場合、同じ不安全状態であると判定する。そして、記憶制御部126は、第2判定部125が判定した対象の撮像画像を記憶させる。このように、画像記憶制御装置1は、開眼度だけでなく顔の向きに基づいて、ドライバが不安全状態である撮像画像を記憶させることができる。
The
なお、画像記憶制御装置1は、顔の位置に基づいてドライバが不安全状態であるか否かを判定し、不安全状態である撮像画像を記憶させてもよい。例えば、第1判定部122は、状態データ取得部121が取得した顔の位置が、所定範囲内に含まれていない場合、ドライバが不安全状態であると判定する。第2判定部125は、撮像画像中のドライバの顔の位置を検出し、検出した顔の位置が所定範囲内に含まれていない場合、第1判定部122が判定した不安全状態と同じ不安全状態であると判定する。
The image storage control device 1 may determine whether or not the driver is in an unsafe state based on the position of the face, and store the captured image in the unsafe state. For example, the
[実施の形態に係る画像記憶制御装置1の効果]
以上説明したとおり、画像記憶制御装置1は、車両のドライバの顔の状態を示す状態データを検出装置3から順次取得し、取得した複数の状態データに基づいて、ドライバが不安全状態であるか否かを判定する。続いて、画像記憶制御装置1は、ドライバが不安全状態であると判定した後に撮像されたドライバの顔を含む撮像画像中のドライバの状態が、不安全状態と同じ状態であるか否かを判定する。そして、画像記憶制御装置1は、撮像画像中のドライバの状態が、複数の状態データに基づいて判定した不安全状態と同じ状態であると判定した場合、判定した対象の撮像画像を記憶部11に記憶させる。
[Effect of image storage control device 1 according to the embodiment]
As described above, the image storage control device 1 sequentially acquires state data indicating the state of the driver's face of the vehicle from the detection device 3, and based on the acquired plurality of state data, is the driver in an unsafe state? Judge whether or not. Subsequently, the image storage control device 1 determines whether or not the state of the driver in the captured image including the driver's face imaged after determining that the driver is in the unsafe state is the same as the unsafe state. judge. Then, when the image storage control device 1 determines that the state of the driver in the captured image is the same as the unsafe state determined based on the plurality of state data, the image storage control device 1 stores the determined captured image of the target in the
このようにすることで、画像記憶制御装置1は、不安全状態であると判定してから撮像画像を生成するまでの時間的なずれにより、ドライバの状態が変化したとしても、判定後のドライバの状態が不安全状態である撮像画像を記憶させることができる。つまり、画像記憶制御装置1は、判定後のドライバの状態が、不安全状態である撮像画像のみを記憶させ、不安全状態でない撮像画像を記憶させない。その結果、ドライバを管理する管理者は、ドライバが不安全状態であった証拠となる撮像画像のみを確認しながらドライバを指導することができる。 By doing so, even if the state of the driver changes due to a time lag between the determination that the image storage control device 1 is in an unsafe state and the generation of the captured image, the driver after the determination is made. It is possible to store the captured image in which the state of is unsafe. That is, the image storage control device 1 stores only the captured image in which the driver state after the determination is in the unsafe state, and does not store the captured image in the non-safe state. As a result, the administrator who manages the driver can instruct the driver while checking only the captured image which is evidence that the driver is in an unsafe state.
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の全部又は一部は、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を併せ持つ。 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 can be made within the scope of the gist thereof. be. For example, all or a part of the device can be functionally or physically distributed / integrated in any unit. Also included in the embodiments of the present invention are new embodiments resulting from any combination of the plurality of embodiments. The effect of the new embodiment produced by the combination also has the effect of the original embodiment.
1 画像記憶制御装置
10 通信部
11 記憶部
12 制御部
121 状態データ取得部
122 第1判定部
123 指示出力部
124 画像取得部
125 第2判定部
126 記憶制御部
2 撮像装置
3 検出装置
4 外部装置
41 記憶部
S 画像記憶制御システム
1 Image
Claims (6)
前記状態データ取得部が取得した複数の前記状態データに基づいて、前記ドライバが不安全状態であるか否かを判定する第1判定部と、
前記ドライバが前記不安全状態であると前記第1判定部が判定した後に撮像された前記ドライバの顔を含む撮像画像を取得する画像取得部と、
前記画像取得部が取得した前記撮像画像に含まれる前記ドライバの状態が、前記第1判定部が判定した前記不安全状態と同じ状態であるか否かを判定する第2判定部と、
前記不安全状態と同じ状態であると前記第2判定部が判定した場合、前記第2判定部が判定した対象の前記撮像画像を記憶部に記憶させる記憶制御部と、
を備える画像記憶制御装置。 A state data acquisition unit that sequentially acquires state data indicating the state of the vehicle driver's face from the detection device,
A first determination unit that determines whether or not the driver is in an unsafe state based on a plurality of the state data acquired by the state data acquisition unit.
An image acquisition unit that acquires an image including the driver's face imaged after the first determination unit determines that the driver is in the unsafe state.
A second determination unit that determines whether or not the state of the driver included in the captured image acquired by the image acquisition unit is the same as the unsafe state determined by the first determination unit.
When the second determination unit determines that the state is the same as the unsafe state, the storage control unit stores the captured image of the target determined by the second determination unit in the storage unit.
An image storage control device comprising.
請求項1に記載の画像記憶制御装置。 The storage control unit stores the determination information indicating that the first determination unit has determined that the state is unsafe in the storage unit in association with the captured image of the target determined by the second determination unit. ,
The image storage control device according to claim 1.
前記記憶制御部は、当該判定条件に対応する不安全状態であると前記第1判定部が判定したことを示す前記判定情報を、前記撮像画像に関連付けて前記記憶部に記憶させる、
請求項2に記載の画像記憶制御装置。 When the plurality of state data satisfy the determination conditions corresponding to each of the plurality of unsafe states, the first determination unit determines that the state data is an unsafe state corresponding to the determination conditions.
The storage control unit stores the determination information indicating that the first determination unit has determined that it is in an unsafe state corresponding to the determination condition in the storage unit in association with the captured image.
The image storage control device according to claim 2.
請求項1から3のいずれか一項に記載の画像記憶制御装置。 By transmitting the captured image to the external device, the storage control unit stores the captured image in the storage unit of the external device.
The image storage control device according to any one of claims 1 to 3.
前記第1判定部は、前記開眼度が第1判定閾値よりも小さい場合、前記ドライバが前記不安全状態であると判定し、
前記第2判定部は、前記撮像画像中の前記ドライバの開眼度が、第1判定閾値よりも大きい第2判定閾値よりも小さい場合、前記第1判定部が判定した前記不安全状態と同じ不安全状態であると判定する、
請求項1から4のいずれか一項に記載の画像記憶制御装置。 The state data acquisition unit acquires the degree of eye opening of the driver as the state data, and obtains the degree of eye opening of the driver.
When the degree of eye opening is smaller than the first determination threshold value, the first determination unit determines that the driver is in the unsafe state.
When the degree of eye opening of the driver in the captured image is smaller than the second determination threshold value, which is larger than the first determination threshold value, the second determination unit is the same as the unsafe state determined by the first determination unit. Judge as safe,
The image storage control device according to any one of claims 1 to 4.
車両のドライバの顔の状態を示す状態データを検出装置から順次取得するステップと、
取得した複数の前記状態データに基づいて、前記ドライバが不安全状態であるか否かを判定するステップと、
前記ドライバが前記不安全状態であると判定した後に撮像された前記ドライバの顔を含む撮像画像を取得するステップと、
取得した前記撮像画像に含まれる前記ドライバの状態が、前記不安全状態と同じ状態であるか否かを判定するステップと、
前記不安全状態と同じ状態であると判定した場合、判定した対象の前記撮像画像を記憶部に記憶させるステップと、
を実行する画像記憶制御方法。 The computer processor
A step of sequentially acquiring state data indicating the state of the driver's face of the vehicle from the detection device, and
A step of determining whether or not the driver is in an unsafe state based on the acquired plurality of the state data, and
A step of acquiring an image including the driver's face captured after the driver determines that the driver is in an unsafe state, and
A step of determining whether or not the state of the driver included in the acquired captured image is the same as the unsafe state, and
When it is determined that the state is the same as the unsafe state, the step of storing the captured image of the determined target in the storage unit and
Image memory control method to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020048576A JP7392536B2 (en) | 2020-03-19 | 2020-03-19 | Image storage control device and image storage control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020048576A JP7392536B2 (en) | 2020-03-19 | 2020-03-19 | Image storage control device and image storage control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021149488A true JP2021149488A (en) | 2021-09-27 |
JP7392536B2 JP7392536B2 (en) | 2023-12-06 |
Family
ID=77848925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020048576A Active JP7392536B2 (en) | 2020-03-19 | 2020-03-19 | Image storage control device and image storage control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7392536B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008210375A (en) * | 2007-02-01 | 2008-09-11 | Denso Corp | Driver control device and operation control system |
WO2013035704A1 (en) * | 2011-09-05 | 2013-03-14 | 富山県 | Dozing-off detection method and device |
JP2019091205A (en) * | 2017-11-14 | 2019-06-13 | アイシン精機株式会社 | On-vehicle alarm device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011043961A (en) | 2009-08-20 | 2011-03-03 | Toyota Motor Corp | Driver monitoring device |
-
2020
- 2020-03-19 JP JP2020048576A patent/JP7392536B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008210375A (en) * | 2007-02-01 | 2008-09-11 | Denso Corp | Driver control device and operation control system |
WO2013035704A1 (en) * | 2011-09-05 | 2013-03-14 | 富山県 | Dozing-off detection method and device |
JP2019091205A (en) * | 2017-11-14 | 2019-06-13 | アイシン精機株式会社 | On-vehicle alarm device |
Also Published As
Publication number | Publication date |
---|---|
JP7392536B2 (en) | 2023-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6573193B2 (en) | Determination device, determination method, and determination program | |
JP4915413B2 (en) | Detection apparatus and method, and program | |
JP2008512153A (en) | Method and apparatus for generating personal alert level indications | |
Lawanont et al. | Neck posture monitoring system based on image detection and smartphone sensors using the prolonged usage classification concept | |
CN114283494A (en) | Early warning method, device, equipment and storage medium for user falling | |
EP3249919A1 (en) | Image processing apparatus, image processing method, and program | |
US8644625B2 (en) | Object detection device, method and program | |
US20240040352A1 (en) | Information processing system, program, and information processing method | |
KR20160062521A (en) | System and method for preventing neck disc | |
US20190180126A1 (en) | State estimation apparatus, method, and non-transitory recording medium | |
JP2021149488A (en) | Image storage control device and image storage control method | |
TWI598258B (en) | Driving behavior detection method and system thereof | |
JP2020194227A (en) | Face hiding determination device, face hiding determination method, face hiding determination program, and occupant monitoring system | |
JP6590386B1 (en) | Image processing apparatus, image processing system, and image processing program | |
JP2021129700A (en) | Reference value determination device and reference value determination method | |
WO2022113275A1 (en) | Sleep detection device and sleep detection system | |
JP2018130342A (en) | Wakefulness estimation device, wakefulness estimation method and wakefulness estimation system | |
JP2019080809A (en) | State estimation apparatus | |
JP2007301087A (en) | Visual line direction detection method or apparatus for vehicle driver | |
JPH11161798A (en) | Vehicle driver monitoring device | |
JP2018142137A (en) | Information processing device, information processing method and program | |
JPH06255388A (en) | Drive state detecting device | |
JPWO2020157989A1 (en) | Alertness estimation device, alertness estimation method, and program | |
JPWO2020255238A1 (en) | Information processing equipment, programs and information processing methods | |
US11961395B2 (en) | Driving assistance device, driving assistance method, and storage medium in which program is stored |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220330 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230227 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230307 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230501 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230711 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230905 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20230905 |
|
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: 20231024 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231106 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7392536 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |