JP2020160891A - Recording device - Google Patents

Recording device Download PDF

Info

Publication number
JP2020160891A
JP2020160891A JP2019060716A JP2019060716A JP2020160891A JP 2020160891 A JP2020160891 A JP 2020160891A JP 2019060716 A JP2019060716 A JP 2019060716A JP 2019060716 A JP2019060716 A JP 2019060716A JP 2020160891 A JP2020160891 A JP 2020160891A
Authority
JP
Japan
Prior art keywords
vehicle
recording
protection
unit
image
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
Application number
JP2019060716A
Other languages
Japanese (ja)
Other versions
JP7213119B2 (en
Inventor
拓磨 清水
Takuma Shimizu
拓磨 清水
亮太 川見
Ryota Kawami
亮太 川見
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.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2019060716A priority Critical patent/JP7213119B2/en
Publication of JP2020160891A publication Critical patent/JP2020160891A/en
Application granted granted Critical
Publication of JP7213119B2 publication Critical patent/JP7213119B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Traffic Control Systems (AREA)

Abstract

To provide a drive recorder that can suppress an image to be preferentially protected from being deleted.SOLUTION: In a drive recorder 20, an abetting determination unit 22 determines whether or not a vehicle receives abetting driving on the basis of a vehicle peripheral image 10A generated by a camera 10, and when the vehicle is determined to receive the abetting driving, a recording control unit 23 allows a recording unit 29 to record a recording target image 51 generated in a protection period including a time determined to receive the abetting driving, and to protect the recording target image 51, and a priority determination unit 24 determines a protection priority 33 of the recording target image 51 on the basis of an inter-vehicle distance, and when the recording control unit 23 determines protection release for at least one of the recording target images 51, a selection unit selects the recording target image 51 to be released for protection on the basis of the protection priority 33 corresponding to the recording target image 51.SELECTED DRAWING: Figure 2

Description

本発明は、移動体に搭載されたカメラにより生成された画像を記録する記録装置に関する。 The present invention relates to a recording device that records an image generated by a camera mounted on a moving body.

走行中の車両は、他車両から極端に車間距離を詰められたり、執拗にクラクションを鳴らされたりすることがある。他車両によるこれらの行為は、煽り運転と呼ばれている。 A running vehicle may be extremely close to another vehicle or may be honked relentlessly. These actions by other vehicles are called road rage.

特許文献1は、煽り運転をする車両の画像を記録するドライブレコーダを開示している。車両が、他車両から受けた煽り運転を原因とした交通事故を起こした場合、車両に搭載された記録装置に記録された画像を、煽り運転を受けた証拠として提出できる。 Patent Document 1 discloses a drive recorder that records an image of a vehicle that is driving in a fan. When a vehicle causes a traffic accident caused by driving by driving from another vehicle, the image recorded on the recording device mounted on the vehicle can be submitted as evidence of driving by driving.

記録装置が、車両が煽り運転を受けと判定するたびに、カメラにより生成された画像を記録した場合、記録装置の記録容量が圧迫される。記録容量の圧迫を解消するために、記録装置が、記録された画像のうち記録時刻の古い画像を優先的に消去することが考えられる。しかし、消去する画像が記録時刻に基づいて選択された場合、煽り運転を記録した画像のうち保護すべき画像が消去される虞がある。 If the recording device records an image generated by the camera each time the vehicle determines that the vehicle is driving, the recording capacity of the recording device is compressed. In order to relieve the pressure on the recording capacity, it is conceivable that the recording device preferentially erases the image having the old recording time among the recorded images. However, when the image to be erased is selected based on the recording time, there is a risk that the image to be protected among the images recording the driving operation may be erased.

特開2018−112892号公報JP-A-2018-112892

上記問題点に鑑み、本発明は、優先的に保護すべき画像が消去されることを抑制できる記録装置を提供することを目的とする。 In view of the above problems, an object of the present invention is to provide a recording device capable of suppressing erasure of an image to be protected preferentially.

上記課題を解決するため、第1の発明は、記録装置であって、煽り判断部と、記録制御部と、優先度決定部と、選択部とを備える。煽り判断部は、第1車両に搭載されたカメラにより生成された車両周辺画像に基づいて、第1車両が第2車両から受ける煽り運転を受けているか否かを判断する。第1車両が煽り運転を受けていると煽り判断部により判断された場合、記録制御部は、生成された車両周辺画像のうち、煽り運転を受けていると判断された時刻を含む保護期間において生成された記録対象画像を記録部に記録し、記録部に記録された記録対象画像を保護する。優先度決定部は、煽り運転を受けていると判断された期間における第1車両から第2車両までの距離に基づいて、記録対象画像の保護優先度を決定する。記録制御部が記録部に記録された複数の記録対象画像の少なくとも1つの保護を解除すると判断した場合、選択部は、複数の記録対象画像に対応する複数の保護優先度に基づいて、複数の記録対象画像のうち保護を解除する記録対象画像を選択し、選択した記録対象画像を記録制御部に通知する。 In order to solve the above problems, the first invention is a recording device, which includes a fanning determination unit, a recording control unit, a priority determination unit, and a selection unit. The fanning determination unit determines whether or not the first vehicle is receiving the fanning driving received from the second vehicle based on the vehicle peripheral image generated by the camera mounted on the first vehicle. When it is determined by the driving judgment unit that the first vehicle is being driven, the recording control unit is in the protection period including the time when it is determined that the first vehicle is being driven. The generated recording target image is recorded in the recording unit, and the recording target image recorded in the recording unit is protected. The priority determination unit determines the protection priority of the image to be recorded based on the distance from the first vehicle to the second vehicle during the period determined to be under the driving. When the recording control unit determines that the protection of at least one of the plurality of recording target images recorded in the recording unit is released, the selection unit may perform a plurality of protection priorities based on the plurality of protection priorities corresponding to the plurality of recording target images. The recording target image whose protection is to be released is selected from the recording target images, and the selected recording target image is notified to the recording control unit.

第1の発明によれば、煽り運転を受けている期間における車間距離に基づいて、当該煽り運転を記録した記録対象画像の優先度が決定される。選択部は、記録対象画像の優先度に基づいて、保護を解除する記録対象画像を決定する。これにより、優先的に保護すべき記録対象画像が消去されることを抑制できる。 According to the first invention, the priority of the image to be recorded in which the driving is recorded is determined based on the inter-vehicle distance during the period during which the driving is being performed. The selection unit determines the recording target image to be released from protection based on the priority of the recording target image. As a result, it is possible to prevent the recorded image to be protected from being deleted with priority.

第2の発明は、第1の発明であって、優先度決定部は、煽り判断部が煽り運転を受けていると判断する時に用いられた車両周辺画像に基づいて、距離を特定する。 The second invention is the first invention, in which the priority determination unit specifies the distance based on the vehicle peripheral image used when the driving determination unit determines that the driving is being driven.

第2の発明によれば、第1車両と第2車両との車間距離が、煽り運転が検出された時刻における車両周辺画像に基づいて特定される。これにより、記録装置は、車間距離を計測するための別の装置を備えなくてもよい。 According to the second invention, the inter-vehicle distance between the first vehicle and the second vehicle is specified based on the vehicle peripheral image at the time when the driving is detected. As a result, the recording device does not have to be provided with another device for measuring the inter-vehicle distance.

第3の発明は、第1又は第2の発明であって、さらに、補正部を備える。補正部は、第1車両が煽り運転を受けていると煽り判断部により判断された場合、煽り運転が継続されている継続期間を煽り判断部から取得し、取得した継続期間に基づいて優先度決定部により決定された保護優先度を補正する。選択部は、補正部により補正された保護優先度を用いて、保護を解除する記録対象画像を選択する。 The third invention is the first or second invention, and further includes a correction unit. When the driving judgment unit determines that the first vehicle is being driven, the correction unit acquires the duration of the driving from the driving judgment unit and gives priority based on the acquired duration. Correct the protection priority determined by the determination unit. The selection unit selects the image to be recorded to be released from protection by using the protection priority corrected by the correction unit.

第3の発明によれば、補正部は、煽り運転の継続期間に基づいて保護優先度を補正する。煽り運転の継続時間は、第1車両が執拗な煽り運転を受けたか否かを示す。継続時間を保護優先度の補正に用いることにより、優先的に保護すべき記録対象画像を適切に決定することができる。 According to the third invention, the correction unit corrects the protection priority based on the duration of the driving operation. The duration of the road rage indicates whether or not the first vehicle has undergone relentless road rage. By using the duration to correct the protection priority, it is possible to appropriately determine the recording target image to be protected with priority.

第4の発明は、第3の発明であって、補正部は、継続期間における距離の変化に基づいて、決定された保護優先度を補正する。 The fourth invention is the third invention, in which the amendment unit amends the determined protection priority based on the change in distance over the duration.

第4の発明によれば、第1車両と第2車両との車間距離は、煽り運転の危険度を示す。車間距離を保護優先度の補正に用いることにより、優先的に保護すべき記録対象画像をさらに適切に決定することができる。 According to the fourth invention, the inter-vehicle distance between the first vehicle and the second vehicle indicates the degree of danger of driving in a hurry. By using the inter-vehicle distance to correct the protection priority, it is possible to more appropriately determine the image to be recorded to be protected with priority.

第5の発明は、第1〜第4の発明のいずれかであって、さらに、車両特定部と、補正部とを備える。第1車両が第2車両から煽り運転を受けていると煽り判断部により判断された場合、車両特定部は、第2車両を生成された車両周辺画像から特定できるか否かを判断する。補正部は、車両特定部の判断結果に基づいて、優先度決定部により決定された保護優先度を補正する。選択部は、補正部により補正された保護優先度を用いて、保護を解除する記録対象画像を選択する。 The fifth invention is any one of the first to fourth inventions, and further includes a vehicle identification unit and a correction unit. When the fanning determination unit determines that the first vehicle is being driven by the second vehicle, the vehicle identification unit determines whether or not the second vehicle can be identified from the generated vehicle peripheral image. The correction unit corrects the protection priority determined by the priority determination unit based on the determination result of the vehicle identification unit. The selection unit selects the image to be recorded to be released from protection by using the protection priority corrected by the correction unit.

第5の発明によれば、煽り運転を行った車両を特定する車両特定情報が取得された場合、当該車両を記録した車両対象画像が優先的に保護される。車両特定情報は、例えば、車両のナンバープレートや、車両の運転者の画像である。これにより、煽り運転を行った車両を特定できる車両周辺画像を優先的に保護できる。 According to the fifth invention, when the vehicle identification information that identifies the vehicle that has been driven by the fan is acquired, the vehicle target image that records the vehicle is preferentially protected. The vehicle identification information is, for example, a license plate of the vehicle or an image of the driver of the vehicle. As a result, it is possible to preferentially protect the image around the vehicle that can identify the vehicle that has been driven by driving.

第6の発明は、第1〜第5の発明のいずれかであって、さらに、補正部を備える。補正部は、第1車両の状態に基づいて、優先度決定部により決定された保護優先度を補正する。選択部は、補正部により補正された保護優先度を用いて、保護を解除する記録対象画像を選択する。 The sixth invention is any one of the first to fifth inventions, and further includes a correction unit. The correction unit corrects the protection priority determined by the priority determination unit based on the state of the first vehicle. The selection unit selects the image to be recorded to be released from protection by using the protection priority corrected by the correction unit.

第6の発明によれば、煽り運転の危険度は第1車両の状態によっても変化する。補正部が、第1車両の状態を保護優先度の補正に用いることにより、優先的に保護すべき記録対象画像を適切に決定することができる。 According to the sixth invention, the risk level of the driving is also changed depending on the state of the first vehicle. By using the state of the first vehicle for the correction of the protection priority, the correction unit can appropriately determine the image to be recorded to be protected preferentially.

第7の発明は、第1車両に搭載されたカメラにより生成された車両周辺画像を記録する記録方法であって、a)ステップと、b)ステップと、c)ステップと、d)ステップとを備える。a)ステップは、カメラにより生成された車両周辺画像に基づいて、第1車両が第2車両から受ける煽り運転を受けているか否かを判断する。b)ステップは、第1車両が煽り運転を受けていると判断された場合、生成された車両周辺画像のうち、煽り運転を受けていると判断された時刻を含む保護期間において生成された記録対象画像を記録部に記録し、記録部に記録された記録対象画像を保護する。c)ステップは、煽り運転を受けていると判断された期間における第1車両から第2車両までの距離に基づいて、記録対象画像の保護優先度を決定する。d)ステップは、記録部に記録された複数の記録対象画像の少なくとも1つの保護が解除される場合、複数の記録対象画像に対応する複数の保護優先度に基づいて、複数の記録対象画像のうち保護を解除する記録対象画像を選択する。 A seventh invention is a recording method for recording a vehicle peripheral image generated by a camera mounted on a first vehicle, which comprises a) step, b) step, c) step, and d) step. Be prepared. a) The step determines whether or not the first vehicle is undergoing the driving driven by the second vehicle based on the vehicle peripheral image generated by the camera. b) The step is a record generated in the protection period including the time when it is determined that the first vehicle is being driven by the driving, among the generated vehicle peripheral images when it is determined that the first vehicle is being driven by the driving. The target image is recorded in the recording unit, and the recording target image recorded in the recording unit is protected. c) The step determines the protection priority of the image to be recorded based on the distance from the first vehicle to the second vehicle during the period determined to be under the driving. d) In the step, when at least one protection of the plurality of recording target images recorded in the recording unit is released, the plurality of recording target images are based on the plurality of protection priorities corresponding to the plurality of recording target images. Select the image to be recorded whose protection is to be released.

