JP5924054B2 - Program, information processing apparatus and information processing method - Google Patents

Program, information processing apparatus and information processing method Download PDF

Info

Publication number
JP5924054B2
JP5924054B2 JP2012062474A JP2012062474A JP5924054B2 JP 5924054 B2 JP5924054 B2 JP 5924054B2 JP 2012062474 A JP2012062474 A JP 2012062474A JP 2012062474 A JP2012062474 A JP 2012062474A JP 5924054 B2 JP5924054 B2 JP 5924054B2
Authority
JP
Japan
Prior art keywords
coordinates
control unit
license plate
lanes
cpu
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.)
Expired - Fee Related
Application number
JP2012062474A
Other languages
Japanese (ja)
Other versions
JP2013196344A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2012062474A priority Critical patent/JP5924054B2/en
Publication of JP2013196344A publication Critical patent/JP2013196344A/en
Application granted granted Critical
Publication of JP5924054B2 publication Critical patent/JP5924054B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Traffic Control Systems (AREA)
  • Image Analysis (AREA)

Description

本発明は、情報処理装置を用いたプログラム、情報処理装置及び情報処理方法に関する。   The present invention relates to a program using an information processing device, an information processing device, and an information processing method.

従来、ミリ波レーダまたはカメラ等により車両認識を行う交通監視装置が数々提案されている(例えば、特許文献1から3参照)。これらは道路にミリ波レーダまたはカメラを設置し、車両またはナンバープレート等の認識を行う。   Conventionally, many traffic monitoring apparatuses that perform vehicle recognition using a millimeter wave radar or a camera have been proposed (see, for example, Patent Documents 1 to 3). These install a millimeter wave radar or camera on the road to recognize vehicles or license plates.

特開2007−257536号公報JP 2007-257536 A 特開2004−258991号公報JP 2004-258991 A 特開2002−318533号公報JP 2002-318533 A

しかしながら、道路には1車線またはそれ以上の車線が混在しており、交通監視装置を現場にて設置する際に、設置者がわざわざ車線数を設定しなければならないという問題があった。   However, one lane or more lanes are mixed on the road, and there is a problem that the installer has to set the number of lanes when installing the traffic monitoring device at the site.

本発明は斯かる事情に鑑みてなされたものである。その目的は、装置設置時に設置者が車線数を設定する手間を省略することが可能なプログラム等を提供することにある。   The present invention has been made in view of such circumstances. The purpose is to provide a program or the like that can save the installer the trouble of setting the number of lanes when installing the apparatus.

本願に開示するプログラムは、制御部を有するコンピュータに、取り込み画像から認識した同一ナンバープレートの異なる時間における複数の座標を、複数種のナンバープレートについて予め記憶した数値まで前記制御部により取得し、取得した前記複数の座標に基づき前記制御部により各ナンバープレートの切片値を算出し、前記制御部により算出した複数の切片値の分布に基づき車線数を決定し、車線数を2車線と決定した場合に、前記制御部により取り込み画像から認識した二輪車のナンバープレートの座標を前記制御部により複数取得し、取得した複数の座標の内、取り込み画像の車線の幅方向に沿う第1座標系の最大値を抽出し、抽出した最大値に基づき、前記制御部により車線を分割する領域を変更する処理を実行させる。 The program disclosed in the present application is obtained by acquiring a plurality of coordinates at different times of the same license plate recognized from a captured image by a computer having a control unit up to a numerical value stored in advance for a plurality of types of license plates. When the control unit calculates the intercept value of each license plate based on the plurality of coordinates, the number of lanes is determined based on the distribution of the plurality of intercept values calculated by the control unit , and the number of lanes is determined to be two lanes In addition, the control unit acquires a plurality of coordinates of the two-wheeled vehicle license plate recognized from the captured image by the control unit, and among the acquired coordinates, the maximum value of the first coordinate system along the lane width direction of the captured image , And based on the extracted maximum value, the control unit executes a process of changing a region for dividing the lane .

本願の一観点によれば、装置設置時に設置者が車線数を設定する手間を省略することが可能となる。   According to one aspect of the present application, it is possible to omit the time and effort for the installer to set the number of lanes when installing the apparatus.

計測システムの概要を示す説明図である。It is explanatory drawing which shows the outline | summary of a measurement system. 情報処理装置のハードウェア群を示すブロック図である。It is a block diagram which shows the hardware group of information processing apparatus. 取り込み画像のイメージを示す説明図である。It is explanatory drawing which shows the image of a captured image. 履歴ファイルのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of a history file. 山の数により車線数を判断する例を示すグラフである。It is a graph which shows the example which judges the number of lanes by the number of mountains. 記憶処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a memory | storage process. 車線数決定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a lane number determination process. 移動方向を算出する際の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence at the time of calculating a moving direction. 移動方向を算出する際の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence at the time of calculating a moving direction. 実施の形態3に係る履歴ファイルのレコードレイアウトを示す説明図である。FIG. 10 is an explanatory diagram showing a record layout of a history file according to the third embodiment. 領域変更処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an area | region change process. 実施の形態4に係る移動方向算出処理の手順を示すフローチャートである。10 is a flowchart illustrating a procedure of movement direction calculation processing according to the fourth embodiment. 上述した形態の情報処理装置の動作を示す機能ブロック図である。It is a functional block diagram which shows operation | movement of the information processing apparatus of the form mentioned above. 実施の形態5に係る情報処理装置のハードウェア群を示すブロック図である。FIG. 10 is a block diagram illustrating a hardware group of an information processing device according to a fifth embodiment.

実施の形態1
以下実施の形態を、図面を参照して説明する。図1は計測システムの概要を示す説明図である。計測システムはインターネット、LAN(Local Area Network)及び公衆電話網等の通信網Nを介して相互に接続される情報処理装置1、撮像装置2及び監視装置3等を含む。情報処理装置1は例えばパーソナルコンピュータ、PDA(Personal Digital Assistance)または専用の制御装置であり道路を跨ぐ高架上または道路脇等に設置される。撮像装置2はビデオカメラであり撮像した画像を隣接して配置される情報処理装置1へ出力する。なお、撮像装置2(以下、カメラ2という)と情報処理装置1とを一体化しても良い。またカメラ2を、道路を跨ぐ高架上に設置し、情報処理装置1を道路脇に設置しても良い。
Embodiment 1
Hereinafter, embodiments will be described with reference to the drawings. FIG. 1 is an explanatory diagram showing an outline of a measurement system. The measurement system includes an information processing apparatus 1, an imaging apparatus 2, a monitoring apparatus 3, and the like that are connected to each other via a communication network N such as the Internet, a LAN (Local Area Network), and a public telephone network. The information processing apparatus 1 is, for example, a personal computer, a PDA (Personal Digital Assistance), or a dedicated control apparatus, and is installed on an overpass or on the side of a road. The imaging device 2 is a video camera and outputs the captured image to the information processing device 1 arranged adjacent to the imaging device 2. Note that the imaging device 2 (hereinafter referred to as the camera 2) and the information processing device 1 may be integrated. Further, the camera 2 may be installed on an overpass that crosses the road, and the information processing apparatus 1 may be installed on the side of the road.

