KR102339686B1 - License plate image processing device for car number recognition and license plate image correction method using the same - Google Patents

License plate image processing device for car number recognition and license plate image correction method using the same Download PDF

Info

Publication number
KR102339686B1
KR102339686B1 KR1020210061519A KR20210061519A KR102339686B1 KR 102339686 B1 KR102339686 B1 KR 102339686B1 KR 1020210061519 A KR1020210061519 A KR 1020210061519A KR 20210061519 A KR20210061519 A KR 20210061519A KR 102339686 B1 KR102339686 B1 KR 102339686B1
Authority
KR
South Korea
Prior art keywords
license plate
image
plate image
vehicle
correction
Prior art date
Application number
KR1020210061519A
Other languages
Korean (ko)
Inventor
임종윤
Original Assignee
주식회사 실리콘큐브
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 주식회사 실리콘큐브 filed Critical 주식회사 실리콘큐브
Priority to KR1020210061519A priority Critical patent/KR102339686B1/en
Application granted granted Critical
Publication of KR102339686B1 publication Critical patent/KR102339686B1/en
Priority to PCT/KR2022/006790 priority patent/WO2022240207A1/en
Priority to JP2023570353A priority patent/JP2024518582A/en

Links

Images

Classifications

    • G06K9/3258
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T5/001
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • G06K2209/15

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Image Processing (AREA)
  • Traffic Control Systems (AREA)

Abstract

The present invention provides a license plate image processing device for recognizing vehicle numbers to correct a license plate image taken at an angle to an original license plate shape. According to one embodiment of the present invention, the license plate image processing device comprises: a vehicle image acquisition unit photographing a vehicle to acquire a photographed image including the vehicle; a license plate detection unit detecting a license plate image of the vehicle from the photographed image and generating position data for the position of the license plate image in the photographed image; a database unit storing image correction data calculated for each position of the license plate image in the photographed image; a correction value generation unit loading the image correction data corresponding to the position data from the database unit and generating a license plate image correction value on the basis of the loaded image correction data; and a license plate image correction unit correcting the license plate image on the basis of the license plate image correction value.

Description

차량번호 인식을 위한 번호판 이미지 처리 장치 및 이를 이용한 번호판 이미지 보정 방법{LICENSE PLATE IMAGE PROCESSING DEVICE FOR CAR NUMBER RECOGNITION AND LICENSE PLATE IMAGE CORRECTION METHOD USING THE SAME}License plate image processing device for vehicle number recognition and license plate image correction method using the same

본 발명은 차량번호 인식을 위한 번호판 이미지 처리 장치 및 이를 이용한 번호판 이미지 보정 방법에 관한 것으로, 더욱 상세하게는 비교적 적은 연산량으로 비스듬히 촬영된 번호판 이미지를 본래의 형태로 보정할 수 있는 차량번호 인식을 위한 번호판 이미지 처리 장치 및 이를 이용한 번호판 이미지 보정 방법에 관한 것이다.The present invention relates to a license plate image processing apparatus for license plate recognition and a license plate image correction method using the same, and more specifically, to a license plate image that can be corrected in its original form with a relatively small amount of computation. It relates to a license plate image processing apparatus and a license plate image correction method using the same.

이미지 인식 기술의 발전으로 차량의 번호판 이미지를 이용한 차량번호 자동 인식이 가능해졌으며, 현재는 대다수의 차량 출입 관리 시스템이 이러한 방식을 채택하고 있다.With the development of image recognition technology, automatic license plate recognition using the license plate image of the vehicle has become possible, and most vehicle access management systems are currently adopting this method.

번호판 이미지는 주차장과 같이 차량의 출입관리가 필요한 장소의 출입구에 설치된 촬영 장치를 이용해 차량을 촬영함으로써 획득된다. 그리고 차량번호의 인식은 촬영 이미지로부터의 번호판 식별, 번호판 검증, 부호(문자, 숫자, 기호) 분리 및 부호 인식의 단계의 결합으로 구성되며, 소프트웨어로 구현되어 컴퓨터 시스템에서 수행된다.The license plate image is obtained by photographing the vehicle using a photographing device installed at the entrance of a place requiring vehicle access management, such as a parking lot. And the recognition of the license plate consists of a combination of the steps of license plate identification from a photographed image, license plate verification, code (letters, numbers, symbols) separation, and sign recognition, and is implemented in software and performed in a computer system.

도 1은 차량번호 인식을 위한 종래의 번호판 식별 과정을 도시한 도면으로, 번호판의 식별은 번호판의 외곽선을 검출하는 방식으로 이루어진다.1 is a view showing a conventional license plate identification process for vehicle number recognition, the identification of the license plate is made in a way that detects the outline of the license plate.

먼저 주차장의 입구 또는 출구에 마련되는 카메라를 통해 입차 차량 또는 출차 차량의 촬영이 이루어진다.(S11) 그리고 촬영된 차량의 이미지에 포함된 번호판 이미지의 윤곽선을 추출하여 최종적으로 번호판 이미지를 획득하게 된다.(S12)First, the vehicle entering or leaving the vehicle is photographed through a camera provided at the entrance or exit of the parking lot. (S11) And the outline of the license plate image included in the photographed vehicle image is extracted to finally obtain the license plate image. (S12)

한편, 촬영 장치가 차량의 진입 방향으로부터 비스듬히 설치되거나, 출입구에 차량이 비스듬하게 진입할 경우에는 차량의 번호판이 비스듬히 촬영될 수 있다.On the other hand, when the photographing device is installed obliquely from the entrance direction of the vehicle, or when the vehicle enters the entrance at an angle, the license plate of the vehicle may be photographed obliquely.

도 1에 도시된 바와 같이 비스듬히 촬영된 번호판은 가로, 세로 비율이 일반 번호판의 규격 비율과 상이할 수 있으며, 번호판을 정면에서 촬영한 이미지와 대비하여 소정의 각도로 회전된 형상을 가지게 된다.As shown in FIG. 1, the license plate photographed at an angle may have a horizontal and vertical ratio different from the standard ratio of a general license plate, and has a shape rotated at a predetermined angle in comparison with the image photographed from the front of the license plate.

이처럼 비스듬한 번호판 이미지는 정확한 차량번호 인식을 위해 본래 번호판 형태로의 보정이 이루어지게 되는데, 정확한 보정을 위해서는 번호판의 외곽선이 정확히 추출되어야 한다.As such, the oblique license plate image is corrected to the original license plate form for accurate license plate recognition. For accurate correction, the outline of the license plate must be accurately extracted.

이때 번호판 외곽선의 추출은 통상적으로 하흐 변환(Generalized Hough Transform)을 통해 이루어지는데, 이 방법은 화소에 의존하여 계산하므로 높은 연산량을 필요로 한다. At this time, the extraction of the license plate outline is usually performed through the Generalized Hough Transform, which requires a high amount of computation because it is calculated depending on the pixel.

그러나 출입구에 설치되는 차량번호 인식 장치들은 설치 장소나 기기 스펙의 문제로 처리 성능에 제약이 있으므로 높은 연산량의 작업을 수행하기 어려운 문제점이 있다. 특히 초점 등의 문제로 취득한 차량 영상의 품질이 떨어지는 경우, 영상 내 번호판의 경계를 이루는 화소가 줄어들기 때문에 번호판 외곽선의 정확한 추출이 더욱 어려워지는 문제점이 있다.However, there is a problem in that it is difficult to perform a high computational amount because the license plate recognition devices installed at the entrance have limitations in processing performance due to the problem of the installation location or device specifications. In particular, when the quality of the vehicle image acquired due to a problem such as focus is low, there is a problem in that the accurate extraction of the license plate outline becomes more difficult because the pixels forming the boundary of the license plate in the image are reduced.

한국공개특허 제10-2016-0083226호Korean Patent Publication No. 10-2016-0083226

상기한 문제점을 해결하기 위해 본 발명이 이루고자 하는 기술적 과제는 비교적 적은 연산량으로 비스듬히 촬영된 번호판 이미지를 본래의 형태로 보정할 수 있는 차량번호 인식을 위한 번호판 이미지 처리 장치 및 이를 이용한 번호판 이미지 보정 방법을 제공하는 것이다.The technical problem to be achieved by the present invention in order to solve the above problems is a license plate image processing device for recognizing a license plate number capable of correcting an obliquely photographed license plate image in its original form with a relatively small amount of computation, and a license plate image correction method using the same will provide

본 발명이 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved by the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by those of ordinary skill in the art to which the present invention belongs from the description below. There will be.

상기 기술적 과제를 달성하기 위하여, 본 발명의 일 실시예는 차량을 촬영하여 상기 차량이 포함된 촬영 이미지를 획득하는 차량 영상 획득부; 상기 촬영 이미지로부터 상기 차량의 번호판 이미지를 검출하고, 상기 촬영 이미지 내 상기 번호판 이미지의 위치에 대한 위치 데이터를 생성하는 번호판 검출부; 상기 촬영 이미지 내 상기 번호판 이미지의 위치 별로 미리 계산된 이미지 보정 데이터가 저장된 데이터베이스부; 상기 데이터베이스부로부터 상기 위치 데이터에 대응되는 상기 이미지 보정 데이터를 로드하고, 로드한 상기 이미지 보정 데이터를 기초로 번호판 이미지 보정 값을 생성하는 보정 값 생성부; 및 상기 번호판 이미지 보정 값에 기초하여 상기 번호판 이미지를 보정하는 번호판 이미지 보정부를 포함하는 차량번호 인식을 위한 번호판 이미지 처리 장치를 제공한다.In order to achieve the above technical problem, an embodiment of the present invention includes a vehicle image acquisition unit for acquiring a photographed image including the vehicle by photographing the vehicle; a license plate detection unit for detecting the license plate image of the vehicle from the photographed image, and generating position data for the position of the license plate image in the photographed image; a database unit storing image correction data calculated in advance for each position of the license plate image in the photographed image; a correction value generating unit for loading the image correction data corresponding to the position data from the database unit, and generating a license plate image correction value based on the loaded image correction data; and a license plate image correction unit for correcting the license plate image based on the license plate image correction value.

상기 촬영 이미지는 복수의 구역으로 구획되고, 상기 이미지 보정 데이터는 각 상기 구역별로 미리 계산되어 상기 데이터베이스부에 저장되고, 상기 보정 값 생성부는 상기 위치 데이터가 속하는 기 구역에 해당하는 상기 이미지 보정 데이터를 로드할 수 있다.The photographed image is divided into a plurality of regions, the image correction data is calculated in advance for each region and stored in the database unit, and the correction value generation unit generates the image correction data corresponding to the region to which the position data belongs. can be loaded

상기 이미지 보정 데이터는 상기 번호판 이미지의 스케일을 보정하는 제1 보정 값과, 상기 번호판 이미지를 회전 보정하는 제2 보정 값을 포함할 수 있다.The image correction data may include a first correction value for correcting the scale of the license plate image, and a second correction value for rotating the license plate image.

상기 데이터베이스부는 상기 촬영 이미지 내 상기 번호판 이미지의 위치 별로 미리 계산된 종횡비 기준 값을 더 저장하고, 상기 보정 값 생성부는 상기 위치 데이터에 대응하는 상기 종횡비 기준 값과 상기 번호판 이미지의 종횡비 간의 차이에 기초하여 상기 제1 보정 값과 상기 제2 보정 값 중 적어도 하나를 보정할 수 있다.The database unit further stores an aspect ratio reference value calculated in advance for each position of the license plate image in the photographed image, and the correction value generator is based on a difference between the aspect ratio reference value corresponding to the position data and the aspect ratio of the license plate image At least one of the first correction value and the second correction value may be corrected.