第7の発明は、第1の発明に用いられる。 The seventh invention is used in the first invention.

本発明によれば、保護すべき画像が消去されることを抑制できる記録装置を提供することができる。 According to the present invention, it is possible to provide a recording device capable of suppressing the erasure of an image to be protected.

本発明の実施の形態に係る記録装置を搭載する車両の概略図である。It is the schematic of the vehicle which carries the recording apparatus which concerns on embodiment of this invention. 図1に示す記録装置の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the recording apparatus shown in FIG. 図2に示すフラッシュメモリにおける記憶領域の一例を示す図である。It is a figure which shows an example of the storage area in the flash memory shown in FIG. 図1に示す記録装置の動作を示すフローチャートである。It is a flowchart which shows the operation of the recording apparatus shown in FIG. 図1に示す車両と煽り運転を行う車両との位置関係の一例を示す図である。It is a figure which shows an example of the positional relationship between the vehicle shown in FIG. 1 and the vehicle which performs a fanning operation. 図1に示すカメラにより生成されるフレームの一例を示す図である。It is a figure which shows an example of the frame generated by the camera shown in FIG. 図1に示すカメラにより生成されるフレームの他の例を示す図である。It is a figure which shows another example of the frame generated by the camera shown in FIG. 図3に示す優先度テーブルの一例を示す図である。It is a figure which shows an example of the priority table shown in FIG. 図2に示す補正部により参照される補正テーブルの一例を示す図である。It is a figure which shows an example of the correction table referred by the correction part shown in FIG. 図3に示す優先度記録データの一例を示す図である。It is a figure which shows an example of the priority recording data shown in FIG. CPUバス構成を示す図である。It is a figure which shows the CPU bus configuration.

以下、図面を参照し、本発明の実施の形態を詳しく説明する。図中同一又は相当部分には同一符号を付してその説明は繰り返さない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The same or corresponding parts in the drawings are designated by the same reference numerals and the description thereof will not be repeated.

[1.構成]
[1.1.記録装置20の配置]
図1は、本発明の実施形態に係る記録装置を搭載した車両1の概略図である。図1を参照して、車両1は、カメラ10と、記録装置20とを搭載する。図1において、カメラ10及び記録装置20を実線により明確に示している。カメラ10及び記録装置20は、実際には車両1の内部に配置される。
[1. Constitution]
[1.1. Arrangement of recording device 20]
FIG. 1 is a schematic view of a vehicle 1 equipped with a recording device according to an embodiment of the present invention. With reference to FIG. 1, the vehicle 1 is equipped with a camera 10 and a recording device 20. In FIG. 1, the camera 10 and the recording device 20 are clearly shown by solid lines. The camera 10 and the recording device 20 are actually arranged inside the vehicle 1.

以下の説明において、車両1の前方は、車両1の直進方向であって、運転席からステアリングホイールに向かう方向である。車両1の後方は、車両1の前方の反対方向である。 In the following description, the front of the vehicle 1 is a straight direction of the vehicle 1 and is a direction from the driver's seat to the steering wheel. The rear of the vehicle 1 is in the opposite direction to the front of the vehicle 1.

カメラ10は、車両1の後部に設置されたリアカメラである。カメラ10は、車両1の後方の景色を撮影して車両周辺画像10Aを生成する。車両周辺画像10Aは、複数のフレームを含む動画像である。カメラ10は、生成した車両周辺画像10Aを記録装置20に送信する。 The camera 10 is a rear camera installed at the rear of the vehicle 1. The camera 10 captures the scenery behind the vehicle 1 to generate a vehicle peripheral image 10A. The vehicle peripheral image 10A is a moving image including a plurality of frames. The camera 10 transmits the generated vehicle peripheral image 10A to the recording device 20.

記録装置20は、車両1のダッシュボードの近傍に設置される。記録装置20は、車両周辺画像10Aをカメラ10から受け、その受けた車両周辺画像10Aを記憶する。記録装置20は、カメラ10と有線により接続される。なお、記録装置20は、カメラ10と無線通信してもよい。 The recording device 20 is installed near the dashboard of the vehicle 1. The recording device 20 receives the vehicle peripheral image 10A from the camera 10 and stores the received vehicle peripheral image 10A. The recording device 20 is connected to the camera 10 by wire. The recording device 20 may wirelessly communicate with the camera 10.

[1.2.記録装置20の構成]
図2は、図1に示す記録装置20の構成を示す機能ブロック図である。図2を参照して、記録装置20は、画像取得部21と、煽り判断部22と、記録制御部23と、優先度決定部24と、車両特定部25と、車両状態取得部26と、補正部27と、選択部28と、記録部29とを備える。
[1.2. Configuration of recording device 20]
FIG. 2 is a functional block diagram showing the configuration of the recording device 20 shown in FIG. With reference to FIG. 2, the recording device 20 includes an image acquisition unit 21, a fanning determination unit 22, a recording control unit 23, a priority determination unit 24, a vehicle identification unit 25, a vehicle state acquisition unit 26, and the like. A correction unit 27, a selection unit 28, and a recording unit 29 are provided.

画像取得部21は、車両周辺画像10Aをカメラ10から取得し、その取得した車両周辺画像10Aを、煽り判断部22と記録制御部23と車両特定部25とに出力する。具体的には、画像取得部21は、車両周辺画像10Aに含まれるフレーム10Fを取得するたびに、その取得したフレーム10Fを煽り判断部22と記録制御部23と車両特定部25とに出力する。 The image acquisition unit 21 acquires the vehicle peripheral image 10A from the camera 10, and outputs the acquired vehicle peripheral image 10A to the fanning determination unit 22, the recording control unit 23, and the vehicle identification unit 25. Specifically, each time the image acquisition unit 21 acquires the frame 10F included in the vehicle peripheral image 10A, the image acquisition unit 21 outputs the acquired frame 10F to the fanning determination unit 22, the recording control unit 23, and the vehicle identification unit 25. ..

煽り判断部22は、車両周辺画像10Aを画像取得部21から受け、その受けた車両周辺画像10Aに基づいて、車両1が他の車両から煽り運転を受けているか否かを判断する。詳細については後述するが、煽り判断部22は、車両1と、フレーム10Fに含まれる他の車両との車間距離に基づいて、煽り運転を受けているか否かを判断する。 The fanning determination unit 22 receives the vehicle peripheral image 10A from the image acquisition unit 21, and determines whether or not the vehicle 1 is being driven by another vehicle based on the received vehicle peripheral image 10A. Although the details will be described later, the fanning determination unit 22 determines whether or not the vehicle is being driven by fanning based on the distance between the vehicle 1 and another vehicle included in the frame 10F.

煽り判断部22は、煽り運転を受けていると判断した場合、煽り運転を受けていると判断した判断時刻と、車両1と他の車両との車間距離とを含む煽り検出情報31を、記録制御部23及び優先度決定部24に出力する。煽り判断部22は、煽り運転を受けていると判断した場合、フレーム10Fにおける他車両の領域を示す検出領域情報32を車両特定部25に出力する。 When it is determined that the vehicle is being driven, the driving determination unit 22 records the driving detection information 31 including the determination time of determining that the vehicle is being driven and the distance between the vehicle 1 and another vehicle. Output to the control unit 23 and the priority determination unit 24. When it is determined that the vehicle is being driven, the vehicle identification unit 22 outputs the detection area information 32 indicating the region of another vehicle on the frame 10F to the vehicle identification unit 25.

以下の説明において、煽り判断部22が煽り運転を受けていると判断することを、「煽り判断部22が煽り運転を検出する」と記載する場合がある。 In the following description, determining that the fanning determination unit 22 is undergoing the fanning operation may be described as "the fanning determination unit 22 detects the fanning operation".

記録制御部23は、煽り検出情報31を煽り判断部22から受け、その受けた煽り検出情報31から煽り判断時刻を取得する。記録制御部23は、その取得した煽り判断時刻を含む保護期間を設定する。記録制御部23は、カメラ10が生成した車両周辺画像10Aのうち、保護期間に生成された記録対象画像51を記録部29に記録する。記録制御部23は、記録部29に記録された記録対象画像51が上書きされないように保護する。 The recording control unit 23 receives the fanning detection information 31 from the fanning determination unit 22, and acquires the fanning determination time from the received fanning detection information 31. The recording control unit 23 sets a protection period including the acquired fanning determination time. The recording control unit 23 records the recording target image 51 generated during the protection period in the recording unit 29 among the vehicle peripheral images 10A generated by the camera 10. The recording control unit 23 protects the recording target image 51 recorded in the recording unit 29 from being overwritten.

優先度決定部24は、煽り検出情報31を煽り判断部22から受け、その受けた煽り検出情報31に含まれる距離に基づいて記録対象画像51の保護優先度33を決定する。保護優先度33は、記録部29に記録された記録対象画像51のうち、保護を解除する記録対象画像51をするために用いられる。優先度決定部24は、決定された保護優先度33を補正部27に出力する。 The priority determination unit 24 receives the fanning detection information 31 from the fanning determination unit 22, and determines the protection priority 33 of the recording target image 51 based on the distance included in the fanning detection information 31. The protection priority 33 is used to release the protection of the recording target image 51 among the recording target images 51 recorded in the recording unit 29. The priority determination unit 24 outputs the determined protection priority 33 to the correction unit 27.