監視装置3は例えばサーバコンピュータまたはパーソナルコンピュータであり情報処理装置1が認識した車両のナンバープレート番号を記憶する。車線は図1に示すように1車線または2車線以上のものが混在する。本実施形態では説明を容易にするために1車線と2車線との2種類が存在するものとして説明する。情報処理装置1は複数車両のナンバープレートの切片値の分布に基づき、車線数を決定する。情報処理装置1は決定した車線数を監視装置3(以下、パーソナルコンピュータ3という)へ送信する。以下詳細を説明する。   The monitoring device 3 is a server computer or a personal computer, for example, and stores the license plate number of the vehicle recognized by the information processing device 1. As shown in FIG. 1, one or more lanes are mixed. In the present embodiment, for ease of explanation, it is assumed that there are two types of one lane and two lanes. The information processing apparatus 1 determines the number of lanes based on the distribution of intercept values of license plates of a plurality of vehicles. The information processing device 1 transmits the determined number of lanes to the monitoring device 3 (hereinafter referred to as personal computer 3). Details will be described below.

図2は情報処理装置1のハードウェア群を示すブロック図である。情報処理装置1はCPU(Central Processing Unit)11、RAM(RandomAccess Memory)12、入力部13、表示部14、記憶部15、通信部16、時計部18及び画像取得部19等を含む。CPU11は、バス17を介してハードウェア各部と接続されている。CPU11は記憶部15に記憶された制御プログラム15Pに従いハードウェア各部を制御する。RAM12は例えばSRAM(Static RAM)、DRAM(Dynamic RAM)、フラッシュメモリ等である。RAM12は、CPU11による各種プログラムの実行時に発生する種々のデータを一時的に記憶する。   FIG. 2 is a block diagram illustrating a hardware group of the information processing apparatus 1. The information processing apparatus 1 includes a CPU (Central Processing Unit) 11, a RAM (Random Access Memory) 12, an input unit 13, a display unit 14, a storage unit 15, a communication unit 16, a clock unit 18, an image acquisition unit 19, and the like. The CPU 11 is connected to each part of the hardware via the bus 17. The CPU 11 controls each part of the hardware according to the control program 15P stored in the storage unit 15. The RAM 12 is, for example, SRAM (Static RAM), DRAM (Dynamic RAM), flash memory, or the like. The RAM 12 temporarily stores various data generated when the CPU 11 executes various programs.

入力部13は操作ボタン、マウス、キーボードまたはタッチパネル等であり入力された情報をCPU11へ出力する。表示部14は例えば液晶ディスプレイまたは有機EL(electroluminescence)ディスプレイであり、CPU11の制御に従い必要な情報を表示する。なお、入力部13及び表示部14は必ずしも設けなくても良い。通信部16は有線または無線のLANカード等であり、パーソナルコンピュータ3との間でHTTP(HyperText Transfer Protocol)等により情報を送受信する。時計部18は日時情報をCPU11へ出力する。画像取得部19は例えばフレームメモリ等であり、カメラ2から出力される画像をCPU11へ出力する。記憶部15は例えば、大容量フラッシュメモリまたはハードディスク等であり、制御プログラム15P、履歴ファイル151または設定ファイル152等を格納する。   The input unit 13 is an operation button, a mouse, a keyboard, a touch panel, or the like, and outputs input information to the CPU 11. The display unit 14 is, for example, a liquid crystal display or an organic EL (electroluminescence) display, and displays necessary information under the control of the CPU 11. Note that the input unit 13 and the display unit 14 are not necessarily provided. The communication unit 16 is a wired or wireless LAN card or the like, and transmits / receives information to / from the personal computer 3 by HTTP (HyperText Transfer Protocol) or the like. The clock unit 18 outputs date information to the CPU 11. The image acquisition unit 19 is a frame memory, for example, and outputs an image output from the camera 2 to the CPU 11. The storage unit 15 is, for example, a large-capacity flash memory or a hard disk, and stores the control program 15P, the history file 151, the setting file 152, and the like.

図3は取り込み画像のイメージを示す説明図である。画像取得部19は例えば1秒間に30の画像を取得しCPU11へ出力する。図3に示すように本実施形態では画面左下を原点とし、右横方向に増加する方向をX軸正方向、上方向に増加する方向をY軸正方向とする。第1座標系としてのX軸は0から1600ピクセル、第2座標系としてのY軸は0から1200ピクセルである。なお、本実施形態で示す数値は一例でありこれに限るものではない。また本実施形態では画像を3つの領域に分割している。CPU11は、各領域にてナンバープレートの認識を行う。図3の例では、2車線道路を走行する車両A及び車両Bのナンバープレートが領域1、領域2及び領域3のそれぞれにおいて認識されている。   FIG. 3 is an explanatory diagram showing an image of a captured image. The image acquisition unit 19 acquires, for example, 30 images per second and outputs them to the CPU 11. As shown in FIG. 3, in this embodiment, the lower left of the screen is the origin, the direction increasing in the right lateral direction is the X-axis positive direction, and the direction increasing upward is the Y-axis positive direction. The X axis as the first coordinate system is 0 to 1600 pixels, and the Y axis as the second coordinate system is 0 to 1200 pixels. In addition, the numerical value shown by this embodiment is an example, and is not restricted to this. In this embodiment, the image is divided into three regions. The CPU 11 recognizes the license plate in each area. In the example of FIG. 3, the license plates of the vehicles A and B traveling on the two-lane road are recognized in each of the regions 1, 2, and 3.

領域1はY軸の最大座標を含む領域であり、領域3はY軸の最小座標を含む領域である。切片値の算出にあたっては領域間の距離が最も大きくなる領域1及び領域3を用いる。なお、本実施形態では領域1及び領域3を用いる形態を示すが、これに限るものではない。領域1及び領域2または領域2及び領域3を用いても良い。また領域数の数はこれに限るものではなく、一または複数であれば良い。CPU11は、領域において認識したナンバープレートを履歴ファイル151に記憶する。またCPU11は、ナンバープレートを構成する座標を履歴ファイル151に記憶する。ナンバープレートを構成する座標はナンバープレートの左上隅の点とすれば良い。なお、ナンバープレートを構成する座標はナンバープレートの中心座標、右下隅の点等、他の点であっても良い。また領域内で複数回ナンバープレートを認識した場合、認識した時間の最も早い、または、遅い時間における座標を履歴ファイル151に記憶するようにすればよい。   Region 1 is a region including the maximum coordinate of the Y axis, and region 3 is a region including the minimum coordinate of the Y axis. In calculating the intercept value, the region 1 and the region 3 in which the distance between the regions is the largest are used. In addition, although the form which uses the area | region 1 and the area | region 3 is shown in this embodiment, it is not restricted to this. Region 1 and region 2 or region 2 and region 3 may be used. The number of regions is not limited to this, and it may be one or more. The CPU 11 stores the license plate recognized in the area in the history file 151. Further, the CPU 11 stores the coordinates constituting the license plate in the history file 151. The coordinates constituting the license plate may be the upper left corner point of the license plate. The coordinates constituting the license plate may be other points such as the center coordinate of the license plate and the point at the lower right corner. When the license plate is recognized a plurality of times in the area, the coordinates at the earliest or later time of the recognized time may be stored in the history file 151.