상기 차량 영상 획득부는 미리 정해진 촬영 위치 상의 상기 차량을 촬영하고, 상기 보정 값 생성부는, 상기 차량 영상 획득부가 설치된 위치의 지면과 상기 미리 정해진 촬영 위치의 지면 간의 높이 차이에 기초하여 상기 위치 데이터를 보정하고, 상기 보정 값 생성부는 보정된 상기 위치 데이터에 대응하는 상기 이미지 보정 데이터를 로드할 수 있다.The vehicle image obtaining unit photographs the vehicle on a predetermined photographing position, and the correction value generating unit corrects the position data based on a height difference between the ground at the location where the vehicle image obtaining unit is installed and the ground at the predetermined photographing location. and the correction value generator may load the image correction data corresponding to the corrected position data.

상기 보정 값 생성부는 상기 미리 정해진 촬영 위치의 지면의 경사각 데이터를 이용해 상기 위치 데이터를 더 보정할 수 있다.The correction value generator may further correct the position data by using the data of the inclination angle of the ground of the predetermined photographing position.

상기 위치 데이터는 가로축 값과 세로축 값을 포함하는 2차원 좌표 데이터로 이루어지고, 상기 보정 값 생성부는 상기 높이 차이에 기초하여 상기 위치 데이터의 세로축 값을 보정할 수 있다.The position data may include two-dimensional coordinate data including a horizontal axis value and a vertical axis value, and the correction value generator may correct a vertical axis value of the position data based on the height difference.

상기 제2 보정 값은 상기 차량 영상 획득부의 촬영 방향과 상기 촬영 시 상기 차량이 위치한 진입로의 방향 사이의 각도에 기초하여 보정될 수 있다.The second correction value may be corrected based on an angle between a photographing direction of the vehicle image acquisition unit and a direction of an access road in which the vehicle is located during the photographing.

상기 번호판 이미지 보정부는 상기 제2 보정 값에 기초하여 상기 번호판 이미지를 회전 보정한 후, 상기 제1 보정 값에 기초하여 상기 번호판 이미지의 스케일을 보정할 수 있다.After the license plate image correction unit rotationally corrects the license plate image based on the second correction value, the scale of the license plate image may be corrected based on the first correction value.

상기 기술적 과제를 달성하기 위하여, 본 발명의 일 실시예는 a) 차량을 촬영하여 상기 차량이 포함된 촬영 이미지를 획득하고, 상기 촬영 이미지로부터 번호판 이미지를 검출하는 단계; b) 상기 촬영 이미지 내 상기 번호판 이미지의 위치에 대한 위치 데이터를 생성하는 단계; c) 상기 촬영 이미지 내 상기 번호판 이미지의 위치 별로 미리 계산된 이미지 보정 데이터가 저장된 데이터베이스부로부터 상기 위치 데이터에 대응되는 상기 이미지 보정 데이터를 로드하고, 로드한 상기 이미지 보정 데이터를 기초로 번호판 이미지 보정 값을 생성하는 단계; 및 d) 상기 번호판 이미지 보정 값에 기초하여 상기 번호판 이미지를 보정하는 단계를 포함하는 차량번호 인식을 위한 번호판 이미지 보정 방법을 제공한다.In order to achieve the above technical problem, an embodiment of the present invention comprises the steps of: a) photographing a vehicle to obtain a photographed image including the vehicle, and detecting a license plate image from the photographed image; b) generating position data for the position of the license plate image in the photographed image; c) loading the image correction data corresponding to the position data from the database unit in which image correction data calculated in advance for each position of the license plate image in the photographed image is stored, and a license plate image correction value based on the loaded image correction data creating a; and d) correcting the license plate image based on the license plate image correction value.

상기 촬영 이미지는 복수의 구역으로 구획되고, 상기 이미지 보정 데이터는 각 상기 구역별로 미리 계산되어 상기 데이터베이스부에 저장되고, 상기 c) 단계는 상기 위치 데이터가 속하는 상기 구역에 해당하는 상기 이미지 보정 데이터를 상기 데이터베이스부로부터 로드할 수 있다. The photographed image is divided into a plurality of regions, the image correction data is calculated in advance for each region and stored in the database unit, and the step c) includes the image correction data corresponding to the region to which the position data belongs. It can be loaded from the database unit.

상기 데이터베이스부는 상기 촬영 이미지 내 상기 번호판 이미지의 위치 별로 미리 계산된 종횡비 기준 값을 더 저장하고, 상기 c) 단계는 상기 위치 데이터에 대응하는 이미지 보정 데이터를 데이터베이스부로부터 로드하는 단계; 및 상기 위치 데이터에 대응하는 종횡비 기준 값과 번호판 이미지의 종횡비 간의 차이에 기초하여 이미지 보정 데이터를 보정하는 단계를 포함할 수 있다.The database unit further stores an aspect ratio reference value calculated in advance for each position of the license plate image in the photographed image, and the step c) includes: loading image correction data corresponding to the position data from the database unit; and correcting the image correction data based on the difference between the aspect ratio reference value corresponding to the position data and the aspect ratio of the license plate image.

상기 c) 단계는 상기 위치 데이터에 대응하는 이미지 보정 데이터를 데이터베이스부로부터 로드하는 단계; 및 상기 차량 영상 획득부의 촬영 방향과 상기 차량이 위치한 진입로의 방향 간의 각도에 기초하여 상기 이미지 보정 데이터를 보정하는 단계를 포함할 수 있다.Step c) may include: loading image correction data corresponding to the position data from a database unit; and correcting the image correction data based on an angle between a photographing direction of the vehicle image acquisition unit and a direction of an access road in which the vehicle is located.

상기 촬영 이미지는 상기 차량을 촬영하는 차량 영상 획득부를 이용해 획득되고 상기 b) 단계와 c) 단계 사이에, 상기 차량 영상 획득부가 설치된 위치의 지면과 미리 정해진 촬영 위치의 지면 간의 높이 차이에 기초하여 위치 데이터를 보정하는 단계를 더 포함할 수 있다.The photographed image is acquired using a vehicle image acquisition unit for photographing the vehicle, and between steps b) and c), the location based on the height difference between the ground at the location where the vehicle image acquisition unit is installed and the ground at the predetermined photographing location The method may further include correcting the data.

상기 위치 데이터는 상기 미리 정해진 촬영 위치의 지면의 경사각 데이터를 기초로 더 보정될 수 있다.The location data may be further corrected based on the data of the inclination angle of the ground of the predetermined photographing location.

상기 이미지 보정 데이터는 상기 번호판 이미지의 스케일을 보정하는 제1 보정 값과, 상기 번호판 이미지를 회전 보정하는 제2 보정 값을 포함하고, 상기 d) 단계는 상기 제2 보정 값에 기초하여 상기 번호판 이미지를 회전 보정한 후, 상기 제1 보정 값에 기초하여 상기 번호판 이미지의 스케일을 보정하는 것일 수 있다.The image correction data includes a first correction value for correcting the scale of the license plate image, and a second correction value for rotating the license plate image, wherein step d) is based on the second correction value. After correcting the rotation, it may be to correct the scale of the license plate image based on the first correction value.

본 발명의 실시예에 따르면, 번호판 이미지 처리 장치는 촬영 이미지 내 번호판 이미지의 위치 별로 미리 계산된 이미지 보정 데이터를 이용해 번호판 이미지를 보정할 수 있다. 즉 번호판 이미지 처리 장치는 하흐 변환(Generalized Hough Transform)과 같은 복잡한 연산을 이용해 외곽선을 추출하는 과정 없이도 번호판 이미지의 형상을 추정해 낼 수 있다. 따라서 번호판 이미지 처리 장치는 비교적 적은 연산량으로 비스듬히 촬영된 번호판 이미지를 본래의 번호판 형태로 보정할 수 있다.According to an embodiment of the present invention, the license plate image processing apparatus may correct the license plate image using image correction data calculated in advance for each position of the license plate image in the photographed image. That is, the license plate image processing apparatus can estimate the shape of the license plate image without the process of extracting the outline using a complex operation such as the generalized Hough transform. Therefore, the license plate image processing apparatus can correct the license plate image taken at an angle with a relatively small amount of calculation to the original license plate form.

또한 본 발명의 실시예에 따르면, 번호판 이미지 처리 장치는 촬영 이미지의 각 구역 별로 종횡비 기준 값을 저장할 수 있다. 그리고 번호판 이미지 장치는 촬영된 번호판 이미지가 위치한 구역의 종횡비 기준 값과 촬영된 번호판 이미지의 종횡비의 차이를 기초로 이미지 보정 데이터를 보정하므로, 촬영된 번호판 이미지는 번호판 규격 형상과 보다 유사하게 보정될 수 있다.Also, according to an embodiment of the present invention, the license plate image processing apparatus may store an aspect ratio reference value for each area of the photographed image. And the license plate image device corrects the image correction data based on the difference between the aspect ratio reference value of the area where the photographed license plate image is located and the aspect ratio of the photographed license plate image, so the photographed license plate image can be corrected more similarly to the license plate standard shape have.

또한 본 발명의 실시예에 따르면, 번호판 이미지 처리 장치는 차량 영상 획득부의 촬영 방향과 촬영 대상인 차량이 위치한 진입로의 방향 간의 각도에 기초하여 이미지 보정 데이터를 보정하므로, 번호판 이미지의 보정은 정확히 이루어질 수 있다.Also, according to an embodiment of the present invention, the license plate image processing device corrects the image correction data based on the angle between the shooting direction of the vehicle image acquisition unit and the direction of the access road where the vehicle to be filmed is located, so the correction of the license plate image can be done accurately .

또한 본 발명의 실시예에 따르면, 번호판 이미지 처리 장치는 차량 영상 획득부가 설치된 위치의 지면과 미리 정해진 촬영 위치의 지면 간의 높이 차이에 기초하여 위치 데이터를 보정하므로, 번호판 이미지의 보정은 정확히 이루어질 수 있다.In addition, according to an embodiment of the present invention, the license plate image processing device corrects the position data based on the height difference between the ground of the location where the vehicle image acquisition unit is installed and the ground of the predetermined shooting location, so the correction of the license plate image can be done accurately .

또한 본 발명의 실시예에 따르면, 번호판 이미지 처리 장치는 미리 정해진 촬영 위치의 지면의 경사각 데이터를 기초로 위치 데이터를 더 보정하므로, 번호판 이미지의 보정은 보다 정확히 이루어질 수 있다.In addition, according to an embodiment of the present invention, the license plate image processing apparatus further corrects the position data based on the inclination angle data of the ground of the predetermined shooting position, so the correction of the license plate image can be made more accurately.

본 발명의 효과는 상기한 효과로 한정되는 것은 아니며, 본 발명의 설명 또는 청구범위에 기재된 발명의 구성으로부터 추론 가능한 모든 효과를 포함하는 것으로 이해되어야 한다.The effects of the present invention are not limited to the above effects, but it should be understood to include all effects that can be inferred from the configuration of the invention described in the description or claims of the present invention.