車両特定部25は、フレーム10Fを画像取得部21から受け、検出領域情報32を煽り判断部22から受ける。車両特定部52は、検出領域情報32を用いて、煽り運転をする車両をフレーム10Fから特定できる否かを判断する。車両特定部25は、煽り運転をする車両の運転者又はナンバープレートを特定できる場合、当該車両を特定できると判断する。車両特定部25は、車両を特定できるか否かを示す特定結果情報34を補正部27に出力する。 The vehicle identification unit 25 receives the frame 10F from the image acquisition unit 21 and the detection area information 32 from the fanning determination unit 22. The vehicle identification unit 52 uses the detection area information 32 to determine whether or not the vehicle to be driven can be identified from the frame 10F. If the vehicle identification unit 25 can identify the driver or license plate of the vehicle to be driven, it determines that the vehicle can be identified. The vehicle identification unit 25 outputs the specific result information 34 indicating whether or not the vehicle can be specified to the correction unit 27.

車両状態取得部26は、車両1の走行状態を示す車両状態情報35を取得する。車両状態情報35は、車両1の速度と、ワイパー駆動信号とを含む。ワイパー駆動信号は、ワイパーが駆動しているか否かを示す。車両状態取得部26は、取得した車両状態情報35を補正部27に出力する。 The vehicle state acquisition unit 26 acquires vehicle state information 35 indicating the running state of the vehicle 1. The vehicle state information 35 includes the speed of the vehicle 1 and the wiper drive signal. The wiper drive signal indicates whether or not the wiper is driven. The vehicle state acquisition unit 26 outputs the acquired vehicle state information 35 to the correction unit 27.

補正部27は、保護優先度33を優先度決定部24から受け、その受けた保護優先度33を補正する。具体的には、補正部27は、煽り運転をする車両を特定できることを示す特定結果情報34を車両特定部25から受けた場合、保護優先度33を高くする。補正部27は、車両状態情報35に含まれるワイパー駆動信号及び車両1の速度の各々に基づいて、保護優先度33を補正する。補正部27は、煽り運転を受けている期間の長さと、煽り運転を受けている期間における車両の接近回数とに基づいて、保護優先度33を補正する。保護優先度33の補正の詳細については、後述する。 The correction unit 27 receives the protection priority 33 from the priority determination unit 24, and corrects the received protection priority 33. Specifically, when the correction unit 27 receives the specific result information 34 indicating that the vehicle to be driven can be specified from the vehicle identification unit 25, the correction unit 27 raises the protection priority 33. The correction unit 27 corrects the protection priority 33 based on each of the wiper drive signal and the speed of the vehicle 1 included in the vehicle state information 35. The correction unit 27 corrects the protection priority 33 based on the length of the period during which the vehicle is being driven and the number of times the vehicle is approaching during the period during which the vehicle is being driven. Details of the correction of the protection priority 33 will be described later.

補正部27は、補正された保護優先度33を記録制御部23に出力する。記録制御部23は、補正された保護優先度33を記録部29に記録する。 The correction unit 27 outputs the corrected protection priority 33 to the recording control unit 23. The recording control unit 23 records the corrected protection priority 33 in the recording unit 29.

選択部28は、記録部29に記録された記録対象画像51の少なくとも1つの保護を解除すると記録制御部23が判断した場合、複数の記録対象画像51に対応する複数の保護優先度33を記録部29から取得する。選択部28は、取得した複数の保護優先度33に基づいて、保護を解除する記録対象画像51を選択する。選択部28は、選択した記録対象画像51を記録制御部23に通知する。記録制御部23は、選択部28から通知された記録対象画像51の保護を解除する。保護を解除された記録対象画像51は、新たに生成された車両周辺画像10Aにより上書きされる。 When the recording control unit 23 determines that the protection of at least one of the recording target images 51 recorded in the recording unit 29 is released, the selection unit 28 records a plurality of protection priorities 33 corresponding to the plurality of recording target images 51. Obtained from part 29. The selection unit 28 selects the recording target image 51 to be released from protection based on the acquired plurality of protection priority 33. The selection unit 28 notifies the recording control unit 23 of the selected recording target image 51. The recording control unit 23 releases the protection of the recording target image 51 notified from the selection unit 28. The recorded target image 51 whose protection has been released is overwritten by the newly generated vehicle peripheral image 10A.

記録部29は、不揮発性の記憶装置であり、メモリコントローラ291と、フラッシュメモリ292とを含む。メモリコントローラ291は、フラッシュメモリ292へのアクセスを制御する。フラッシュメモリ292は、記録対象画像51及び保護優先度33を記憶する記憶媒体である。 The recording unit 29 is a non-volatile storage device, and includes a memory controller 291 and a flash memory 292. The memory controller 291 controls access to the flash memory 292. The flash memory 292 is a storage medium for storing the image to be recorded 51 and the protection priority 33.

[2.記録装置20の動作]
[2.1.動作概略]
図3は、図2に示すフラッシュメモリ292における記憶領域の一例を示す図である。図3を参照して、フラッシュメモリ292は、画像領域41と、管理領域42とを含む。
[2. Operation of recording device 20]
[2.1. Operation outline]
FIG. 3 is a diagram showing an example of a storage area in the flash memory 292 shown in FIG. With reference to FIG. 3, the flash memory 292 includes an image area 41 and a management area 42.

画像領域41は、カメラ10により生成された車両周辺画像10Aを記憶する。図3に示す例では、画像領域41は、記録対象画像51A〜51Eと、一時保存画像52A〜52Fとを記憶している。一時保存画像52A〜52Fは、画像領域41に記憶された車両周辺画像10Aのうち、保護されない画像である。一時保存画像52A〜52Fは、カメラ10により新たに生成された車両周辺画像10Aにより上書きされる。 The image area 41 stores the vehicle peripheral image 10A generated by the camera 10. In the example shown in FIG. 3, the image area 41 stores the recording target images 51A to 51E and the temporarily stored images 52A to 52F. The temporarily stored images 52A to 52F are unprotected images of the vehicle peripheral image 10A stored in the image area 41. The temporarily stored images 52A to 52F are overwritten by the vehicle peripheral image 10A newly generated by the camera 10.

画像領域41は、リングバッファである。記録制御部23は、画像取得部21から受けた車両周辺画像10Aを、一時保存画像として画像領域41に記憶する。詳細については後述するが、一時保存画像のうち保護期間に対応する画像が、記録対象画像51として保護される。画像領域41の全領域が使用された場合、一時保存画像52A〜52Fが、新たな車両周辺画像10Aにより上書きされる。 The image area 41 is a ring buffer. The recording control unit 23 stores the vehicle peripheral image 10A received from the image acquisition unit 21 in the image area 41 as a temporarily stored image. Although the details will be described later, the image corresponding to the protection period among the temporarily stored images is protected as the recording target image 51. When the entire area of the image area 41 is used, the temporarily stored images 52A to 52F are overwritten by the new vehicle peripheral image 10A.

管理領域42は、画像領域41に記録された記録対象画像51を管理するためのデータを記憶する。具体的には、管理領域42は、優先度テーブル61と補正テーブル62と優先度記録データ63とを記憶する。優先度テーブル61は、記録対象画像51の保護優先度33の決定に用いられる。補正テーブル62は、記録対象画像51の保護優先度33の補正に用いられる。優先度記録データ63は、記録対象画像51の保護に用いられる。 The management area 42 stores data for managing the recording target image 51 recorded in the image area 41. Specifically, the management area 42 stores the priority table 61, the correction table 62, and the priority recording data 63. The priority table 61 is used to determine the protection priority 33 of the recording target image 51. The correction table 62 is used for correcting the protection priority 33 of the image to be recorded 51. The priority recording data 63 is used to protect the image to be recorded 51.

記録制御部23は、煽り判断部22による煽り運転の検出に伴って保護期間を設定した場合、画像領域41に記憶された一時保存画像のうち、保護期間に対応する画像を記録対象画像51として保護する。具体的には、記録制御部23は、記録対象画像51の記憶領域を特定するアドレスと、記録対象画像51の保護優先度とを優先度記録データ63に記録する。つまり、記録制御部23は、保護期間に対応する車両周辺画像10Aを記憶するアドレス空間を優先度記録データ63に記録する。記録制御部23は、優先度記録データ63に記録されたアドレス空間のデータを、上書き対象から除外することにより、記録対象画像51を保護する。 When the recording control unit 23 sets the protection period according to the detection of the fanning operation by the fanning determination unit 22, among the temporarily stored images stored in the image area 41, the image corresponding to the protection period is set as the recording target image 51. Protect. Specifically, the recording control unit 23 records the address for specifying the storage area of the recording target image 51 and the protection priority of the recording target image 51 in the priority recording data 63. That is, the recording control unit 23 records the address space for storing the vehicle peripheral image 10A corresponding to the protection period in the priority recording data 63. The recording control unit 23 protects the recording target image 51 by excluding the data in the address space recorded in the priority recording data 63 from the overwrite target.

画像領域41において、記録対象画像51を記録できるサイズの上限値が予め設定されている。上限値は、例えば、画像領域41の記憶領域の50%である。記録制御部23が、煽り判断部22による煽り運転の検出に伴って保護期間を新たに設定した場合、選択部28は、画像領域41における記録対象画像51のデータサイズの合計値を算出し、算出した合計値が上限値を超えているか否かを判断する。 In the image area 41, an upper limit value of a size that can record the image to be recorded 51 is set in advance. The upper limit is, for example, 50% of the storage area of the image area 41. When the recording control unit 23 newly sets the protection period in association with the detection of the fanning operation by the fanning determination unit 22, the selection unit 28 calculates the total value of the data sizes of the recording target images 51 in the image area 41. It is determined whether or not the calculated total value exceeds the upper limit value.

算出した合計値が上限値を超えている場合、選択部28は、優先度記録データ63を参照して、画像領域41に記録されている記録対象画像51のうち、最も保護優先度の低い記録対象画像51を選択する。選択部28は、選択した記録対象画像51の保護解除を記録制御部23に通知する。記録制御部23は、選択部28から通知された記録対象画像51に関するデータを優先度記録データ63から削除する。通知された記録対象画像51は、一時保存画像として管理されるため、カメラ10により新たに生成された車両周辺画像10Aにより上書きされる。 When the calculated total value exceeds the upper limit value, the selection unit 28 refers to the priority recording data 63, and among the recording target images 51 recorded in the image area 41, the recording having the lowest protection priority. The target image 51 is selected. The selection unit 28 notifies the recording control unit 23 of the release of protection of the selected recording target image 51. The recording control unit 23 deletes the data related to the recording target image 51 notified from the selection unit 28 from the priority recording data 63. Since the notified recording target image 51 is managed as a temporarily stored image, it is overwritten by the vehicle peripheral image 10A newly generated by the camera 10.

このように、記録対象画像51のデータサイズが上限値を超えた場合、記録装置20は、優先度の最も低い記録対象画像の保護を解除する。優先度の高い記録対象画像51の記録が継続されるため、優先的に保護すべき画像が消去されることを抑制できる。 In this way, when the data size of the recording target image 51 exceeds the upper limit value, the recording device 20 releases the protection of the recording target image having the lowest priority. Since the recording of the recording target image 51 having a high priority is continued, it is possible to suppress the deletion of the image to be protected with priority.