図4は履歴ファイル151のレコードレイアウトを示す説明図である。履歴ファイル151は台数フィールド、認識結果フィールド及び領域フィールド等を含む。台数フィールドにはナンバープレートを認識した車両の台数が記憶されている。認識結果フィールドには台数に対応づけて、パターンマッチング等により認識したナンバープレートの番号を記憶している。領域フィールドには、ナンバープレートの番号に対応づけて、各領域にて認識したナンバープレートの座標及び認識時刻を記憶している。図4の例では、ナンバープレート番号「11−22」が、領域1では12時00分00秒に認識され、ナンバープレートの座標は(1000、1200)と記憶されている。なお、履歴ファイル151のレコードレイアウトはあくまで一例であり、これに限るものではない。データ間の関係さえ維持されていれば、他の記憶形式であっても良い。またデータを記憶部15に記憶するほか、RAM12または図示しない外部の記憶部に記憶させても良い。   FIG. 4 is an explanatory diagram showing a record layout of the history file 151. The history file 151 includes a number field, a recognition result field, a region field, and the like. The number field stores the number of vehicles that have recognized the license plate. In the recognition result field, the number of the license plate recognized by pattern matching or the like is stored in association with the number. In the area field, the coordinates of the license plate recognized in each area and the recognition time are stored in association with the number of the license plate. In the example of FIG. 4, the license plate number “11-22” is recognized in the region 1 at 12:00:00, and the coordinates of the license plate are stored as (1000, 1200). The record layout of the history file 151 is merely an example, and the present invention is not limited to this. Other storage formats may be used as long as the relationship between data is maintained. In addition to storing the data in the storage unit 15, the data may be stored in the RAM 12 or an external storage unit (not shown).

CPU11は、各領域で認識したナンバープレートの左上隅の座標を履歴ファイル151に記憶する。またCPU11は、認識した時点で時計部18から出力される時間をナンバープレート及び座標に対応づけて、履歴ファイル151に記憶する。CPU11は、記憶部15に予め記憶した数値まで履歴ファイル151に記憶する。本実施形態においては100台分のナンバープレートについて認識を行う。なお、100台を超えた場合、他のレコードに新に認識したナンバープレート、台数、座標及び時刻を記憶するようにすればよい。   The CPU 11 stores the coordinates of the upper left corner of the license plate recognized in each area in the history file 151. Further, the CPU 11 stores the time output from the clock unit 18 at the time of recognition in the history file 151 in association with the license plate and the coordinates. The CPU 11 stores up to a numerical value stored in advance in the storage unit 15 in the history file 151. In this embodiment, 100 license plates are recognized. If the number exceeds 100, the newly recognized license plate, number, coordinates, and time may be stored in another record.

CPU11は、履歴ファイル151の領域1及び領域3の2座標を読み出す。CPU11は、読み出した2座標に基づきY軸の切片値を算出する。具体的にはy=ax+bで規定される1次関数のx、yに領域1及び領域3のx座標及びy座標を入力する。CPU11は、入力した値に基づき、切片値bを算出する。例えば、領域1の座標が(1000、1200)、領域3の座標が(800、800)の場合、切片値は−800となる。1車線の場合、この求めた切片値に近似する切片値が多数算出される。   The CPU 11 reads the two coordinates of the area 1 and the area 3 of the history file 151. The CPU 11 calculates the intercept value of the Y axis based on the read two coordinates. Specifically, the x and y coordinates of the region 1 and the region 3 are input to x and y of the linear function defined by y = ax + b. The CPU 11 calculates the intercept value b based on the input value. For example, when the coordinates of the region 1 are (1000, 1200) and the coordinates of the region 3 are (800, 800), the intercept value is −800. In the case of one lane, a large number of intercept values that approximate the obtained intercept value are calculated.

また、例えば領域1の座標が(600、1000)、領域3の座標が(200、10)の場合、切片値は−233となる。このように2車線の場合切片値の分布は2つとなる。CPU11は、算出した所定台数分の切片値の分散を算出する。CPU11は、閾値を読み出す。CPU11は、分散が読み出した閾値以下である場合、ばらつきが少なく1車線と判断する。CPU11は、分散が閾値を超える場合、ばらつきが多いため2車線と判断する。なお、複数の閾値を予め設定しておくことにより、分散に応じて3車線以上であることも判断することができる。本実施形態においては分散を用いる例を示したが、k-means法によるクラスタリング、または、閾値を超える山の数により車線数を判断しても良い。   For example, when the coordinates of the region 1 are (600, 1000) and the coordinates of the region 3 are (200, 10), the intercept value is −233. Thus, in the case of two lanes, there are two intercept value distributions. The CPU 11 calculates the variance of the intercept values for the calculated predetermined number. CPU11 reads a threshold value. When the variance is equal to or less than the read threshold value, the CPU 11 determines that there is little variation and one lane. When the variance exceeds the threshold, the CPU 11 determines that there are two lanes because there are many variations. Note that by setting a plurality of threshold values in advance, it can be determined that the number of lanes is three or more according to the dispersion. In this embodiment, an example using variance is shown, but the number of lanes may be determined by clustering by the k-means method or the number of peaks exceeding the threshold.

図5は山の数により車線数を判断する例を示すグラフである。図5Aは2車線の統計を示すグラフ、図5Bは1車線の統計を示すグラフである。横軸は切片値、縦軸は台数である。CPU11は、算出した切片値を横軸にとり、各切片値を有する台数を縦軸に取る。なお、横軸は算出した切片値を四捨五入した値、800〜810等所定の範囲に設定した値、小数点以下を切り捨てた値としても良い。図5に示すように、車線数に応じて記憶部15に記憶した閾値を超える山の数が相違する。CPU11は、記憶部15から閾値を読み出し、閾値を超える山の数を車線数とする。具体的にはCPU11は、切片値についての積分値が正から負へ変化する数を山の数として算出する。   FIG. 5 is a graph showing an example of determining the number of lanes based on the number of peaks. FIG. 5A is a graph showing statistics for two lanes, and FIG. 5B is a graph showing statistics for one lane. The horizontal axis is the intercept value, and the vertical axis is the number of units. The CPU 11 takes the calculated intercept value on the horizontal axis and the number of units having each intercept value on the vertical axis. The horizontal axis may be a value obtained by rounding the calculated intercept value, a value set in a predetermined range such as 800 to 810, or a value obtained by rounding down the decimal point. As shown in FIG. 5, the number of peaks exceeding the threshold stored in the storage unit 15 is different depending on the number of lanes. CPU11 reads a threshold value from the memory | storage part 15, and makes the number of the peaks which exceed a threshold value the number of lanes. Specifically, the CPU 11 calculates, as the number of peaks, the number at which the integral value for the intercept value changes from positive to negative.

図6は記憶処理の手順を示すフローチャートである。CPU11は、制御プログラム15Pに従い取り込んだ画像からナンバープレートの認識を行い、認識したナンバープレートの座標の算出、及び、認識時に時計部18から出力される時刻を取得する(ステップS61)。CPU11は、認識したナンバープレートの番号が履歴ファイル151内で最初のナンバープレート番号か否かを判断する(ステップS62)。CPU11は、最初のナンバープレート番号であると判断した場合(ステップS62でYES)、新たなレコードを作成すべく、ステップS63へ移行する。CPU11は、履歴ファイル151に台数を新に記憶する(ステップS63)。   FIG. 6 is a flowchart showing the procedure of the storage process. The CPU 11 recognizes the license plate from the image captured in accordance with the control program 15P, calculates the coordinates of the recognized license plate, and acquires the time output from the clock unit 18 at the time of recognition (step S61). The CPU 11 determines whether or not the recognized license plate number is the first license plate number in the history file 151 (step S62). If the CPU 11 determines that it is the first license plate number (YES in step S62), it proceeds to step S63 to create a new record. The CPU 11 newly stores the number in the history file 151 (step S63).