도 1은 차량번호 인식을 위한 종래의 번호판 식별 과정을 도시한 도면이다.
도 2는 본 발명의 실시예에 따른 번호판 이미지 처리 장치를 개략적으로 도시한 블록도이다.
도 3은 비스듬히 촬영된 번호판 이미지의 예를 설명하기 위한 도면이다.
도 4는 본 발명의 실시예에 따른 번호판 이미지 처리 장치를 도시한 세부 블록도이다.
도 5는 본 발명의 실시예에 따른 차량 영상 획득부가 획득한 촬영 이미지의 예를 도시한 도면이다.
도 6은 본 발명의 실시예에 따른 촬영 이미지 내 각 구역의 번호판 이미지 형상을 정형화시켜 도시한 도면이다.
도 7은 본 발명의 실시예에 따른 촬영 이미지의 구역 별로 미리 계산되어 저장된 이미지 보정 데이터 테이블을 설명하기 위한 도면이다.
도 8은 본 발명의 실시예에 따른 종횡비 보정부가 이미지 보정 데이터를 보정하는 예를 설명하기 위한 도면이다.
도 9는 본 발명의 실시예에 따른 촬영 방향 보정부가 이미지 보정 데이터를 보정하는 예를 설명하기 위한 도면이다.
도 10은 본 발명의 실시예에 따른 지면 높이 보정부가 위치 데이터를 보정하는 예를 설명하기 위한 도면이다.
도 11은 본 발명의 실시예에 따른 번호판 이미지 처리 장치를 이용한 번호판 이미지 보정 방법을 도시한 순서도이다.
도 12는 본 발명의 실시예에 따른 단계 S220의 세부 단계를 도시한 도면이다.
1 is a view showing a conventional license plate identification process for vehicle number recognition.
Figure 2 is a block diagram schematically showing a license plate image processing apparatus according to an embodiment of the present invention.
3 is a view for explaining an example of a license plate image taken obliquely.
Figure 4 is a detailed block diagram showing a license plate image processing apparatus according to an embodiment of the present invention.
5 is a diagram illustrating an example of a photographed image acquired by a vehicle image acquisition unit according to an embodiment of the present invention.
6 is a view showing the standardized shape of the license plate image of each zone in the photographed image according to an embodiment of the present invention.
7 is a view for explaining an image correction data table that is calculated and stored in advance for each area of a photographed image according to an embodiment of the present invention.
8 is a view for explaining an example in which the aspect ratio corrector corrects image correction data according to an embodiment of the present invention.
9 is a view for explaining an example of correcting image correction data by a photographing direction correcting unit according to an embodiment of the present invention.
10 is a view for explaining an example in which the ground height corrector corrects position data according to an embodiment of the present invention.
11 is a flowchart illustrating a license plate image correction method using a license plate image processing apparatus according to an embodiment of the present invention.
12 is a diagram illustrating detailed steps of step S220 according to an embodiment of the present invention.

이하에서는 첨부한 도면을 참조하여 본 발명을 설명하기로 한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며, 따라서 여기에서 설명하는 실시예로 한정되는 것은 아니다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, the present invention will be described with reference to the accompanying drawings. However, the present invention may be embodied in several different forms, and thus is not limited to the embodiments described herein. And in order to clearly explain the present invention in the drawings, parts irrelevant to the description are omitted, and similar reference numerals are attached to similar parts throughout the specification.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결(접속, 접촉, 결합)"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 부재를 사이에 두고 "간접적으로 연결"되어 있는 경우도 포함한다. 또한 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 구비할 수 있다는 것을 의미한다.Throughout the specification, when a part is said to be “connected (connected, contacted, coupled)” with another part, it is not only “directly connected” but also “indirectly connected” with another member interposed therebetween. "Including cases where In addition, when a part "includes" a certain component, this means that other components may be further provided without excluding other components unless otherwise stated.

본 명세서에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is used only to describe specific embodiments, and is not intended to limit the present invention. The singular expression includes the plural expression unless the context clearly dictates otherwise. In the present specification, terms such as “comprise” or “have” are intended to designate that a feature, number, step, operation, component, part, or combination thereof described in the specification exists, but one or more other features It should be understood that this does not preclude the existence or addition of numbers, steps, operations, components, parts, or combinations thereof.

이하 첨부된 도면을 참고하여 본 발명의 실시예를 상세히 설명하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 실시예에 따른 번호판 이미지 처리 장치(100)를 개략적으로 도시한 블록도이다. 그리고 도 3은 비스듬히 촬영된 번호판 이미지의 예를 설명하기 위한 도면이다. 2 is a block diagram schematically showing a license plate image processing apparatus 100 according to an embodiment of the present invention. And Figure 3 is a view for explaining an example of the license plate image taken at an angle.

도 2에 도시된 바와 같이 번호판 이미지 처리 장치(100)는 차량 영상 획득부(110), 번호판 검출부(120), 보정 값 생성부(130), 번호판 이미지 보정부(140) 및 데이터베이스부(D)를 포함할 수 있다.As shown in FIG. 2 , the license plate image processing device 100 includes a vehicle image acquisition unit 110 , a license plate detection unit 120 , a correction value generating unit 130 , a license plate image correcting unit 140 and a database unit (D). may include

차량 영상 획득부(110)는 차량(1)을 촬영하여 차량(1)이 포함된 촬영 이미지를 획득할 수 있다. 일 예로 차량 영상 획득부(110)는 차량의 출입 관리가 필요한 장소의 출입구에 설치된 카메라일 수 있다.The vehicle image acquisition unit 110 may acquire a photographed image including the vehicle 1 by photographing the vehicle 1 . For example, the vehicle image acquisition unit 110 may be a camera installed at an entrance of a place requiring vehicle access management.

번호판 검출부(120)는 촬영 이미지로부터 차량(1)의 번호판 이미지를 검출할 수 있다. 이때 번호판은 도 3의 (a)에 도시된 바와 같이 비스듬히 촬영될 수 있다. 번호판 이미지로부터 차량번호를 정확히 인식하기 위해, 비스듬히 촬영된 번호판 이미지(Pa)는 도 3의 (b)와 같이 본래의 형상을 갖는 번호판 이미지(Pb)로 보정될 수 있다. 이를 위해 번호판 검출부(120)는 촬영 이미지 내 번호판 이미지의 위치에 대한 위치 데이터를 생성할 수 있다. 위치 데이터의 구체적인 활용 예는 도 5 내지 7을 통해 상세히 설명하기로 한다.The license plate detection unit 120 may detect a license plate image of the vehicle 1 from the photographed image. At this time, the license plate may be photographed at an angle as shown in (a) of FIG. 3 . In order to accurately recognize the license plate number from the license plate image, the obliquely photographed license plate image (Pa) may be corrected to a license plate image (Pb) having an original shape as shown in Fig. 3 (b). To this end, the license plate detection unit 120 may generate position data for the position of the license plate image in the photographed image. A specific application example of location data will be described in detail with reference to FIGS. 5 to 7 .

데이터베이스부(D)는 촬영 이미지 내 번호판 이미지의 위치 별로 미리 계산된 이미지 보정 데이터를 저장할 수 있다. 이미지 보정 데이터는 번호판 이미지의 보정에 사용될 수 있다.The database unit (D) may store image correction data calculated in advance for each position of the license plate image in the photographed image. The image correction data may be used to correct the license plate image.

보정 값 생성부(130)는 위치 데이터에 대응되는 이미지 보정 데이터를 데이터베이스부(D)로부터 로드할 수 있다. 즉 보정 값 생성부(130)는 촬영 이미지 내 번호판 이미지의 위치에 따라 다른 이미지 보정 데이터를 로드할 수 있다. 그리고 보정 값 생성부(130)는 로드한 이미지 보정 데이터에 기초하여 번호판 이미지 보정 값을 생성할 수 있다.The correction value generator 130 may load image correction data corresponding to the position data from the database unit D. That is, the correction value generating unit 130 may load different image correction data according to the position of the license plate image in the photographed image. And the correction value generating unit 130 may generate a license plate image correction value based on the loaded image correction data.

그리고 번호판 이미지 보정부(140)는 번호판 이미지 보정 값을 이용해 번호판 이미지를 보정할 수 있다.And the license plate image correction unit 140 may correct the license plate image using the license plate image correction value.

도 2에서는 번호판 이미지 처리 장치(100)의 각 구성이 일체화되어 차량의 출입 관리가 필요한 장소의 출입구에 설치된 경우를 예로 설명하였다. 그러나 번호판 이미지 처리 장치(100)의 각 구성은 서로 다른 위치에 설치될 수도 있다. 예컨대 차량 영상 획득부(110)는 차량(1)의 출입구에 설치되고, 이 외의 구성들은 별도의 장소에 구비되거나 또는 외부의 서버에 탑재되어 차량 영상 획득부(110)와 통신할 수도 있다.In FIG. 2, the case where each configuration of the license plate image processing apparatus 100 is integrated and installed at the entrance of a place requiring vehicle access management has been described as an example. However, each component of the license plate image processing apparatus 100 may be installed in different locations. For example, the vehicle image acquisition unit 110 may be installed at the entrance of the vehicle 1 , and other components may be provided in a separate location or mounted on an external server to communicate with the vehicle image acquisition unit 110 .

도 4는 본 발명의 실시예에 따른 번호판 이미지 처리 장치(100)를 도시한 세부 블록도이다.4 is a detailed block diagram illustrating a license plate image processing apparatus 100 according to an embodiment of the present invention.

도 4에 도시된 바와 같이 번호판 검출부(120)는 차량 영상 획득부(110)로부터 촬영 이미지를 수신할 수 있다. 촬영 이미지는 차량이 포함된 이미지일 수 있다.As shown in FIG. 4 , the license plate detection unit 120 may receive a photographed image from the vehicle image acquisition unit 110 . The photographed image may be an image including a vehicle.

번호판 검출부(120)는 번호판 이미지 검출부(121) 및 번호판 위치 판단부(122)를 포함할 수 있다.The license plate detection unit 120 may include a license plate image detection unit 121 and a license plate position determination unit 122 .

번호판 이미지 검출부(121)는 촬영 이미지 내의 번호판 이미지를 검출할 수 있다. 즉 번호판 이미지 검출부(121)는 번호판 이미지를 생성할 수 있다.The license plate image detection unit 121 may detect a license plate image in the photographed image. That is, the license plate image detection unit 121 may generate a license plate image.

번호판 위치 판단부(122)는 촬영 이미지 내 번호판 이미지의 위치를 나타내는 위치 데이터를 생성할 수 있다. 위치 데이터는 촬영 이미지의 특정 위치를 기준점으로 하는 2차원 좌표 데이터일 수 있다. 위치 데이터는 가로축 값과 세로축 값을 가질 수 있다. 위치데이터는 극좌표일 수도 있다. 위치 데이터는 번호판 이미지 중심점의 좌표일 수 있다. 일 예로 중심점은 번호판 이미지의 무게중심일 수 있다.The license plate position determination unit 122 may generate position data indicating the position of the license plate image in the photographed image. The position data may be two-dimensional coordinate data using a specific position of the photographed image as a reference point. The location data may have a horizontal axis value and a vertical axis value. The location data may be polar coordinates. The location data may be coordinates of the license plate image center point. For example, the center point may be the center of gravity of the license plate image.

한편 위치 데이터는 촬영 이미지 내 특정 구역을 나타내는 데이터일 수도 있다.Meanwhile, the location data may be data indicating a specific area in the captured image.