[2.2.動作詳細]
図4は、図1に示す記録装置20の動作を示すフローチャートである。図4を参照しながら、記録装置20の動作を詳しく説明する。記録装置20は、車両1のイグニッションスイッチがオンになった場合に図4に示す処理を開始する。
[2.2. Operation details]
FIG. 4 is a flowchart showing the operation of the recording device 20 shown in FIG. The operation of the recording device 20 will be described in detail with reference to FIG. The recording device 20 starts the process shown in FIG. 4 when the ignition switch of the vehicle 1 is turned on.

記録装置20は、画像取得部21により取得された車両周辺画像10Aを一時保存画像として画像領域41に記憶する処理を、図4に示す処理と並行して実行する。 The recording device 20 executes a process of storing the vehicle peripheral image 10A acquired by the image acquisition unit 21 as a temporarily stored image in the image area 41 in parallel with the process shown in FIG.

(煽り運転の検出)
煽り判断部22は、フレーム10Fを画像取得部21から受けるたびに、その受けたフレーム10Fを用いて、車両1が煽り運転を受けているか否かを判断する(ステップS101)。煽り判断部22は、車両1が煽り運転を受けていると判断した場合(ステップS101においてYes)、煽り判断部22は、煽り運転を受けているとの判断に用いたフレーム10Fを用いて、車間距離を取得する(ステップS103)。
(Detection of road rage)
Each time the fanning determination unit 22 receives the frame 10F from the image acquisition unit 21, the fanning determination unit 22 determines whether or not the vehicle 1 is undergoing fanning operation by using the received frame 10F (step S101). When the fanning determination unit 22 determines that the vehicle 1 is undergoing fanning operation (Yes in step S101), the fanning determination unit 22 uses the frame 10F used for determining that the vehicle 1 is undergoing fanning operation. Acquire the inter-vehicle distance (step S103).

煽り判断部22は、煽り運転を受けていると判断した判断時刻と、ステップS103で取得した車間距離とを含む煽り検出情報31を、記録制御部23及び優先度決定部24に出力する。記録制御部23は、煽り検出情報31に含まれる判断時刻を、煽り開始時刻として特定する(ステップS102)。 The fanning determination unit 22 outputs the fanning detection information 31 including the determination time when it is determined that the driver is in the fanning operation and the inter-vehicle distance acquired in step S103 to the recording control unit 23 and the priority determination unit 24. The recording control unit 23 specifies the determination time included in the fanning detection information 31 as the fanning start time (step S102).

以下、図5〜図7を用いて、煽り運転を検出する煽り判断部22の動作を詳しく説明する。図5は、車両1と、煽り運転を行う車両2との位置関係の一例を示す図である。図5は、車両1を基準とした車両2の相対位置の変化を示す。従って、図5において、車両1が見かけ上停止している。車両1及び2は、矢印Aの方向に直進している。以下の説明において、車両1から車両2までの車間距離を、単に「車間距離」と記載する。 Hereinafter, the operation of the fanning determination unit 22 for detecting the fanning operation will be described in detail with reference to FIGS. 5 to 7. FIG. 5 is a diagram showing an example of the positional relationship between the vehicle 1 and the vehicle 2 that performs the road rage. FIG. 5 shows a change in the relative position of the vehicle 2 with respect to the vehicle 1. Therefore, in FIG. 5, the vehicle 1 is apparently stopped. Vehicles 1 and 2 are traveling straight in the direction of arrow A. In the following description, the inter-vehicle distance from vehicle 1 to vehicle 2 is simply referred to as "inter-vehicle distance".

図5を参照して、距離D1は、時刻T1における車間距離である。基準距離Dthは、車両1が煽り運転を受けているか否かを判断するための閾値である。車間距離が基準距離Dthを下回った場合、煽り判断部22は、車両1が煽り運転を受けていると判断する。距離D1が基準距離Dthよりも長いため、煽り判断部22は、時刻T1において、車両1が煽り運転を受けていないと判断する。 With reference to FIG. 5, the distance D1 is the inter-vehicle distance at time T1. The reference distance Dth is a threshold value for determining whether or not the vehicle 1 is being driven by driving. When the inter-vehicle distance is less than the reference distance Dth, the fanning determination unit 22 determines that the vehicle 1 is being driven. Since the distance D1 is longer than the reference distance Dth, the fanning determination unit 22 determines that the vehicle 1 has not been fanned at time T1.

距離D2は、時刻T2における車間距離である。時刻T2は、時刻T1よりも後の時刻である。距離D2が基準距離Dth以下であるため、煽り判断部22は、時刻T2において、車両1が煽り運転を受けていると判断する。 The distance D2 is the inter-vehicle distance at time T2. Time T2 is a time after time T1. Since the distance D2 is equal to or less than the reference distance Dth, the fanning determination unit 22 determines that the vehicle 1 is being driven by the fanning at time T2.

図6は、時刻T1に生成されたフレーム10Fの一例を示す図である。フレーム10Fの原点は、左上頂点である。X軸は、フレーム10Fの横方向を示す。X軸の正方向は、図6において原点から右方向である。Y軸は、フレーム10Fの縦方向を示す。Y軸の正方向は、図6において原点から下方向である。基準線Lthは、図5に示す基準距離Dthに対応する。カメラ10に搭載されるレンズの収差によっては、図6に示す基準線Lthは、曲線となる場合がある。 FIG. 6 is a diagram showing an example of the frame 10F generated at the time T1. The origin of the frame 10F is the upper left vertex. The X-axis indicates the lateral direction of the frame 10F. The positive direction of the X-axis is to the right from the origin in FIG. The Y-axis indicates the vertical direction of the frame 10F. The positive direction of the Y-axis is downward from the origin in FIG. The reference line Lth corresponds to the reference distance Dth shown in FIG. The reference line Lth shown in FIG. 6 may be curved depending on the aberration of the lens mounted on the camera 10.

煽り判断部22は、エッジをフレーム10Fから抽出することにより、エッジ画像を生成する。エッジ画像の横方向及び縦方向のサイズは、フレーム10Fの横方向及び縦方向のサイズと同じである。煽り判断部22は、エッジ画像において左右中心軸の方向に位置する矩形状の物体を車両2として検出し、車両2が描かれている領域R21を特定する。 The fanning determination unit 22 generates an edge image by extracting the edge from the frame 10F. The horizontal and vertical sizes of the edge image are the same as the horizontal and vertical sizes of the frame 10F. The fanning determination unit 22 detects a rectangular object located in the direction of the left-right central axis in the edge image as the vehicle 2, and identifies the region R21 in which the vehicle 2 is drawn.

図6において、領域R21は、基準距離Dthを示す基準線Lthよりも上に位置する。つまり、領域R21の下辺のY座標値は、基準線LthのY座標値よりも小さい。この場合、煽り判断部22は、車間距離が基準距離Dthよりも長いため、車両2から煽り運転を受けていると判断しない。 In FIG. 6, the region R21 is located above the reference line Lth indicating the reference distance Dth. That is, the Y coordinate value of the lower side of the region R21 is smaller than the Y coordinate value of the reference line Lth. In this case, the fanning determination unit 22 does not determine that the vehicle 2 is driving the fanning because the inter-vehicle distance is longer than the reference distance Dth.

図7は、時刻T2に生成されたフレームの他の例を示す図である。煽り判断部22は、図7に示す車両周辺画像10Aから生成したエッジ画像から車両2を検出し、車両2が描かれている領域R22を特定する。図7において、基準距離Dthを示す基準線Lthが領域R22を通過している。つまり、領域R22の下辺のY座標値は、基準線LthのY座標値よりも大きい。車間距離が基準距離Dthよりも短いため、煽り判断部22は、車両2から煽り運転を受けていると判断する。 FIG. 7 is a diagram showing another example of the frame generated at time T2. The fanning determination unit 22 detects the vehicle 2 from the edge image generated from the vehicle peripheral image 10A shown in FIG. 7, and identifies the region R22 in which the vehicle 2 is drawn. In FIG. 7, the reference line Lth indicating the reference distance Dth passes through the region R22. That is, the Y coordinate value of the lower side of the region R22 is larger than the Y coordinate value of the reference line Lth. Since the inter-vehicle distance is shorter than the reference distance Dth, the fanning determination unit 22 determines that the vehicle 2 is driving the vehicle.

煽り判断部22は、車両2が描かれている領域の下辺のY座標値が基準線LthのY座標値よりも大きい状態が継続する期間を、煽り運転の検出期間として特定する。 The fanning determination unit 22 specifies a period in which the Y coordinate value of the lower side of the area where the vehicle 2 is drawn continues to be larger than the Y coordinate value of the reference line Lth as the fanning operation detection period.

車間距離の特定(ステップS103)について説明する。カメラ10は、車両1の後部に固定されている。従って、フレーム10FのY座標値は、車両1の後端面からの距離を示す。煽り判断部22は、車両2が描かれている領域の下辺のY座標値を、煽り運転を検出したフレーム10Fから取得し、取得したY座標値に基づいて車間距離を取得する。煽り運転の検出時刻におけるフレーム41Fを用いて車間距離を特定するため、記録装置20は、車間距離を取得するための装置を別に備えなくてもよい。 The identification of the inter-vehicle distance (step S103) will be described. The camera 10 is fixed to the rear part of the vehicle 1. Therefore, the Y coordinate value of the frame 10F indicates the distance from the rear end surface of the vehicle 1. The fanning determination unit 22 acquires the Y coordinate value of the lower side of the area where the vehicle 2 is drawn from the frame 10F where the fanning driving is detected, and acquires the inter-vehicle distance based on the acquired Y coordinate value. Since the inter-vehicle distance is specified by using the frame 41F at the detection time of the driving, the recording device 20 does not have to be separately provided with a device for acquiring the inter-vehicle distance.

再び、図4を参照して、記録装置20の動作の説明に戻る。煽り判断部22は、フレーム10Fを用いて、車両2による煽り運転の検出が終了したか否かを判断する(ステップS104)。 Again, with reference to FIG. 4, the description of the operation of the recording device 20 is returned. The fanning determination unit 22 uses the frame 10F to determine whether or not the detection of the fanning operation by the vehicle 2 has been completed (step S104).

車両2が描かれている領域の下辺が基準線Lthの下側領域から上側領域へ移動した場合、煽り判断部22は、煽り運転の検出を終了したと判断する(ステップS104においてYes)。記録制御部23は、煽り判断部22から最後に受けた煽り検出情報31に基づいて、煽り終了時刻を特定する(ステップS105)。 When the lower side of the region where the vehicle 2 is drawn moves from the lower region to the upper region of the reference line Lth, the fanning determination unit 22 determines that the detection of the fanning operation has been completed (Yes in step S104). The recording control unit 23 specifies the fanning end time based on the fanning detection information 31 last received from the fanning determination unit 22 (step S105).

車両2が描かれている領域の下辺が基準線Lthよりも下である場合、煽り判断部22は、煽り運転が継続していると判断する(ステップS104においてNo)。この場合、煽り判断部22は、ステップS103に戻る。つまり、煽り判断部22は、煽り運転を検出している場合、車間距離を継続的に取得する。これにより、記録装置20は、煽り運転の検出期間における車間距離の時間変化を取得することができる。 When the lower side of the area where the vehicle 2 is drawn is below the reference line Lth, the fanning determination unit 22 determines that the fanning operation is continuing (No in step S104). In this case, the fanning determination unit 22 returns to step S103. That is, the fanning determination unit 22 continuously acquires the inter-vehicle distance when the fanning driving is detected. As a result, the recording device 20 can acquire the time change of the inter-vehicle distance during the detection period of the driving.