CPU11は、台数に対応づけて履歴ファイル151に認識したナンバープレート番号を記憶する(ステップS64)。CPU11は、最初のナンバープレート番号でないと判断した場合(ステップS62でNO)、及び、ステップS64の後、処理をステップS65へ移行させる。CPU11は、ナンバープレート番号に対応づけて履歴ファイル151に領域に対応する座標及び取得した時刻を記憶する(ステップS65)。なお、領域のY軸座標は記憶部15に予め記憶されており、CPU11は、記憶部15に記憶した座標と、算出した座標とに基づき、当該算出した座標が属する領域を判断する。   The CPU 11 stores the license plate number recognized in the history file 151 in association with the number (step S64). If the CPU 11 determines that it is not the first license plate number (NO in step S62), and after step S64, the process proceeds to step S65. The CPU 11 stores the coordinates corresponding to the area and the acquired time in the history file 151 in association with the license plate number (step S65). The Y-axis coordinates of the area are stored in advance in the storage unit 15, and the CPU 11 determines the area to which the calculated coordinates belong based on the coordinates stored in the storage unit 15 and the calculated coordinates.

CPU11は、記憶部15から所定台数を読み出し、履歴ファイル151に記憶した台数を参照し、所定台数分記憶したか否かを判断する(ステップS66)。CPU11は、履歴ファイル151に所定台数記憶していないと判断した場合(ステップS66でNO)、処理をステップS61へ戻す。これにより、複数種のナンバープレート番号及び座標値が取得される。CPU11は、所定台数分記憶したと判断した場合(ステップS66でYES)、処理を終了する。   The CPU 11 reads the predetermined number from the storage unit 15, refers to the number stored in the history file 151, and determines whether or not the predetermined number is stored (step S66). If the CPU 11 determines that the predetermined number is not stored in the history file 151 (NO in step S66), the process returns to step S61. Thereby, a plurality of types of license plate numbers and coordinate values are acquired. If the CPU 11 determines that a predetermined number of items have been stored (YES in step S66), the process ends.

図7は車線数決定処理の手順を示すフローチャートである。CPU11は、ステップS66の処理後以下の処理を行う。CPU11は、領域1の座標及び領域3の座標を履歴ファイル151から読み出す(ステップS71)。CPU11は、読み出した2座標に基づき、y軸切片値を算出する(ステップS72)。CPU11は、切片値をRAM12に記憶する(ステップS73)。CPU11は、履歴ファイル151に記憶した全ての台数について切片値を算出したか否かを判断する(ステップS74)。   FIG. 7 is a flowchart showing the procedure of the lane number determination process. CPU11 performs the following processes after the process of step S66. The CPU 11 reads out the coordinates of the area 1 and the coordinates of the area 3 from the history file 151 (step S71). The CPU 11 calculates a y-axis intercept value based on the read two coordinates (step S72). The CPU 11 stores the intercept value in the RAM 12 (step S73). The CPU 11 determines whether or not intercept values have been calculated for all the numbers stored in the history file 151 (step S74).

CPU11は、全ての台数について切片値を算出していないと判断した場合(ステップS74でNO)、処理をステップS71に戻す。CPU11は、全ての台数について切片値を算出したと判断した場合(ステップS74でYES)、処理をステップS75に移行させる。CPU11は、RAM12に記憶した複数の切片値を読み出し、分散を算出する(ステップS75)。CPU11は、記憶部15に記憶した閾値を読み出す(ステップS76)。CPU11は、算出した分散が閾値以下か否かを判断する(ステップS77)。   If the CPU 11 determines that the intercept value has not been calculated for all the units (NO in step S74), the process returns to step S71. If the CPU 11 determines that the intercept value has been calculated for all the units (YES in step S74), the process proceeds to step S75. CPU11 reads the some intercept value memorize | stored in RAM12, and calculates dispersion | distribution (step S75). The CPU 11 reads the threshold value stored in the storage unit 15 (step S76). The CPU 11 determines whether or not the calculated variance is equal to or less than a threshold value (step S77).

CPU11は、分散が閾値以下であると判断した場合(ステップS77でYES)、処理をステップS78へ移行させる。CPU11は、車線数を1に決定する(ステップS78)。CPU11は、分散が閾値以下でないと判断した場合(ステップS77でNO)、処理をステップS79に移行させる。CPU11は、車線数を2に決定する(ステップS79)。CPU11は、ステップS78またはS79の後、決定した車線数を設定ファイル152に記憶する(ステップS710)。これにより設置者が設定しなくとも道路の車線数が決定されることとなる。   If the CPU 11 determines that the variance is equal to or less than the threshold value (YES in step S77), the CPU 11 proceeds to step S78. CPU11 determines the number of lanes to 1 (step S78). If the CPU 11 determines that the variance is not less than or equal to the threshold (NO in step S77), the process proceeds to step S79. CPU11 determines the number of lanes to 2 (step S79). After step S78 or S79, the CPU 11 stores the determined number of lanes in the setting file 152 (step S710). As a result, the number of lanes on the road is determined without setting by the installer.

実施の形態2
実施の形態2はナンバープレートの移動方向を算出する形態に関する。図8及び図9は移動方向を算出する際の処理手順を示すフローチャートである。CPU11は、ナンバープレート番号に対応する領域の認識時刻を履歴ファイル151から読み出す(ステップS81)。CPU11は、領域1の認識時刻は領域2の認識時刻より前であるか否かを判断する(ステップS82)。CPU11は、領域1の認識時刻が前であると判断した場合(ステップS82でYES)、ステップS83へ移行する。CPU11は、領域2の認識時刻が領域3の認識時刻より前であるか否かを判断する(ステップS83)。CPU11は、領域2の認識時刻が領域3の認識時刻より前であると判断した場合(ステップS83でYES)、処理をステップS84へ移行させる。
Embodiment 2
The second embodiment relates to a mode for calculating the moving direction of the license plate. 8 and 9 are flowcharts showing a processing procedure when calculating the moving direction. The CPU 11 reads the recognition time of the area corresponding to the license plate number from the history file 151 (step S81). The CPU 11 determines whether or not the recognition time of the area 1 is before the recognition time of the area 2 (step S82). If the CPU 11 determines that the recognition time of the area 1 is before (YES in step S82), the CPU 11 proceeds to step S83. The CPU 11 determines whether or not the recognition time of the area 2 is before the recognition time of the area 3 (step S83). If the CPU 11 determines that the recognition time of the area 2 is before the recognition time of the area 3 (YES in step S83), the CPU 11 shifts the processing to step S84.

CPU11は、移動方向は画面の下側から上側、すなわちY軸正方向であると判断し、Y軸正方向フラグをインクリメントする(ステップS84)。その後処理をステップS87へ移行させる。CPU11は、領域2の認識時刻が領域3の認識時刻より前でないと判断した場合(ステップS83でNO)、認識ミスであるとして処理をステップS81に戻す。CPU11は、その後、次のナンバープレートについて処理を行う。CPU11は、領域1の認識時刻は領域2の認識時刻より前でないと判断した場合(ステップS82でNO)、処理をステップS85へ移行させる。CPU11は、領域3の認識時刻は領域2の認識時刻より前であるか否かを判断する(ステップS85)。   The CPU 11 determines that the moving direction is from the lower side to the upper side of the screen, that is, the Y-axis positive direction, and increments the Y-axis positive direction flag (step S84). Thereafter, the process proceeds to step S87. If the CPU 11 determines that the recognition time of the area 2 is not earlier than the recognition time of the area 3 (NO in step S83), the CPU 11 returns the process to step S81 as a recognition error. Thereafter, the CPU 11 performs processing for the next license plate. If the CPU 11 determines that the recognition time of the area 1 is not earlier than the recognition time of the area 2 (NO in step S82), the process proceeds to step S85. The CPU 11 determines whether or not the recognition time of the area 3 is before the recognition time of the area 2 (step S85).