구체적으로 촬영 이미지는 복수의 구역으로 구획될 수 있다. 그리고 번호판 위치 판단부(122)는 번호판 이미지의 위치(예컨대 번호판 이미지 중심점의 위치)가 어느 구역에 속하는지 판단할 수 있다. 그리고 번호판 위치 판단부(122)는 해당 구역의 정보를 위치 데이터로서 생성할 수 있다.Specifically, the captured image may be divided into a plurality of regions. And the license plate position determining unit 122 may determine to which zone the position of the license plate image (eg, the position of the license plate image center point) belongs. And the license plate location determination unit 122 may generate the information of the corresponding area as location data.

그리고 번호판 검출부(120)는 번호판 이미지 및 위치 데이터를 보정 값 생성부(130)로 전달할 수 있다.And the license plate detection unit 120 may transmit the license plate image and position data to the correction value generating unit 130 .

보정 값 생성부(130)는 번호판 이미지의 보정에 필요한 번호판 이미지 보정 값을 생성할 수 있다. The correction value generating unit 130 may generate a license plate image correction value required for correction of the license plate image.

보정 값 생성부(130)는 이미지 보정 데이터 로드부(131), 종횡비 보정부(132), 촬영 방향 보정부(133) 및 지면 높이 보정부(134)를 포함할 수 있다.The correction value generating unit 130 may include an image correction data loading unit 131 , an aspect ratio correcting unit 132 , a photographing direction correcting unit 133 , and a ground height correcting unit 134 .

이미지 보정 데이터 로드부(131)는 위치 데이터에 대응되는 이미지 보정 데이터를 데이터베이스부(D)로부터 로드할 수 있다.The image correction data loading unit 131 may load image correction data corresponding to the position data from the database unit D.

이때 데이터베이스부(D)는 촬영 이미지 내 번호판 이미지의 위치 별로 미리 계산된 이미지 보정 데이터가 저장된 상태일 수 있다. 일 예로 이미지 보정 데이터는 번호판 이미지의 스케일 보정을 위한 제1 보정 값과, 번호판 이미지의 회전 보정을 위한 제2 보정 값을 포함할 수 있다. 또한 이미지 보정 데이터는 촬영 이미지의 각 구역 별로 미리 계산된 데이터일 수도 있다.At this time, the database unit (D) may be in a state in which the image correction data calculated in advance for each position of the license plate image in the photographed image is stored. For example, the image correction data may include a first correction value for scale correction of the license plate image, and a second correction value for rotation correction of the license plate image. Also, the image correction data may be data calculated in advance for each region of the captured image.

그리고, 보정 값 생성부(130)는 로드한 이미지 보정 데이터를 번호판 이미지 보정 값으로 선정할 수 있다.And, the correction value generating unit 130 may select the loaded image correction data as the license plate image correction value.

한편 보정 값 생성부(130)는 번호판 이미지를 보다 정확히 보정하기 위해 종횡비 보정부(132), 촬영 방향 보정부(133) 및 지면 높이 보정부(134)를 이용하여 로드한 이미지 보정 데이터를 보정할 수 있다.On the other hand, the correction value generating unit 130 is to correct the image correction data loaded using the aspect ratio correction unit 132, the shooting direction correcting unit 133 and the ground height correcting unit 134 in order to more accurately correct the license plate image. can

이는 이미지 보정 데이터가 계산될 시의 차량 위치 또는 방향이 촬영 시의 차량 위치 또는 방향과 소폭 다를 수 있기 때문이다.This is because the position or direction of the vehicle when the image correction data is calculated may be slightly different from the position or direction of the vehicle at the time of photographing.

종횡비 보정부(132)는 촬영을 통해 획득한 번호판 이미지의 종횡비에 기초하여 로드한 이미지 보정 데이터를 보정할 수 있다. 이때 데이터베이스부(D)에는 종횡비 기준 값이 저장된 상태일 수 있다. 종횡비 기준 값은 촬영 이미지 내 번호판 이미지의 위치 별로 미리 계산된 번호판 이미지의 가로세로 비율일 수 있다.The aspect ratio correction unit 132 may correct the loaded image correction data based on the aspect ratio of the license plate image obtained through shooting. In this case, the aspect ratio reference value may be stored in the database unit D. The aspect ratio reference value may be an aspect ratio of the license plate image calculated in advance for each position of the license plate image in the photographed image.

구체적으로 종횡비 보정부(132)는 위치 데이터에 대응하는 종횡비 기준 값과 번호판 이미지의 종횡비 간의 차이를 기초로 이미지 보정 데이터를 보정할 수 있다. 종횡비 보정이 이루어지는 구체적인 예는 도 8을 통해 상세히 살펴보기로 한다.Specifically, the aspect ratio correction unit 132 may correct the image correction data based on the difference between the aspect ratio reference value corresponding to the position data and the aspect ratio of the license plate image. A specific example in which aspect ratio correction is performed will be described in detail with reference to FIG. 8 .

촬영 방향 보정부(133)는 차량 영상 획득부(110)의 촬영 방향과 촬영 대상인 차량이 위치한 진입로의 방향 간의 각도에 기초하여 이미지 보정 데이터를 보정할 수 있다.The photographing direction corrector 133 may correct the image correction data based on an angle between the photographing direction of the vehicle image obtaining unit 110 and the direction of the approach road in which the photographing target vehicle is located.

이는 차량 영상 획득부(110)가 차량 진입로와 비스듬한 위치에 설치될 수도 있기 때문이다. 일 예로 촬영 방향 보정부(133)는 이미지 보정 데이터의 제2 보정 값에 차량 영상 획득부(110)의 촬영 방향과 촬영 대상인 차량이 위치한 진입로의 방향 간의 각도를 더하거나 또는 빼는 방식으로 제2 보정 값을 보정할 수 있다. 촬영 방향 보정이 이루어지는 구체적인 예는 도 9를 통해 상세히 살펴보기로 한다.This is because the vehicle image acquisition unit 110 may be installed at an angle to the vehicle access road. For example, the photographing direction correcting unit 133 may add or subtract an angle between the photographing direction of the vehicle image obtaining unit 110 and the direction of the approach road in which the photographing target vehicle is located to the second corrected value of the image correction data by adding or subtracting the second correction value. can be corrected. A specific example in which the photographing direction correction is performed will be described in detail with reference to FIG. 9 .

지면 높이 보정부(134)는 차량 영상 획득부(110)가 설치된 위치의 지면과 촬영 위치의 지면 간의 높이 차이 값을 이용해 위치 데이터를 보정할 수 있다.The ground height corrector 134 may correct the position data using a height difference value between the ground at the location where the vehicle image obtaining unit 110 is installed and the ground at the photographing location.

이는 차량 영상 획득부(110)가 설치된 위치의 지면 높이와 미리 설정된 촬영 위치의 지면 높이가 서로 다를 경우, 번호판의 중심점 위치가 동일하더라도 번호판의 촬영 각도가 달라질 수 있기 때문이다. 지면 높이 보정이 이루어지는 구체적인 예는 도 10을 통해 상세히 살펴보기로 한다.This is because, when the ground height of the location where the vehicle image acquisition unit 110 is installed and the ground height of the preset shooting location are different from each other, the photographing angle of the license plate may be different even if the center point of the license plate is the same. A specific example in which the ground height correction is made will be described in detail with reference to FIG. 10 .

그리고, 보정 값 생성부(130)는 최종 보정된 이미지 보정 데이터를 번호판 이미지 보정 값으로 선정할 수 있다.And, the correction value generator 130 may select the final corrected image correction data as the license plate image correction value.

번호판 이미지 보정부(140)는 번호판 이미지 보정 값을 이용해 번호판 이미지를 보정할 수 있다. The license plate image correction unit 140 may correct the license plate image using the license plate image correction value.

번호판 이미지 보정부(140)는 스케일 보정부(141) 및 회전 보정부(142)를 포함할 수 있다.The license plate image correcting unit 140 may include a scale correcting unit 141 and a rotation correcting unit 142 .

스케일 보정부(141)는 제1 보정 값을 이용해 번호판 이미지의 스케일(Scale)을 보정할 수 있다. 일 예로 스케일 보정부(141)는 번호판 이미지를 좌우 또는 상하 방향으로 늘리거나 줄일 수 있다. 그리고 회전 보정부(142)는 제2 보정 값을 이용해 번호판 이미지를 회전 보정할 수 있다.The scale correction unit 141 may correct the scale (Scale) of the license plate image by using the first correction value. For example, the scale correction unit 141 may increase or decrease the number plate image in the left and right or up and down directions. And the rotation correction unit 142 may use the second correction value to correct the rotation of the license plate image.

도 5는 본 발명의 실시예에 따른 차량 영상 획득부(110)가 획득한 촬영 이미지의 예를 도시한 도면이다.5 is a diagram illustrating an example of a photographed image acquired by the vehicle image acquisition unit 110 according to an embodiment of the present invention.

도 5는 서로 다른 환경(위치)에서 촬영된 촬영 이미지의 예를 설명하기 위해 하나의 촬영 이미지에 제1 내지 제3 차량(C1, C2, C3)이 포함된 것으로 도시하였다.5 illustrates that the first to third vehicles C1, C2, and C3 are included in one photographed image to explain examples of photographed images photographed in different environments (locations).

도 5에 도시된 바와 같이 촬영된 차량의 번호판 위치와 형상은 차량과 차량 영상 획득부(110)의 상대적 위치에 따라 달라질 수 있다. 즉, 번호판의 위치와 형상은 차량과 차량 영상 획득부(110) 간의 거리 및 촬영 방향에 따라 달라질 수 있다. As shown in FIG. 5 , the position and shape of the license plate of the photographed vehicle may vary depending on the relative position of the vehicle and the vehicle image acquisition unit 110 . That is, the position and shape of the license plate may vary depending on the distance between the vehicle and the vehicle image acquisition unit 110 and the shooting direction.

일 예로 차량 영상 획득부(110) 설치 위치의 지면에 비해 촬영 위치의 지면이 북서쪽에 위치하는 경우, 제1 차량(C1)과 같은 번호판 이미지(P1)가 획득될 수 있다.For example, when the ground of the photographing location is located to the northwest compared to the ground of the installation location of the vehicle image acquisition unit 110, a license plate image P1 such as the first vehicle C1 may be obtained.

일 예로 차량 영상 획득부(110) 설치 위치의 지면이 촬영 위치 지면의 정면에 위치하는 경우, 제2 차량(C2)과 같은 번호판 이미지(P2)가 획득될 수 있다.For example, when the ground of the vehicle image acquisition unit 110 installation location is located in front of the photographing location ground, the same license plate image P2 as the second vehicle C2 may be obtained.

일 예로 차량 영상 획득부(110) 설치 위치의 지면에 비해 촬영 위치의 지면이 동남쪽에 위치하는 경우, 제3 차량(C3)과 같은 번호판 이미지(P3)가 획득될 수 있다.For example, when the ground of the photographing location is located in the southeast of the vehicle image acquisition unit 110 compared to the ground of the installation location, a license plate image P3 such as the third vehicle C3 may be obtained.

도 6은 본 발명의 실시예에 따른 촬영 이미지 내 각 구역의 번호판 이미지 형상을 정형화시켜 도시한 도면이다. 그리고, 도 7은 본 발명의 실시예에 따른 촬영 이미지의 구역 별로 미리 계산된 이미지 보정 데이터 테이블을 설명하기 위한 도면이다.6 is a view showing the standardized shape of the license plate image of each zone in the photographed image according to an embodiment of the present invention. And, FIG. 7 is a diagram for explaining a pre-calculated image correction data table for each area of a photographed image according to an embodiment of the present invention.