(保護優先度33の決定)
優先度決定部24は、煽り判断部22からの煽り検出情報31の供給が停止した場合、車両2から受けた煽り運転を記録した記録対象画像51の保護優先度33を決定する(ステップS106)。
(Determination of protection priority 33)
When the supply of the fan detection information 31 from the fan determination unit 22 is stopped, the priority determination unit 24 determines the protection priority 33 of the recording target image 51 that records the fan operation received from the vehicle 2 (step S106). ..

図8は、優先度決定部24により用いられる優先度テーブル61の一例を示す図である。図8を参照して、保護優先度33が、車間距離と対応付けられている。保護優先度33は、0から10まで数値である。記録対象画像51の重要度が最も高い場合、保護優先度33は、10である。記録対象画像51の重要度が最も低い場合、保護優先度33は、0である。優先度テーブル61に基づいて設定される保護優先度33の上限値及び下限値は、6及び4である。図4に示すステップS107において保護優先度33が補正されることを考慮しているためである。 FIG. 8 is a diagram showing an example of the priority table 61 used by the priority determination unit 24. With reference to FIG. 8, the protection priority 33 is associated with the inter-vehicle distance. The protection priority 33 is a numerical value from 0 to 10. When the recording target image 51 has the highest importance, the protection priority 33 is 10. When the recording target image 51 has the lowest importance, the protection priority 33 is 0. The upper limit value and the lower limit value of the protection priority 33 set based on the priority table 61 are 6 and 4. This is because it is taken into consideration that the protection priority 33 is corrected in step S107 shown in FIG.

車間距離が5m以上である場合、保護優先度33は6である。車間距離が3m以上5m未満である場合、保護優先度33は5である。車間距離が3m未満である場合、保護優先度33は4である。車間距離が短くなるにつれて、保護優先度33は増加する。車間距離が短くなるにつれて、煽り運転の危険度が増し、交通事故の原因となる可能性が高くなるためである。従って、優先度決定部24は、危険度の高い煽り運転を記録した記録対象画像を優先的に保護するように、保護優先度33を決定する。 When the inter-vehicle distance is 5 m or more, the protection priority 33 is 6. When the inter-vehicle distance is 3 m or more and less than 5 m, the protection priority 33 is 5. If the inter-vehicle distance is less than 3 m, the protection priority 33 is 4. As the inter-vehicle distance decreases, the protection priority 33 increases. This is because as the distance between vehicles becomes shorter, the risk of driving in a hurry increases and the possibility of causing a traffic accident increases. Therefore, the priority determination unit 24 determines the protection priority 33 so as to preferentially protect the recording target image in which the high-risk driving operation is recorded.

優先度決定部24は、煽り運転の検出期間中に受けた煽り検出情報31に含まれる車間距離の中で、最小の車間距離を特定する。優先度決定部24は、優先度テーブル61を参照することにより、特定した車間距離に対応する保護優先度33を決定する。 The priority determination unit 24 specifies the minimum inter-vehicle distance among the inter-vehicle distances included in the fan-driving detection information 31 received during the fan-driving detection period. The priority determination unit 24 determines the protection priority 33 corresponding to the specified inter-vehicle distance by referring to the priority table 61.

(保護優先度33の補正)
図4を参照して、補正部27は、ステップS106により決定された保護優先度33を補正する(ステップS107)。補正部27は、ステップS107において補正された保護優先度33を記録制御部23に出力する。
(Correction of protection priority 33)
With reference to FIG. 4, the correction unit 27 corrects the protection priority 33 determined in step S106 (step S107). The correction unit 27 outputs the protection priority 33 corrected in step S107 to the recording control unit 23.

図9は、補正部27により参照される補正テーブル62の一例を示す図である。図8を参照して、補正部27は、煽り継続時間、接近回数、速度、天候及び車両情報に基づいて、保護優先度33を補正する。 FIG. 9 is a diagram showing an example of the correction table 62 referred to by the correction unit 27. With reference to FIG. 8, the correction unit 27 corrects the protection priority 33 based on the fanning duration, the number of approaches, the speed, the weather, and the vehicle information.

補正部27は、煽り継続時間に基づいて補正値を決定する。具体的には、補正部27は、ステップS102で特定された煽り開始時刻から、ステップS105で特定された煽り終了時刻までの時間を、煽り継続時間として算出する。補正部27は、補正テーブル62を参照して、算出した煽り継続時間に対応する補正値を特定する。例えば、煽り継続時間が1分未満である場合、補正部27は、補正値「−1」を決定する。煽り継続時間が長くなるにつれて、執拗な煽り運転が行われていると考えられる。このため、補正値は、煽り継続時間が長くなるにつれて、保護優先度33が高くなるように補正テーブル62に設定される。継続時間を保護優先度33の補正に用いることにより、優先的に保護すべき記録対象画像51を適切に決定することができる。 The correction unit 27 determines the correction value based on the fanning duration. Specifically, the correction unit 27 calculates the time from the fanning start time specified in step S102 to the fanning end time specified in step S105 as the fanning duration. The correction unit 27 refers to the correction table 62 and specifies a correction value corresponding to the calculated fanning duration. For example, when the fanning duration is less than 1 minute, the correction unit 27 determines the correction value "-1". It is considered that the relentless driving is performed as the duration of the driving becomes longer. Therefore, the correction value is set in the correction table 62 so that the protection priority 33 becomes higher as the fanning duration becomes longer. By using the duration for the correction of the protection priority 33, the recording target image 51 to be protected with priority can be appropriately determined.

補正部27は、煽り運転の検出期間における車両2の接近回数に基づいて、補正値を決定する。具体的には、補正部27は、煽り検出情報31を、優先度決定部24を介して煽り判断部22から取得する。補正部27は、取得した煽り検出情報31に含まれる車間距離を用いて、車間距離の時間変化を取得し、車間距離が減少する期間の出現回数を接近回数としてカウントする。補正部27は、補正テーブル62を参照して、接近回数に対応する補正値を特定する。例えば、接近回数が7回以上である場合、補正部27は、補正値「+2」を決定する。 The correction unit 27 determines the correction value based on the number of approaches of the vehicle 2 during the detection period of the driving. Specifically, the correction unit 27 acquires the fanning detection information 31 from the fanning determination unit 22 via the priority determination unit 24. The correction unit 27 acquires the time change of the inter-vehicle distance by using the inter-vehicle distance included in the acquired fanning detection information 31, and counts the number of appearances in the period during which the inter-vehicle distance decreases as the number of approaches. The correction unit 27 refers to the correction table 62 and specifies a correction value corresponding to the number of approaches. For example, when the number of approaches is 7 or more, the correction unit 27 determines the correction value "+2".

接近回数は、車両2が車間距離を詰める回数である。接近回数が多いほど、煽り運転の悪質性が増すと考えられる。このため、補正値は、接近回数の増加に伴って保護優先度33が高くなるように補正テーブル62に設定される。記録装置20は、車間距離を用いて保護優先度33を補正することにより、優先的に保護すべき記録対象画像51を適切に決定することができる。 The number of approaches is the number of times that the vehicle 2 closes the inter-vehicle distance. It is considered that the more the number of approaches, the more malicious the driving is. Therefore, the correction value is set in the correction table 62 so that the protection priority 33 increases as the number of approaches increases. The recording device 20 can appropriately determine the recording target image 51 to be protected preferentially by correcting the protection priority 33 using the inter-vehicle distance.

補正部27は、煽り運転の検出期間における車両2の速度に基づいて、補正値を決定する。具体的には、補正部27は、車両1の速度を含む車両状態情報35を車両状態取得部26から継続的に取得している。補正部27は、煽り運転の検出期間における車両1の最高速度を特定する。補正部27は、補正テーブル62を参照して、特定した最高速度に対応する補正値を特定する。例えば、最高速度が60km/hである場合、補正部27は、補正値「0」を決定する。 The correction unit 27 determines the correction value based on the speed of the vehicle 2 during the detection period of the driving. Specifically, the correction unit 27 continuously acquires the vehicle state information 35 including the speed of the vehicle 1 from the vehicle state acquisition unit 26. The correction unit 27 specifies the maximum speed of the vehicle 1 during the detection period of the driving. The correction unit 27 refers to the correction table 62 and specifies the correction value corresponding to the specified maximum speed. For example, when the maximum speed is 60 km / h, the correction unit 27 determines the correction value “0”.

煽り運転の危険度は、煽り運転の検出期間における車両1の速度に応じて変化する。例えば、車両1が高速道路の走行中に煽り運転を受けた場合、重大事故が発生する可能性が高くなる。このため、補正値は、速度の増加に伴って保護優先度33が高くなるように補正テーブル62に設定される。記録装置20は、車両1の走行状態に基づいて保護優先度33を補正することにより、優先的に保護すべき記録体操画像51を適切に決定することができる。 The degree of danger of road rage changes according to the speed of the vehicle 1 during the detection period of road rage. For example, if the vehicle 1 is driven while driving on a highway, there is a high possibility that a serious accident will occur. Therefore, the correction value is set in the correction table 62 so that the protection priority 33 increases as the speed increases. The recording device 20 can appropriately determine the recording exercise image 51 to be protected preferentially by correcting the protection priority 33 based on the traveling state of the vehicle 1.

補正部27は、煽り運転の検出期間における天候に基づいて、補正値を決定する。具体的には、補正部27は、車両状態情報35に含まれるワイパー駆動信号が、煽り運転の検出期間においてオンであるか否かを判断する。煽り運転の検出期間においてワイパー駆動信号がオンでる場合、補正部27は、補正値「+1」を特定する。車両1のワイパーが駆動している場合、煽り運転の検出期間の天候は雨であると考えられる。 The correction unit 27 determines the correction value based on the weather during the detection period of the driving. Specifically, the correction unit 27 determines whether or not the wiper drive signal included in the vehicle state information 35 is on during the detection period of the driving. When the wiper drive signal is turned on during the detection period of the driving operation, the correction unit 27 specifies the correction value "+1". When the wiper of the vehicle 1 is driven, the weather during the detection period of the driving is considered to be rain.

雨が降っている期間において車両1が煽り運転を受けた場合、スリップ等により交通事故が発生する可能性が高くなると考えられる。補正値は、雨天時における煽り運転を記録した記録対象画像51の保護優先度が高くなるように補正テーブル62に設定される。記録装置20は、車両1の状態に基づいて保護優先度33を補正することにより、優先的に保護すべき記録体操画像51を適切に決定することができる。 If the vehicle 1 is driven while it is raining, it is considered that there is a high possibility that a traffic accident will occur due to slipping or the like. The correction value is set in the correction table 62 so that the protection priority of the recording target image 51 recording the fanning operation in rainy weather is high. The recording device 20 can appropriately determine the recording exercise image 51 to be protected preferentially by correcting the protection priority 33 based on the state of the vehicle 1.

補正部27は、煽り運転をする車両の車両情報に基づいて、補正値を決定する。具体的には、補正部27は、車両特定部25から受けた特定結果情報34に基づいて、補正値を決定する。 The correction unit 27 determines the correction value based on the vehicle information of the vehicle to be driven. Specifically, the correction unit 27 determines the correction value based on the specific result information 34 received from the vehicle identification unit 25.

