JP6756992B2 - Image recording device, image recording method and image recording program - Google Patents

Image recording device, image recording method and image recording program Download PDF

Info

Publication number
JP6756992B2
JP6756992B2 JP2019109367A JP2019109367A JP6756992B2 JP 6756992 B2 JP6756992 B2 JP 6756992B2 JP 2019109367 A JP2019109367 A JP 2019109367A JP 2019109367 A JP2019109367 A JP 2019109367A JP 6756992 B2 JP6756992 B2 JP 6756992B2
Authority
JP
Japan
Prior art keywords
event signal
image data
license plate
vehicle
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.)
Active
Application number
JP2019109367A
Other languages
Japanese (ja)
Other versions
JP2019169190A (en
Inventor
山田 康夫
康夫 山田
聡隆 村田
聡隆 村田
啓太 林
啓太 林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JVCKenwood Corp
Original Assignee
JVCKenwood Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JVCKenwood Corp filed Critical JVCKenwood Corp
Priority to JP2019109367A priority Critical patent/JP6756992B2/en
Publication of JP2019169190A publication Critical patent/JP2019169190A/en
Application granted granted Critical
Publication of JP6756992B2 publication Critical patent/JP6756992B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像記録装置、画像記録方法および画像記録プログラムに関する。 The present invention relates to an image recording device, an image recording method, and an image recording program.

一般的なドライブレコーダは、衝撃等のイベントを検出した場合に、当該イベントの検出時点を含む所定時間の画像データを、上書きされないメモリ領域に移動させている(例えば、特許文献1参照)。 When a general drive recorder detects an event such as an impact, the image data for a predetermined time including the detection time of the event is moved to a memory area that is not overwritten (see, for example, Patent Document 1).

特開2000−6854号公報Japanese Unexamined Patent Publication No. 2000-6854

上書が禁止される動画像がイベントの検出時点を含む所定時間に限られる従来のドライブレコーダは、イベント発生後の対象車両の様子を記録する観点からは不十分であった。例えば車両との衝突事故が発生した場合には、その検出時点で対象車両は自車両にすでに接触しており、対象車両の下部はドライブレコーダの死角に入ってしまうことが多い。この時に撮像される画像には対象車両の下部が写っておらず、ナンバープレートなどの、対象車両を特定するための重要な情報を含まないことがある。そのような画像から得られる情報は、対象車両を特定する観点からは不十分である。 The conventional drive recorder, in which the moving image for which overwriting is prohibited is limited to a predetermined time including the time when the event is detected, is insufficient from the viewpoint of recording the state of the target vehicle after the event occurs. For example, when a collision accident with a vehicle occurs, the target vehicle is already in contact with the own vehicle at the time of detection, and the lower part of the target vehicle often enters the blind spot of the drive recorder. The image captured at this time does not show the lower part of the target vehicle, and may not include important information for identifying the target vehicle such as a license plate. The information obtained from such images is inadequate from the perspective of identifying the target vehicle.

本発明は、このような問題を解決するためになされたものであり、イベントに関係する対象車両の様子を的確に記録できる画像記録装置等を提供することを目的とする。 The present invention has been made to solve such a problem, and an object of the present invention is to provide an image recording device or the like capable of accurately recording the state of a target vehicle related to an event.

本発明の第1の態様における画像記録装置は、自車両の周辺を撮像した画像データを逐次取得する画像データ取得部と、前記自車両に対するイベントの発生を示すイベント信号を取得するイベント信号取得部と、前記イベント信号取得部が前記イベント信号を取得した場合に、前記画像データ取得部が取得した前記画像データの画像からナンバープレートを検出するナンバープレート検出部と、前記イベント信号取得部が前記イベント信号を取得した場合は、前記イベント信号を取得した時点から前記ナンバープレート検出部が前記ナンバープレートを検出した時点までの期間を含む前記画像データを、上書きがされないようにメモリに書き込む書込制御部とを備える。 The image recording device according to the first aspect of the present invention has an image data acquisition unit that sequentially acquires image data that images the surroundings of the own vehicle, and an event signal acquisition unit that acquires an event signal indicating the occurrence of an event for the own vehicle. When the event signal acquisition unit acquires the event signal, the number plate detection unit that detects the number plate from the image of the image data acquired by the image data acquisition unit and the event signal acquisition unit perform the event. When the signal is acquired, the write control unit writes the image data including the period from the time when the event signal is acquired to the time when the number plate detection unit detects the number plate to the memory so as not to be overwritten. And.

本発明の第2の態様における画像記録方法は、自車両の周辺を撮像した画像データを逐次取得する画像データ取得ステップと、前記自車両に対するイベントの発生を示すイベント信号を取得するイベント信号取得ステップと、前記イベント信号取得ステップで前記イベント信号を取得した場合に、前記画像データ取得ステップで取得した前記画像データの画像からナンバープレートを検出するナンバープレート検出ステップと、記イベント信号取得ステップで前記イベント信号を取得した場合は、前記イベント信号を取得した時点から前記ナンバープレート検出部が前記ナンバープレートを検出した時点までの期間を含む前記画像データを、上書きがされないようにメモリに書き込む書込制御ステップとステップとを画像記録装置が実行する。 The image recording method according to the second aspect of the present invention includes an image data acquisition step of sequentially acquiring image data obtained by imaging the periphery of the own vehicle, and an event signal acquisition step of acquiring an event signal indicating the occurrence of an event for the own vehicle. When the event signal is acquired in the event signal acquisition step, the event is detected in the number plate detection step for detecting the number plate from the image of the image data acquired in the image data acquisition step and the event in the event signal acquisition step. When the signal is acquired, the write control step of writing the image data including the period from the time when the event signal is acquired to the time when the number plate detection unit detects the number plate to the memory so as not to be overwritten. And the step are executed by the image recording device.

本発明の第3の態様における画像記録プログラムは、自車両の周辺を撮像した画像データを逐次取得する画像データ取得ステップと、前記自車両に対するイベントの発生を示すイベント信号を取得するイベント信号取得ステップと、前記イベント信号取得ステップで前記イベント信号を取得した場合に、前記画像データ取得ステップで取得した前記画像データの画像からナンバープレートを検出するナンバープレート検出ステップと、前記イベント信号取得ステップで前記イベント信号を取得した場合は、前記イベント信号を取得した時点から前記ナンバープレート検出部が前記ナンバープレートを検出した時点までの期間を含む前記画像データを、上書きがされないようにメモリに書き込む書込制御ステップとをコンピュータに実行させる。 The image recording program according to the third aspect of the present invention has an image data acquisition step of sequentially acquiring image data of the surroundings of the own vehicle and an event signal acquisition step of acquiring an event signal indicating the occurrence of an event for the own vehicle. When the event signal is acquired in the event signal acquisition step, the number plate detection step of detecting the number plate from the image of the image data acquired in the image data acquisition step and the event in the event signal acquisition step. When the signal is acquired, the write control step of writing the image data including the period from the time when the event signal is acquired to the time when the number plate detection unit detects the number plate to the memory so as not to be overwritten. And let the computer do it.

本発明によれば、イベント発生時点から、継続して撮像される画像中にナンバープレートを検出する時点までの期間を含む画像データを残すので、当該画像データには、イベントに関係する車両のナンバープレート情報が含まれることが期待できる。すなわち、イベントに関係する対象車両の情報をより的確に記録することができる。 According to the present invention, image data including a period from the time when the event occurs to the time when the license plate is detected in the continuously captured image is left, so that the image data includes the number of the vehicle related to the event. It can be expected to include plate information. That is, it is possible to more accurately record the information of the target vehicle related to the event.

実施の形態1に係るドライブレコーダが自車両に設置されている様子を示す概略図である。It is the schematic which shows the state that the drive recorder which concerns on Embodiment 1 is installed in the own vehicle. 実施の形態1に係るドライブレコーダの構成を示すブロック図である。It is a block diagram which shows the structure of the drive recorder which concerns on Embodiment 1. FIG. 実施の形態1に係るメモリカードに設定されるリングバッファについて説明する概念図である。It is a conceptual diagram explaining the ring buffer set in the memory card which concerns on Embodiment 1. FIG. 実施の形態1に係るイベント発生直後の様子と他車両が離間した様子とを示す概略図である。It is the schematic which shows the state immediately after the event occurrence which concerns on Embodiment 1 and the state which the other vehicle separated. 実施の形態1に係る時間経過に対する上書禁止の対象ファイルを説明する説明図である。It is explanatory drawing explaining the target file of the overwriting prohibition with respect to the lapse of time which concerns on Embodiment 1. 実施の形態1に係るドライブレコーダの制御フローを示すフロー図である。It is a flow chart which shows the control flow of the drive recorder which concerns on Embodiment 1. FIG. 実施の形態2に係るドライブレコーダの構成を示すブロック図である。It is a block diagram which shows the structure of the drive recorder which concerns on Embodiment 2. 実施の形態2に係る他車両が離間した様子を示す概略図である。It is the schematic which shows the state that the other vehicle which concerns on Embodiment 2 is separated. 実施の形態2に係るドライブレコーダの制御フローを示すフロー図である。It is a flow chart which shows the control flow of the drive recorder which concerns on Embodiment 2. 他のドライブレコーダが自車両に設置されている様子を示す概略図である。It is the schematic which shows the appearance that another drive recorder is installed in the own vehicle.

以下、発明の実施の形態を通じて本発明を説明するが、特許請求の範囲に係る発明を以下の実施形態に限定するものではない。また、実施形態で説明する構成の全てが課題を解決するための手段として必須であるとは限らない。 Hereinafter, the present invention will be described through embodiments of the invention, but the invention according to the claims is not limited to the following embodiments. Moreover, not all of the configurations described in the embodiments are indispensable as means for solving the problem.

[実施の形態1]
図1は、実施の形態1に係る画像記録装置の一例であるドライブレコーダ100が自車両900に設置されている様子を示す概略図である。ドライブレコーダ100は、カメラユニット110を含む。カメラユニット110は、前方の周辺環境を撮像できるように、自車両900の進行方向に向かってウィンドシールドの上部に設置されている。なお、その視野は、例えば一点鎖線で示すように対角130°程度の拡がりを有する。
[Embodiment 1]
FIG. 1 is a schematic view showing a state in which a drive recorder 100, which is an example of the image recording device according to the first embodiment, is installed in the own vehicle 900. The drive recorder 100 includes a camera unit 110. The camera unit 110 is installed above the windshield in the traveling direction of the own vehicle 900 so that the surrounding environment in front can be imaged. The field of view has an extension of about 130 ° diagonally, for example, as shown by the alternate long and short dash line.

自車両900は、前方の複数箇所に、他車両や歩行者等の対象物までの距離を検出する距離センサ170を備える。距離センサ170は、例えばミリ波レーダや超音波センサであり、検出結果である距離信号をドライブレコーダ100へ出力する。距離センサ170は、ドライブレコーダ100に内蔵されていてもよい。また、自車両900は、自車両900が受ける衝撃等の加速度を検出する加速度センサ160を備える。加速度センサ160は、検出結果である加速度信号をドライブレコーダ100へ出力する。加速度センサ160は、ドライブレコーダ100に内蔵されていてもよい。 The own vehicle 900 is provided with distance sensors 170 that detect distances to objects such as other vehicles and pedestrians at a plurality of locations in front of the vehicle. The distance sensor 170 is, for example, a millimeter wave radar or an ultrasonic sensor, and outputs a distance signal as a detection result to the drive recorder 100. The distance sensor 170 may be built in the drive recorder 100. Further, the own vehicle 900 includes an acceleration sensor 160 that detects acceleration such as an impact received by the own vehicle 900. The acceleration sensor 160 outputs an acceleration signal, which is a detection result, to the drive recorder 100. The acceleration sensor 160 may be built in the drive recorder 100.

図2は、ドライブレコーダ100の構成を示すブロック図である。ドライブレコーダ100は、主にカメラユニット110および本体ユニット130によって構成される。 FIG. 2 is a block diagram showing the configuration of the drive recorder 100. The drive recorder 100 is mainly composed of a camera unit 110 and a main body unit 130.

カメラユニット110は、主にレンズ112、撮像素子114およびAFE(アナログフロントエンド)116を備える。レンズ112は、入射する被写体光束を撮像素子114へ導く。レンズ112は、複数の光学レンズ群から構成されていても良い。 The camera unit 110 mainly includes a lens 112, an image sensor 114, and an AFE (analog front end) 116. The lens 112 guides the incident subject luminous flux to the image sensor 114. The lens 112 may be composed of a plurality of optical lens groups.

撮像素子114は、例えばCMOSイメージセンサである。撮像素子114は、システム制御部131から指定される1フレームあたりの露光時間に従って電子シャッタにより電荷蓄積時間を調整し、光電変換を行って画素信号を出力する。撮像素子114は、画素信号をAFE116へ引き渡す。AFE116は、画素信号をシステム制御部131から指示される増幅ゲインに応じてレベル調整してデジタルデータへA/D変換し、画素データとして本体ユニット130へ送信する。なお、カメラユニット110は、メカニカルシャッタや虹彩絞りを備えても良い。メカニカルシャッタや虹彩絞りを備える場合には、システム制御部131は、これらも利用して、撮像素子114へ入射する光量を調整することができる。 The image sensor 114 is, for example, a CMOS image sensor. The image sensor 114 adjusts the charge accumulation time by the electronic shutter according to the exposure time per frame designated by the system control unit 131, performs photoelectric conversion, and outputs a pixel signal. The image sensor 114 passes the pixel signal to the AFE 116. The AFE 116 adjusts the level of the pixel signal according to the amplification gain instructed by the system control unit 131, A / D converts it into digital data, and transmits it as pixel data to the main unit 130. The camera unit 110 may be provided with a mechanical shutter or an iris diaphragm. When a mechanical shutter or an iris diaphragm is provided, the system control unit 131 can also use these to adjust the amount of light incident on the image sensor 114.

本体ユニット130は、システム制御部131、画像入力IF132、ワークメモリ133、システムメモリ134、画像処理部135、表示出力部136、メモリ制御部137、メモリIF138、入出力IF139、NP(ナンバープレート)検出部140、バスライン142を主に備える。画像入力IF132は、カメラユニット110が撮像した画像データを逐次取得する画像データ取得部としての機能を担い、本体ユニット130と接続されているカメラユニット110から画素データ受信して、バスライン142へ引き渡す。 The main unit 130 detects system control unit 131, image input IF 132, work memory 133, system memory 134, image processing unit 135, display output unit 136, memory control unit 137, memory IF 138, input / output IF 139, and NP (number plate). The unit 140 and the bus line 142 are mainly provided. The image input IF 132 has a function as an image data acquisition unit that sequentially acquires image data captured by the camera unit 110, receives pixel data from the camera unit 110 connected to the main unit 130, and delivers it to the bus line 142. ..

ワークメモリ133は、例えば揮発性の高速メモリによって構成される。ワークメモリ133は、AFE116から画像入力IF132を介して画素データを受け取り、1フレームの画像データに纏めて記憶する。ワークメモリ133は、フレーム単位で画像処理部135へ画像データを引き渡す。また、ワークメモリ133は、画像処理部135が画像処理する途中段階においても一時的な記憶領域として適宜利用される。 The work memory 133 is composed of, for example, a volatile high-speed memory. The work memory 133 receives pixel data from the AFE 116 via the image input IF 132, and collectively stores the image data in one frame. The work memory 133 delivers image data to the image processing unit 135 in frame units. Further, the work memory 133 is appropriately used as a temporary storage area even in the middle stage of image processing by the image processing unit 135.

画像処理部135は、受け取った画像データに対して各種の画像処理を施し、予め定められたフォーマットに即した画像データを生成する。例えば、MPEGファイル形式の動画像データを生成する場合は、各フレームの画像データに対するホワイトバランス処理、ガンマ処理等を施した後に、各フレームの画像データ内および隣接フレームの画像データ間の圧縮処理を実行する。画像処理部135は、生成された画像データから表示用画像データを逐次生成して、表示出力部136へ引き渡す。以下、動画像データを構成する各フレームの画像データをフレーム画像データとし、フレーム画像データで表される画像をフレーム画像とする。 The image processing unit 135 performs various image processing on the received image data to generate image data in a predetermined format. For example, when generating moving image data in MPEG file format, after performing white balance processing, gamma processing, etc. on the image data of each frame, compression processing within the image data of each frame and between the image data of adjacent frames is performed. Execute. The image processing unit 135 sequentially generates display image data from the generated image data and delivers it to the display output unit 136. Hereinafter, the image data of each frame constituting the moving image data will be referred to as frame image data, and the image represented by the frame image data will be referred to as a frame image.

表示出力部136は、画像処理部135から受け取った表示用画像データを、表示ユニット180で表示可能な画像信号に変換して出力する。表示ユニット180は、例えばカーナビゲーションシステムの表示パネルであっても良いし、ドライブレコーダ100と一体的に設けられた専用の表示パネルであっても良い。表示ユニット180は、表示出力部136から受け取った画像信号を逐次表示することができる。 The display output unit 136 converts the display image data received from the image processing unit 135 into an image signal that can be displayed by the display unit 180 and outputs the data. The display unit 180 may be, for example, a display panel of a car navigation system, or may be a dedicated display panel provided integrally with the drive recorder 100. The display unit 180 can sequentially display the image signals received from the display output unit 136.

システムメモリ134は、例えばSSDなどの不揮発性記録媒体により構成される。システムメモリ134は、ドライブレコーダ100の動作時に必要な定数、変数、設定値、制御プログラム等を記録、保持する。 The system memory 134 is composed of a non-volatile recording medium such as an SSD. The system memory 134 records and holds constants, variables, set values, control programs, and the like necessary for the operation of the drive recorder 100.

メモリIF138は、着脱可能なメモリカード150を装着する接続インタフェースである。メモリカード150としては、不揮発性メモリであり、例えばフラッシュメモリが利用される。メモリ制御部137は、メモリIF138に装着されたメモリカード150に、画像データを書き込むためのメモリ制御を実行する。すなわち、メモリ制御部137は、メモリカード150に画像データを書き込む書込制御部としての機能を担う。具体的なメモリ制御については後述する。 The memory IF 138 is a connection interface for mounting a removable memory card 150. The memory card 150 is a non-volatile memory, and for example, a flash memory is used. The memory control unit 137 executes memory control for writing image data to the memory card 150 mounted on the memory IF 138. That is, the memory control unit 137 functions as a write control unit for writing image data to the memory card 150. Specific memory control will be described later.

入出力IF139は、外部機器からの信号を受信してシステム制御部131へ引き渡したり、外部機器へ信号要求などの制御信号をシステム制御部131から受け取って外部機器へ送信したりする、外部機器との接続インタフェースである。上述した加速度センサ160からの加速度信号、距離センサ170からの距離信号は、入出力IF139を介してシステム制御部131へ入力される。したがって、入出力IF139は、加速度信号を受信する場合は、システム制御部131と協働して加速度信号取得部としての機能を担い、距離信号を受信する場合は、システム制御部131と協働して距離信号取得部としての機能を担う。 The input / output IF 139 is an external device that receives a signal from an external device and delivers it to the system control unit 131, or receives a control signal such as a signal request to the external device from the system control unit 131 and transmits it to the external device. Connection interface. The acceleration signal from the acceleration sensor 160 and the distance signal from the distance sensor 170 described above are input to the system control unit 131 via the input / output IF 139. Therefore, the input / output IF 139 cooperates with the system control unit 131 to function as an acceleration signal acquisition unit when receiving an acceleration signal, and cooperates with the system control unit 131 when receiving a distance signal. It also functions as a distance signal acquisition unit.

システム制御部131は、入出力IF139を介して加速度センサ160から入力された加速度信号が予め設定された閾値以上の大きさである場合は、衝突等のイベントが発生したと判断する。したがって、システム制御部131はイベント信号取得部としての機能も担う。 The system control unit 131 determines that an event such as a collision has occurred when the acceleration signal input from the acceleration sensor 160 via the input / output IF 139 has a magnitude equal to or larger than a preset threshold value. Therefore, the system control unit 131 also functions as an event signal acquisition unit.

また、システム制御部131は、入出力IF139を介して距離センサ170から入力された距離信号に基づき自車両900から所定の閾値未満の距離に近づいてきた他車両または人物等の対象物を検出する。したがって、システム制御部131は対象物検出部としての機能も担う。 Further, the system control unit 131 detects an object such as another vehicle or a person who has approached a distance less than a predetermined threshold value from the own vehicle 900 based on the distance signal input from the distance sensor 170 via the input / output IF 139. .. Therefore, the system control unit 131 also functions as an object detection unit.

ナンバープレート検出部140は、画像処理部135で所定の前処理を施されたフレーム画像データを受け取って、そのフレーム画像にナンバープレートが存在するかを検出する。受け取るフレーム画像データは、そのフレーム画像が撮像された時刻情報を包含する。ナンバープレート検出部140は、例えば、ナンバープレートに固有の形状・数字・文字およびそれらの配置や色の情報を記憶しており、フレーム画像と記憶された情報とをマッチングさせることによってナンバープレートを検出する。なお、フレーム画像の全体領域に対して特定の検出対象領域が指定された場合には、その領域内にナンバープレートが存在するかを検出する。ナンバープレート検出部140は、ナンバープレートを検出した場合には、そのフレーム画像が撮像された時刻情報を、システム制御部131へ出力する。なお、このとき、ナンバープレート検出部140は、マッチングにより検出した数字・文字・色等の情報を合わせてシステム制御部131へ出力してもよい。 The license plate detection unit 140 receives the frame image data that has been subjected to predetermined preprocessing by the image processing unit 135, and detects whether or not the license plate exists in the frame image. The received frame image data includes the time information in which the frame image was captured. The license plate detection unit 140 stores, for example, information on shapes, numbers, and characters unique to the license plate, their arrangement, and color, and detects the license plate by matching the frame image with the stored information. To do. When a specific detection target area is specified for the entire area of the frame image, it is detected whether the license plate exists in that area. When the license plate is detected, the license plate detection unit 140 outputs the time information in which the frame image is captured to the system control unit 131. At this time, the license plate detection unit 140 may output the information such as numbers, characters, and colors detected by matching to the system control unit 131.

システム制御部131は、例えばCPUであり、ドライブレコーダ100を構成する各要素を直接的または間接的に制御する。システム制御部131による制御は、システムメモリ134から読みだされた制御プログラム等によって実現される。 The system control unit 131 is, for example, a CPU, and directly or indirectly controls each element constituting the drive recorder 100. The control by the system control unit 131 is realized by a control program or the like read from the system memory 134.

図3は、メモリカード150に設定されるリングバッファについて説明する概念図である。ドライブレコーダ100は、カメラユニット110で逐次撮像する画像を画像処理部135で処理して1分間ごとの動画像ファイルを生成する。そして、メモリ制御部137が、画像処理部135で生成された動画像ファイルを、メモリIF138を介して順次メモリカード150に記録する。 FIG. 3 is a conceptual diagram illustrating a ring buffer set in the memory card 150. The drive recorder 100 processes the images sequentially captured by the camera unit 110 by the image processing unit 135 to generate a moving image file every minute. Then, the memory control unit 137 sequentially records the moving image file generated by the image processing unit 135 on the memory card 150 via the memory IF 138.

メモリカード150は、記憶容量に上限があるので、記録できる動画像ファイルの数にも上限がある。ドライブレコーダ100は、自車両900が走行を続ける間は動画像ファイルの生成を継続するので、一定時間が経過すると生成した最新の動画像ファイルをメモリカード150に記録できなくなってしまう。そこで、メモリ制御部137は、メモリカード150が記憶容量の上限に到達したら、最も古い動画像ファイルが記憶された記憶領域に最新の動画像ファイルを上書きするリングバッファ形式により、記録処理を継続する。 Since the memory card 150 has an upper limit on the storage capacity, there is also an upper limit on the number of moving image files that can be recorded. Since the drive recorder 100 continues to generate the moving image file while the own vehicle 900 continues to travel, the latest moving image file generated cannot be recorded on the memory card 150 after a certain period of time has passed. Therefore, when the memory card 150 reaches the upper limit of the storage capacity, the memory control unit 137 continues the recording process in the ring buffer format in which the latest moving image file is overwritten in the storage area in which the oldest moving image file is stored. ..

図3(a)は、メモリカード150のメモリ領域151の全体を、リングバッファ152として利用する場合の概念図である。1つの動画像ファイルを記憶できるメモリ領域をそれぞれX1,X2,…,Xnと表すと、メモリ制御部137は、最初の動画像ファイルをX1、次の動画像ファイルをX2というように順に記録する。そして、n個目の動画像ファイルをXnに記録したら、n+1個目の動画像ファイルを、最初の動画像ファイルが記録されているX1に上書きする。同様にn+2個目の動画像ファイルはX2に上書きする。このようなリングバッファ形式によって動画像ファイルを記録すれば、リングバッファ152の容量分の最新の動画像ファイルを保持しておくことができる。 FIG. 3A is a conceptual diagram when the entire memory area 151 of the memory card 150 is used as the ring buffer 152. When the memory areas that can store one moving image file are represented as X1, X2, ..., Xn, respectively, the memory control unit 137 records the first moving image file as X1, the next moving image file as X2, and so on. .. Then, when the nth moving image file is recorded in Xn, the n + 1th moving image file is overwritten with X1 in which the first moving image file is recorded. Similarly, the n + 2nd moving image file is overwritten with X2. If the moving image file is recorded in such a ring buffer format, the latest moving image file corresponding to the capacity of the ring buffer 152 can be retained.

図3(b)は、従来のドライブレコーダにおける書き込み制御の概念を説明する概念図である。従来のドライブレコーダは、例えば他車両に衝突されて大きな加速度信号を受信したときにイベント発生を認識し、その時点を記録している動画像ファイルを上書き禁止の領域にコピーする。例えば図示するように、リングバッファ152に属するメモリ領域X4に記録された動画像ファイルが、その撮像期間中にイベント発生時点を含むのであれば、メモリXnを不揮発バッファ153に変更して、当該動画像ファイルをイベント記録ファイルとしてここへコピーする。不揮発バッファ153は、リングバッファ形式で記録される記憶領域から除外される領域であり、換言すれば、上書きが禁止される領域である。イベントが複数回発生すれば、その都度Xn-1,Xn-2,…が順に不揮発バッファ153に変更される。すなわち、リングバッファ152は、不揮発バッファ153が増設されるたびに減少する。不揮発バッファ153のメモリ領域は、メモリカード150がフォーマットされたり、ユーザの指示によって対象動画像ファイルが消去されたりすると、再びリングバッファ152として利用される。なお、不揮発バッファ153として用いられる容量は予め設定されていてもよい。 FIG. 3B is a conceptual diagram illustrating the concept of write control in a conventional drive recorder. The conventional drive recorder recognizes the occurrence of an event when, for example, is collided with another vehicle and receives a large acceleration signal, and copies the moving image file recording the time point to the overwrite-protected area. For example, as shown in the figure, if the moving image file recorded in the memory area X4 belonging to the ring buffer 152 includes the event occurrence time during the imaging period, the memory Xn is changed to the non-volatile buffer 153 and the moving image is concerned. Copy the image file here as an event recording file. The non-volatile buffer 153 is an area excluded from the storage area recorded in the ring buffer format, in other words, an area in which overwriting is prohibited. When the event occurs a plurality of times, Xn-1, Xn-2, ... Are changed to the non-volatile buffer 153 in order each time. That is, the ring buffer 152 decreases each time the non-volatile buffer 153 is added. The memory area of the non-volatile buffer 153 is used again as the ring buffer 152 when the memory card 150 is formatted or the target moving image file is erased according to the user's instruction. The capacity used as the non-volatile buffer 153 may be set in advance.

従来のドライブレコーダは、イベント発生後の対象車両の様子を記録する観点からは不十分であった。図3(b)に示すように、イベント発生時点を含む、例えば1分間の動画像データが上書き禁止となるだけである。車両との衝突事故が発生したような場合には、その検出時点で対象車両は自車両にすでに接触しており、対象車両の下部はドライブレコーダの死角に入ってしまうことが多い。この時に撮像される画像には対象車両の下部が写っておらず、ナンバープレートなどの、対象車両を特定するための重要な情報を含まないことがある。そのような画像から得られる情報は、対象車両を特定する観点からは不十分である。 The conventional drive recorder is insufficient from the viewpoint of recording the state of the target vehicle after the event occurs. As shown in FIG. 3B, the moving image data including the time when the event occurs, for example, for one minute is only prohibited from being overwritten. When a collision with a vehicle occurs, the target vehicle is already in contact with the own vehicle at the time of detection, and the lower part of the target vehicle often enters the blind spot of the drive recorder. The image captured at this time does not show the lower part of the target vehicle, and may not include important information for identifying the target vehicle such as a license plate. The information obtained from such images is inadequate from the perspective of identifying the target vehicle.

そこで、本実施形態においては、イベント発生の時点から、継続して撮像される画像中にナンバープレートを検出する時点までの期間を含む動画像データを、不揮発バッファ153へコピーする。図3(c)は、本実施形態に係るドライブレコーダ100における書き込み制御の概念を説明する概念図である。不揮発バッファ153の増設方法や、対象動画像データの移動方法、リングバッファ152に対する記録方法などは図3(b)の例と同じであるが、本実施形態においては、不揮発バッファ153へコピーする対象となる動画像ファイルが異なる。 Therefore, in the present embodiment, the moving image data including the period from the time when the event occurs to the time when the license plate is detected in the continuously captured image is copied to the non-volatile buffer 153. FIG. 3C is a conceptual diagram illustrating the concept of write control in the drive recorder 100 according to the present embodiment. The method of adding the non-volatile buffer 153, the method of moving the target moving image data, the recording method of the ring buffer 152, and the like are the same as those in FIG. 3B, but in the present embodiment, the target to be copied to the non-volatile buffer 153. The moving image file is different.

図3(b)の例と同様に、リングバッファ152に属するメモリ領域X4に記録された動画像ファイルが、その撮像期間中にイベント発生時点を含むものとする。カメラユニット110はその後も撮像を続け、生成された動画像ファイルは順次X5,X6…に書き込まれる。ナンバープレート検出部140は、これらの動画像ファイルを構成するフレーム画像データを継続的に取得し、そのフレーム画像にナンバープレートが含まれることを検出する(ナンバープレート検出)。ここでは、メモリ領域X6に記録された動画像ファイル中に、イベント発生後に初めてナンバープレート検出されたフレーム画像を含むものとする。なお、イベント発生後に初めてナンバープレート検出されたフレーム画像の時刻情報が示す時刻をナンバープレート検出時点とする。 Similar to the example of FIG. 3B, it is assumed that the moving image file recorded in the memory area X4 belonging to the ring buffer 152 includes the time when the event occurs during the imaging period. The camera unit 110 continues imaging even after that, and the generated moving image files are sequentially written to X5, X6 ... The license plate detection unit 140 continuously acquires the frame image data constituting these moving image files, and detects that the frame image includes the license plate (license plate detection). Here, it is assumed that the moving image file recorded in the memory area X6 includes the frame image in which the license plate is detected for the first time after the event occurs. The time indicated by the time information of the frame image in which the license plate is detected for the first time after the event occurs is defined as the license plate detection time point.

この場合において、メモリ制御部137は、イベント発生時点を含むX4の動画像ファイルから、X5の動画像ファイル、およびナンバープレート検出時点までを含むX6の動画像ファイルの3つの動画像ファイルをイベント記録ファイルとして、不揮発バッファ153へコピーする。すなわち、Xn-2からXnまでのメモリ領域を不揮発バッファ153に変更して、ここへ対象となる動画像ファイルをコピーする。すでに別の動画像ファイルが不揮発バッファ153に存在する場合は、その動画像ファイルが記録されたメモリ領域を回避して不揮発バッファ153を増設する。 In this case, the memory control unit 137 records three moving image files of the moving image file of X4 including the time when the event occurs, the moving image file of X5, and the moving image file of X6 including the time of detecting the number plate. Copy as a file to the non-volatile buffer 153. That is, the memory area from Xn-2 to Xn is changed to the non-volatile buffer 153, and the target moving image file is copied there. If another moving image file already exists in the non-volatile buffer 153, the non-volatile buffer 153 is added by avoiding the memory area in which the moving image file is recorded.

このように継続して撮像される画像中にナンバープレートが検出されるまでの期間も上書禁止として残されていれば、当該画像データに対象車両のナンバープレートの情報が含まれる。その一例について説明する。図4(a)は、他車両910が自車両900に衝突した直後(イベント発生直後)の様子を示し、図4(b)は、その後に他車両910が自車両900から離間し、ナンバープレート911が検出された様子を示す。 If the period until the license plate is detected in the continuously captured image is also left as prohibition of overwriting, the image data includes the license plate information of the target vehicle. An example thereof will be described. FIG. 4A shows the state immediately after the other vehicle 910 collides with the own vehicle 900 (immediately after the event occurs), and FIG. 4B shows the situation immediately after the other vehicle 910 separates from the own vehicle 900 and the license plate. It shows how 911 was detected.

図4(a)に示すような衝突が発生した場合に、システム制御部131は、その衝突に伴って発生する閾値以上の加速度信号を受信することによりイベントが発生したことを認識する。この時点において撮影された画像は、図4(a)の外枠で囲われた範囲である。すなわち、他車両910は自車両900に近接しているので、その下部は写っていない。このような画像のみでは、事故時に近接していた他車両910のナンバープレート911を検出できない場合があり、他車両910を特定するといった目的を達成することができない。 When a collision as shown in FIG. 4A occurs, the system control unit 131 recognizes that the event has occurred by receiving an acceleration signal equal to or higher than the threshold value generated in connection with the collision. The image taken at this point is the range surrounded by the outer frame of FIG. 4 (a). That is, since the other vehicle 910 is close to the own vehicle 900, the lower part thereof is not shown. With only such an image, the license plate 911 of another vehicle 910 that was close at the time of the accident may not be detected, and the purpose of identifying the other vehicle 910 cannot be achieved.

しかし、事故後に自車両900と他車両910とが相対的に一定距離以上離れて、図4(b)の外枠で囲われた範囲のような、ナンバープレート911を含む画像が取得できれば、他車両910を事後的に特定することができ、上記のような目的にも適う。すなわち、画像の利用価値が大きく膨らむ。例えば、その後に他車両910に逃走されたとしても、相手を特定することは容易である。なお、画像処理部135は、ナンバープレート911の数字・文字・色の情報、およびそれらから判別できる自動車検査登録所の名称や車の用途等の情報を、フレーム画像に埋め込んで動画像ファイルを生成しても良いし、動画像ファイルのヘッダ部分に付加しても良い。 However, if the own vehicle 900 and the other vehicle 910 are relatively separated by a certain distance or more after the accident and an image including the license plate 911 such as the range surrounded by the outer frame of FIG. 4B can be obtained, other The vehicle 910 can be identified ex post facto and also serves the above purposes. That is, the utility value of the image is greatly expanded. For example, even if the vehicle subsequently escapes to another vehicle 910, it is easy to identify the opponent. The image processing unit 135 embeds information on the numbers, characters, and colors of the license plate 911, and information such as the name of the automobile inspection registration office and the purpose of the vehicle that can be identified from them in the frame image to generate a moving image file. It may be added to the header part of the moving image file.

上述のように、イベント発生時点からナンバープレート検出時点までの期間を含む動画像ファイルが上書不可能に記録されていれば、当該動画像ファイルの事後利用の価値は飛躍的に向上するが、本実施形態においては、保存する期間をさらに付加する。図5は、本実施形態における、時間経過に対する上書禁止の対象ファイルを説明する説明図である。図は、左から右に向かって時間経過を表している。 As described above, if the moving image file including the period from the event occurrence time to the license plate detection time is recorded without being overwritten, the value of the subsequent use of the moving image file is dramatically improved. In the present embodiment, a storage period is further added. FIG. 5 is an explanatory diagram illustrating a target file for which overwriting is prohibited with respect to the passage of time in the present embodiment. The figure shows the passage of time from left to right.

図において、時刻tsでイベントが発生し、時刻tfで画像中にナンバープレートが検出されたとする。この時刻tsから時刻tfまでの期間を主期間とする。そして、時刻tsから予め定められた一定時間T1だけ遡った時刻tpを開始時点とし、時刻tsを終了時点とする事前期間を、主期間の前に設定する。また、時刻tfを開始時点とし、時刻tfから予め定められた一定時間T2だけ経過した時刻teを終了時点とする事後期間を、主期間の後に設定する。 In the figure, it is assumed that an event occurs at time ts and a license plate is detected in the image at time ttf. The period from the time ts to the time tf is the main period. Then, a pre-period with the time tp retroactive from the time ts by a predetermined fixed time T1 as the start time and the time ts as the end time is set before the main period. Further, a post-period is set after the main period, with the time tf as the start time point and the time te as the end time point when a predetermined fixed time T2 has elapsed from the time tf.

そして、この三期間を含む動画像ファイルをイベント記録ファイルとして上書禁止対象ファイルとする。すなわち、これらの動画像ファイルを、不揮発バッファ153にコピーする。このように、前後の期間も含めれば、さらに画像の利用範囲が広がることが期待できる。例えば、事前期間の動画像ファイルには、他車両910が接近する様子が写っている場合があり、事故の発生原因の特定や、主期間で写る車両が事故原因であることの確認などに資する。また、事後期間の動画像ファイルには、救援者が接近する様子や、他車両910が逃走する様子が写っている場合があり、関係者の特定や、刑事責任の追究などに資する。 Then, the moving image file including these three periods is set as an event recording file and is a file subject to overwriting prohibition. That is, these moving image files are copied to the non-volatile buffer 153. In this way, if the period before and after is included, it can be expected that the range of use of the image will be further expanded. For example, the moving image file of the preliminary period may show the approaching vehicle 910, which contributes to identifying the cause of the accident and confirming that the vehicle shown in the main period is the cause of the accident. .. In addition, the moving image file during the post-mortem period may show a rescuer approaching or another vehicle 910 escaping, which contributes to the identification of the persons concerned and the pursuit of criminal liability.

次に、ドライブレコーダ100の制御フローについて説明する。図6は、ドライブレコーダ100の制御フローを示すフロー図である。フローは、自車両900の走行開始準備が完了する時点から開始する。自車両900の走行開始準備の完了とは、例えば自車両900のエンジン始動または電源オンなどである。また、ドライブレコーダ100は、自車両の状態によらず常時動作するようにしてもよい。また、フローの開始と共にカメラユニット110による撮像を開始し、画像処理部135で逐次生成される動画像ファイルは、メモリ制御部137により、リングバッファ形式で順にメモリカード150に記録される。また、システム制御部131は、加速度センサ160から受ける加速度信号を監視している。以下の処理は、このような通常走行時の記録制御中に実行される処理である。 Next, the control flow of the drive recorder 100 will be described. FIG. 6 is a flow chart showing a control flow of the drive recorder 100. The flow starts when the preparation for starting the running of the own vehicle 900 is completed. Completion of the running start preparation of the own vehicle 900 is, for example, starting the engine or turning on the power of the own vehicle 900. Further, the drive recorder 100 may be operated at all times regardless of the state of the own vehicle. Further, when the flow starts, the image pickup by the camera unit 110 is started, and the moving image files sequentially generated by the image processing unit 135 are sequentially recorded in the memory card 150 in the ring buffer format by the memory control unit 137. Further, the system control unit 131 monitors the acceleration signal received from the acceleration sensor 160. The following processing is processing executed during such recording control during normal driving.

システム制御部131は、ステップS101で、加速度センサ160から閾値以上の加速度信号を受信したか、つまりイベントが発生したか否かを判断する。閾値以上の加速度信号を受信したと判断したら、イベントが発生したものとして、ステップS102へ進む。受信していないと判断したらステップS108へ進む。 In step S101, the system control unit 131 determines whether or not an acceleration signal equal to or higher than the threshold value has been received from the acceleration sensor 160, that is, whether or not an event has occurred. If it is determined that the acceleration signal equal to or higher than the threshold value has been received, it is assumed that an event has occurred, and the process proceeds to step S102. If it is determined that the signal has not been received, the process proceeds to step S108.

システム制御部131は、ステップS102へ進むと、距離センサ170から受信した距離信号の履歴を判断する。上述のように、距離センサ170は、自車両900の前方の複数箇所に設けられているので、いずれかの距離センサ170が対象車両の接近を捉えている可能性がある。そこで、システム制御部131は、いずれかの距離センサ170が対象物の接近を捉えていると判断したら、ステップS104へ進み、そうでなければステップS103へ進む。 When the system control unit 131 proceeds to step S102, the system control unit 131 determines the history of the distance signal received from the distance sensor 170. As described above, since the distance sensors 170 are provided at a plurality of locations in front of the own vehicle 900, there is a possibility that any of the distance sensors 170 captures the approach of the target vehicle. Therefore, if the system control unit 131 determines that any of the distance sensors 170 is capturing the approach of the object, the system proceeds to step S104, and if not, proceeds to step S103.

システム制御部131は、ステップS103へ進んだ場合には、ナンバープレート検出部140に、イベント発生後に生成される動画像データの各フレーム画像の全領域を対象として、ナンバープレートが存在するか否かを探索させる。一方で、ステップS104へ進んだ場合には、ナンバープレート検出部140に、イベント発生後に生成される動画像データの各フレーム画像のうち距離センサ170がイベント発生前に捉えた接近物の方向の領域を重点的に探索させる。例えば、接近物を検出した距離センサ170が、画像の右側1/4の被写界に対して距離を検出するように設置されているのであれば、ナンバープレート検出部140は、画像の右側1/4を探索領域と定める。ナンバープレート検出を行う対象領域をこのように限定すれば、ナンバープレート検出処理を高速に行えると共に、検出されるナンバープレートを備えた他車両が発生したイベントに関係が深いことも期待できる。 When the system control unit 131 proceeds to step S103, whether or not the license plate detection unit 140 has a license plate for the entire area of each frame image of the moving image data generated after the event occurs. To search for. On the other hand, when the process proceeds to step S104, the license plate detection unit 140 detects the area in the direction of the approaching object captured by the distance sensor 170 in each frame image of the moving image data generated after the event occurs before the event occurs. Focus on searching. For example, if the distance sensor 170 that detects an approaching object is installed so as to detect the distance with respect to the field of view on the right side 1/4 of the image, the license plate detection unit 140 is located on the right side 1 of the image. / 4 is defined as the search area. If the target area for license plate detection is limited in this way, the license plate detection process can be performed at high speed, and it can be expected that the license plate detection process is closely related to the event generated by another vehicle equipped with the license plate.

システム制御部131は、ステップS105で、フレーム画像からナンバープレートが検出できたか否かを判断する。検出できたと判断したらステップS106へ進み、検出できないと判断したらステップS107へ進む。 In step S105, the system control unit 131 determines whether or not the license plate can be detected from the frame image. If it is determined that the detection was possible, the process proceeds to step S106, and if it is determined that the detection is not possible, the process proceeds to step S107.

システム制御部131は、ステップS106へ進むと、図5で説明したように主期間とこれに付随する事前期間または事前期間に加え事後期間を決定し、これに応じてメモリ制御部137は、これらの期間に対応する動画像ファイルを上書禁止領域である不揮発バッファ153へコピーする。つまり、システム制御部131は、ステップS106の処理として、事前期間および主期間からなる動画像ファイルを上書禁止領域である不揮発バッファ153へコピーする。または、システム制御部131は、ステップS106の処理として、事前期間に加えて主期間および事後期間からなる動画像ファイルを上書禁止領域である不揮発バッファ153へコピーする。 When the system control unit 131 proceeds to step S106, as described in FIG. 5, the system control unit 131 determines the main period and the pre-period or the pre-period accompanying the main period or the post-period, and the memory control unit 137 responds to these. The moving image file corresponding to the period of is copied to the non-volatile buffer 153 which is the overwriting prohibited area. That is, the system control unit 131 copies the moving image file including the prior period and the main period to the non-volatile buffer 153, which is the overwriting prohibited area, as the process of step S106. Alternatively, as the process of step S106, the system control unit 131 copies the moving image file including the main period and the post period in addition to the pre-period to the non-volatile buffer 153 which is the overwriting prohibited area.

システム制御部131は、ステップS108へ進むと、録画停止信号を受信したか否かを判断する。録画停止信号は、例えば自車両900の走行終了と共に発生する信号であるほか、ユーザによる停止ボタンの操作によっても発生する信号である。システム制御部131は、録画停止信号を受信したと判断したら、カメラユニット110による撮像を停止させ、生成された動画像ファイルのリングバッファ形式による記録を停止して、一連の処理を終了する。録画停止信号を受信していないと判断したら、ステップS101へ戻って、一連の処理を継続する。 When the system control unit 131 proceeds to step S108, it determines whether or not the recording stop signal has been received. The recording stop signal is, for example, a signal generated when the running of the own vehicle 900 ends, and is also a signal generated when the user operates the stop button. When the system control unit 131 determines that the recording stop signal has been received, the system control unit 131 stops the imaging by the camera unit 110, stops the recording of the generated moving image file in the ring buffer format, and ends a series of processes. If it is determined that the recording stop signal has not been received, the process returns to step S101 to continue a series of processes.

システム制御部131は、ステップS105で、ナンバープレートを検出できなかった場合は、イベント発生から所定期間の動画像ファイルを上書禁止領域である不揮発バッファ153へコピーしてステップS106へ進む。例えば、システム制御部131は、イベント発生から3分間経過するまでナンバープレートを検出できなかった場合は、その時点までの動画像ファイルをイベント記録ファイルとして上書禁止領域である不揮発バッファ153へコピーする。具体的には、ステップS105でナンバープレートを検出できなかった場合はステップS107へ進み、イベント発生から所定時間が経過したかを判断する。所定時間が経過していないと判断した場合には、ステップS102へ戻り、さらに継続してフレーム画像からナンバープレートを検出する。所定時間が経過したと判断したら、ステップS106へ進む。 If the license plate cannot be detected in step S105, the system control unit 131 copies the moving image file for a predetermined period from the occurrence of the event to the non-volatile buffer 153, which is an overwriting prohibited area, and proceeds to step S106. For example, if the license plate cannot be detected until 3 minutes have passed since the event occurred, the system control unit 131 copies the moving image file up to that point as an event recording file to the non-volatile buffer 153, which is an overwriting prohibited area. .. Specifically, if the license plate cannot be detected in step S105, the process proceeds to step S107 to determine whether a predetermined time has elapsed since the event occurred. If it is determined that the predetermined time has not elapsed, the process returns to step S102, and the license plate is continuously detected from the frame image. When it is determined that the predetermined time has elapsed, the process proceeds to step S106.

なお、システム制御部131は、ステップS105で、ナンバープレートを検出できなかった場合には、メモリカード150の記憶容量が上限に達するまで、動画像ファイルを上書き禁止として不揮発バッファ153へコピーすることとしてもよい。また、このような記録処理を行う場合は、画像に変化があった区間の動画像ファイルを上書禁止領域である不揮発バッファ153へコピーすることとしてもよい。 If the license plate cannot be detected in step S105, the system control unit 131 copies the moving image file to the non-volatile buffer 153 with overwrite prohibition until the storage capacity of the memory card 150 reaches the upper limit. May be good. Further, when performing such recording processing, the moving image file of the section in which the image has changed may be copied to the non-volatile buffer 153 which is the overwriting prohibited area.

具体的には、システム制御部131は、ステップS105で、ナンバープレートを検出できなかった場合、生成された動画像ファイルの記録を継続しつつ、最新の動画像ファイルにおいて画像に変化が無かったか否かを解析する。具体的には、前後するフレーム画像を比較し、一致するか否かを判断する。そして、全フレームに渡って前後するフレーム間で一致すれば、その動画像ファイルにおいては、画像に変化が無かったと判断する。一部にでも一致しないフレーム画像があれば、画像に変化があったと判断する。なお、フレーム画像に対して比較的狭い一部の領域で変化があるだけの場合には、全体としては変化無しと判断しても良い。 Specifically, when the system control unit 131 cannot detect the license plate in step S105, whether or not there is no change in the image in the latest moving image file while continuing the recording of the generated moving image file. Analyze. Specifically, the frame images before and after are compared, and it is determined whether or not they match. Then, if the frames before and after the entire frame match, it is determined that there is no change in the image in the moving image file. If there is a frame image that does not match even a part, it is judged that the image has changed. If there is only a change in a part of the frame image that is relatively narrow, it may be determined that there is no change as a whole.

システム制御部131は、最新の動画像ファイルにおいて画像に変化が無かったと判断した場合は、メモリ制御部137に、変化が無かった区間である当該画像ファイルをメモリカード150から削除させる。一方、画像に変化があったと判断した場合は、メモリ制御部137にメモリカード150のリングバッファ152が枯渇したか、すなわち、リングバッファ152のうちイベント発生以前に生成された動画像ファイルが記録されたメモリ領域を使い果たしたか否かを判断する。使い果たしたと判断した場合は、これ以上新たな動画像ファイルを記録できるメモリ領域が存在しないものとして、一連の処理を終了する。このとき、メモリ制御部137は、メモリカード150のメモリ領域151全てを不揮発バッファ153に変更しても良い。一方、メモリ領域を使い果たしていないと判断した場合は、ステップS102へ戻って、逐次生成されるフレーム画像に対してナンバープレートの探索を継続する。 When the system control unit 131 determines that there is no change in the image in the latest moving image file, the system control unit 131 causes the memory control unit 137 to delete the image file in the section where there is no change from the memory card 150. On the other hand, when it is determined that the image has changed, the memory control unit 137 records whether the ring buffer 152 of the memory card 150 is exhausted, that is, the moving image file of the ring buffer 152 generated before the event occurs is recorded. Determine if the memory area has been used up. If it is determined that the file has been used up, it is assumed that there is no memory area for recording a new moving image file, and the series of processes is terminated. At this time, the memory control unit 137 may change the entire memory area 151 of the memory card 150 to the non-volatile buffer 153. On the other hand, when it is determined that the memory area is not used up, the process returns to step S102 and continues the search for the license plate for the frame images sequentially generated.

このような処理を追加すると、リングバッファ152が枯渇するまでは、イベント発生後の様子を継続して記録できるので、残された動画像ファイルをより有効に活用することができる。また、被写体に動きの無い画像ファイルを削除するので、より後の期間まで動画像ファイルを記録でき、しかも利用価値の高い動画像ファイルを残すことができる。 By adding such a process, the state after the event occurs can be continuously recorded until the ring buffer 152 is exhausted, so that the remaining moving image file can be used more effectively. Further, since the image file in which the subject does not move is deleted, the moving image file can be recorded until a later period, and the moving image file having high utility value can be left.

[実施の形態2]
本発明の実施の形態1では、終了時点から予め定められた時間が経過するまでの間を事後期間とする例を説明した。実施の形態2では、フレーム画像内における対象車両の相対的な配置関係に基づいて事後期間を決定する例を説明する。
[Embodiment 2]
In the first embodiment of the present invention, an example has been described in which the period from the end point to the elapse of a predetermined time is set as the ex post facto period. In the second embodiment, an example of determining the ex post facto period based on the relative arrangement relationship of the target vehicles in the frame image will be described.

図7は、実施の形態2に係る画像記録装置の一例であるドライブレコーダ200の構成を示すブロック図である。ドライブレコーダ200は、実施の形態1に係るドライブレコーダ100が備える本体ユニット130内に、配置検出部141をさらに備える。その他の構成は、ドライブレコーダ100の構成と同じである。このため、共通する機能または処理については同一の符号を付し、説明を適宜省略する。 FIG. 7 is a block diagram showing a configuration of a drive recorder 200, which is an example of the image recording device according to the second embodiment. The drive recorder 200 further includes an arrangement detection unit 141 in the main body unit 130 included in the drive recorder 100 according to the first embodiment. Other configurations are the same as the configuration of the drive recorder 100. Therefore, common functions or processes are designated by the same reference numerals, and description thereof will be omitted as appropriate.

配置検出部141は、画像処理部135で所定の前処理を施されたフレーム画像データを受け取って、そのフレーム画像内において、他車両910が予め定められた配置関係にあるかを検出する。配置検出部141は、例えば、図8(a)のように、フレーム画像内において、他車両910と自車両900との間に路面920を認識できるような関係にあるかを検出する。この場合、配置検出部141は、例えば、ナンバープレート検出部140によって検出されたナンバープレート911と自車両900との間に、前後するフレーム画像間の移動ベクトルがゼロである画素の領域を検出する。このような画素の領域を検出できれば、他車両910と自車両900との間に路面920を認識できる。配置検出部141は、他車両910と自車両900との間に路面920が認識できた場合には、そのフレーム画像が撮像された時刻情報を、システム制御部131へ出力する。 The arrangement detection unit 141 receives the frame image data that has been subjected to predetermined preprocessing by the image processing unit 135, and detects whether the other vehicle 910 has a predetermined arrangement relationship in the frame image. For example, as shown in FIG. 8A, the arrangement detection unit 141 detects whether the road surface 920 is recognizable between the other vehicle 910 and the own vehicle 900 in the frame image. In this case, the arrangement detection unit 141 detects, for example, a pixel region where the movement vector between the preceding and following frame images is zero between the license plate 911 detected by the license plate detection unit 140 and the own vehicle 900. .. If such a pixel region can be detected, the road surface 920 can be recognized between the other vehicle 910 and the own vehicle 900. When the road surface 920 can be recognized between the other vehicle 910 and the own vehicle 900, the arrangement detection unit 141 outputs the time information in which the frame image is captured to the system control unit 131.

配置検出部141は、あるいは、例えば図8(b)のように、他車両910の側面部912が認識できるかを検出してもよい。この場合、配置検出部141は、例えば、様々な車種に対して車両を異なる角度から見たときの形状パターンや色彩パターンを記憶しており、ナンバープレート検出部140によって検出されたナンバープレート911を備えた他車両910の像をマッチングにより特定し、フレーム画像上で追跡する。他車両910の像が、予め記憶された車両の側面部に類似すると判断した場合には、そのフレーム画像が撮像された時刻情報を、システム制御部131へ出力する。なお、このとき、配置検出部141は、マッチングにより検出した車種の情報を合わせてシステム制御部131へ出力してもよい。 The arrangement detection unit 141 may also detect whether the side surface portion 912 of the other vehicle 910 can be recognized, for example, as shown in FIG. 8B. In this case, the arrangement detection unit 141 stores, for example, the shape pattern and the color pattern when the vehicle is viewed from different angles for various vehicle types, and the license plate 911 detected by the license plate detection unit 140 is stored. The image of the other vehicle 910 provided is identified by matching and tracked on the frame image. When it is determined that the image of the other vehicle 910 is similar to the side surface portion of the vehicle stored in advance, the time information in which the frame image is captured is output to the system control unit 131. At this time, the arrangement detection unit 141 may also output the information of the vehicle type detected by matching to the system control unit 131.

実施の形態2では、ナンバープレート検出部140がナンバープレート911を検出してから、配置検出部141が時刻情報をシステム制御部131へ出力するまでの期間を事後期間とし、事前期間・主期間・事後期間の三期間を含む動画像ファイルをイベント記録ファイルとして、不揮発バッファ153にコピーする。このように、対象車両が自車両に対して予め定められた配置関係となるまでの期間を事後期間として指定すれば、さらに画像の利用範囲が広がることが期待できる。すなわち、他車両910をより広い範囲の像として捉えられるため、例えば、他車両910の車種や、変形・キズ等の特徴をも記録されると期待できる。これらの情報は、例えば、ナンバープレート911からだけでは関係車両を特定できない状況において、非常に有用である。なお、画像処理部135は、他車両910の車種や色等の情報を、フレーム画像に埋め込んで動画像ファイルを生成しても良いし、動画像ファイルのヘッダ部分に付加しても良い。 In the second embodiment, the period from the detection of the license plate 911 by the license plate detection unit 140 to the output of the time information to the system control unit 131 by the arrangement detection unit 141 is set as the post-period, and the pre-period, the main period, and the like. The moving image file including the three post-periods is copied to the non-volatile buffer 153 as an event recording file. In this way, if the period until the target vehicle has a predetermined arrangement relationship with the own vehicle is specified as the post-period, it can be expected that the range of use of the image will be further expanded. That is, since the other vehicle 910 can be captured as an image in a wider range, it can be expected that, for example, the vehicle type of the other vehicle 910 and features such as deformation and scratches are also recorded. This information is very useful, for example, in a situation where the related vehicle cannot be identified only from the license plate 911. The image processing unit 135 may generate a moving image file by embedding information such as the vehicle type and color of another vehicle 910 in the frame image, or may add it to the header portion of the moving image file.

次に、ドライブレコーダ200の制御フローについて説明する。図9は、ドライブレコーダ200の制御フローを示すフロー図である。図9のフロー図は、図6のフロー図におけるステップS106が削除され、代わりにステップS205、S206、S207が加えられている。このため、図6のフロー図と共通する処理については同一の符号を付し、説明を適宜省略する。 Next, the control flow of the drive recorder 200 will be described. FIG. 9 is a flow chart showing a control flow of the drive recorder 200. In the flow chart of FIG. 9, step S106 in the flow chart of FIG. 6 is deleted, and steps S205, S206, and S207 are added instead. Therefore, the same reference numerals are given to the processes common to the flow chart of FIG. 6, and the description thereof will be omitted as appropriate.

システム制御部131は、ステップS105で、フレーム画像からナンバープレートが検出できたと判断したらステップS205へ進み、検出できないと判断したらステップS107へ進む。システム制御部131は、ステップS205へ進むと、フレーム画像内において、他車両910が予め定められた配置関係にあるか否かを判断する。予め定められた配置関係にあると判断したら、ステップS206へ進む。予め定められた配置関係にないと判断したら、ステップS207へ進む。 In step S105, the system control unit 131 proceeds to step S205 if it determines that the license plate can be detected from the frame image, and proceeds to step S107 if it determines that the license plate cannot be detected. When the system control unit 131 proceeds to step S205, it determines whether or not the other vehicle 910 has a predetermined arrangement relationship in the frame image. If it is determined that the arrangement relationship is determined in advance, the process proceeds to step S206. If it is determined that the arrangement relationship is not determined in advance, the process proceeds to step S207.

システム制御部131は、ステップS207へ進んだ場合は、イベント発生から所定時間が経過したかを判断する。所定時間が経過していないと判断した場合には、ステップS102へ戻り、さらに継続してフレーム画像からナンバープレートを検出する。所定時間が経過したと判断したら、ステップS206へ進む。 When the system control unit 131 proceeds to step S207, it determines whether a predetermined time has elapsed since the event occurred. If it is determined that the predetermined time has not elapsed, the process returns to step S102, and the license plate is continuously detected from the frame image. When it is determined that the predetermined time has elapsed, the process proceeds to step S206.

システム制御部131は、ステップS206へ進むと、実施の形態1で説明したように主期間および事前期間を決定するとともに、フレーム画像内において他車両910が予め定められた配置関係にあると検出された時刻を終了時点とするように事後期間を決定する。これに応じてメモリ制御部137は、これら三期間に対応する動画像ファイルを上書禁止領域である不揮発バッファ153へコピーする。 When the system control unit 131 proceeds to step S206, it determines the main period and the prior period as described in the first embodiment, and detects that the other vehicles 910 have a predetermined arrangement relationship in the frame image. The post-period is determined so that the end point is the time. In response to this, the memory control unit 137 copies the moving image file corresponding to these three periods to the non-volatile buffer 153 which is the overwriting prohibited area.

システム制御部131は、ステップS205で他車両910が予め定められた配置関係にあると検出されなかった場合は、ナンバープレート検出から所定期間の動画像ファイルを上書禁止領域である不揮発バッファ153へコピーしてステップS206へ進む。例えば、システム制御部131は、他車両910が予め定められた配置関係にあると検出なかった場合、ナンバープレート検出から3分間経過するまでの動画像ファイルをイベント記録ファイルとして上書禁止領域である不揮発バッファ153へコピーする。具体的には、ステップS205でナンバープレートを検出できなかった場合はステップS207へ進み、イベント発生から所定時間が経過したかを判断する。所定時間が経過していないと判断した場合には、ステップS102へ戻り、さらに継続してフレーム画像からナンバープレートを検出する。所定時間が経過したと判断したら、ステップS206へ進む。 If the system control unit 131 does not detect in step S205 that the other vehicle 910 has a predetermined arrangement relationship, the system control unit 131 transfers the moving image file for a predetermined period from the license plate detection to the non-volatile buffer 153 which is the overwriting prohibited area. Copy and proceed to step S206. For example, when the system control unit 131 does not detect that the other vehicle 910 has a predetermined arrangement relationship, the moving image file from the license plate detection until 3 minutes have passed is used as an event recording file in the overwriting prohibited area. Copy to non-volatile buffer 153. Specifically, if the license plate cannot be detected in step S205, the process proceeds to step S207 to determine whether a predetermined time has elapsed since the event occurred. If it is determined that the predetermined time has not elapsed, the process returns to step S102, and the license plate is continuously detected from the frame image. When it is determined that the predetermined time has elapsed, the process proceeds to step S206.

なお、システム制御部131は、ステップS205で、他車両910がフレーム画像内において予め定められた配置関係にあると検出なかった場合には、メモリカード150の記憶容量が上限に達するまで、動画像ファイルを上書き禁止として不揮発バッファ153へコピーすることとしてもよい。また、このような記録処理を行う場合は、画像に変化があった区間の動画像ファイルを上書禁止領域である不揮発バッファ153へコピーすることとしてもよい。 If the system control unit 131 does not detect in step S205 that the other vehicle 910 has a predetermined arrangement relationship in the frame image, the moving image is obtained until the storage capacity of the memory card 150 reaches the upper limit. The file may be overwritten and copied to the non-volatile buffer 153. Further, when performing such recording processing, the moving image file of the section in which the image has changed may be copied to the non-volatile buffer 153 which is the overwriting prohibited area.

具体的には、システム制御部131は、ステップS205で、ナンバープレートを検出できなかった場合、生成された動画像ファイルの記録を継続しつつ、最新の動画像ファイルにおいて画像に変化が無かったか否かを解析する。具体的には、前後するフレーム画像を比較し、一致するか否かを判断する。そして、全フレームに渡って前後するフレーム間で一致すれば、その動画像ファイルにおいては、画像に変化が無かったと判断する。一部にでも一致しないフレーム画像があれば、画像に変化があったと判断する。なお、フレーム画像に対して比較的狭い一部の領域で変化があるだけの場合には、全体としては変化無しと判断しても良い。 Specifically, when the system control unit 131 cannot detect the license plate in step S205, whether or not there is no change in the image in the latest moving image file while continuing the recording of the generated moving image file. Analyze. Specifically, the frame images before and after are compared, and it is determined whether or not they match. Then, if the frames before and after the entire frame match, it is determined that there is no change in the image in the moving image file. If there is a frame image that does not match even a part, it is judged that the image has changed. If there is only a change in a part of the frame image that is relatively narrow, it may be determined that there is no change as a whole.

システム制御部131は、最新の動画像ファイルにおいて画像に変化が無かったと判断した場合は、メモリ制御部137に、変化が無かった区間である当該画像ファイルをメモリカード150から削除させる。一方、画像に変化があったと判断した場合は、メモリ制御部137にメモリカード150のリングバッファ152が枯渇したか、すなわち、リングバッファ152のうちイベント発生以前に生成された動画像ファイルが記録されたメモリ領域を使い果たしたか否かを判断する。使い果たしたと判断した場合は、これ以上新たな動画像ファイルを記録できるメモリ領域が存在しないものとして、一連の処理を終了する。このとき、メモリ制御部137は、メモリカード150のメモリ領域151全てを不揮発バッファ153に変更しても良い。一方、メモリ領域を使い果たしていないと判断した場合は、ステップS102へ戻って、逐次生成されるフレーム画像に対して他車両910が予め定められた配置関係にあるか否かの判断を継続する。 When the system control unit 131 determines that there is no change in the image in the latest moving image file, the system control unit 131 causes the memory control unit 137 to delete the image file in the section where there is no change from the memory card 150. On the other hand, when it is determined that the image has changed, the memory control unit 137 records whether the ring buffer 152 of the memory card 150 is exhausted, that is, the moving image file of the ring buffer 152 generated before the event occurs is recorded. Determine if the memory area has been used up. If it is determined that the file has been used up, it is assumed that there is no memory area for recording a new moving image file, and the series of processes is terminated. At this time, the memory control unit 137 may change the entire memory area 151 of the memory card 150 to the non-volatile buffer 153. On the other hand, when it is determined that the memory area is not used up, the process returns to step S102 and continues the determination as to whether or not the other vehicle 910 has a predetermined arrangement relationship with respect to the frame images sequentially generated.

このような処理を追加すると、リングバッファ152が枯渇するまでは、イベント発生後の様子を継続して記録できるので、残された動画像ファイルをより有効に活用することができる。また、被写体に動きの無い画像ファイルを削除するので、より後の期間まで動画像ファイルを記録でき、しかも利用価値の高い動画像ファイルを残すことができる。 By adding such a process, the state after the event occurs can be continuously recorded until the ring buffer 152 is exhausted, so that the remaining moving image file can be used more effectively. Further, since the image file in which the subject does not move is deleted, the moving image file can be recorded until a later period, and the moving image file having high utility value can be left.

以上二つの実施形態について説明したが、若干の変形例について説明する。図10は、他のドライブレコーダ100’が自車両900’に設置されている様子を示す概略図である。自車両900’は、上述の自車両900に対して後方にも複数の距離センサ170’を備える点で異なり、ドライブレコーダ100’は、上述のドライブレコーダ100に対してカメラユニット110の他に、後方の周辺環境を撮像するカメラユニット110’を備える点で異なる。このように構成された自車両900’およびドライブレコーダ100’によれば、後方から衝突する対象物にも対応することができる。 Although the two embodiments have been described above, some modifications will be described. FIG. 10 is a schematic view showing how another drive recorder 100'is installed in the own vehicle 900'. The own vehicle 900'is different from the above-mentioned own vehicle 900 in that a plurality of distance sensors 170' are provided behind the own vehicle 900, and the drive recorder 100'is different from the above-mentioned drive recorder 100 in that, in addition to the camera unit 110, It differs in that it is equipped with a camera unit 110'that images the surrounding environment behind. According to the own vehicle 900'and the drive recorder 100' configured in this way, it is possible to deal with an object colliding from behind.

この場合、メモリIF138にメモリカード150を2つ装着できるように構成すれば、一方のメモリカード150を前方用とし、他方のメモリカード150を後方用とすることもできる。もちろん、1つのメモリカード150のメモリ領域を前方用と後方用に区分して利用しても良い。 In this case, if the memory IF 138 is configured so that two memory cards 150 can be mounted, one memory card 150 can be used for the front and the other memory card 150 can be used for the rear. Of course, the memory area of one memory card 150 may be divided into front and rear and used.

加速度センサ160が検出した加速度の向きも検出できるものであれば、システム制御部131は、その加速度信号により、対象物が自車両900’に衝突した向きを判断することができる。システム制御部131は、対象物が前方から衝突したと判断した場合には、イベント発生に伴う上述の書き込み制御を、カメラユニット110から取得される画像データに対して実行する。一方、対象物が後方から衝突したと判断した場合には、イベント発生に伴う上述の書き込み制御を、カメラユニット110’から取得される画像データに対して実行する。すなわち、システム制御部131は、イベントが自車両900’に対して発生した発生方向に関する方向情報を加速度信号から抽出し、その方向情報にも基づいて、ナンバープレート検出を実行する対象を、カメラユニット110からの画像データとするか、カメラユニット110’からの画像データとするかを選択する。そして、その選択された画像データを取得して、上述の書き込み制御を実行する。このように構成された自車両900’およびドライブレコーダ100’によれば、イベントに起因する対象車両の情報をより正しく記録することができる。 If the direction of the acceleration detected by the acceleration sensor 160 can also be detected, the system control unit 131 can determine the direction in which the object collides with the own vehicle 900'from the acceleration signal. When the system control unit 131 determines that the object has collided from the front, the system control unit 131 executes the above-mentioned write control accompanying the occurrence of the event on the image data acquired from the camera unit 110. On the other hand, when it is determined that the object has collided from behind, the above-mentioned write control accompanying the occurrence of the event is executed on the image data acquired from the camera unit 110'. That is, the system control unit 131 extracts the direction information regarding the direction in which the event occurs with respect to the own vehicle 900'from the acceleration signal, and based on the direction information, the target to execute the number plate detection is the camera unit. Select whether to use image data from 110 or image data from the camera unit 110'. Then, the selected image data is acquired and the above-mentioned writing control is executed. According to the own vehicle 900'and the drive recorder 100' configured in this way, the information of the target vehicle caused by the event can be recorded more accurately.

以上説明した実施形態においては、メモリ領域151を、連続するリングバッファ152と連続する不揮発バッファ153に区分する例を説明したが、もちろん物理的に連続していなくても良い。また、以上の実施形態においては、リングバッファ152の一部を不揮発バッファ153に変更して、そこへ対象となる動画像ファイルをコピーする形態について説明したが、上書きを禁止する書込制御はこれに限らない。例えば、対象となる動画像ファイルが記録されているメモリ領域に上書き禁止のフラグを立てることにより、その領域を不揮発バッファ153と扱うこともできる。この場合は、動画像ファイルのコピー処理を省略できる。 In the above-described embodiment, the memory area 151 is divided into the continuous ring buffer 152 and the continuous non-volatile buffer 153, but of course, it does not have to be physically continuous. Further, in the above embodiment, a mode in which a part of the ring buffer 152 is changed to the non-volatile buffer 153 and the target moving image file is copied to the non-volatile buffer 152 has been described, but the write control for prohibiting overwriting is this. Not limited to. For example, by setting an overwrite prohibition flag in the memory area in which the target moving image file is recorded, that area can be treated as the non-volatile buffer 153. In this case, the copying process of the moving image file can be omitted.

また、以上の実施形態においては、一つのメモリカード150のメモリ領域151をリングバッファ152と不揮発バッファ153に区分する例を説明したが、リングバッファ152として利用するメモリカード150と、不揮発バッファ153として利用するメモリカード150をそれぞれ装着できる構成にすることもできる。また、着脱可能なメモリカード150を利用するのではなく、本体ユニット130に実装されたメモリであっても構わない。さらには、メモリIF138を無線IFとして構成し、物理的には隣接しないメモリに対して上述の書き込み制御を実行しても良い。 Further, in the above embodiment, the example in which the memory area 151 of one memory card 150 is divided into the ring buffer 152 and the non-volatile buffer 153 has been described, but the memory card 150 used as the ring buffer 152 and the non-volatile buffer 153 are used. It is also possible to configure the memory card 150 to be used to be installed. Further, instead of using the removable memory card 150, the memory mounted on the main unit 130 may be used. Further, the memory IF 138 may be configured as a wireless IF, and the above-mentioned write control may be executed for memories that are not physically adjacent to each other.

また、以上の実施形態においては、例えば1分の動画像ファイルを書込制御の一単位として説明したが、書込制御の一単位はひとつの動画像ファイルに限らない。例えば、フレーム単位で書込制御を行っても良い。また、対象とする画像データは、動画像データにかぎらず、例えば、インターバル撮影される静止画像データであっても構わない。 Further, in the above embodiment, for example, a one-minute moving image file has been described as one unit of writing control, but one unit of writing control is not limited to one moving image file. For example, write control may be performed on a frame-by-frame basis. Further, the target image data is not limited to moving image data, and may be, for example, still image data taken at intervals.

例えばフレーム単位で書き込み制御を行う場合には、既に生成されている例えば1分の動画像ファイルから、対象となる期間のファイルを切り出して新たな動画像ファイルを生成し、これをイベント記録ファイルとして不揮発バッファへ記録しても良い。この場合は、イベントが発生した時点を起点とする動画像ファイルを残すことができる。もちろん、事前期間を付加する場合も、この起点に対して所定時間遡った時刻を事前期間の開始時点とすることができる。このように起点を管理すれば、通常時の動画像ファイル時間に関係なく、例えばイベント発生前の10秒間とイベント発生後の10秒間とからなる動画像ファイルを、イベント記録ファイルとして確実に残存させることができる。 For example, when writing control is performed on a frame-by-frame basis, a new moving image file is generated by cutting out a file of the target period from the already generated moving image file of, for example, 1 minute, and this is used as an event recording file. It may be recorded in a non-volatile buffer. In this case, it is possible to leave a moving image file starting from the time when the event occurs. Of course, even when the advance period is added, the time retroactive to this starting point by a predetermined time can be set as the start time of the advance period. By managing the starting point in this way, regardless of the normal moving image file time, for example, a moving image file consisting of 10 seconds before the event occurs and 10 seconds after the event occurs is surely left as an event recording file. be able to.

また、以上の実施形態においては、イベントの発生を検出するセンサとして加速度センサ160を採用したが、他のセンサであっても構わない。例えば、対象物の衝突による変形を検出する歪みセンサであっても構わないし、異常温度を検出する温度センサであっても構わない。もちろん、複数のセンサを組み合わせて採用しても構わない。また、加速度センサ160等のセンサは、ドライブレコーダに組み込まれて構成されても良い。 Further, in the above embodiment, the acceleration sensor 160 is adopted as the sensor for detecting the occurrence of the event, but other sensors may be used. For example, it may be a strain sensor that detects deformation due to collision of an object, or it may be a temperature sensor that detects an abnormal temperature. Of course, a plurality of sensors may be used in combination. Further, the sensor such as the acceleration sensor 160 may be incorporated in the drive recorder.

また、以上の実施形態においては、加速度センサ160が加速度信号をシステム制御部131に出力し、その加速度信号がイベントの発生を示すイベント信号に該当するかどうかをシステム制御部131が判断する構成を採用したが、システム制御部131がイベント信号を取得する方法はこれに限らない。例えば、予め加速度センサ160の出力値に閾値を設定し、閾値以上の加速度信号のみをシステム制御部131に出力する構成であっても構わない。この場合は、システム制御部131が加速度信号を受信した時点を、システム制御部131がイベント信号を取得した時点とすることができる。もちろん、前述した他のセンサに同様の構成を組み込んで採用しても構わない。 Further, in the above embodiment, the acceleration sensor 160 outputs an acceleration signal to the system control unit 131, and the system control unit 131 determines whether or not the acceleration signal corresponds to an event signal indicating the occurrence of an event. Although adopted, the method by which the system control unit 131 acquires the event signal is not limited to this. For example, a threshold value may be set in advance for the output value of the acceleration sensor 160, and only acceleration signals equal to or higher than the threshold value may be output to the system control unit 131. In this case, the time when the system control unit 131 receives the acceleration signal can be set as the time when the system control unit 131 acquires the event signal. Of course, the same configuration may be incorporated into the other sensors described above and adopted.

また、図6および図9を用いて説明した処理フローでは、距離センサ170からの距離信号の履歴を用いたが、イベント検出前の情報を取得する方法は、これに限らない。イベント検出前の動画像ファイルを利用すれば、例えば被写体像の移動ベクトルを監視することにより対象物の接近を検出することもできる。また、ナンバープレート検出部140の能力等に応じて、特定方向の領域を重点的に探索する分岐フローを省いても構わない。分岐フローを省く場合には、例えば図6におけるステップS102およびS104が省かれる。 Further, in the processing flow described with reference to FIGS. 6 and 9, the history of the distance signal from the distance sensor 170 is used, but the method of acquiring the information before the event detection is not limited to this. By using the moving image file before the event detection, it is possible to detect the approach of the object by, for example, monitoring the movement vector of the subject image. Further, the branch flow for intensively searching for a region in a specific direction may be omitted depending on the ability of the license plate detection unit 140 and the like. When the branch flow is omitted, for example, steps S102 and S104 in FIG. 6 are omitted.

また、以上の実施形態においては、距離センサ170を自車両900に設置し、システム制御部131は、距離センサ170から距離信号を取得する構成を説明したが、例えば、カメラユニット110を複眼にして、その複眼画像から対象物までの距離を算出する構成であっても構わない。この場合は、距離センサ170との接続が省けるので、装置構成がよりシンプルになる。 Further, in the above embodiment, the configuration in which the distance sensor 170 is installed in the own vehicle 900 and the system control unit 131 acquires the distance signal from the distance sensor 170 has been described. However, for example, the camera unit 110 is used as a compound eye. , The distance from the compound eye image to the object may be calculated. In this case, since the connection with the distance sensor 170 can be omitted, the device configuration becomes simpler.

また、以上の実施形態においては、システム制御部131は、画像データのみからナンバープレート911を検出する構成を説明したが、例えば、距離センサ170から取得した距離信号から自車両900と他車両910との距離を算出し、算出された距離からナンバープレート911の像の大きさを推定し、その情報を画像マッチングに用いる構成であっても構わない。この場合は、ナンバープレートの検出をより速く、かつ確実に行うことができる。 Further, in the above embodiment, the system control unit 131 has described the configuration of detecting the license plate 911 only from the image data, but for example, the own vehicle 900 and the other vehicle 910 are described from the distance signal acquired from the distance sensor 170. The size of the image of the license plate 911 may be estimated from the calculated distance, and the information may be used for image matching. In this case, the license plate can be detected faster and more reliably.

また、以上の実施形態においては、ナンバープレート検出部140は、画像データにおいて所定以上の大きさで撮影されたナンバープレートのみを検出対象としてもよい。この場合は、衝突した他車両910以外の他車両のナンバープレートを誤検出する可能性を低減することができる。 Further, in the above embodiment, the license plate detection unit 140 may detect only the license plate photographed with a size larger than a predetermined size in the image data. In this case, it is possible to reduce the possibility of erroneously detecting the license plate of another vehicle other than the colliding other vehicle 910.

また、以上の実施形態においては、図4および図8に示したように、車両同士が正面衝突した例について説明したが、例えば、自車両900が他車両910に後方から追突した場合にも、本発明の構成を適用できる。この場合は、システム制御部131は、他車両910の後方に備えられたナンバープレートを検出する。 Further, in the above embodiment, as shown in FIGS. 4 and 8, an example in which vehicles collide head-on with each other has been described. However, for example, when the own vehicle 900 collides with another vehicle 910 from behind, it may also occur. The configuration of the present invention can be applied. In this case, the system control unit 131 detects the license plate provided behind the other vehicle 910.

また、実施の形態1においては、一定期間T2が経過した時を事後期間の終端とし、実施の形態2においては、フレーム画像内において対象車両が定められた配置関係を満たす時を事後期間の終端としたが、これらの条件を組み合わせてもよい。例えば、ナンバープレート検出後に一定期間T2が経過するか、フレーム画像内において対象車両が定められた配置関係を満たすまでのうち、いずれか長い方の期間を事後期間とする構成にしてもよい。この場合、イベント発生後の記録時間を十分に確保しつつ、対象車両の車種等の情報を記録することができる。いずれにしても、上書きがされないように記録された画像ファイルは、事故の検証等において有用である。 Further, in the first embodiment, the time when T2 elapses for a certain period is defined as the end of the post-period, and in the second embodiment, the time when the target vehicle satisfies the predetermined arrangement relationship in the frame image is the end of the post-period. However, these conditions may be combined. For example, the post-mortem period may be the longer of T2 after the license plate is detected or until the target vehicle satisfies the predetermined arrangement relationship in the frame image. In this case, it is possible to record information such as the vehicle type of the target vehicle while sufficiently securing the recording time after the event occurs. In any case, the image file recorded so as not to be overwritten is useful in accident verification and the like.

100、100’、200 ドライブレコーダ、110、110’ カメラユニット、112 レンズ、114 撮像素子、116 AFE、130 本体ユニット、131 システム制御部、132 画像入力IF、133 ワークメモリ、134 システムメモリ、135 画像処理部、136 表示出力部、137 メモリ制御部、138 メモリIF、139 入出力IF、140 NP検出部、141 配置検出部、142 バスライン、150 メモリカード、151 メモリ領域、152 リングバッファ、153 不揮発バッファ、160 加速度センサ、170、170’ 距離センサ、180 表示ユニット、900、900’ 自車両、910 他車両、911 ナンバープレート、912 側面部、920 路面 100, 100', 200 drive recorder, 110, 110' camera unit, 112 lens, 114 image sensor, 116 AFE, 130 main unit, 131 system control unit, 132 image input IF, 133 work memory, 134 system memory, 135 image Processing unit, 136 display output unit, 137 memory control unit, 138 memory IF, 139 input / output IF, 140 NP detection unit, 141 placement detection unit, 142 bus line, 150 memory card, 151 memory area, 152 ring buffer, 153 non-volatile Buffer, 160 acceleration sensor, 170, 170'distance sensor, 180 display unit, 900, 900' own vehicle, 910 other vehicles, 911 number plate, 912 side surface, 920 road surface

Claims (7)

自車両の周辺を撮像した画像データを逐次取得する画像データ取得部と、
前記自車両に対するイベントの発生を示すイベント信号を取得するイベント信号取得部と、
前記イベント信号取得部が前記イベント信号を取得した場合に、前記画像データ取得部が取得した前記画像データの画像からナンバープレートを検出するナンバープレート検出部と、
前記イベント信号取得部が前記イベント信号を取得した場合は、前記イベント信号を取得した時点から前記ナンバープレート検出部が前記ナンバープレートを検出した時点までの期間を含む前記画像データを、上書きがされないようにメモリに書き込む書込制御部と
を備える画像記録装置。
An image data acquisition unit that sequentially acquires image data that captures the surroundings of the own vehicle,
An event signal acquisition unit that acquires an event signal indicating the occurrence of an event for the own vehicle, and
A license plate detection unit that detects a license plate from an image of the image data acquired by the image data acquisition unit when the event signal acquisition unit acquires the event signal.
When the event signal acquisition unit acquires the event signal, the image data including the period from the time when the event signal is acquired to the time when the license plate detection unit detects the license plate is not overwritten. An image recording device including a write control unit for writing to a memory.
前記ナンバープレート検出部は、前記画像データ取得部が取得した前記画像データの画像から、所定以上の大きさで撮影されたナンバープレートを検出する、
請求項1に記載の画像記録装置。
The license plate detection unit detects a license plate taken with a size equal to or larger than a predetermined size from the image of the image data acquired by the image data acquisition unit.
The image recording device according to claim 1.
前記ナンバープレート検出部は、前記イベント信号取得部がイベントの発生を示すイベント信号を取得した前に捉えた接近物の方向の領域からナンバープレートを検出する、
請求項1または2に記載の画像記録装置。
The license plate detection unit detects the license plate from the region in the direction of the approaching object captured before the event signal acquisition unit acquires the event signal indicating the occurrence of the event .
The image recording apparatus according to claim 1 or 2.
前記書込制御部は、前記イベント信号を取得した時点から初めて前記ナンバープレート検出部が前記ナンバープレートを検出した時点までの期間を含む前記画像データを、上書きがされないようにメモリに書き込む、
請求項1または2に記載の画像記録装置。
The write control unit writes the image data including the period from the time when the event signal is acquired to the time when the license plate detection unit detects the license plate to the memory so as not to be overwritten.
The image recording apparatus according to claim 1 or 2.
前記書込制御部は、前記イベント信号取得部が前記イベント信号を取得しない場合は、前記画像データをリングバッファ形式によりメモリに書き込み、前記イベント信号取得部が前記イベント信号を取得した場合は、前記イベント信号を取得した時点から予め定められた期間だけ遡った時点から、前記ナンバープレート検出部が前記ナンバープレートを検出した時点までの期間を含む前記画像データを、上書きがされないようにメモリに書き込む、
請求項1から4のいずれか1項に記載の画像記録装置。
The write control unit writes the image data to the memory in a ring buffer format when the event signal acquisition unit does not acquire the event signal, and when the event signal acquisition unit acquires the event signal, the write control unit writes the image data to the memory. The image data including the period from the time when the event signal is acquired to the time when the number plate detection unit detects the number plate from the time when it goes back by a predetermined period is written to the memory so as not to be overwritten.
The image recording apparatus according to any one of claims 1 to 4.
自車両の周辺を撮像した画像データを逐次取得する画像データ取得ステップと、
前記自車両に対するイベントの発生を示すイベント信号を取得するイベント信号取得ステップと、
前記イベント信号取得ステップで前記イベント信号を取得した場合に、前記画像データ取得ステップで取得した前記画像データの画像からナンバープレートを検出するナンバープレート検出ステップと、
前記イベント信号取得ステップで前記イベント信号を取得した場合は、前記イベント信号を取得した時点から前記ナンバープレート検出ステップで前記ナンバープレートを検出した時点までの期間を含む前記画像データを、上書きがされないようにメモリに書き込む書込制御ステップと
を画像記録装置が実行する画像記録方法。
An image data acquisition step that sequentially acquires image data that captures the surroundings of the own vehicle,
An event signal acquisition step for acquiring an event signal indicating the occurrence of an event for the own vehicle, and
When the event signal is acquired in the event signal acquisition step, the license plate detection step of detecting the license plate from the image of the image data acquired in the image data acquisition step, and the license plate detection step.
When the event signal is acquired in the event signal acquisition step, the image data including the period from the time when the event signal is acquired to the time when the number plate is detected in the number plate detection step is not overwritten. An image recording method in which an image recording device executes a write control step of writing to memory.
自車両の周辺を撮像した画像データを逐次取得する画像データ取得ステップと、
前記自車両に対するイベントの発生を示すイベント信号を取得するイベント信号取得ステップと、
前記イベント信号取得ステップで前記イベント信号を取得した場合に、前記画像データ取得ステップで取得した前記画像データの画像からナンバープレートを検出するナンバープレート検出ステップと、
前記イベント信号取得ステップで前記イベント信号を取得した場合は、前記イベント信号を取得した時点から前記ナンバープレート検出ステップで前記ナンバープレートを検出した時点までの期間を含む前記画像データを、上書きがされないようにメモリに書き込む書込制御ステップと
をコンピュータに実行させる画像記録プログラム。

An image data acquisition step that sequentially acquires image data that captures the surroundings of the own vehicle,
An event signal acquisition step for acquiring an event signal indicating the occurrence of an event for the own vehicle, and
When the event signal is acquired in the event signal acquisition step, the license plate detection step of detecting the license plate from the image of the image data acquired in the image data acquisition step, and the license plate detection step.
When the event signal is acquired in the event signal acquisition step, the image data including the period from the time when the event signal is acquired to the time when the number plate is detected in the number plate detection step is not overwritten. An image recording program that causes a computer to perform write control steps that write to memory.

JP2019109367A 2019-06-12 2019-06-12 Image recording device, image recording method and image recording program Active JP6756992B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019109367A JP6756992B2 (en) 2019-06-12 2019-06-12 Image recording device, image recording method and image recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019109367A JP6756992B2 (en) 2019-06-12 2019-06-12 Image recording device, image recording method and image recording program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017147937A Division JP6544393B2 (en) 2017-07-31 2017-07-31 Image recording apparatus, image recording method and image recording program

Publications (2)

Publication Number Publication Date
JP2019169190A JP2019169190A (en) 2019-10-03
JP6756992B2 true JP6756992B2 (en) 2020-09-16

Family

ID=68107415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019109367A Active JP6756992B2 (en) 2019-06-12 2019-06-12 Image recording device, image recording method and image recording program

Country Status (1)

Country Link
JP (1) JP6756992B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7453005B2 (en) 2020-01-28 2024-03-19 パイオニア株式会社 Image information processing device, image information processing method, and image information processing program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013080518A (en) * 2013-01-10 2013-05-02 Panasonic Corp On-vehicle video data recording apparatus

Also Published As

Publication number Publication date
JP2019169190A (en) 2019-10-03

Similar Documents

Publication Publication Date Title
US11172170B2 (en) Image recording apparatus, image recording method, and image recording program
JP6544393B2 (en) Image recording apparatus, image recording method and image recording program
JP6911657B2 (en) Vehicle image recording device, vehicle image recording method and vehicle image recording program
CN101206799B (en) Monitoring system, monitoring apparatus and monitoring method
JP2009280109A (en) Vehicle vicinity monitoring system
JP6544394B2 (en) Image recording apparatus, image recording method and image recording program
JP2006195715A (en) Management system for rental vehicle
JP2017045396A (en) Image recorder and image recording method
JP6756992B2 (en) Image recording device, image recording method and image recording program
JP4973341B2 (en) License plate reader
JP6751277B2 (en) Image recording apparatus, image recording method, and image recording program
JP6721088B2 (en) Image recording apparatus, image recording method, and image recording program
JP6926786B2 (en) Image recording device, image recording method and image recording program
JP6544395B2 (en) Image recording apparatus, image recording method and image recording program
JP2019164403A (en) Recording control device, recording control method, and recording control program
JP5783591B2 (en) drive recorder
JP2022136534A (en) Image recording device
JP7038522B2 (en) Axle image generator, axle image generation method, and program
JP7310196B2 (en) Recording device, recording method and program
JP2022084077A (en) Image recording device
JP2007030815A (en) Drive recorder
JP2008083743A (en) Toll collection system and toll collection method
JP2022151246A (en) In-vehicle dashboard camera system
CN111860092A (en) Driver identity verification method and device, control equipment and storage medium
JP2020149129A (en) In-vehicle device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190612

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200615

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200811

R150 Certificate of patent or registration of utility model

Ref document number: 6756992

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150