도 6과 도 7의 실시예는 촬영 이미지가 5열 3행의 15개 구역으로 구획되고, 각 구역 별로 이미지 보정 데이터가 할당된 것으로 가정하였다.6 and 7, it is assumed that the photographed image is divided into 15 areas of 5 columns and 3 rows, and image correction data is allocated to each area.

도 6의 촬영 이미지 내 각 구역에 도시된 번호판 이미지는 해당 구역에서 번호판이 촬영되었을 경우 추정되는 번호판 이미지의 형상을 나타낸 것이다. 번호판 이미지 처리 장치(100)가 바라보는 차량 출입로는 고정되어 있으므로, 각 구역에서 촬영되는 번호판 이미지의 형상은 추정이 가능한 것이다.The license plate image shown in each zone in the photographed image of FIG. 6 represents the shape of the license plate image estimated when the license plate is photographed in the corresponding zone. Since the vehicle access path viewed by the license plate image processing device 100 is fixed, the shape of the license plate image photographed in each area can be estimated.

일 예로 도 5의 제1 차량(C1)의 번호판은 제1 구역(A1)에 위치하므로 제1 번호판 이미지 형상(S1)을 가질 것으로 추정될 수 있다. 그리고 이미지 보정 데이터 로드부(131)는 제1 구역(A1)에 해당하는 이미지 보정 데이터를 데이터베이스부(D)로부터 로드할 수 있다. 도 7을 참조하면 제1 구역(A1)에는 이미지 보정 데이터로서 제1 보정 값(ALP_RATIO1)과 제2 보정 값(ALP_ANGLE1)이 저장되어 있다.For example, since the license plate of the first vehicle C1 of FIG. 5 is located in the first area A1, it may be estimated to have the first license plate image shape S1. In addition, the image correction data loading unit 131 may load image correction data corresponding to the first area A1 from the database unit D. As shown in FIG. Referring to FIG. 7 , a first correction value ALP_RATIO1 and a second correction value ALP_ANGLE1 are stored in the first area A1 as image correction data.

이때 제1 구역(A1)의 제1 보정 값(ALP_RATIO1)과 제2 보정 값(ALP_ANGLE1)은 제1 번호판 이미지 형상(S1)을 기 설정된 번호판 이미지 형상으로 변환하기 위한 보정 값일 수 있다. 여기서 기 설정된 번호판 이미지 형상은 번호판을 정면에서 촬영하였을 때의 형상, 즉 번호판의 규격 형상일 수 있다.In this case, the first correction value (ALP_RATIO1) and the second correction value (ALP_ANGLE1) of the first area (A1) may be a correction value for converting the first license plate image shape (S1) into a preset license plate image shape. Here, the preset license plate image shape may be a shape when the license plate is photographed from the front, that is, the standard shape of the license plate.

이와 동일한 원리로 제2 차량(C2)의 번호판은 제2 구역(A2)에 위치하므로 제2 번호판 이미지의 형상(S2)을 가질 것으로 추정될 수 있다. 그리고 이미지 보정 데이터 로드부(131)는 제2 차량(C2)의 번호판 이미지를 보정하기 위해 제2 구역(A2)에 해당하는 이미지 보정 데이터의 제1 보정 값(ALP_RATIO8)과 제2 보정 값(ALT_ANGLE8)을 데이터베이스부(D)로부터 로드할 수 있다.According to the same principle, since the license plate of the second vehicle C2 is located in the second area A2, it can be estimated to have the shape S2 of the second license plate image. And the image correction data load unit 131 is a first correction value (ALP_RATIO8) and a second correction value (ALT_ANGLE8) of the image correction data corresponding to the second area (A2) to correct the license plate image of the second vehicle (C2) ) can be loaded from the database unit (D).

또한 제3 차량(C3)의 번호판은 제3 구역(A3)에 위치하므로 제3 번호판 이미지의 형상(S3)을 가질 것으로 추정될 수 있다. 그리고 이미지 보정 데이터 로드부(131)는 제3 차량(C3)의 번호판 이미지를 보정하기 위해 제3 구역(A3)에 해당하는 이미지 보정 데이터의 제1 보정 값(ALP_RATIO15)과 제2 보정 값(ALT_ANGLE15)을 데이터베이스부(D)로부터 로드할 수 있다.Also, since the license plate of the third vehicle C3 is located in the third area A3, it can be estimated to have the shape S3 of the third license plate image. And the image correction data loading unit 131 is a first correction value (ALP_RATIO15) and a second correction value (ALT_ANGLE15) of the image correction data corresponding to the third area (A3) to correct the license plate image of the third vehicle (C3) ) can be loaded from the database unit (D).

이에 따르면, 번호판 이미지 처리 장치(100)는 하흐 변환(Generalized Hough Transform)과 같은 복잡한 연산을 이용해 외곽선을 추출하는 과정 없이도 번호판 이미지의 형상을 추정해 낼 수 있다. 즉 번호판 이미지 처리 장치(100)는 적은 연산량으로도 비스듬히 촬영된 번호판 이미지를 본래 형태로 보정할 수 있다.According to this, the license plate image processing apparatus 100 can estimate the shape of the license plate image without a process of extracting an outline using a complex operation such as a generalized Hough transform. That is, the license plate image processing apparatus 100 can correct the image of the license plate taken obliquely to its original form even with a small amount of computation.

도 8은 본 발명의 실시예에 따른 종횡비 보정부(132)가 이미지 보정 데이터를 보정하는 예를 설명하기 위한 도면이다. 도 8의 번호판 이미지는 제4 구역(A4)에서 촬영된 제4 차량(미도시)의 번호판 이미지이다. 이때 제4 차량의 번호판 이미지는 제4 구역(A4)의 제4 번호판 이미지 형상(S4)과 종횡비가 소폭 상이할 수 있다. 이는 전술한 바와 같이 이미지 보정 데이터가 계산될 시의 차량 위치 또는 방향이 촬영 시의 차량 위치 또는 방향과 소폭 다를 수 있기 때문이다.8 is a view for explaining an example in which the aspect ratio corrector 132 corrects image correction data according to an embodiment of the present invention. The license plate image of FIG. 8 is a license plate image of the fourth vehicle (not shown) taken in the fourth area A4. In this case, the license plate image of the fourth vehicle may have a slightly different aspect ratio from the fourth license plate image shape S4 of the fourth area A4. This is because, as described above, the vehicle position or direction when the image correction data is calculated may be slightly different from the vehicle position or direction at the time of photographing.

이의 보정을 위해 데이터베이스부(D)는 촬영 이미지 내 번호판 이미지의 위치 별로 미리 계산된 종횡비 기준 값을 더 저장할 수 있다. 이러한 종횡비 기준 값은 구역 별로 미리 계산될 수도 있음은 물론이다.For this correction, the database unit (D) may further store the pre-calculated aspect ratio reference value for each position of the license plate image in the photographed image. Of course, the aspect ratio reference value may be calculated in advance for each zone.

그리고 종횡비 보정부(132)는 위치 데이터에 대응하는 종횡비 기준 값과 번호판 이미지의 종횡비(예컨대 P4w/P4h) 간의 차이에 기초하여 이미지 보정 데이터를 보정할 수 있다. 구체적으로 종횡비 보정부(132)는 이미지 보정 데이터에 포함된 제1 보정 값과 제2 보정 값 중 적어도 하나를 보정할 수 있다.And the aspect ratio correction unit 132 may correct the image correction data based on the difference between the aspect ratio reference value corresponding to the position data and the aspect ratio of the license plate image (eg, P4w / P4h). In detail, the aspect ratio corrector 132 may correct at least one of a first correction value and a second correction value included in the image correction data.

이에 따르면 촬영된 번호판 이미지의 종횡비에 기초하여 이미지 보정 데이터가 보정되므로, 촬영된 번호판 이미지가 번호판 규격 형상과 보다 유사하게 보정될 수 있다.According to this, since the image correction data is corrected based on the aspect ratio of the photographed license plate image, the photographed license plate image can be corrected to be more similar to the license plate standard shape.

도 9는 본 발명의 실시예에 따른 촬영 방향 보정부(133)가 이미지 보정 데이터를 보정하는 예를 설명하기 위한 도면이다.9 is a view for explaining an example in which the photographing direction correcting unit 133 corrects image correction data according to an embodiment of the present invention.

도 9에 도시된 바와 같이, 차량 영상 획득부(110)의 촬영 방향(W1)과 차량의 진입로 방향(W2)이 비스듬할 경우, 촬영 방향 보정부(133)는 차량 영상 획득부(110)의 촬영 방향과 촬영 시 차량이 위치한 진입로의 방향 사이의 각도(T)에 기초하여 이미지 보정 데이터를 보정할 수 있다. 이때 보정되는 이미지 보정 데이터는 제2 보정 값일 수 있다. As shown in FIG. 9 , when the photographing direction W1 of the vehicle image obtaining unit 110 and the vehicle access road direction W2 are oblique, the photographing direction correcting unit 133 is configured to The image correction data may be corrected based on the angle T between the photographing direction and the direction of the approach road in which the vehicle is located at the time of photographing. In this case, the corrected image correction data may be a second correction value.

일 예로 촬영 방향 보정부(133)는 이미지 보정 데이터의 제2 보정 값에 차량 영상 획득부(110)의 촬영 방향(W1)과 촬영 대상인 차량이 위치한 진입로의 방향(W2) 간의 각도를 더하거나 또는 빼는 방식으로 제2 보정 값을 보정할 수 있다. 이때 차량이 위치한 진입로의 방향(W2)은 차량(1)의 전방 방향으로 대체될 수도 있음은 물론이다.For example, the photographing direction correcting unit 133 adds or subtracts an angle between the photographing direction W1 of the vehicle image obtaining unit 110 and the direction W2 of the access road in which the photographing target vehicle is located to the second correction value of the image correction data. In this way, the second correction value may be corrected. In this case, it goes without saying that the direction W2 of the approach road where the vehicle is located may be replaced with the front direction of the vehicle 1 .

일 예로 차량 영상 획득부(110)의 촬영 방향과 촬영 대상인 차량(1)이 위치한 진입로의 방향 간의 각도(T)는 번호판 이미지 처리 장치(100)의 설치 시에 측정되어 촬영 방향 보정부(133)에 입력된 값일 수 있다.For example, the angle T between the photographing direction of the vehicle image acquisition unit 110 and the direction of the access road in which the vehicle 1 to be photographed is located is measured when the license plate image processing device 100 is installed, and the photographing direction correcting unit 133 It can be the value entered in .

이에 따르면 차량 영상 획득부(110)가 번호판을 비스듬히 촬영하도록 설치되더라도 촬영된 번호판 이미지는 번호판 규격 형상과 유사하게 보정될 수 있다.According to this, even if the vehicle image acquisition unit 110 is installed to photograph the license plate at an angle, the photographed license plate image may be corrected similarly to the license plate standard shape.

도 10은 본 발명의 실시예에 따른 지면 높이 보정부(134)가 위치 데이터를 보정하는 예를 설명하기 위한 도면이다.10 is a view for explaining an example in which the ground height corrector 134 corrects position data according to an embodiment of the present invention.

도 10에 도시된 바와 같이 차량 영상 획득부(110)가 설치된 위치의 지면 높이와 촬영 위치의 지면 높이는 서로 다를 수 있다. 이때 촬영 위치는 번호판의 촬영이 이루어지는 위치를 의미한다. 이러한 촬영 위치는 차량 영상 획득부(110)의 초점이나 촬영 성능에 따라 미리 정해질 수 있다.As shown in FIG. 10 , the ground height of the location where the vehicle image acquisition unit 110 is installed and the ground height of the photographing location may be different from each other. In this case, the photographing position means a position where the photographing of the license plate is made. Such a photographing position may be predetermined according to the focus or photographing performance of the vehicle image acquisition unit 110 .