CPU11は、領域3の認識時刻は領域2の認識時刻より前であると判断した場合(ステップS85でYES)、処理をステップS86へ移行させる。CPU11は、移動方向は画面の上側から下側、すなわちY軸負方向であると判断し、Y軸負方向フラグをインクリメントする(ステップS86)。その後処理をステップS87へ移行させる。CPU11は、領域3の認識時刻が領域2の認識時刻より前でないと判断した場合(ステップS85でNO)、認識ミスであるとして処理をステップS81に戻す。CPU11は、その後、次のナンバープレートについて処理を行う。   If the CPU 11 determines that the recognition time of the area 3 is before the recognition time of the area 2 (YES in step S85), the CPU 11 shifts the processing to step S86. The CPU 11 determines that the moving direction is from the upper side to the lower side of the screen, that is, the Y-axis negative direction, and increments the Y-axis negative direction flag (step S86). Thereafter, the process proceeds to step S87. If the CPU 11 determines that the recognition time of the area 3 is not earlier than the recognition time of the area 2 (NO in step S85), the CPU 11 returns the process to step S81 as a recognition error. Thereafter, the CPU 11 performs processing for the next license plate.

CPU11は、履歴ファイル151に記憶した全てのナンバープレート番号について上述した処理を終了したか否かを判断する(ステップS87)。CPU11は、全てのナンバープレート番号について処理を終了していないと判断した場合(ステップS87でNO)、処理をステップS81へ戻す。この場合、次のナンバープレートについて処理を行う。以上の処理を繰り返すことによりナンバープレートの移動方向が蓄積される。   The CPU 11 determines whether or not the above-described processing has been completed for all license plate numbers stored in the history file 151 (step S87). If the CPU 11 determines that the process has not been completed for all license plate numbers (NO in step S87), the process returns to step S81. In this case, the next license plate is processed. The movement direction of the license plate is accumulated by repeating the above processing.

全てのナンバープレート番号について処理を終了したと判断した場合(ステップS87でYES)、処理をステップS88へ移行させる。CPU11は、Y軸正方向のフラグ数がY軸負方向のフラグ数より多いか否かを判断する(ステップS88)。CPU11は、Y軸正方向のフラグ数が多いと判断した場合(ステップS88でYES)、ナンバープレートの移動方向をY軸正方向と決定する(ステップS89)。CPU11は、Y軸負方向のフラグ数より多いと判断できない場合(ステップS88でNO)、ナンバープレートの移動方向をY軸負方向と決定する(ステップS91)。ステップS89及びS91の処理後ステップS92へ移行する。CPU11は、ステップS89またはステップS91で決定した移動方向を設定ファイル152に記憶する(ステップS92)。これにより、設置者が設定しなくとも車両の移動方向が決定されることとなる。   If it is determined that the process has been completed for all license plate numbers (YES in step S87), the process proceeds to step S88. The CPU 11 determines whether or not the number of flags in the Y-axis positive direction is larger than the number of flags in the Y-axis negative direction (step S88). If the CPU 11 determines that the number of flags in the Y-axis positive direction is large (YES in step S88), the CPU 11 determines the movement direction of the license plate as the Y-axis positive direction (step S89). If the CPU 11 cannot determine that there are more flags than the Y-axis negative direction (NO in step S88), the CPU 11 determines the license plate moving direction as the Y-axis negative direction (step S91). After the processing of steps S89 and S91, the process proceeds to step S92. The CPU 11 stores the moving direction determined in step S89 or step S91 in the setting file 152 (step S92). Thus, the moving direction of the vehicle is determined without setting by the installer.

本実施の形態2は以上の如きであり、その他は実施の形態1と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The second embodiment is as described above, and the other parts are the same as those of the first embodiment. Therefore, the corresponding parts are denoted by the same reference numerals, and detailed description thereof is omitted.

実施の形態3
実施の形態3は二輪車の走行が多い車線について取り込み領域を変更する形態に関する。なお、本実施形態では説明を容易にするために二輪車を原動機付き自転車(以下、原付という)であるものとして説明するが、これに限るものではない。図10は実施の形態3に係る履歴ファイル151のレコードレイアウトを示す説明図である。新に原付フィールドが設けられている。CPU11は、原付のナンバープレートを認識した場合、原付フィールドにフラグを設定する。図10の例では白丸印が原付であることを示し、X印は原付でないことを示している。なお、原付か否かはナンバープレートの大きさ、または、番号等により識別すればよい。
Embodiment 3
The third embodiment relates to a mode in which the capturing area is changed for a lane in which a motorcycle is frequently traveling. In this embodiment, the motorcycle is described as a motor-equipped bicycle (hereinafter referred to as a moped) for ease of explanation, but the present invention is not limited to this. FIG. 10 is an explanatory diagram showing a record layout of the history file 151 according to the third embodiment. There is a new moped field. When the CPU 11 recognizes the original license plate, it sets a flag in the original field. In the example of FIG. 10, the white circle mark indicates that it is a moped, and the X mark indicates that it is not a moped. In addition, what is necessary is just to identify with the magnitude | size of a license plate, a number, etc. whether it is a moped.

図11は領域変更処理の手順を示すフローチャートである。CPU11は、設定ファイル152を参照し道路は2車線であり、かつ、移動方向はY軸正方向であるか否かを判断する(ステップS111)。CPU11は、道路が2車線であり、かつ、移動方向はY軸正方向であると判断できない場合(ステップS111でNO)、処理を終了する。CPU11は、設定ファイル152を参照し道路は2車線であり、かつ、移動方向はY軸正方向であると判断した場合(ステップS111でYES)、処理をステップS112へ移行させる。CPU11は、履歴ファイル151を参照し原付のX座標の最大値を読み出す(ステップS112)。CPU11は、第1座標系であるX軸の初期値及び終了値を記憶部15から読み出す(ステップS113)。例えば初期値は0、終了値は1600である。CPU11は、初期値及び終了値の平均を取ることにより中心値を算出する(ステップS114)。なお、中心値は予め記憶部15に記憶しておいても良い。またステップS112における最大値は中心値より小さいものを読み出すものとする。   FIG. 11 is a flowchart showing the procedure of the area changing process. The CPU 11 refers to the setting file 152 and determines whether or not the road is two lanes and the moving direction is the Y axis positive direction (step S111). CPU11 complete | finishes a process, when it cannot be judged that a road is 2 lanes and a moving direction is a Y-axis positive direction (it is NO at step S111). If the CPU 11 refers to the setting file 152 and determines that the road is a two-lane road and the moving direction is the positive Y-axis direction (YES in step S111), the process proceeds to step S112. The CPU 11 refers to the history file 151 and reads the maximum value of the X coordinate of the moped (step S112). CPU11 reads the initial value and end value of the X-axis which are 1st coordinate systems from the memory | storage part 15 (step S113). For example, the initial value is 0 and the end value is 1600. The CPU 11 calculates the center value by taking the average of the initial value and the end value (step S114). The center value may be stored in the storage unit 15 in advance. Also, the maximum value in step S112 is read out that is smaller than the center value.