特定結果情報34の生成について説明する。車両特定部22は、煽り運転の検出期間において検出領域情報32を煽り判断部22から受ける。例えば、時刻T2における検出領域情報32は、図7に示す車両2が描かれた領域R22を特定する座標値を含む。車両特定部25は、時刻T2における検出領域情報32に基づいて、時刻T2におけるフレーム10Fから領域R22の画像を抽出する。車両特定部25は、画像認識処理を用いて、車両2の運転者及びナンバープレートを、抽出した領域R22の画像から特定できるか否かを判断する。車両特定部25は、車両2の運転者及びナンバープレートの各々を特定できるか否かを示す特定結果情報34を生成し、補正部27に出力する。 The generation of the specific result information 34 will be described. The vehicle identification unit 22 receives the detection area information 32 from the road rage determination unit 22 during the detection period of the road rage. For example, the detection area information 32 at time T2 includes coordinate values that specify the area R22 on which the vehicle 2 shown in FIG. 7 is drawn. The vehicle identification unit 25 extracts an image of the region R22 from the frame 10F at the time T2 based on the detection region information 32 at the time T2. The vehicle identification unit 25 determines whether or not the driver and license plate of the vehicle 2 can be identified from the extracted image of the region R22 by using the image recognition process. The vehicle identification unit 25 generates specific result information 34 indicating whether or not each of the driver and the license plate of the vehicle 2 can be specified, and outputs the specific result information 34 to the correction unit 27.

なお、車両特定部22は、領域R22の画像から人物の顔を検出できた場合、車両2の運転者の特定できたと判断すればよい。 If the vehicle identification unit 22 can detect the face of a person from the image of the area R22, it may determine that the driver of the vehicle 2 has been identified.

特定結果情報34が車両2の運転者を特定できたことを示す場合、補正部27は、補正値「+1」を決定する。特定結果情報34が車両2のナンバープレートを特定できたことを示す場合、補正部27は、補正値「+1」を決定する。車両2のナンバープレート及び運転者の両者が特定された場合、補正部27は、補正値「+2」を決定する。車両2の運転者又はナンバープレートを特定できた場合、記録対象画像51の証拠能力が高いと考えらえる。補正値は、車両2の運転者又はナンバープレートを特定できた場合に保護優先度33が高くなるように設定される。これにより、記録装置22は、煽り運転を行った車両を特定できる車両周辺画像51を優先的に保護できる。 When the specific result information 34 indicates that the driver of the vehicle 2 can be identified, the correction unit 27 determines the correction value "+1". When the specific result information 34 indicates that the license plate of the vehicle 2 can be specified, the correction unit 27 determines the correction value "+1". When both the license plate of the vehicle 2 and the driver are specified, the correction unit 27 determines the correction value "+2". If the driver or license plate of the vehicle 2 can be identified, it is considered that the evidence ability of the image to be recorded 51 is high. The correction value is set so that the protection priority 33 becomes higher when the driver or license plate of the vehicle 2 can be identified. As a result, the recording device 22 can preferentially protect the vehicle peripheral image 51 that can identify the vehicle that has been driven by the fan.

補正部27は、煽り継続時間、接近回数、速度、天候及び車両情報の各々に対応する補正値の合計を算出する。補正部27は、算出した補正値の合計を、ステップS106で決定された保護優先度33に加算することにより、保護優先度33が補正される。 The correction unit 27 calculates the total of the correction values corresponding to each of the fanning duration, the number of approaches, the speed, the weather, and the vehicle information. The correction unit 27 corrects the protection priority 33 by adding the total of the calculated correction values to the protection priority 33 determined in step S106.

(記録対象画像の保護解除)
図4を参照して、記録制御部23は、画像領域41に記録された記録対象画像51のデータサイズが上限値よりも大きいか否かを判断する(ステップS108)。図3に示す例では、記録制御部23は、記録対象画像51A〜51Eのデータサイズの合計を算出し、算出したデータサイズの合計を上限値と比較する。
(Release of protection of recorded image)
With reference to FIG. 4, the recording control unit 23 determines whether or not the data size of the recording target image 51 recorded in the image area 41 is larger than the upper limit value (step S108). In the example shown in FIG. 3, the recording control unit 23 calculates the total data size of the images 51A to 51E to be recorded, and compares the total calculated data size with the upper limit value.

算出したサイズの合計が上限値以下である場合(ステップS108においてNo)、記録制御部23は、煽り運転の検出期間に生成された車両周辺画像10Aを記録対象画像51として保護するために、ステップS111に進む。ステップS111については後述する。 When the total of the calculated sizes is not more than the upper limit value (No in step S108), the recording control unit 23 protects the vehicle peripheral image 10A generated during the detection period of the road rage as the recording target image 51 in the step. Proceed to S111. Step S111 will be described later.

算出したサイズの合計が上限値よりも大きい場合(ステップS108においてNo)、記録制御部23は、画像領域41に記憶されている記録対象画像51の少なくとも1つの保護を解除する必要があると判断する。記録対象画像51のサイズが上限値よりも大きい場合、新たな記録対象画像51を記録部29に記録できない虞があるためである。この場合、選択部28が、管理領域42に記録されている優先度記録データ63に基づいて、保護を解除する記録対象画像を選択する(ステップS109)。 When the total of the calculated sizes is larger than the upper limit value (No in step S108), the recording control unit 23 determines that it is necessary to release the protection of at least one of the recording target images 51 stored in the image area 41. To do. This is because if the size of the recording target image 51 is larger than the upper limit value, a new recording target image 51 may not be recorded in the recording unit 29. In this case, the selection unit 28 selects a recording target image to be released from protection based on the priority recording data 63 recorded in the management area 42 (step S109).

図10は、図3に示す管理領域42に記録される優先度記録データ63の一例を示す図である。図10に示す優先度記録データ63は、図3に示す記録体操画像51A〜51Eの保護に用いられる。優先度記録データ63は、IDと、開始アドレスと、終了アドレスと、記録時刻と、ファイル名とを記録する。IDは、記録対象画像51の各々を一意に特定する識別番号である。開始アドレス及び終了アドレスは、フラッシュメモリ292における記録対象画像51の記憶領域を示す。優先度は、ステップS107で補正された保護優先度33を示す。記録時刻は、煽り運転が最初に検出された時刻を示す。 FIG. 10 is a diagram showing an example of priority recording data 63 recorded in the management area 42 shown in FIG. The priority recording data 63 shown in FIG. 10 is used to protect the recording exercise images 51A to 51E shown in FIG. The priority recording data 63 records an ID, a start address, an end address, a recording time, and a file name. The ID is an identification number that uniquely identifies each of the recording target images 51. The start address and the end address indicate the storage area of the recording target image 51 in the flash memory 292. The priority indicates the protection priority 33 corrected in step S107. The recording time indicates the time when the road rage was first detected.

選択部28は、優先度記録データ63に記録された記録対象画像51のうち、優先度の最も低い記録対象画像51を選択する。図10に示す例では、記録対象画像51Dの保護優先度33が最も低いため、選択部28は、保護の解除対象として記録対象画像51Dを選択し、選択した記録対象画像51Dを記録制御部23に通知する。 The selection unit 28 selects the recording target image 51 having the lowest priority among the recording target images 51 recorded in the priority recording data 63. In the example shown in FIG. 10, since the protection priority 33 of the recording target image 51D is the lowest, the selection unit 28 selects the recording target image 51D as the protection release target, and records the selected recording target image 51D in the recording control unit 23. Notify to.

再び図4を参照して、記録制御部23は、ステップS109で選択された記録対象画像51の保護を解除する(ステップS110)。図10に示す例では、記録対象画像51Dが保護解除対象として選択されるため、記録制御部23は、記録対象画像51Dを記録したレコードを優先度記録データ63から削除する。レコードは、優先度記録データ63において各IDに対応する横一行のデータである。保護が解除された結果、記録対象画像51Dは、一時保存データとして記憶領域に記憶される。なお、記録対象画像51Dは、保護が解除された後に直ちに上書きされるとは限らない。画像領域41はリングバッファであるためである。 With reference to FIG. 4 again, the recording control unit 23 releases the protection of the recording target image 51 selected in step S109 (step S110). In the example shown in FIG. 10, since the recording target image 51D is selected as the protection release target, the recording control unit 23 deletes the record recording the recording target image 51D from the priority recording data 63. The record is a horizontal line of data corresponding to each ID in the priority recording data 63. As a result of the protection being released, the recording target image 51D is stored in the storage area as temporary storage data. The image to be recorded 51D is not always overwritten immediately after the protection is released. This is because the image area 41 is a ring buffer.

ステップS109において、複数の記録対象画像51が、保護の解除対象として選択される場合がある。この場合、選択部28は、選択された複数の記録対象画像51のうち、記録時刻の最も古い記録対象画像51を保護の解除対象として再度選択すればよい。 In step S109, a plurality of recording target images 51 may be selected as protection release targets. In this case, the selection unit 28 may reselect the recording target image 51 having the oldest recording time among the selected plurality of recording target images 51 as the protection release target.

(記録対象画像51の保護)
上述のように、記録装置20は、図4に示す処理と並行して、車両周辺画像10Aを画像領域41に記憶する処理を実行している。記録制御部23は、ステップS111〜S112を実行して、煽り判断部22により検出された煽り運転を撮影した車両周辺画像10Aを、新たな記録対象画像51として保護する。
(Protection of image 51 to be recorded)
As described above, the recording device 20 executes a process of storing the vehicle peripheral image 10A in the image area 41 in parallel with the process shown in FIG. The recording control unit 23 executes steps S111 to S112 to protect the vehicle peripheral image 10A in which the driving driving detected by the driving determination unit 22 is captured as a new recording target image 51.

記録制御部23は、画像領域41における新たな記録対象画像51の記憶領域を、優先度記録データ63に追加する(ステップS111)。具体的には、記録制御部23は、新たなレコードを優先度記録データ63に追加し、新たに追加したレコードにIDを設定する。記録制御部23は、新たに追加されたレコードにおける記録時刻の欄に、煽り開始時刻を書き込む。記録制御部23は、煽り開始時刻に対応するフレーム10Fが記憶されたアドレスを、新たに追加されたレコードの開始アドレスの欄に書き込む。記録制御部23は、煽り終了時刻に対応するフレーム10Fが記憶されたアドレスを、新たに追加されたレコードの終了アドレスの欄に書き込む。記録制御部23は、新たな記録対象画像51のファイル名を決定し、決定したファイル名を新たに追加されたレコードに設定する。 The recording control unit 23 adds a new storage area of the recording target image 51 in the image area 41 to the priority recording data 63 (step S111). Specifically, the recording control unit 23 adds a new record to the priority recording data 63, and sets an ID for the newly added record. The recording control unit 23 writes the fanning start time in the recording time column of the newly added record. The recording control unit 23 writes the address in which the frame 10F corresponding to the fanning start time is stored in the field of the start address of the newly added record. The recording control unit 23 writes the address in which the frame 10F corresponding to the fanning end time is stored in the column of the ending address of the newly added record. The recording control unit 23 determines the file name of the new recording target image 51, and sets the determined file name in the newly added record.