도 10의 (a)는 촬영 위치의 지면이 차량 영상 획득부(110)가 설치된 위치의 지면에 비해 높은 경우를 도시한 도면이다. 도 10의 (a)에서 촬영 위치는 R1으로, 차량 영상 획득부(110)가 설치된 위치의 지면과 R1위치 지면의 높이 차이는 H1이다.FIG. 10A is a diagram illustrating a case in which the ground of the photographing location is higher than the ground of the location where the vehicle image acquisition unit 110 is installed. In (a) of FIG. 10 , the photographing position is R1, and the height difference between the ground of the position where the vehicle image acquisition unit 110 is installed and the ground of the R1 position is H1.

그리고 지면 높이 보정부(134)는 H1 값을 기초로 위치 데이터를 보정할 수 있다. 일 예로 위치 데이터가 가로축 값과 세로축 값을 갖는 2차원 좌표 데이터인 경우, 지면 높이 보정부(134)는 위치 데이터의 세로축 값을 보정할 수 있다.In addition, the ground height corrector 134 may correct the position data based on the H1 value. For example, when the position data is two-dimensional coordinate data having a horizontal axis value and a vertical axis value, the ground height corrector 134 may correct a vertical axis value of the position data.

한편, 도 10의 (b)는 촬영 위치(R2)의 지면 높이가 차량 영상 획득부(110)가 설치된 위치의 지면 높이와 동일한 경우를 도시한 도면이다. 이 경우 지면 높이 보정부(134)는 위치 데이터의 보정을 생략할 수 있다.Meanwhile, FIG. 10B is a diagram illustrating a case in which the ground height of the photographing position R2 is the same as the ground height of the location where the vehicle image acquisition unit 110 is installed. In this case, the ground height correction unit 134 may omit correction of the position data.

도 10의 (c)는 촬영 위치의 지면이 차량 영상 획득부(110)가 설치된 위치의 지면에 비해 낮은 경우를 도시한 도면이다. 도 10의 (c)에서 촬영 위치는 R3으로, 차량 영상 획득부(110)가 설치된 위치의 지면과 R3위치 지면의 높이 차이는 H3이다.FIG. 10C is a diagram illustrating a case where the ground of the photographing location is lower than the ground of the location where the vehicle image acquisition unit 110 is installed. In (c) of FIG. 10 , the photographing position is R3, and the height difference between the ground of the position where the vehicle image acquisition unit 110 is installed and the ground of the R3 position is H3.

그리고 지면 높이 보정부(134)는 도 10의 (a)와 같은 원리로 H3 값에 기초하여 위치 데이터를 보정할 수 있다.In addition, the ground height corrector 134 may correct the position data based on the H3 value in the same principle as in FIG. 10A .

한편, 지면 높이 보정부(134)는 촬영 위치 지면의 경사각 데이터를 이용해 위치 데이터를 더 보정할 수 있다. 이는 번호판이 위치한 차량 전방의 지면 높이가 차량 영상 획득부(110)가 설치된 위치의 지면의 높이와 동일하더라도 차량 후방이 위치한 지면의 높이는 다를 수 있기 때문이다.On the other hand, the ground height corrector 134 may further correct the position data using the inclination angle data of the photographing location ground. This is because even if the height of the ground in front of the vehicle where the license plate is located is the same as the height of the ground in which the vehicle image acquisition unit 110 is installed, the height of the ground in which the rear of the vehicle is located may be different.

도 11은 본 발명의 실시예에 따른 번호판 이미지 처리 장치(100)를 이용한 번호판 이미지 보정 방법을 도시한 순서도이다.11 is a flowchart illustrating a license plate image correction method using the license plate image processing apparatus 100 according to an embodiment of the present invention.

먼저 번호판 이미지 처리 장치(100)는 차량을 촬영하여 차량이 포함된 촬영 이미지를 획득하고 촬영 이미지로부터 번호판 이미지를 검출할 수 있다. (S200)First, the license plate image processing apparatus 100 may capture a vehicle to obtain a photographed image including the vehicle, and detect a license plate image from the photographed image. (S200)

그리고 번호판 이미지 처리 장치(100)는 촬영 이미지 내 번호판 이미지의 위치를 나타내는 위치 데이터를 생성할 수 있다. (S210)And the license plate image processing apparatus 100 may generate position data indicating the position of the license plate image in the photographed image. (S210)

그리고 번호판 이미지 처리 장치(100)는 위치 데이터에 대응하는 이미지 보정 데이터를 데이터베이스부(D)로부터 로드하고, 로드한 이미지 보정 데이터를 기초로 번호판 이미지 보정 값을 생성할 수 있다. (S220)And the license plate image processing apparatus 100 may load the image correction data corresponding to the position data from the database unit (D), and generate a license plate image correction value based on the loaded image correction data. (S220)

그리고 번호판 이미지 처리 장치(100)는 번호판 이미지 보정 값을 이용해 번호판 이미지를 보정할 수 있다. (S230)And the license plate image processing apparatus 100 may correct the license plate image using the license plate image correction value. (S230)

단계 S230에서 번호판 이미지는 제2 보정 값에 기초하여 회전 보정된 후 제1 보정 값에 기초하여 스케일이 보정될 수 있다.In step S230, the license plate image may be rotationally corrected based on the second correction value, and then the scale may be corrected based on the first correction value.

도 12는 본 발명의 실시예에 따른 단계 S220의 세부 단계를 도시한 도면이다.12 is a diagram illustrating detailed steps of step S220 according to an embodiment of the present invention.

도 12에 도시된 바와 같이 단계 S220은 차량 영상 획득부(110)가 설치된 위치의 지면과 미리 정해진 촬영 위치의 지면 간의 높이 차이에 기초하여 위치 데이터를 보정하는 단계를 포함할 수 있다. (S221)12 , step S220 may include correcting location data based on a height difference between the ground at the location where the vehicle image obtaining unit 110 is installed and the ground at the predetermined photographing location. (S221)

일 예로 위치 데이터가 가로축 값과 세로축 값을 갖는 2차원 좌표 데이터인 경우, 위치 데이터는 하기 [식1]을 통해 보정될 수 있다.For example, when the position data is two-dimensional coordinate data having a horizontal axis value and a vertical axis value, the position data may be corrected through the following [Equation 1].

Figure 112021055076471-pat00001
Figure 112021055076471-pat00001

[식1][Formula 1]

[식1]에서 Center X % width는 촬영 이미지 내 번호판 이미지의 중심점의 가로축 위치를 나타내는 값일 수 있다. Center Y % height는 촬영 이미지 내 번호판 이미지의 중심점의 세로축 위치를 나타내는 값일 수 있다.In [Equation 1], Center X % width may be a value indicating the position of the horizontal axis of the center point of the license plate image in the photographed image. Center Y % height may be a value indicating the position of the vertical axis of the center point of the license plate image in the photographed image.

일 예로 도 5와 같이 촬영 이미지가 5열 3행으로 구획된 경우 번호판 이미지 중심점의 가로축 위치가 0~20% 이내이고, 세로축 위치가 66.6~100% 이내이면 ALP_Ratio[Center X% width][Center Y% height]는 제1 구역(A1)에 해당하는 이미지 보정 데이터의 제1 보정 값일 수 있다. For example, if the photographed image is divided into 5 columns and 3 rows as shown in FIG. 5, if the horizontal axis position of the license plate image center point is within 0 to 20%, and the vertical axis position is within 66.6 to 100%, ALP_Ratio[Center X% width][Center Y % height] may be a first correction value of image correction data corresponding to the first area A1.

이때 차량 영상 획득부(110)가 설치된 위치의 지면과 미리 정해진 촬영 위치의 지면 간의 높이 차로 인해 Enterance Height Diff 가 음수로 산출될 경우 ALP_Ratio[Center X% width][(Center Y + Entrance Height Diff)% height]는 제1 구역(A1)의 아래에 위치한 구역에 해당하는 이미지 보정 데이터의 제1 보정 값일 수 있다. At this time, when the Enterance Height Diff is calculated as a negative number due to the height difference between the ground at the location where the vehicle image acquisition unit 110 is installed and the ground at the predetermined shooting location, ALP_Ratio[Center X% width][(Center Y + Entrance Height Diff)% height] may be a first correction value of image correction data corresponding to a region located below the first region A1.

그리고 Alpha값은 번호판 이미지 처리 장치(100)의 설치 장소에 따라 미리 설정된 보정 비율 계수일 수 있다. W_H_Ratio는 촬영 이미지로부터 추출한 번호판 이미지의 종횡비일 수 있다. 만약, W_H_Ratio가 음수 값으로 산출된 경우, Alpha 값은 음수 값으로 설정될 수 있다.And the Alpha value may be a correction ratio coefficient preset according to the installation location of the license plate image processing device 100 . W_H_Ratio may be the aspect ratio of the license plate image extracted from the photographed image. If W_H_Ratio is calculated as a negative value, the Alpha value may be set as a negative value.

한편 미리 정해진 촬영 위치는 차량 영상 획득부(110)의 초점이나 촬영 성능에 따라 미리 정해진 위치일 수 있다. 또한 Entrance Height Diff가 0이라면, 즉 각 지면 간의 높이 차이가 없다면 단계 S221은 생략될 수도 있다.Meanwhile, the predetermined photographing location may be a predetermined location according to the focus or photographing performance of the vehicle image acquisition unit 110 . Also, if the Entrance Height Diff is 0, that is, if there is no height difference between the respective surfaces, step S221 may be omitted.

다음으로 위치 데이터에 대응하는 이미지 보정 데이터를 데이터베이스부(D)로부터 로드하는 단계가 수행될 수 있다. (S222)Next, the step of loading image correction data corresponding to the position data from the database unit (D) may be performed. (S222)

그리고 위치 데이터에 대응하는 종횡비 기준 값과 번호판 이미지의 종횡비 간의 차이에 기초하여 이미지 보정 데이터를 보정하는 단계가 수행될 수 있다. (S223)And the step of correcting the image correction data based on the difference between the aspect ratio reference value and the aspect ratio of the license plate image corresponding to the position data may be performed. (S223)

일 예로 이미지 보정 데이터는 번호판 이미지의 스케일 보정을 위한 제1 보정 값과, 번호판 이미지의 회전 보정을 위한 제2 보정 값을 포함할 수 있다. 그리고 단계 S223에서 제1 보정 값과 제2 보정 값 중 적어도 하나가 보정될 수 있다.For example, the image correction data may include a first correction value for scale correction of the license plate image, and a second correction value for rotation correction of the license plate image. In addition, at least one of the first correction value and the second correction value may be corrected in step S223.

일 예로 이미지 보정 데이터는 하기 [식2]를 통해 제1 보정 값이 보정되고, [식 3]을 통해 제2 보정 값이 보정될 수 있다.For example, in the image correction data, a first correction value may be corrected through [Equation 2] below, and a second correction value may be corrected through [Equation 3].

Figure 112021055076471-pat00002
Figure 112021055076471-pat00002

[식2][Formula 2]

[식2]에서 Center X % width는 촬영 이미지 내 번호판 이미지의 중심점의 가로축 위치를 나타내는 값일 수 있다. Center Y % height는 촬영 이미지 내 번호판 이미지의 중심점의 세로축 위치를 나타내는 값일 수 있다.In [Equation 2], Center X % width may be a value indicating the position of the horizontal axis of the center point of the license plate image in the photographed image. Center Y % height may be a value indicating the position of the vertical axis of the center point of the license plate image in the photographed image.