CPU11は、中心値に最大値を加算し合計値を算出する(ステップS115)。CPU11は、第1車線の領域を初期値から合計値までに変更する(ステップS116)。CPU11は、第2車線の領域を合計値から終了値までに変更する(ステップS117)。CPU11は、変更後の領域を設定ファイル152に記憶する(ステップS118)。なお、CPU11は、設定ファイル152の記憶内容を定期的に、通信部16を介してパーソナルコンピュータ3へ送信する。本実施形態において、例えば最大値が200の場合、第1車線の領域はx=0から1000、第2車線の領域はx=1000から1600となる。すなわち中心値800で2分していたよりも第1車線の領域が広くなる。これにより、第1車線を走行する車両の取り込み範囲が増加する結果、原付を避けて中央付近を走行する車両のナンバープレートを的確に認識することが可能となる。   The CPU 11 calculates the total value by adding the maximum value to the center value (step S115). The CPU 11 changes the area of the first lane from the initial value to the total value (step S116). CPU11 changes the area | region of a 2nd lane from a total value to an end value (step S117). The CPU 11 stores the changed area in the setting file 152 (step S118). The CPU 11 periodically transmits the stored contents of the setting file 152 to the personal computer 3 via the communication unit 16. In the present embodiment, for example, when the maximum value is 200, the region of the first lane is x = 0 to 1000, and the region of the second lane is x = 1000 to 1600. That is, the area of the first lane becomes wider than when the center value 800 was divided into two. As a result, as a result of an increase in the capturing range of vehicles traveling in the first lane, it becomes possible to accurately recognize the license plate of the vehicle traveling near the center while avoiding moped.

本実施の形態3は以上の如きであり、その他は実施の形態1及び2と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The third embodiment is as described above, and the others are the same as in the first and second embodiments. Therefore, the corresponding parts are denoted by the same reference numerals, and detailed description thereof is omitted.

実施の形態4
実施の形態4は定期的に移動方向を算出する形態に関する。図12は実施の形態4に係る移動方向算出処理の手順を示すフローチャートである。CPU11は、ステップS92において移動方向を設定ファイル152に記憶した後、一定時間(例えば30分)を経過したか否かを判断する(ステップS121)。なお、一定時間は記憶部15に予め記憶されている。なお、本実施形態では30分間隔に処理を行う例を挙げたが、毎時0分等、予め定められた時間毎に処理を行っても良い。
Embodiment 4
The fourth embodiment relates to a mode for periodically calculating the moving direction. FIG. 12 is a flowchart showing a procedure of movement direction calculation processing according to the fourth embodiment. After storing the moving direction in the setting file 152 in step S92, the CPU 11 determines whether or not a predetermined time (for example, 30 minutes) has elapsed (step S121). The predetermined time is stored in advance in the storage unit 15. In the present embodiment, an example is given in which processing is performed at intervals of 30 minutes, but processing may be performed at predetermined time intervals such as 0 minutes per hour.

CPU11は、一定時間を経過していないと判断した場合(ステップS121でNO)、一定時間を経過するまで待機する。CPU11は、一定時間を経過したと判断した場合(ステップS121でYES)、ステップS61〜S66の処理を実行する。すなわち、所定台数分のナンバープレートの座標及び認識時刻を履歴ファイル151に記憶する。その後、CPU11は、ステップS81〜S92で述べた処理を行う。すなわち、実施の形態2で述べた移動方向の算出処理を行う。なお、実施の形態1で述べた車線数の算出処理は実行しても良いし、本実施形態の如く実施しなくとも良い。   If the CPU 11 determines that the predetermined time has not elapsed (NO in step S121), the CPU 11 waits until the predetermined time elapses. If the CPU 11 determines that a certain time has elapsed (YES in step S121), the CPU 11 executes the processes of steps S61 to S66. In other words, the coordinates and recognition times of a predetermined number of license plates are stored in the history file 151. Thereafter, the CPU 11 performs the processing described in steps S81 to S92. That is, the movement direction calculation process described in the second embodiment is performed. Note that the lane number calculation process described in the first embodiment may be executed or may not be executed as in the present embodiment.

CPU11は、その後ステップS111〜S118の処理を行う。すなわち、実施の形態3で述べた中心値の変更処理が行われる。なお、ステップS111〜S118の処理は必ずしも繰り返し行う必要はない。これにより、時間に応じて走行方向が変更される道路を撮像している場合でも、自動的に移動方向及び中心値の変更処理が実行される。   CPU11 performs the process of step S111-S118 after that. That is, the center value changing process described in the third embodiment is performed. Note that the processing of steps S111 to S118 is not necessarily repeated. Thereby, even when the road whose traveling direction is changed according to time is imaged, the moving direction and center value changing process is automatically executed.

本実施の形態4は以上の如きであり、その他は実施の形態1から3と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The fourth embodiment is as described above, and the others are the same as those of the first to third embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted.

実施の形態5
図13は上述した形態の情報処理装置1の動作を示す機能ブロック図である。CPU11が制御プログラム15Pを実行することにより、情報処理装置1は以下のように動作する。取得部101は取り込み画像から認識した同一ナンバープレートの異なる時間における複数の座標を、複数種のナンバープレートについて予め記憶した数値まで取得する。算出部102は取得部101により取得した複数の座標に基づき各ナンバープレートの切片値を算出する。決定部103は算出部102により算出した複数の切片値の分布に基づき車線数を決定する。
Embodiment 5
FIG. 13 is a functional block diagram showing the operation of the information processing apparatus 1 having the above-described form. When the CPU 11 executes the control program 15P, the information processing apparatus 1 operates as follows. The acquisition unit 101 acquires a plurality of coordinates at different times of the same license plate recognized from the captured image up to numerical values stored in advance for a plurality of types of license plates. The calculation unit 102 calculates the intercept value of each license plate based on the plurality of coordinates acquired by the acquisition unit 101. The determination unit 103 determines the number of lanes based on the distribution of the plurality of intercept values calculated by the calculation unit 102.

図14は実施の形態5に係る情報処理装置1のハードウェア群を示すブロック図である。情報処理装置1を動作させるためのプログラムは、ディスクドライブ等の読み取り部10AにCD-ROM、DVD(DigitalVersatile Disc)ディスク、メモリカード、またはUSB(Universal Serial Bus)メモリ等の可搬型記録媒体1Aを読み取らせて記憶部15に記憶しても良い。また当該プログラムを記憶したフラッシュメモリ等の半導体メモリ1Bを情報処理装置1内に実装しても良い。さらに、当該プログラムは、インターネット等の通信網Nを介して接続される他のサーバコンピュータ(図示せず)からダウンロードすることも可能である。以下に、その内容を説明する。   FIG. 14 is a block diagram illustrating a hardware group of the information processing apparatus 1 according to the fifth embodiment. A program for operating the information processing apparatus 1 includes a portable recording medium 1A such as a CD-ROM, a DVD (Digital Versatile Disc) disk, a memory card, or a USB (Universal Serial Bus) memory in a reading unit 10A such as a disk drive. It may be read and stored in the storage unit 15. Further, a semiconductor memory 1B such as a flash memory storing the program may be mounted in the information processing apparatus 1. Further, the program can be downloaded from another server computer (not shown) connected via a communication network N such as the Internet. The contents will be described below.

図14に示す情報処理装置1は、上述した各種ソフトウェア処理を実行するプログラムを、可搬型記録媒体1Aまたは半導体メモリ1Bから読み取り、或いは、通信網Nを介して他のサーバコンピュータ(図示せず)からダウンロードする。当該プログラムは、制御プログラム15Pとしてインストールされ、RAM12にロードして実行される。これにより、上述した情報処理装置1として機能する。   The information processing apparatus 1 shown in FIG. 14 reads a program for executing the above-described various software processes from the portable recording medium 1A or the semiconductor memory 1B, or another server computer (not shown) via the communication network N. Download from. The program is installed as the control program 15P, loaded into the RAM 12, and executed. Thereby, it functions as the information processing apparatus 1 described above.

本実施の形態5は以上の如きであり、その他は実施の形態1から4と同様であるので、対応する部分には同一の参照番号を付してその詳細な説明を省略する。   The fifth embodiment is as described above, and the other parts are the same as those of the first to fourth embodiments. Therefore, the corresponding parts are denoted by the same reference numerals and detailed description thereof is omitted.