つまり、記録制御部23は、煽り開始時刻から煽り終了時刻までの煽り継続期間を保護期間に設定し、保護期間においてカメラ10により生成された車両周辺画像10Aを記録対象画像51として保護する。 That is, the recording control unit 23 sets the fanning duration from the fanning start time to the fanning end time as the protection period, and protects the vehicle peripheral image 10A generated by the camera 10 as the recording target image 51 during the protection period.

記録制御部23は、ステップS107で補正された保護優先度33を、新たに追加されたレコードに記録する(ステップS112)。これにより、新たに検出された煽り運転に対応する記録対象画像51の保護が終了する。 The recording control unit 23 records the protection priority 33 corrected in step S107 in the newly added record (step S112). As a result, the protection of the recording target image 51 corresponding to the newly detected fanning operation is completed.

ステップS112の後に、記録装置20は、イグニッション信号がオフか否かを判断する(ステップS113)。イグニッション信号がオフである場合(ステップS113においてYes)、記録装置20は、図4に示す処理を終了する。
イグニッション信号がオンである場合(ステップS113においてNo)、記録装置20は、ステップS101に戻り、新たな煽り運転の検出を開始する。
After step S112, the recording device 20 determines whether or not the ignition signal is off (step S113). When the ignition signal is off (Yes in step S113), the recording device 20 ends the process shown in FIG.
When the ignition signal is on (No in step S113), the recording device 20 returns to step S101 and starts detecting a new driving operation.

以上説明したように、記録装置20は、煽り運転を検出した場合、煽り運転の検出期間に生成された車両周辺画像10Aを記録対象画像51として保護する。また、記録装置20は、車間距離に基づいて、記録対象画像51の保護優先度33を決定する。記録対象画像51のデータサイズが上限値を超えた場合、記録装置20は、優先度の最も低い記録対象画像51の保護を解除する。保護優先度33の高い記録対象画像51が消去されることを抑制できる。 As described above, when the recording device 20 detects the driving, the recording device 20 protects the vehicle peripheral image 10A generated during the detection period of the driving as the recording target image 51. Further, the recording device 20 determines the protection priority 33 of the image to be recorded 51 based on the inter-vehicle distance. When the data size of the recording target image 51 exceeds the upper limit value, the recording device 20 releases the protection of the recording target image 51 having the lowest priority. It is possible to prevent the recording target image 51 having a high protection priority 33 from being erased.

[3.変形例]
上記実施の形態において、選択部28は、ステップS109において、記録時刻から予め設定された経過時間を経過していない記録対象画像51を、保護の解除対象から除外してもよい。これにより、最も新しい記録対象画像51が削除されることを抑制できる。
[3. Modification example]
In the above embodiment, in step S109, the selection unit 28 may exclude the recording target image 51 for which the preset elapsed time has not elapsed from the recording time from the protection release target. As a result, it is possible to prevent the newest recording target image 51 from being deleted.

上記実施の形態において、保護期間が、煽り開始時刻から煽り終了時刻までの期間である例を説明したが、これに限られない。記録制御部23は、煽り開始時刻から所定の時間を遡った時刻を保護期間の開始時刻に設定してもよい。あるいは、記録制御部23は、煽り終了時刻から所定の時間を経過した時刻を、保護期間の終了時刻に設定してもよい。 In the above embodiment, an example in which the protection period is a period from the fanning start time to the fanning end time has been described, but the present invention is not limited to this. The recording control unit 23 may set a time retroactively from the fanning start time by a predetermined time as the start time of the protection period. Alternatively, the recording control unit 23 may set a time when a predetermined time has elapsed from the fanning end time as the end time of the protection period.

上記実施の形態において、優先度決定部24が、車両2が描かれている領域の下辺のY座標値に基づいて、保護優先度33を決定する例を説明したが、これに限られない。煽り判断部22は、車両2が描かれている領域がフレーム10Fにおいて占める割合に基づいて、保護優先度33を決定してもよい。この場合、優先度決定部24は、車両2が描かれている領域が占める割合の増加に伴って、保護優先度33を高くすればよい。 In the above embodiment, an example in which the priority determination unit 24 determines the protection priority 33 based on the Y coordinate value of the lower side of the area where the vehicle 2 is drawn has been described, but the present invention is not limited to this. The fanning determination unit 22 may determine the protection priority 33 based on the ratio of the area where the vehicle 2 is drawn in the frame 10F. In this case, the priority determination unit 24 may increase the protection priority 33 as the proportion of the area in which the vehicle 2 is drawn increases.

上記実施の形態において、カメラ10は、車両1の後方の景色を撮影する例を説明したが、これに限られない。カメラ10は、車両1の前方、左方及び右方を撮影してもよい。また、カメラ10は、スマートフォン、携帯電話等の携帯通信端末であってもよい。 In the above embodiment, the camera 10 has described an example of capturing the scenery behind the vehicle 1, but the present invention is not limited to this. The camera 10 may capture the front, left and right sides of the vehicle 1. Further, the camera 10 may be a mobile communication terminal such as a smartphone or a mobile phone.

上記実施の形態において、記録装置20は、車両1に搭載された複数のカメラ10により生成された複数の車両周辺画像10Aを記録してもよい。複数のカメラのうち一のカメラが煽り運転を検出した場合、記録装置20は、当該一のカメラにより生成された車両周辺画像10Aを保護してもよいし、複数のカメラ10により生成された複数の車両周辺画像10Aを保護してもよい。 In the above embodiment, the recording device 20 may record a plurality of vehicle peripheral images 10A generated by the plurality of cameras 10 mounted on the vehicle 1. When one of the plurality of cameras detects the driving, the recording device 20 may protect the vehicle peripheral image 10A generated by the one camera, or the plurality of cameras 10 generated by the plurality of cameras 10. The vehicle peripheral image 10A may be protected.

上記実施の形態において、補正部27が、ステップS106で決定された保護優先度33を補正する例を説明したが、これに限られない。記録装置20は、補正部27を備えなくてもよい。この場合、記録装置20は、車両特定部25及び車両状態取得部26も備えなくてもよい。 In the above embodiment, an example in which the correction unit 27 corrects the protection priority 33 determined in step S106 has been described, but the present invention is not limited to this. The recording device 20 does not have to include the correction unit 27. In this case, the recording device 20 does not have to include the vehicle identification unit 25 and the vehicle state acquisition unit 26.

上記実施形態において、カメラ10とは、車両1の内部に配置される例を説明したが、これに限られない。カメラ10は車両1の外部に配置されてもよい。車両1の外部に配置されたカメラ10は、車両1の内部に配置されたカメラ10に比べて、車両1のガラスの影響を排除した車両周辺画像10Aを生成することができる。 In the above embodiment, the camera 10 has been described as an example of being arranged inside the vehicle 1, but the present invention is not limited to this. The camera 10 may be arranged outside the vehicle 1. The camera 10 arranged outside the vehicle 1 can generate a vehicle peripheral image 10A excluding the influence of the glass of the vehicle 1 as compared with the camera 10 arranged inside the vehicle 1.

また、上記実施の形態で説明した記録装置20の各機能ブロックは、LSIなどの半導体装置により個別に1チップ化されても良いし、一部又は全部を含むように1チップ化されても良い。ここでは、LSIとしたが、集積度の違いにより、IC、システムLSI、スーパーLSI、ウルトラLSIと呼称されることもある。 Further, each functional block of the recording device 20 described in the above embodiment may be individually integrated into one chip by a semiconductor device such as an LSI, or may be integrated into one chip so as to include a part or all of them. .. Although it is referred to as LSI here, it may be referred to as IC, system LSI, super LSI, or ultra LSI depending on the degree of integration.

また、集積回路化の手法はLSIに限るものではなく、専用回路又は汎用プロセサで実現してもよい。LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)や、LSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサを利用しても良い。 Further, the method of making an integrated circuit is not limited to the LSI, and may be realized by a dedicated circuit or a general-purpose processor. An FPGA (Field Programmable Gate Array) that can be programmed after the LSI is manufactured, or a reconfigurable processor that can reconfigure the connection and settings of the circuit cells inside the LSI may be used.

また、上記各実施の形態の各機能ブロックの処理の一部または全部は、プログラムにより実現されるものであってもよい。そして、上記各実施の形態の各機能ブロックの処理の一部または全部は、コンピュータにおいて、中央演算装置(CPU)により行われる。また、それぞれの処理を行うためのプログラムは、ハードディスク、ROMなどの記憶装置に格納されており、ROMにおいて、あるいはRAMに読み出されて実行される。 In addition, a part or all of the processing of each functional block of each of the above embodiments may be realized by a program. Then, a part or all of the processing of each functional block of each of the above embodiments is performed by the central processing unit (CPU) in the computer. Further, the program for performing each process is stored in a storage device such as a hard disk or a ROM, and is read and executed in the ROM or the RAM.

また、上記実施の形態の各処理をハードウェアにより実現してもよいし、ソフトウェア(OS(オペレーティングシステム)、ミドルウェア、あるいは、所定のライブラリとともに実現される場合を含む。)により実現してもよい。さらに、ソフトウェアおよびハードウェアの混在処理により実現しても良い。 Further, each process of the above embodiment may be realized by hardware, or may be realized by software (including a case where it is realized together with an OS (operating system), middleware, or a predetermined library). .. Further, it may be realized by mixed processing of software and hardware.

例えば、上記実施の形態(変形例を含む)において、記録装置20の各機能ブロックをソフトウェアにより実現する場合、図11に示したハードウェア構成(例えば、CPU、ROM、RAM、入力部、出力部等をバスBusにより接続したハードウェア構成)を用いて、各機能部をソフトウェア処理により実現するようにしてもよい。 For example, in the above embodiment (including a modification), when each functional block of the recording device 20 is realized by software, the hardware configuration shown in FIG. 11 (for example, CPU, ROM, RAM, input unit, output unit) Etc. may be realized by software processing by using a hardware configuration in which etc. are connected by a bus Bus).

また、上記実施の形態における処理方法の実行順序は、必ずしも、上記実施の形態の記載に制限されるものではなく、発明の要旨を逸脱しない範囲で、実行順序を入れ替えることができるものである。 Further, the execution order of the processing methods in the above-described embodiment is not necessarily limited to the description of the above-described embodiment, and the execution order can be changed without departing from the gist of the invention.

前述した方法をコンピュータに実行させるコンピュータプログラム及びそのプログラムを記録したコンピュータ読み取り可能な記録媒体は、本発明の範囲に含まれる。ここで、コンピュータ読み取り可能な記録媒体としては、例えば、フレキシブルディスク、ハードディスク、CD−ROM、MO、DVD、DVD−ROM、DVD−RAM、大容量DVD、次世代DVD、半導体メモリを挙げることができる。 A computer program that causes a computer to perform the above-mentioned method and a computer-readable recording medium that records the program are included in the scope of the present invention. Here, examples of computer-readable recording media include flexible disks, hard disks, CD-ROMs, MOs, DVDs, DVD-ROMs, DVD-RAMs, large-capacity DVDs, next-generation DVDs, and semiconductor memories. ..

上記コンピュータプログラムは、上記記録媒体に記録されたものに限られず、電気通信回線、無線又は有線通信回線、インターネットを代表とするネットワーク等を経由して伝送されるものであってもよい。 The computer program is not limited to the one recorded on the recording medium, and may be transmitted via a telecommunication line, a wireless or wired communication line, a network typified by the Internet, or the like.