일 예로 도 5와 같이 촬영 이미지가 5열 3행으로 구획된 경우 번호판 이미지 중심점의 가로축 위치가 0~20% 이내이고, 세로축 위치가 66.6~100% 이내이면 ALP_Ratio[Center X% width][Center Y% height]는 제1 구역(A1)에 해당하는 이미지 보정 데이터의 제1 보정 값일 수 있다. 그리고 Alpha값은 번호판 이미지 처리 장치(100)의 설치 장소에 따라 미리 설정된 보정 비율 계수일 수 있다. W_H_Ratio는 촬영 이미지로부터 추출한 번호판 이미지의 종횡비일 수 있다. 만약, W_H_Ratio가 음수 값으로 산출된 경우, Alpha 값은 음수 값으로 설정될 수 있다.For example, if the photographed image is divided into 5 columns and 3 rows as shown in FIG. 5, if the horizontal axis position of the license plate image center point is within 0 to 20%, and the vertical axis position is within 66.6 to 100%, ALP_Ratio[Center X% width][Center Y % height] may be a first correction value of image correction data corresponding to the first area A1. And the Alpha value may be a correction ratio coefficient preset according to the installation location of the license plate image processing apparatus 100. W_H_Ratio may be the aspect ratio of the license plate image extracted from the photographed image. If W_H_Ratio is calculated as a negative value, the Alpha value may be set as a negative value.

Figure 112021055076471-pat00003
Figure 112021055076471-pat00003

[식3][Formula 3]

[식3]에서 Center X % width는 촬영 이미지 내 번호판 이미지의 중심점의 가로축 위치를 나타내는 값일 수 있다. Center Y % height는 촬영 이미지 내 번호판 이미지의 중심점의 세로축 위치를 나타내는 값일 수 있다.In [Equation 3], Center X % width may be a value indicating the position of the horizontal axis of the center point of the license plate image in the photographed image. Center Y % height may be a value indicating the position of the vertical axis of the center point of the license plate image in the photographed image.

일 예로 도 5와 같이 촬영 이미지가 5열 3행으로 구획된 경우 번호판 이미지 중심점의 가로축 위치가 0~20% 이내이고, 세로축 위치가 66.6~100% 이내이면 ALP_Angle[Center X% width][Center Y% height]는 제1 구역(A1)에 해당하는 이미지 보정 데이터의 제2 보정 값일 수 있다. 그리고 Beta값은 번호판 이미지 처리 장치(100)의 설치 장소에 따라 미리 설정된 보정 비율 계수일 수 있다. W_H_Ratio는 촬영 이미지로부터 추출한 번호판 이미지의 종횡비일 수 있다. 만약, W_H_Ratio가 음수 값으로 산출된 경우, Beta 값은 음수 값으로 설정될 수 있다.For example, if the photographed image is divided into 5 columns and 3 rows as shown in FIG. 5, if the horizontal axis position of the license plate image center point is within 0 to 20%, and the vertical axis position is within 66.6 to 100%, ALP_Angle[Center X% width][Center Y % height] may be a second correction value of image correction data corresponding to the first area A1. And the Beta value may be a correction ratio coefficient preset according to the installation location of the license plate image processing apparatus 100. W_H_Ratio may be the aspect ratio of the license plate image extracted from the photographed image. If W_H_Ratio is calculated as a negative value, the Beta value may be set as a negative value.

그리고 차량 영상 획득부(110)의 촬영 방향과 촬영 대상인 차량이 위치한 진입로의 방향 간의 각도에 기초하여 이미지 보정 데이터를 보정하는 단계가 수행될 수 있다. (S224)In addition, a step of correcting the image correction data may be performed based on the angle between the photographing direction of the vehicle image acquisition unit 110 and the direction of the approach road in which the vehicle to be photographed is located. (S224)

일 예로 이미지 보정 데이터는 하기 [식4]를 통해 제2 보정 값이 보정될 수 있다.For example, in the image correction data, the second correction value may be corrected through the following [Equation 4].

Figure 112021055076471-pat00004
Figure 112021055076471-pat00004

[식4][Formula 4]

[식 4]는 차량 영상 획득부(110)의 촬영 방향과 촬영 대상인 차량이 위치한 진입로의 방향 간의 각도를 나타내는 LP_CAR_Photo_Angle을 이용해 제2 보정 값을 보정하는 점에서 [식3]과 차이가 있다.[Equation 4] is different from [Equation 3] in that the second correction value is corrected using LP_CAR_Photo_Angle, which indicates the angle between the photographing direction of the vehicle image acquisition unit 110 and the direction of the approach road where the vehicle to be photographed is located.

전술한 본 발명의 설명은 예시를 위한 것이며, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.The description of the present invention described above is for illustration, and those of ordinary skill in the art to which the present invention pertains can understand that it can be easily modified into other specific forms without changing the technical spirit or essential features of the present invention. will be. Therefore, it should be understood that the embodiments described above are illustrative in all respects and not restrictive. For example, each component described as a single type may be implemented in a dispersed form, and likewise components described as distributed may also be implemented in a combined form.

본 발명의 범위는 후술하는 청구범위에 의하여 나타내어지며, 청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The scope of the present invention is indicated by the following claims, and all changes or modifications derived from the meaning and scope of the claims and their equivalents should be construed as being included in the scope of the present invention.

1: 차량 100: 번호판 이미지 처리 장치
110: 차량 영상 획득부 120: 번호판 검출부
121: 번호판 이미지 검출부 122: 번호판 위치 판단부
130: 보정 값 생성부 131: 이미지 보정 데이터 로드부
132: 종횡비 보정부 133: 촬영 방향 보정부
134: 지면 높이 보정부 D: 데이터베이스부
140: 번호판 이미지 보정부 141: 스케일 보정부
142: 회전 보정부
1: vehicle 100: license plate image processing device
110: vehicle image acquisition unit 120: license plate detection unit
121: license plate image detection unit 122: license plate position determination unit
130: correction value generating unit 131: image correction data loading unit
132: aspect ratio correcting unit 133: shooting direction correcting unit
134: ground height correction unit D: database unit
140: license plate image correction unit 141: scale correction unit
142: rotation compensation unit

Claims (16)