以上の実施の形態1乃至5を含む実施形態に関し、さらに以下の付記を開示する。   With respect to the embodiments including the first to fifth embodiments, the following additional notes are disclosed.

(付記1)
制御部を有するコンピュータに、
取り込み画像から認識した同一ナンバープレートの異なる時間における複数の座標を、複数種のナンバープレートについて予め記憶した数値まで前記制御部により取得し、
取得した前記複数の座標に基づき前記制御部により各ナンバープレートの切片値を算出し、
前記制御部により算出した複数の切片値の分布に基づき車線数を決定する
処理を実行させるプログラム。
(Appendix 1)
To a computer having a control unit,
A plurality of coordinates at different times of the same license plate recognized from the captured image is acquired by the control unit up to a numerical value stored in advance for a plurality of types of license plates,
Calculate the intercept value of each license plate by the control unit based on the plurality of acquired coordinates,
A program for executing processing for determining the number of lanes based on a distribution of a plurality of intercept values calculated by the control unit.

(付記2)
車線数を決定するに際し、前記制御部により前記算出した切片値の分散を算出し、算出した分散の値に応じて車線数を決定する
付記1に記載のプログラム。
(Appendix 2)
The program according to claim 1, wherein, when determining the number of lanes, the variance of the calculated intercept value is calculated by the control unit, and the number of lanes is determined according to the calculated value of variance.

(付記3)
取得した複数の座標及び各座標を取得した時間に基づき前記制御部により各ナンバープレートの移動方向を算出する
付記1または2に記載のプログラム。
(Appendix 3)
The program according to appendix 1 or 2, wherein the control unit calculates a moving direction of each license plate based on the acquired plurality of coordinates and the time when each coordinate is acquired.

(付記4)
車線数を2車線と決定した場合に、前記制御部により取り込み画像から認識した二輪車のナンバープレートの座標を前記制御部により複数取得し、
取得した複数の座標の内、取り込み画像の第1座標系の最大値を抽出し、
抽出した最大値に基づき、前記制御部により車線を分割する領域を変更する
付記2または3に記載のプログラム。
(Appendix 4)
When the number of lanes is determined as two lanes, the control unit acquires a plurality of coordinates of the number plate of the motorcycle recognized from the captured image by the control unit,
Extract the maximum value of the first coordinate system of the captured image from the acquired multiple coordinates,
The program according to attachment 2 or 3, wherein the control unit changes a region in which a lane is divided based on the extracted maximum value.

(付記5)
領域を変更するに際し、
前記第1座標系における画像取り込み画像の初期値及び終了値に基づき決定される中心値に抽出した最大値を、前記制御部により加算して合計値を求め、
前記制御部により前記初期値から前記合計値までを第1車線の領域に変更し、前記合計値から前記終了値までを第2車線に変更する
付記4に記載のプログラム。
(Appendix 5)
When changing the area,
The maximum value extracted to the center value determined based on the initial value and the end value of the image captured image in the first coordinate system is added by the control unit to obtain a total value,
The program according to claim 4, wherein the control unit changes the range from the initial value to the total value to a first lane region, and changes the total value to the end value to a second lane.

(付記6)
前記制御部により取り込み画像を第2座標系にて3以上に分割し、
第2座標系における画像取り込み領域の最小座標が属する取り込み画像及び最大座標が属する取り込み画像から認識した同一ナンバープレートの異なる時間における2座標を、各ナンバープレートについて予め記憶した数値まで前記制御部により取得する
付記1から5のいずれか一つに記載のプログラム。
(Appendix 6)
The captured image is divided into three or more in the second coordinate system by the control unit,
The two coordinates at different times of the same license plate recognized from the captured image to which the minimum coordinate of the image capturing area in the second coordinate system belongs and the captured image to which the maximum coordinate belongs are acquired by the control unit up to a numerical value stored in advance for each license plate. Yes The program according to any one of appendices 1 to 5.

(付記7)
一定時間毎に、取得した複数の座標及び各座標を取得した時間に基づき前記制御部により各ナンバープレートの移動方向を算出する
付記1から6のいずれか一つに記載のプログラム。
(Appendix 7)
The program according to any one of appendices 1 to 6, wherein the control unit calculates a moving direction of each license plate based on a plurality of acquired coordinates and a time at which each coordinate is acquired at regular time intervals.

(付記8)
取り込み画像から認識した同一ナンバープレートの異なる時間における座標を、各ナンバープレートについて予め記憶した数値まで取得する取得部と、
該取得部により取得した複数の座標に基づき各ナンバープレートの切片値を算出する算出部と、
該算出部により算出した複数の切片値の分布に基づき車線数を決定する決定部と
を備える情報処理装置。
(Appendix 8)
An acquisition unit that acquires coordinates at different times of the same license plate recognized from the captured image up to a numerical value stored in advance for each license plate;
A calculation unit that calculates an intercept value of each license plate based on a plurality of coordinates acquired by the acquisition unit;
An information processing apparatus comprising: a determination unit that determines the number of lanes based on a distribution of a plurality of intercept values calculated by the calculation unit.

(付記9)
制御部を有するコンピュータを用いた情報処理方法において、
取り込み画像から認識した同一ナンバープレートの異なる時間における座標を、各ナンバープレートについて予め記憶した数値まで前記制御部により取得し、
取得した複数の座標に基づき前記制御部により各ナンバープレートの切片値を算出し、
前記制御部により算出した複数の切片値の分布に基づき車線数を決定する
情報処理方法。
(Appendix 9)
In an information processing method using a computer having a control unit,
The coordinates at different times of the same license plate recognized from the captured image are acquired by the control unit up to a numerical value stored in advance for each license plate,
Calculate the intercept value of each license plate by the control unit based on the acquired multiple coordinates,
An information processing method for determining the number of lanes based on a distribution of a plurality of intercept values calculated by the control unit.

1 情報処理装置
2 カメラ
1A 可搬型記録媒体
1B 半導体メモリ
3 パーソナルコンピュータ
10A 読み取り部
11 CPU
12 RAM
13 入力部
14 表示部
15 記憶部
15P 制御プログラム
16 通信部
18 時計部
19 画像取得部
101 取得部
102 算出部
103 決定部
151 履歴ファイル
152 設定ファイル
N 通信網
DESCRIPTION OF SYMBOLS 1 Information processing apparatus 2 Camera 1A Portable recording medium 1B Semiconductor memory 3 Personal computer 10A Reading part 11 CPU
12 RAM
DESCRIPTION OF SYMBOLS 13 Input part 14 Display part 15 Memory | storage part 15P Control program 16 Communication part 18 Clock part 19 Image acquisition part 101 Acquisition part 102 Calculation part 103 Determination part 151 History file 152 Setting file N Communication network

Claims (5)