以上、本発明の実施の形態を説明したが、上述した実施の形態は本発明を実施するための例示に過ぎない。よって、本発明は上述した実施の形態に限定されることなく、その趣旨を逸脱しない範囲内で上述した実施の形態を適宜変形して実施することが可能である。 Although the embodiment of the present invention has been described above, the above-described embodiment is merely an example for carrying out the present invention. Therefore, the present invention is not limited to the above-described embodiment, and the above-described embodiment can be appropriately modified and implemented within a range that does not deviate from the gist thereof.

10 カメラ
20 記録装置
21 画像取得部
22 煽り判断部
23 記録制御部
24 優先度決定部
25 車両特定部
26 車両状態取得部
27 補正部
28 選択部
29 記録部
10 Camera 20 Recording device 21 Image acquisition unit 22 Fanning judgment unit 23 Recording control unit 24 Priority determination unit 25 Vehicle identification unit 26 Vehicle condition acquisition unit 27 Correction unit 28 Selection unit 29 Recording unit

Claims (7)

第1車両に搭載されるドライブレコーダであって、
前記第1車両に搭載されたカメラにより生成された車両周辺画像に基づいて、前記第1車両が第2車両から受ける煽り運転を受けているか否かを判断する煽り判断部と、
前記第1車両が煽り運転を受けていると前記煽り判断部により判断された場合、前記生成された車両周辺画像のうち、煽り運転を受けていると判断された時刻を含む保護期間において生成された記録対象画像を記録部に記録し、前記記録部に記録された記録対象画像を保護する記録制御部と、
煽り運転を受けていると判断された期間における前記第1車両から前記第2車両までの距離に基づいて、前記記録対象画像の保護優先度を決定する優先度決定部と、
前記記録制御部が前記記録部に記録された複数の記録対象画像の少なくとも1つの保護を解除すると判断した場合、前記複数の記録対象画像に対応する複数の保護優先度に基づいて、前記複数の記録対象画像のうち保護を解除する記録対象画像を選択し、選択した記録対象画像を前記記録制御部に通知する選択部と、を備えるドライブレコーダ。
It is a drive recorder installed in the first vehicle,
Based on the vehicle peripheral image generated by the camera mounted on the first vehicle, the fanning determination unit for determining whether or not the first vehicle is receiving the fanning driving received from the second vehicle,
When it is determined by the fanning determination unit that the first vehicle is being driven, it is generated in the protection period including the time when it is determined that the first vehicle is being driven. A recording control unit that records the recorded image to be recorded in the recording unit and protects the image to be recorded recorded in the recording unit.
A priority determination unit that determines the protection priority of the image to be recorded based on the distance from the first vehicle to the second vehicle during the period in which it is determined that the vehicle is being driven.
When the recording control unit determines that the protection of at least one of the plurality of recording target images recorded in the recording unit is released, the plurality of recording target images are based on the plurality of protection priorities corresponding to the plurality of recording target images. A drive recorder including a selection unit that selects a recording target image whose protection is to be released from among the recording target images and notifies the recording control unit of the selected recording target image.
請求項1に記載のドライブレコーダであって、
前記優先度決定部は、前記煽り判断部が煽り運転を受けていると判断する時に用いられた車両周辺画像に基づいて、前記距離を特定する、ドライブレコーダ。
The drive recorder according to claim 1.
The priority determination unit is a drive recorder that specifies the distance based on a vehicle peripheral image used when the fanning determination unit determines that the fanning driving is being performed.
請求項1又は2に記載のドライブレコーダであって、さらに、
前記第1車両が煽り運転を受けていると前記煽り判断部により判断された場合、煽り運転が継続されている継続期間を前記煽り判断部から取得し、前記取得した継続期間に基づいて前記優先度決定部により決定された保護優先度を補正する補正部、を備え、
前記選択部は、前記補正部により補正された保護優先度を用いて、前記保護を解除する記録対象画像を選択するドライブレコーダ。
The drive recorder according to claim 1 or 2, further
When the fanning determination unit determines that the first vehicle is undergoing the fanning operation, the duration of the continuation of the fanning operation is acquired from the fanning determination unit, and the priority is given based on the acquired continuation period. A correction unit, which corrects the protection priority determined by the degree determination unit, is provided.
The selection unit is a drive recorder that selects a recording target image to be released from the protection by using the protection priority corrected by the correction unit.
請求項3に記載のドライブレコーダであって、
前記補正部は、前記継続期間における前記距離の変化に基づいて、前記決定された保護優先度を補正する、ドライブレコーダ。
The drive recorder according to claim 3.
The correction unit is a drive recorder that corrects the determined protection priority based on the change in the distance during the duration.
請求項1〜4のいずれか1項に記載のドライブレコーダであって、さらに、
前記第1車両が前記第2車両から煽り運転を受けていると前記煽り判断部により判断された場合、前記第2車両を前記生成された車両周辺画像から特定できるか否かを判断する車両特定部と、
前記車両特定部の判断結果に基づいて、前記優先度決定部により決定された保護優先度を補正する補正部、を備え、
前記選択部は、前記補正部により補正された保護優先度を用いて、前記保護を解除する記録対象画像を選択する、ドライブレコーダ。
The drive recorder according to any one of claims 1 to 4, and further
When the fanning determination unit determines that the first vehicle is being driven by the second vehicle, the vehicle identification for determining whether or not the second vehicle can be identified from the generated vehicle peripheral image. Department and
A correction unit for correcting the protection priority determined by the priority determination unit based on the determination result of the vehicle identification unit is provided.
The selection unit is a drive recorder that selects a recording target image to be released from the protection by using the protection priority corrected by the correction unit.
請求項1〜5のいずれか1項に記載のドライブレコーダであって、さらに、
前記第1車両の状態に基づいて、前記優先度決定部により決定された保護優先度を補正する補正部、を備え、
前記選択部は、前記補正部により補正された保護優先度を用いて、前記保護を解除する記録対象画像を選択する、ドライブレコーダ。
The drive recorder according to any one of claims 1 to 5, further
A correction unit for correcting the protection priority determined by the priority determination unit based on the state of the first vehicle is provided.
The selection unit is a drive recorder that selects a recording target image to be released from the protection by using the protection priority corrected by the correction unit.
第1車両に搭載されたカメラにより生成された車両周辺画像を記録する画像記録方法であって、
前記カメラにより生成された車両周辺画像に基づいて、前記第1車両が第2車両から受ける煽り運転を受けているか否かを判断するステップと、
前記第1車両が煽り運転を受けていると判断された場合、前記生成された車両周辺画像のうち、煽り運転を受けていると判断された時刻を含む保護期間において生成された記録対象画像を記録部に記録し、前記記録部に記録された記録対象画像を保護するステップと、
煽り運転を受けていると判断された期間における前記第1車両から前記第2車両までの距離に基づいて、前記記録対象画像の保護優先度を決定するステップと、
前記記録部に記録された複数の記録対象画像の少なくとも1つの保護が解除される場合、前記複数の記録対象画像に対応する複数の保護優先度に基づいて、前記複数の記録対象画像のうち保護を解除する記録対象画像を選択するステップと、を備える画像記録方法。
It is an image recording method that records a vehicle peripheral image generated by a camera mounted on the first vehicle.
Based on the vehicle peripheral image generated by the camera, a step of determining whether or not the first vehicle is undergoing the driving driven by the second vehicle, and
When it is determined that the first vehicle is undergoing road rage, among the generated vehicle peripheral images, the recording target image generated during the protection period including the time when it is determined to be road rage is recorded. A step of recording on a recording unit and protecting the image to be recorded recorded on the recording unit, and
A step of determining the protection priority of the image to be recorded based on the distance from the first vehicle to the second vehicle during the period when it is determined that the vehicle is being driven.
When at least one protection of the plurality of recording target images recorded in the recording unit is released, the protection of the plurality of recording target images is performed based on the plurality of protection priorities corresponding to the plurality of recording target images. An image recording method comprising a step of selecting an image to be recorded.
JP2019060716A 2019-03-27 2019-03-27 recording device Active JP7213119B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019060716A JP7213119B2 (en) 2019-03-27 2019-03-27 recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019060716A JP7213119B2 (en) 2019-03-27 2019-03-27 recording device

Publications (2)

Publication Number Publication Date
JP2020160891A true JP2020160891A (en) 2020-10-01
JP7213119B2 JP7213119B2 (en) 2023-01-26

Family

ID=72643565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019060716A Active JP7213119B2 (en) 2019-03-27 2019-03-27 recording device

Country Status (1)

Country Link
JP (1) JP7213119B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113597168A (en) * 2021-08-02 2021-11-02 安徽信息工程学院 Imaging identification auxiliary structure under severe weather

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006205773A (en) * 2005-01-25 2006-08-10 Fujitsu Ten Ltd Driving supporting device
JP2017045396A (en) * 2015-08-28 2017-03-02 富士通テン株式会社 Image recorder and image recording method
JP2018112892A (en) * 2017-01-11 2018-07-19 スズキ株式会社 Drive support device
JP2018173760A (en) * 2017-03-31 2018-11-08 株式会社デンソーテン Video recording device and video recording method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006205773A (en) * 2005-01-25 2006-08-10 Fujitsu Ten Ltd Driving supporting device
JP2017045396A (en) * 2015-08-28 2017-03-02 富士通テン株式会社 Image recorder and image recording method
JP2018112892A (en) * 2017-01-11 2018-07-19 スズキ株式会社 Drive support device
JP2018173760A (en) * 2017-03-31 2018-11-08 株式会社デンソーテン Video recording device and video recording method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113597168A (en) * 2021-08-02 2021-11-02 安徽信息工程学院 Imaging identification auxiliary structure under severe weather

Also Published As

Publication number Publication date
JP7213119B2 (en) 2023-01-26

Similar Documents

Publication Publication Date Title
JP6911657B2 (en) Vehicle image recording device, vehicle image recording method and vehicle image recording program
WO2016150700A1 (en) Apparatus and method for recording data associated with a vehicle
JP4812659B2 (en) Data recording apparatus, data recording method, data recording program, and recording medium
JP6693357B2 (en) Image recording apparatus, image recording method and program
JP6544393B2 (en) Image recording apparatus, image recording method and image recording program
JP2017045396A (en) Image recorder and image recording method
JP2018173760A (en) Video recording device and video recording method
US11277589B2 (en) Image recording system
KR102053268B1 (en) Vehicle black box and method for criteria of impact event using the same
JP2020160891A (en) Recording device
WO2019225053A1 (en) Recording control device, recording control method, and program
JP6544394B2 (en) Image recording apparatus, image recording method and image recording program
JP5478159B2 (en) Drive recorder
KR101339454B1 (en) Method of supplying car driving informaton using mobile apparatus
JP2019082812A (en) Recording device for vehicle, event information recording method, and program
KR20140069855A (en) Apparatus and method for video recording for vehicles
JP5783591B2 (en) drive recorder
JP6926786B2 (en) Image recording device, image recording method and image recording program
JP6756992B2 (en) Image recording device, image recording method and image recording program
JP2019028763A (en) Image recording device, image recording method, and image recording program
JP7295675B2 (en) Video recording device and video recording method
JP5846815B2 (en) Drive recorder
JP2021043846A (en) Electric apparatus, system, server and program
WO2021054264A1 (en) Storage control device, storage control method, and program
KR20210008636A (en) Vehicle and controlling method of vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220928

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221128

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: 20221227

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230116

R150 Certificate of patent or registration of utility model

Ref document number: 7213119

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150