차량을 촬영하여 상기 차량이 포함된 촬영 이미지를 획득하는 차량 영상 획득부;
상기 촬영 이미지로부터 상기 차량의 번호판 이미지를 검출하고, 상기 촬영 이미지 내 상기 번호판 이미지의 위치에 대한 위치 데이터를 생성하는 번호판 검출부;
상기 촬영 이미지 내 상기 번호판 이미지의 위치 별로 미리 계산된 이미지 보정 데이터가 저장된 데이터베이스부;
상기 데이터베이스부로부터 상기 위치 데이터에 대응되는 상기 이미지 보정 데이터를 로드하고, 로드한 상기 이미지 보정 데이터를 기초로 번호판 이미지 보정 값을 생성하는 보정 값 생성부; 및
상기 번호판 이미지 보정 값에 기초하여 상기 번호판 이미지를 보정하는 번호판 이미지 보정부를 포함하고,
상기 촬영 이미지는 복수의 구역으로 구획되고,
상기 이미지 보정 데이터는 각 상기 구역별로 미리 계산되어 상기 데이터베이스부에 저장되고,
상기 보정 값 생성부는 상기 위치 데이터가 속하는 상기 구역에 해당하는 상기 이미지 보정 데이터를 로드하는 것인 차량번호 인식을 위한 번호판 이미지 처리 장치.
a vehicle image acquisition unit for photographing a vehicle and acquiring a photographed image including the vehicle;
a license plate detection unit for detecting the license plate image of the vehicle from the photographed image, and generating position data for the position of the license plate image in the photographed image;
a database unit storing image correction data calculated in advance for each position of the license plate image in the photographed image;
a correction value generating unit for loading the image correction data corresponding to the position data from the database unit, and generating a license plate image correction value based on the loaded image correction data; and
Comprising a license plate image correction unit for correcting the license plate image based on the license plate image correction value,
The photographed image is divided into a plurality of zones,
The image correction data is calculated in advance for each zone and stored in the database unit,
The correction value generating unit is a license plate image processing device for vehicle number recognition that loads the image correction data corresponding to the region to which the location data belongs.
삭제delete 제1항에 있어서,
상기 이미지 보정 데이터는 상기 번호판 이미지의 스케일을 보정하는 제1 보정 값과, 상기 번호판 이미지를 회전 보정하는 제2 보정 값을 포함하는 것인 차량번호 인식을 위한 번호판 이미지 처리 장치.
The method of claim 1,
The image correction data is a license plate image processing apparatus for vehicle number recognition that includes a first correction value for correcting the scale of the license plate image, and a second correction value for rotating the license plate image.
제3항에 있어서,
상기 데이터베이스부는 상기 촬영 이미지 내 상기 번호판 이미지의 위치 별로 미리 계산된 종횡비 기준 값을 더 저장하고,
상기 보정 값 생성부는 상기 위치 데이터에 대응하는 상기 종횡비 기준 값과 상기 번호판 이미지의 종횡비 간의 차이에 기초하여 상기 제1 보정 값과 상기 제2 보정 값 중 적어도 하나를 보정하는 것인 차량번호 인식을 위한 번호판 이미지 처리 장치.
4. The method of claim 3,
The database unit further stores an aspect ratio reference value calculated in advance for each position of the license plate image in the photographed image,
The correction value generator corrects at least one of the first correction value and the second correction value based on a difference between the aspect ratio reference value corresponding to the location data and the aspect ratio of the license plate image for vehicle number recognition License plate image processing unit.
제3항에 있어서,
상기 차량 영상 획득부는 미리 정해진 촬영 위치 상의 상기 차량을 촬영하고,
상기 보정 값 생성부는, 상기 차량 영상 획득부가 설치된 위치의 지면과 상기 미리 정해진 촬영 위치의 지면 간의 높이 차이에 기초하여 상기 위치 데이터를 보정하고,
상기 보정 값 생성부는 보정된 상기 위치 데이터에 대응하는 상기 이미지 보정 데이터를 로드하는 것인 차량번호 인식을 위한 번호판 이미지 처리 장치.
4. The method of claim 3,
The vehicle image acquisition unit photographs the vehicle on a predetermined shooting location,
The correction value generating unit corrects the position data based on a difference in height between the ground at the location where the vehicle image obtaining unit is installed and the ground at the predetermined photographing location,
The license plate image processing device for vehicle number recognition that the correction value generating unit will load the image correction data corresponding to the corrected position data.
제5항에 있어서,
상기 보정 값 생성부는 상기 미리 정해진 촬영 위치의 지면의 경사각 데이터를 이용해 상기 위치 데이터를 더 보정하는 것인 번호판 이미지 처리 장치.
6. The method of claim 5,
The correction value generating unit license plate image processing device that further corrects the position data by using the inclination angle data of the ground of the predetermined shooting position.
제5항에 있어서,
상기 위치 데이터는 가로축 값과 세로축 값을 포함하는 2차원 좌표 데이터로 이루어지고,
상기 보정 값 생성부는 상기 높이 차이에 기초하여 상기 위치 데이터의 세로축 값을 보정하는 것인 차량번호 인식을 위한 번호판 이미지 처리 장치.
6. The method of claim 5,
The position data consists of two-dimensional coordinate data including a horizontal axis value and a vertical axis value,
The license plate image processing device for vehicle number recognition that the correction value generating unit corrects the vertical axis value of the position data based on the height difference.
제3항에 있어서,
상기 제2 보정 값은 상기 차량 영상 획득부의 촬영 방향과 상기 촬영 시 상기 차량이 위치한 진입로의 방향 사이의 각도에 기초하여 보정되는 것인 차량번호 인식을 위한 번호판 이미지 처리 장치.
4. The method of claim 3,
The second correction value is a license plate image processing apparatus for vehicle number recognition that is corrected based on an angle between the photographing direction of the vehicle image acquisition unit and the direction of the access road in which the vehicle is located during the photographing.
제3항에 있어서,
상기 번호판 이미지 보정부는 상기 제2 보정 값에 기초하여 상기 번호판 이미지를 회전 보정한 후, 상기 제1 보정 값에 기초하여 상기 번호판 이미지의 스케일을 보정하는 것인 차량번호 인식을 위한 번호판 이미지 처리 장치.
4. The method of claim 3,
The license plate image correcting unit rotationally corrects the license plate image based on the second correction value, and then corrects the scale of the license plate image based on the first correction value. License plate image processing device for vehicle number recognition.
a) 차량을 촬영하여 상기 차량이 포함된 촬영 이미지를 획득하고, 상기 촬영 이미지로부터 번호판 이미지를 검출하는 단계;
b) 상기 촬영 이미지 내 상기 번호판 이미지의 위치에 대한 위치 데이터를 생성하는 단계;
c) 상기 촬영 이미지 내 상기 번호판 이미지의 위치 별로 미리 계산된 이미지 보정 데이터가 저장된 데이터베이스부로부터 상기 위치 데이터에 대응되는 상기 이미지 보정 데이터를 로드하고, 로드한 상기 이미지 보정 데이터를 기초로 번호판 이미지 보정 값을 생성하는 단계; 및
d) 상기 번호판 이미지 보정 값에 기초하여 상기 번호판 이미지를 보정하는 단계를 포함하고,
상기 촬영 이미지는 복수의 구역으로 구획되고,
상기 이미지 보정 데이터는 각 상기 구역별로 미리 계산되어 상기 데이터베이스부에 저장되고,
상기 c) 단계는
상기 위치 데이터가 속하는 상기 구역에 해당하는 상기 이미지 보정 데이터를 상기 데이터베이스부로부터 로드하는 것인 차량번호 인식을 위한 번호판 이미지 보정 방법.
a) acquiring a photographed image including the vehicle by photographing the vehicle, and detecting a license plate image from the photographed image;
b) generating position data for the position of the license plate image in the photographed image;
c) load the image correction data corresponding to the position data from the database unit in which image correction data calculated in advance for each position of the license plate image in the photographed image is stored, and a license plate image correction value based on the loaded image correction data creating a; and
d) correcting the license plate image based on the license plate image correction value;
The photographed image is divided into a plurality of zones,
The image correction data is calculated in advance for each zone and stored in the database unit,
Step c) is
A license plate image correction method for vehicle number recognition that loads the image correction data corresponding to the zone to which the location data belongs from the database unit.
삭제delete 제10항에 있어서,
상기 데이터베이스부는 상기 촬영 이미지 내 상기 번호판 이미지의 위치 별로 미리 계산된 종횡비 기준 값을 더 저장하고,
상기 c) 단계는
상기 위치 데이터에 대응하는 이미지 보정 데이터를 데이터베이스부로부터 로드하는 단계; 및
상기 위치 데이터에 대응하는 종횡비 기준 값과 번호판 이미지의 종횡비 간의 차이에 기초하여 이미지 보정 데이터를 보정하는 단계를 포함하는 것인 차량번호 인식을 위한 번호판 이미지 보정 방법.
11. The method of claim 10,
The database unit further stores an aspect ratio reference value calculated in advance for each position of the license plate image in the photographed image,
Step c) is
loading image correction data corresponding to the position data from a database unit; and
A license plate image correction method for vehicle number recognition comprising the step of correcting image correction data based on a difference between the aspect ratio reference value corresponding to the position data and the aspect ratio of the license plate image.
제10항에 있어서,
상기 촬영 이미지는 상기 차량을 촬영하는 차량 영상 획득부를 이용해 획득되고
상기 c) 단계는
상기 위치 데이터에 대응하는 이미지 보정 데이터를 데이터베이스부로부터 로드하는 단계; 및
상기 차량 영상 획득부의 촬영 방향과 상기 차량이 위치한 진입로의 방향 간의 각도에 기초하여 상기 이미지 보정 데이터를 보정하는 단계를 포함하는 것인 차량번호 인식을 위한 번호판 이미지 보정 방법.
11. The method of claim 10,
The photographed image is obtained using a vehicle image acquisition unit for photographing the vehicle,
Step c) is
loading image correction data corresponding to the position data from a database unit; and
A license plate image correction method for vehicle number recognition comprising correcting the image correction data based on the angle between the photographing direction of the vehicle image acquisition unit and the direction of the access road where the vehicle is located.
제10항에 있어서,
상기 촬영 이미지는 상기 차량을 촬영하는 차량 영상 획득부를 이용해 획득되고
상기 b) 단계와 c) 단계 사이에
상기 차량 영상 획득부가 설치된 위치의 지면과 미리 정해진 촬영 위치의 지면 간의 높이 차이에 기초하여 위치 데이터를 보정하는 단계를 더 포함하는 것인 차량번호 인식을 위한 번호판 이미지 보정 방법.
11. The method of claim 10,
The photographed image is obtained using a vehicle image acquisition unit for photographing the vehicle,
between steps b) and c)
The license plate image correction method for vehicle number recognition further comprising the step of correcting the position data based on the difference in height between the ground at the location where the vehicle image acquisition unit is installed and the ground at the predetermined shooting location.
제14항에 있어서,
상기 위치 데이터는 상기 미리 정해진 촬영 위치의 지면의 경사각 데이터를 기초로 더 보정되는 것인 차량번호 인식을 위한 번호판 이미지 보정 방법.
15. The method of claim 14,
The position data is a license plate image correction method for vehicle number recognition that is further corrected based on the inclination angle data of the ground of the predetermined shooting position.
제10항에 있어서,
상기 이미지 보정 데이터는 상기 번호판 이미지의 스케일을 보정하는 제1 보정 값과, 상기 번호판 이미지를 회전 보정하는 제2 보정 값을 포함하고,
상기 d) 단계는
상기 제2 보정 값에 기초하여 상기 번호판 이미지를 회전 보정한 후, 상기 제1 보정 값에 기초하여 상기 번호판 이미지의 스케일을 보정하는 것인 차량번호 인식을 위한 번호판 이미지 보정 방법.
11. The method of claim 10,
The image correction data includes a first correction value for correcting the scale of the license plate image, and a second correction value for rotating the license plate image,
Step d) is
After rotating the license plate image based on the second correction value, correcting the scale of the license plate image based on the first correction value, the license plate image correction method for vehicle number recognition.
KR1020210061519A 2021-05-12 2021-05-12 License plate image processing device for car number recognition and license plate image correction method using the same KR102339686B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020210061519A KR102339686B1 (en) 2021-05-12 2021-05-12 License plate image processing device for car number recognition and license plate image correction method using the same
PCT/KR2022/006790 WO2022240207A1 (en) 2021-05-12 2022-05-12 Device for processing license plate image for vehicle identification number recognition and method for correcting license plate image using same
JP2023570353A JP2024518582A (en) 2021-05-12 2022-05-12 License plate image processing device for recognizing vehicle registration numbers and license plate image correction method using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210061519A KR102339686B1 (en) 2021-05-12 2021-05-12 License plate image processing device for car number recognition and license plate image correction method using the same

Publications (1)

Publication Number Publication Date
KR102339686B1 true KR102339686B1 (en) 2021-12-16

Family

ID=79033152

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210061519A KR102339686B1 (en) 2021-05-12 2021-05-12 License plate image processing device for car number recognition and license plate image correction method using the same

Country Status (3)

Country Link
JP (1) JP2024518582A (en)
KR (1) KR102339686B1 (en)
WO (1) WO2022240207A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110115927A (en) * 2010-04-16 2011-10-24 경북대학교 산학협력단 Method for extracting of license number plate and apparatus using the same
KR20160083226A (en) 2014-12-30 2016-07-12 순천향대학교 산학협력단 Apparatus and method for recognizing license plate
KR101654267B1 (en) * 2016-02-18 2016-09-09 주식회사 아프로시스템즈 CCTV for recognizing number of vehicles and road security cloud system
KR102091590B1 (en) * 2019-09-04 2020-05-29 (주)아이피캠프 System and Method for Enhanced Recognition of License Plate Number

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101307234B1 (en) * 2012-07-10 2013-09-11 (주)에스디시스템 Parking management system based on object recognition

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110115927A (en) * 2010-04-16 2011-10-24 경북대학교 산학협력단 Method for extracting of license number plate and apparatus using the same
KR20160083226A (en) 2014-12-30 2016-07-12 순천향대학교 산학협력단 Apparatus and method for recognizing license plate
KR101654267B1 (en) * 2016-02-18 2016-09-09 주식회사 아프로시스템즈 CCTV for recognizing number of vehicles and road security cloud system
KR102091590B1 (en) * 2019-09-04 2020-05-29 (주)아이피캠프 System and Method for Enhanced Recognition of License Plate Number

Also Published As

Publication number Publication date
JP2024518582A (en) 2024-05-01
WO2022240207A1 (en) 2022-11-17

Similar Documents

Publication Publication Date Title
CN113486796B (en) Unmanned vehicle position detection method, unmanned vehicle position detection device, unmanned vehicle position detection equipment, storage medium and vehicle
CN109345593B (en) Camera posture detection method and device
CN107424160B (en) System and method for finding image central line by visual system
US9846823B2 (en) Traffic lane boundary line extraction apparatus and method of extracting traffic lane boundary line
CN110826499A (en) Object space parameter detection method and device, electronic equipment and storage medium
US20080278584A1 (en) Moving Object Detection Apparatus And Method By Using Optical Flow Analysis
US11928805B2 (en) Information processing apparatus, information processing method, and storage medium for defect inspection and detection
KR101808092B1 (en) Apparatus and method for auto-correcting and generating avm image
JP2012063869A (en) License plate reader
US8520950B2 (en) Image processing device, image processing method, program, and integrated circuit
CN110876053A (en) Image processing device, driving support system, and recording medium
Attard et al. Image mosaicing of tunnel wall images using high level features
KR102339686B1 (en) License plate image processing device for car number recognition and license plate image correction method using the same
CN112634628B (en) Vehicle speed determination method, terminal and storage medium
CN111062415A (en) Target object image extraction method and system based on contrast difference and storage medium
CN110796099A (en) Vehicle overrun detection method and device
JP3244850B2 (en) License plate reader
CN115597550A (en) Ramp monocular distance measurement method and device based on vanishing point and target ground point
CN114120343A (en) Certificate image quality evaluation method and terminal
US11250290B2 (en) Image processing device and image processing method
US11157755B2 (en) Image processing apparatus
CN113066100A (en) Target tracking method, device, equipment and storage medium
CN111753663A (en) Target detection method and device
RU2365998C2 (en) Method of forming panoramic images
CN115206130B (en) Parking space detection method, system, terminal and storage medium

Legal Events

Date Code Title Description
GRNT Written decision to grant