制御部を有するコンピュータに、
取り込み画像から認識した同一ナンバープレートの異なる時間における複数の座標を、複数種のナンバープレートについて予め記憶した数値まで前記制御部により取得し、
取得した前記複数の座標に基づき前記制御部により各ナンバープレートの切片値を算出し、
前記制御部により算出した複数の切片値の分布に基づき車線数を決定し、
車線数を2車線と決定した場合に、前記制御部により取り込み画像から認識した二輪車のナンバープレートの座標を前記制御部により複数取得し、
取得した複数の座標の内、取り込み画像の車線の幅方向に沿う第1座標系の最大値を抽出し、
抽出した最大値に基づき、前記制御部により車線を分割する領域を変更する
処理を実行させるプログラム。
To a computer having a control unit,
A plurality of coordinates at different times of the same license plate recognized from the captured image is acquired by the control unit up to a numerical value stored in advance for a plurality of types of license plates,
Calculate the intercept value of each license plate by the control unit based on the plurality of acquired coordinates,
Determine the number of lanes based on the distribution of a plurality of intercept values calculated by the control unit ,
When the number of lanes is determined as two lanes, the control unit acquires a plurality of coordinates of the number plate of the motorcycle recognized from the captured image by the control unit,
Extract the maximum value of the first coordinate system along the width direction of the lane of the captured image from the plurality of acquired coordinates,
A program for executing a process of changing a region for dividing a lane by the control unit based on the extracted maximum value .
車線数を決定するに際し、前記制御部により前記算出した切片値の分散を算出し、算出した分散の値に応じて車線数を決定する
請求項1に記載のプログラム。
The program according to claim 1, wherein when determining the number of lanes, the controller calculates a variance of the calculated intercept value and determines the number of lanes according to the calculated variance value.
取得した複数の座標及び各座標を取得した時間に基づき前記制御部により各ナンバープレートの移動方向を算出する
請求項1または2に記載のプログラム。
The program according to claim 1 or 2, wherein a moving direction of each license plate is calculated by the control unit based on a plurality of acquired coordinates and a time at which each coordinate is acquired.
取り込み画像から認識した同一ナンバープレートの異なる時間における座標を、各ナンバープレートについて予め記憶した数値まで取得する取得部と、
該取得部により取得した複数の座標に基づき各ナンバープレートの切片値を算出する算出部と、
該算出部により算出した複数の切片値の分布に基づき車線数を決定する決定部と
車線数を2車線と決定した場合に、取り込み画像から認識した二輪車のナンバープレートの座標を複数取得する座標取得部と、
取得した複数の座標の内、取り込み画像の車線の幅方向に沿う第1座標系の最大値を抽出する抽出部と、
抽出した最大値に基づき、車線を分割する領域を変更する変更部と
を備える情報処理装置。
An acquisition unit that acquires coordinates at different times of the same license plate recognized from the captured image up to a numerical value stored in advance for each license plate;
A calculation unit that calculates an intercept value of each license plate based on a plurality of coordinates acquired by the acquisition unit;
A determining unit that determines the number of lanes based on a distribution of a plurality of intercept values calculated by the calculating unit ;
A coordinate acquisition unit for acquiring a plurality of coordinates of a license plate of a two-wheeled vehicle recognized from a captured image when the number of lanes is determined as two lanes;
An extraction unit that extracts the maximum value of the first coordinate system along the width direction of the lane of the captured image among the plurality of acquired coordinates;
An information processing apparatus comprising: a changing unit that changes a region for dividing a lane based on the extracted maximum value .
制御部を有するコンピュータを用いた情報処理方法において、
取り込み画像から認識した同一ナンバープレートの異なる時間における座標を、各ナンバープレートについて予め記憶した数値まで前記制御部により取得し、
取得した複数の座標に基づき前記制御部により各ナンバープレートの切片値を算出し、
前記制御部により算出した複数の切片値の分布に基づき車線数を決定し、
車線数を2車線と決定した場合に、前記制御部により取り込み画像から認識した二輪車のナンバープレートの座標を前記制御部により複数取得し、
取得した複数の座標の内、取り込み画像の車線の幅方向に沿う第1座標系の最大値を抽出し、
抽出した最大値に基づき、前記制御部により車線を分割する領域を変更する
情報処理方法。
In an information processing method using a computer having a control unit,
The coordinates at different times of the same license plate recognized from the captured image are acquired by the control unit up to a numerical value stored in advance for each license plate,
Calculate the intercept value of each license plate by the control unit based on the acquired multiple coordinates,
Determine the number of lanes based on the distribution of a plurality of intercept values calculated by the control unit ,
When the number of lanes is determined as two lanes, the control unit acquires a plurality of coordinates of the number plate of the motorcycle recognized from the captured image by the control unit,
Extract the maximum value of the first coordinate system along the width direction of the lane of the captured image from the plurality of acquired coordinates,
An information processing method for changing a region for dividing a lane by the control unit based on an extracted maximum value .
JP2012062474A 2012-03-19 2012-03-19 Program, information processing apparatus and information processing method Expired - Fee Related JP5924054B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012062474A JP5924054B2 (en) 2012-03-19 2012-03-19 Program, information processing apparatus and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012062474A JP5924054B2 (en) 2012-03-19 2012-03-19 Program, information processing apparatus and information processing method

Publications (2)

Publication Number Publication Date
JP2013196344A JP2013196344A (en) 2013-09-30
JP5924054B2 true JP5924054B2 (en) 2016-05-25

Family

ID=49395214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012062474A Expired - Fee Related JP5924054B2 (en) 2012-03-19 2012-03-19 Program, information processing apparatus and information processing method

Country Status (1)

Country Link
JP (1) JP5924054B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157652A (en) * 2003-11-25 2005-06-16 Nissan Motor Co Ltd Driving supporting on-vehicle information providing system
JP4391839B2 (en) * 2004-01-30 2009-12-24 富士通株式会社 Shooting condition setting program, shooting condition setting method, and shooting condition setting apparatus
JP4850471B2 (en) * 2005-10-04 2012-01-11 富士重工業株式会社 Vehicle information presentation device
JP2007257536A (en) * 2006-03-24 2007-10-04 Fujitsu Ltd Road traffic monitoring device by means of millimeter-wave radar
JP2008146154A (en) * 2006-12-06 2008-06-26 Mitsubishi Electric Corp Vehicle type determination device
TWI409718B (en) * 2009-12-04 2013-09-21 Huper Lab Co Ltd Method of locating license plate of moving vehicle

Also Published As

Publication number Publication date
JP2013196344A (en) 2013-09-30

Similar Documents

Publication Publication Date Title
US9710977B2 (en) Vehicle data collection and verification
US10896349B2 (en) Text detection method and apparatus, and storage medium
US9760800B2 (en) Method and system to detect objects using block based histogram of oriented gradients
CN103093181B (en) A kind of method and apparatus of license plate image location
US20170124417A1 (en) Facilitating Text Identification and Editing in Images
EP3443482B1 (en) Classifying entities in digital maps using discrete non-trace positioning data
JP6642970B2 (en) Attention area detection device, attention area detection method, and program
US20170109949A1 (en) Vehicle data collection and verification
JP7026165B2 (en) Text recognition method and text recognition device, electronic equipment, storage medium
GB2501224A (en) Generating and comparing video signatures using sets of image features
JP2013196454A (en) Image processor, image processing method and image processing program
CN104915944A (en) Method and device for determining black margin position information of video
US9367237B2 (en) Shaping device
JP5924054B2 (en) Program, information processing apparatus and information processing method
CN110880023A (en) Method and device for detecting certificate picture
CN108804917B (en) File detection method and device, electronic equipment and storage medium
KR20120126764A (en) A vehicle image detecting system and the method thereof
US9158956B2 (en) Reader, reading method and computer program product
CN115618836A (en) Wireless table structure restoration method and device, computer equipment and storage medium
CN112101139A (en) Human shape detection method, device, equipment and storage medium
JP2015056065A (en) License plate inclination angle calculation device, computer pogram and license plate inclination angle calculation method
Narkhede et al. Automatic traffic rule violation detection and number plate recognition
US20220252423A1 (en) Polygon search method
JP6292708B2 (en) A method for obtaining parameters for traffic volume estimation from image information
KR101643089B1 (en) Driving event classification using multiple sensors

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150901

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151007

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160404

R150 Certificate of patent or registration of utility model

Ref document number: 5924054

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees