KR101833418B1 - Camera Controlling Method of CCTV System for Recognizing Car Number and the CCTV System - Google Patents

Camera Controlling Method of CCTV System for Recognizing Car Number and the CCTV System Download PDF

Info

Publication number
KR101833418B1
KR101833418B1 KR1020170109887A KR20170109887A KR101833418B1 KR 101833418 B1 KR101833418 B1 KR 101833418B1 KR 1020170109887 A KR1020170109887 A KR 1020170109887A KR 20170109887 A KR20170109887 A KR 20170109887A KR 101833418 B1 KR101833418 B1 KR 101833418B1
Authority
KR
South Korea
Prior art keywords
camera
vehicle
brightness
reference value
image
Prior art date
Application number
KR1020170109887A
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 KR1020170109887A priority Critical patent/KR101833418B1/en
Application granted granted Critical
Publication of KR101833418B1 publication Critical patent/KR101833418B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B7/00Control of exposure by setting shutters, diaphragms or filters, separately or conjointly
    • G03B7/08Control effected solely on the basis of the response, to the intensity of the light received by the camera, of a built-in light-sensitive device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/75Circuitry for compensating brightness variation in the scene by influencing optical camera components
    • H04N5/2354
    • H04N5/238
    • G06K2209/15
    • 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
    • G06V20/625License plates

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)

Abstract

A camera control method of a CCTV system for recognizing a car number and a CCTV system thereof are disclosed. The CCTV system according to the present invention basically corresponds to the change of an optical external environment according to the change of the position of the sun with time, by changing the iris setting of the camera in advance even though the vehicle number is based on a recognized image. The camera control method of the present invention is a kind of post-correction. Since an optical state change is continuously tracked and corrected, a problem that the vehicle number is not suddenly recognized according to the lighting state of sunlight is fundamentally solved. The camera control method includes a photographing step; a calculating step; and a camera adjustment step.

Description

차량번호 인식을 위한 CCTV 시스템의 카메라 제어방법 및 그 CCTV 시스템{Camera Controlling Method of CCTV System for Recognizing Car Number and the CCTV System}Technical Field [0001] The present invention relates to a camera control method of a CCTV system for recognizing a car number,

본 발명은, 태양에 의한 역광 조명이나 차량 번호판에서의 태양 조명의 반사 등에 의하여 차량 이미지에서 차량 번호 인식이 불가능해 지는 문제를 해결하는 차량번호 인식을 위한 CCTV 시스템의 카메라 제어방법에 관한 것이다.The present invention relates to a camera control method of a CCTV system for vehicle number recognition, which solves the problem that vehicle number recognition in a vehicle image becomes impossible due to backlight illumination by the sun or reflection of sunlight on a license plate.

도로에는 경찰에 의한 수배차량이나 도난차량도 주행하고 있고, 체납 등으로 추적 중인 차량도 주행하고 있다. 경찰 등이 이러한 '범법차량'을 색출하려면 직접 육안으로 범법차량 등을 확인하고 무전기를 이용하여 범법차량인지 여부를 조회하는 불편함을 개선하는 것이, 카메라를 이용한 차량 방범용 CCTV 시스템이다. On the road, police vehicles and stolen vehicles are also running, and vehicles under trafficking are also driving. In order to detect such a "transgression vehicle" by the police, etc., it is a CCTV system for crime prevention using a camera in which it is easy to visually check a criminal vehicle and directly detect whether the vehicle is a transgression vehicle by using a radio.

차량 방범용 CCTV 시스템은 통상 레이저 광이나 루프코일(Loop Coil) 또는 기타 다양한 센서를 사용하여 도로를 통과하는 차량을 검출하고, 차량이 검출되면 카메라를 이용하여 해당 차량을 촬영하여 그 촬영한 이미지로부터 차량번호를 인식한다. 인식된 차량 번호는 차량 이미지와 함께 외부의 관제센터로 제공됨으로써 도난 또는 수배 차량 등을 실시한다. 이러한 방범용 차량인식 시스템은 신속한 검색으로 단속에 따른 도로정체를 유발하지 아니하면서도, 검색에 필요한 인력과 시간을 줄일 수 있는 장점이 있다. A CCTV system for security of a vehicle usually detects a vehicle passing through a road using a laser beam, a loop coil or various other sensors. When a vehicle is detected, the vehicle is photographed using the camera, The car number is recognized. The recognized vehicle number is provided to an external control center along with the image of the vehicle, thereby conducting a theft or an arrest vehicle. Such a crime prevention vehicle recognition system has an advantage that it can reduce the manpower and time required for the search without causing a road congestion caused by the speedy search.

차량을 검출하는 방법 중에는 도로에 루프 코일을 매설하는 루프코일 방식이 감지 범위가 넓고 감지 오류가 적다는 점에서 널리 사용된다. Among the methods of detecting a vehicle, a loop coil method in which a loop coil is embedded in a road is widely used in that the detection range is wide and the detection error is small.

한편, 실제 도로 상황에서는 차량을 촬영하고 그 촬영 이미지로부터 차량번호를 인식하는 과정에서 다양한 문제가 발생한다. 그 중 하나는 태양이 역광 상태에 있어서 차량번호와 차량번호 사이의 배경 전체가 너무 밝아지거나, 태양이 카메라 뒤편에 위치하는 등의 이유로 번호판에 태양광이 반사되면서 카메라가 촬영하는 이미지의 조도가 너무 낮아서 차량번호 인식에 문제가 발생하는 것이다. 태양의 위치는 시간 단위로 변경되기 때문에, 고정된 카메라의 입장에서는 피사체를 둘러싼 외부의 광학적 상황이 계속 바꾸는 것이다. On the other hand, in the actual road situation, various problems arise in the process of photographing the vehicle and recognizing the vehicle number from the captured image. One of them is that the sun is backlighted, so the entire background between the vehicle number and the car number is too bright, or sunlight is reflected on the license plate due to the sun being behind the camera, It is difficult to recognize the car number. Since the position of the sun changes in units of time, the external optical condition surrounding the subject constantly changes with respect to the fixed camera.

이러한 문제를 해결하기 위해서는 셔터(Shutter)와 조리개 등을 조절해야 한다. 한편, 대부분의 카메라는 자동 밝기 조절 기능을 가지고 있어서, 이미지 전체의 평균 밝기가 너무 높거나 낮으면 셔터 속도나 조리개의 개방 정도를 자동으로 조정한다. 차량 방범용 CCTV 시스템에 사용되는 카메라도 마찬가지다. To solve this problem, it is necessary to adjust the shutter and the aperture. On the other hand, most cameras have an automatic brightness control function, which automatically adjusts the shutter speed or the opening of the iris if the average brightness of the entire image is too high or too low. The same applies to cameras used in CCTV systems for vehicle security.

그러나 자동 모드에서의 조리개 제어는 번호 인식과 직접적으로 관련된 것이 아니라 단순히 이미지 전체의 밝기를 기준으로 하므로 실제로는 차량의 텍스트과 배경과 잘 분리되어 인식되지 않는 경우가 발생할 수 있다. 따라서 태양의 위치가 시간에 따라 바뀌기 때문에, 자동으로 조리개를 조절하도록 설정한 경우라도 어느 순간 갑작스럽게 차량 번호가 인식되지 않는 이미지가 촬영되는 것이다. However, the aperture control in the automatic mode is not directly related to the number recognition but is based on the brightness of the entire image, so that it may actually be difficult to recognize the text and background of the vehicle. Therefore, since the sun's position changes with time, even if the iris is set to be controlled automatically, the image of the car number is not recognized suddenly at any moment.

[관련 기술 문헌][Related Technical Literature]

1. 대한민국 등록특허 제1368831호 (차량번호 인식 시스템 및 방법) 이미지 또는 차량번호 영역의 평균 밝기를 이용하여 카메라를 제어하는 방법이 개시되어 있음. 1. Korean Patent Registration No. 1368831 (Vehicle Number Identification System and Method) A method of controlling a camera using an average brightness in an image or car number area is disclosed.

본 발명의 목적은 태양에 의한 역광 조명이나 차량 번호판에서의 태양 조명의 반사 등에 의하여 차량 이미지에서 차량 번호 인식이 불가능해 지는 문제를 해결하는 차량번호 인식을 위한 CCTV 시스템의 카메라 제어방법 및 그 CCTV 시스템을 제공함에 있다.An object of the present invention is to provide a camera control method of a CCTV system for car number recognition for solving the problem that vehicle number recognition in a vehicle image becomes impossible due to backlighting of the sun or reflection of sunlight on a license plate, .

이에 따라, 태양 등 외부 조명이 시간에 따라 변하면서 광학적 환경이 변하더라도 그 변화를 계속 추적하여 보상함으로써, 갑자기 차량번호가 인식되지 않는 이미지를 촬영하게 되는 문제를 근복적으로 차단함을 목적으로 한다. Accordingly, the objective of the present invention is to temporarily obscure the problem of suddenly photographing an image in which the vehicle number is not recognized by continuously tracking and compensating for the change of the optical environment while the external illumination changes with time .

상기 목적을 달성하기 위하여 본 발명은 차량을 감지하여 그 차량의 이미지를 촬영하는 CCTV 시스템에서의 카메라 제어방법을 개시한다. 본 발명의 방법은, 상기 도로를 주행하는 차량을 감지하고 카메라가 상기 차량을 촬영한 이미지를 생성하는 촬영단계와; 상기 카메라가 생성한 이미지의 차량번호판 영역 중에서 차량번호에 해당하는 복수 개의 번호-픽셀영역과 상기 차량번호의 배경에 해당하는 배경-픽셀영역을 인식하고, 상기 인식된 번호-픽셀영역의 밝기와 배경-픽셀영역의 밝기 차이를 계산하는 계산단계와; 상기 밝기 차이가 제1 기준 값보다 작은 경우에 상기 밝기 차이가 상기 제1 기준 값 이상이 되도록, 상기 카메라의 셔터 속도와 조리개 개방 정도를 조정하는 카메라 조정단계를 포함한다. In order to achieve the above object, the present invention discloses a camera control method in a CCTV system for detecting a vehicle and photographing an image of the vehicle. The method of the present invention includes: a photographing step of sensing a vehicle traveling on the road and generating an image of the vehicle taken by the camera; Recognizing a plurality of number-pixel areas corresponding to the car number and a background-pixel area corresponding to the background of the car number among the license plate area of the image generated by the camera, A calculation step of calculating a brightness difference of a pixel area; And adjusting a shutter speed and an aperture opening degree of the camera such that the brightness difference is equal to or greater than the first reference value when the brightness difference is smaller than the first reference value.

실시 예에 따라, 상기 카메라 조정단계는, 상기 밝기 차이가 상기 제1 기준 값보다 작은 경우에, 상기 이미지의 평균 밝기가 제2 기준 값보다 크면 상기 조리개 개방을 기설정된 단위만큼 줄이고 상기 제2 기준 값보다 작으면 상기 조리개 개방을 상기 기설정된 단위만큼 넓히도록 파라미터 값을 조정하는 조리개 미세조정단계와; 상기 조리개 미세조정단계 후에 상기 촬영단계 및 계산단계를 다시 반복하는 조정확인단계와; 및 상기 밝기 차이가 상기 제1 기준 값 이상이 될 때까지 상기 조리개 미세조정단계 및 조정확인단계를 반복하는 단계를 포함할 수 있다. According to an embodiment, when the brightness difference is smaller than the first reference value, if the average brightness of the image is larger than the second reference value, the camera opening is reduced by a predetermined unit, A diaphragm fine adjustment step of adjusting the parameter value such that the diaphragm opening is widened by the predetermined unit; An adjustment confirmation step of repeating the photographing step and the calculation step after the diaphragm fine adjustment step; And repeating the diaphragm fine adjustment step and the adjustment confirmation step until the brightness difference becomes equal to or greater than the first reference value.

더 나아가, 본 발명의 방법은, 상기 촬영단계, 계산단계 및 카메라 조정단계를 하루 동안 수행하여 그 결과를 일 단위로 저장하는 과정을 기설정된 일 수만큼 연속하여 반복하는 이력관리단계와; 상기 이력관리단계를 수행한 결과로부터 하루 중 각 시간대 별 상기 밝기 차이가 최대인 파라미터 값을 추출하여, 시간대별 파라미터 값을 설정하는 단계와; 상기 밝기 차이가 상기 제1 기준 값보다 작은 경우에, 상기 조리개 미세조정단계 전에 상기 시간대별 파라미터 값을 우선 적용하고 상기 조정확인단계를 수행하는 조리개 거시조정단계를 더 포함하여 조리개 개방정도를 좀 더 빠르게 조정할 수 있다. Furthermore, the method of the present invention may further comprise: a history management step of performing the shooting step, the calculating step, and the camera adjusting step for one day and storing the result on a daily basis; Extracting a parameter value having a maximum brightness difference for each time of day from a result of performing the history management step and setting a parameter value for each time period; Further comprising a diaphragm macro adjustment step of, when the brightness difference is smaller than the first reference value, applying the parameter value for each time period before the diaphragm fine adjustment step and performing the adjustment confirmation step, Can be adjusted quickly.

본 발명은 이상의 방법을 수행하는 CCTV 시스템에도 그 권리가 미친다. 본 발명의 CCTV 시스템은, 카메라, 차량감지부, 번호인식부, 카메라제어부를 포함한다. The present invention also has the right to a CCTV system that carries out the above method. The CCTV system of the present invention includes a camera, a vehicle sensing unit, a number recognition unit, and a camera control unit.

차량감지부가 차량감지 센서를 이용하여 상기 도로를 주행하는 차량을 감지하면, 카메라가 상기 차량감지부가 감지한 차량을 촬영한 이미지를 생성한다. When the vehicle sensing unit senses a vehicle running on the road using the vehicle sensing sensor, the camera generates an image of the vehicle sensed by the vehicle sensing unit.

번호인식부는 상기 카메라가 생성한 이미지의 차량번호판 영역 중에서 차량번호에 해당하는 복수 개의 번호-픽셀영역과 상기 차량번호의 배경에 해당하는 배경-픽셀영역을 인식하고, 상기 인식된 번호-픽셀영역의 밝기와 배경-픽셀영역의 밝기 차이를 계산한다. The number recognition unit recognizes a plurality of number-pixel areas corresponding to the car number and a background-pixel area corresponding to the background of the car number in the license plate area of the image generated by the camera, Calculate the brightness difference between the brightness and the background-pixel area.

카메라제어부는 상기 밝기 차이가 제1 기준 값보다 작은 경우에 상기 밝기 차이가 상기 제1 기준 값 이상이 되도록, 상기 카메라의 셔터 속도와 조리개 개방 정도를 조정한다. The camera controller adjusts the shutter speed and the aperture opening degree of the camera such that the brightness difference is equal to or greater than the first reference value when the brightness difference is smaller than the first reference value.

본 발명에 따른 CCTV 시스템은 기본적으로 차량 번호가 인식되는 것을 기초로 카메라의 조리개 설정을 변경함으로써, 비록 차량번호가 인식되는 상황이더라도 차량번호와 배경 사이의 밝기 차이가 최적 상태에 있도록 미리 조정함으로써, 태양의 위치변화에 따른 광학적 외부 환경의 시각별 변화에 미리 대응한다. 본 발명의 카메라 제어방법은 광학적 상황의 변화를 계속 추적하여 보정하기 때문에, 태양광의 조명 상태에 따라 갑작스럽게 차량번호가 인식되지 않는 문제를 근본적으로 해결한다. The CCTV system according to the present invention basically adjusts the iris setting of the camera on the basis that the vehicle number is recognized so that the brightness difference between the vehicle number and the background is adjusted in advance so as to be optimal even if the vehicle number is recognized, And corresponds to the change of the optical external environment according to the change of the position of the sun in advance. The camera control method of the present invention fundamentally solves the problem that the vehicle number is not suddenly recognized according to the lighting condition of the sunlight, because the camera control method keeps track of and changes the change of the optical situation.

또한, 현재 차량 번호가 인식되는 상태이므로, 조리개 보정은 매우 미세하게 조정되어야 한다. 따라서 번호와 배경 사이의 밝기 차이가 일정 수준이 아님에 따라 보정에 많은 시간이 소요될 수도 있는데, 본 발명은 일 별 조정 이력 데이터를 관리함으로서 해당 시간대의 최적 조리개 개방 정도로 빠르게 조정할 수도 있다. Further, since the current vehicle number is recognized, the aperture correction must be adjusted very finely. Accordingly, since the brightness difference between the number and the background is not a certain level, it may take a long time for the correction. The present invention can quickly adjust the optimal aperture opening degree in the corresponding time zone by managing the individual adjustment history data.

도 1은 본 발명의 CCTV 시스템의 설명에 제공되는 도면,
도 2는 본 발명의 일 실시 예에 따른 CCTV 시스템의 블록도,
도 3은 본 발명의 카메라에 의해 촬영된 이미지 중에서 번호판 영역을 도시한 도면,
도 4는 본 발명의 일 실시 예에 따른 CCTV 시스템의 카메라 제어방법의 설명에 제공되는 흐름도이다.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a CCTV system according to the present invention,
2 is a block diagram of a CCTV system according to an embodiment of the present invention.
FIG. 3 is a view showing license plate regions among images photographed by the camera of the present invention,
4 is a flowchart illustrating a camera control method of a CCTV system according to an embodiment of the present invention.

이하 도면을 참조하여 본 발명을 더욱 상세히 설명한다.BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described in more detail with reference to the drawings.

도 1을 참조하면, 본 발명의 차량 방범용 CCTV 시스템은 차로(車路)(또는 차선)를 촬영하는 적어도 하나의 카메라(101)와, 차량을 감지하기 위한 차량센서(103, 105)와, 카메라(101)의 영상을 처리하고 저장하는 영상제어기(110)를 포함한다. Referring to FIG. 1, the CCTV system for crime prevention of the present invention includes at least one camera 101 for photographing a road (or a lane), vehicle sensors 103 and 105 for detecting a vehicle, And an image controller 110 for processing and storing images of the camera 101.

본 발명의 카메라(101)는 도로상에 설치되어 도로를 주행하는 차량에 대한 이미지를 생성한다.The camera 101 of the present invention is installed on a road, and generates an image of a vehicle running on the road.

카메라(101)는 도로의 노면으로부터 일정 높이에 설치된 지지 구조물에 부착되어 차량의 주행방향과 마주보도록 설치되고, 영상제어기(110)는 일반적으로 카메라(101)로부터 이격되어 도로의 외측에 설치된다. 아래에서 설명되는 것처럼, 카메라(101)는 통상 복수 개의 차선을 동시에 촬영하도록 설치될 수도 있다. 예를 들어, 왕복 8차선의 경우에, 각각 4차선씩 2개의 카메라만을 사용하거나 2개 차선씩 전체 4개의 카메라를 사용할 수 있다. 또한, 각 차선마다 카메라를 설치할 수도 있다. 따라서 본 발명의 CCTV 시스템은 한 대의 카메라를 구비할 수도 있고 차선마다 설치된 복수 개의 카메라를 구비할 수도 있다. 한편, 차선 구분없이 복수 개의 차량이 동시에 주행할 수 있는 도로도 있으며, 본 발명의 카메라(101)를 한 대 또는 여러 대가 설치될 수도 있다. The camera 101 is attached to a supporting structure provided at a predetermined height from the road surface so as to face the running direction of the vehicle, and the image controller 110 is generally installed outside the road from the camera 101. As described below, the camera 101 may be normally installed to photograph a plurality of lanes at the same time. For example, in the case of eight round trip lanes, you can use only two cameras in each of the four lanes or four cameras in all two lanes. In addition, a camera may be provided for each lane. Therefore, the CCTV system of the present invention may have one camera or a plurality of cameras installed in each lane. On the other hand, there is a road on which a plurality of vehicles can run at the same time without lane separation, and one or more cameras 101 of the present invention may be installed.

카메라(101)는 자신의 동작을 위한 각종 파라미터 값에 따라 동작한다. 예컨대, 사용자는 색 보정, 조리개 개방, 셔터 속도 등에 관한 파라미터 값을 설정하고 조정하여 카메라(101)의 동작을 제어할 수 있다. 일반적으로 카메라(101)는 처음 전원이 공급되면 초기 설정으로 동작을 개시하고 이후에는 자동 모드에 따라 조정되지만, 본 발명에서는 초기 설정 이후에 아래에서 설명하는 카메라제어부(207)에 의해 파라미터 값이 조정된다. The camera 101 operates according to various parameter values for its operation. For example, the user can control the operation of the camera 101 by setting and adjusting parameter values relating to color correction, iris opening, shutter speed, and the like. In the present invention, after initial setting, the camera control unit 207 controls the parameter value to be adjusted by the camera control unit 207, do.

차량 센서(103, 105)는 영상제어기(110)의 차량감지부(203)와 함께 도로를 주행하는 차량을 감지한다. 차량 센서(103, 105)는 차량이 통과하였음을 감지할 수 있는 어떠한 종류의 센서도 가능하며, 도로에 설치되어 전자기 유도방식으로 차량을 검출하는 루프 코일(Loop Coil) 방식 센서나, 카메라(101) 인근에 설치되어 레이저를 이용하여 차량을 검출하는 센서 등이 해당한다. 이러한 차량 센서(103, 105)는 대부분 그 차량의 속도도 함께 감지할 수 있다. 도 1은 제1 차선과 제2 차선에 각각 루프 코일 방식의 제1 차량 센서(103)와 제2 차량 센서(105)가 설치된 예이다. The vehicle sensors 103 and 105 sense a vehicle traveling along the road together with the vehicle sensing unit 203 of the image controller 110. [ The vehicle sensors 103 and 105 may be any type of sensor capable of detecting that the vehicle has passed through, or may be a loop coil type sensor installed on the road and detecting the vehicle by electromagnetic induction, And a sensor for detecting the vehicle using a laser. These vehicle sensors 103 and 105 can detect the speed of the vehicle at the same time. 1 is an example in which first and second vehicle sensors 103 and 105 of a loop coil system are installed in the first lane and the second lane, respectively.

다만, 차량 센서(103, 105)는 본 발명의 필수적인 구성이 아닐 수 있다. 예컨대, 본 발명의 CCTV 시스템은 별도의 차량 센서 없이 카메라(101)가 연속적으로 도로를 촬영하고, 그 촬영한 영상에 대한 영상처리를 통해 차량의 주행을 감지할 수 있을 것이다. However, the vehicle sensors 103 and 105 may not be essential components of the present invention. For example, in the CCTV system of the present invention, the camera 101 can continuously photograph a road without a separate vehicle sensor, and can detect the running of the vehicle through image processing of the captured image.

영상제어기(110)는 차량 센서(103, 105)를 이용하여 도로를 주행하는 차량을 감지하여 그 감지결과에 따라 카메라(101)로 하여금 차량을 촬영하여 이미지를 생성하도록 제어하며, 생성된 이미지를 저장하고 관리한다. 필요한 경우, 영상제어기(110)는 과속 단속 및 번호판 인식과 같은 영상처리를 수행할 수도 있다. The image controller 110 senses a vehicle running on the road using the vehicle sensors 103 and 105 and controls the camera 101 to shoot the vehicle according to the detection result to generate an image, Save and manage. If necessary, the image controller 110 may perform image processing such as overspeed interception and license plate recognition.

도 2를 참조하면, 영상제어기(110)는 저장매체(201), 차량감지부(203), 번호인식부(205) 및 카메라제어부(207)를 포함하여, 카메라(101)의 조리개 개방을 제어함으로써, 카메라(101)로 하여금 번호인식에 적합한 이미지를 생성할 수 있도록 한다.2, the image controller 110 includes a storage medium 201, a vehicle sensing unit 203, a number recognizing unit 205, and a camera control unit 207 to control the iris opening of the camera 101 So that the camera 101 can generate an image suitable for number recognition.

저장매체(201)는 카메라(101)가 촬영하여 제공하는 이미지를 저장한다. The storage medium 201 stores an image captured by the camera 101 and provided.

차량감지부(203)는 차량 센서(103, 105)를 이용하여 도로를 주행하는 차량을 감지한다. 차량감지부(203)는 차량센서(103, 105)로부터 읽어온 감지결과를 카메라(101)에게 제공하여 카메라(101)로 하여금 주행 중인 것으로 감지된 차량의 이미지를 생성하도록 제어한다. The vehicle sensing unit 203 senses a vehicle running on the road using the vehicle sensors 103 and 105. [ The vehicle sensing unit 203 provides the camera 101 with the sensing result read from the vehicle sensors 103 and 105 to control the camera 101 to generate an image of the sensed vehicle.

앞서 설명한 바와 같이, 차량 센서(103, 105)와 차량감지부(203)는 본 발명의 필수적인 구성이 아닐 수 있다. 다만, 차량 센서(103, 105)와 차량감지부(203)를 구비하지 않았다면, 카메라(101)는 연속적으로 도로를 촬영한 이미지를 영상제어기(110)에게 제공하도록 설정된다.As described above, the vehicle sensors 103 and 105 and the vehicle sensing unit 203 may not be essential components of the present invention. However, if the vehicle sensors 103 and 105 and the vehicle sensing unit 203 are not provided, the camera 101 is set to provide the image controller 110 with an image of continuously photographing the road.

번호인식부(205)는 카메라(101)가 촬영하여 제공하는 이미지에서 차량번호판 영역(30)을 인식하고, 차량번호를 인식한다. 이때, 번호인식부(205)는 차량번호판 영역(30) 중에서 차량번호에 해당하는 복수 개의 번호-픽셀영역(31)과 차량번호의 배경에 해당하는 배경-픽셀영역(33)을 구분하여 인식하게 된다. 도 3의 예를 참조하면, 7자리의 차량번호에 해당하는 7개의 복수 개의 번호-픽셀영역(31)이 인식되고, 차량번호의 배경에 해당하는 배경-픽셀영역(33)이 인식된다. The number recognizing unit 205 recognizes the license plate area 30 from the image captured by the camera 101 and recognizes the vehicle number. At this time, the number recognition unit 205 identifies a plurality of number-pixel areas 31 corresponding to the vehicle number and a background-pixel area 33 corresponding to the background of the vehicle number in the license plate area 30 do. 3, seven number-pixel areas 31 corresponding to seven-digit car numbers are recognized, and a background-pixel area 33 corresponding to the background of the car number is recognized.

또한, 번호인식부(205)는 인식된 번호-픽셀영역의 밝기와 배경-픽셀영역의 '밝기를 각각 계산한 다음, 번호-픽셀영역과 배경-픽셀영역의 밝기 차이(이하 간단히, '번호와 배경 사이의 밝기 차이'라 함)를 계산하여 카메라제어부(207)에게 제공한다. The number recognizing unit 205 calculates the brightness of the recognized number-pixel area and the brightness of the background-pixel area, respectively, and then calculates the brightness difference between the number-pixel area and the background-pixel area (Hereinafter referred to as " brightness difference between backgrounds ") to the camera control unit 207.

여기서, 번호-픽셀영역의 밝기는 복수 개 번호-픽셀영역(31)을 대표하는 밝기로서 복수 개 번호-픽셀영역(31)에 속하는 모든 픽셀의 밝기를 평균한 '복수 개 번호-픽셀영역(31)의 평균 밝기'일 수도 있고, 복수 개 번호-픽셀영역(31)에 속하는 일부 픽셀의 밝기를 평균한 '대표픽셀 평균 밝기'일 수도 있다. 배경-픽셀영역의 밝기도 배경-픽셀영역(33)을 대표하는 밝기로서 배경-픽셀영역(33)에 속하는 모든 픽셀의 밝기를 평균한 '배경-픽셀영역(33)의 평균 밝기'일 수도 있고, 배경-픽셀영역(33)에 속하는 일부 픽셀의 밝기를 평균한 '대표픽셀 평균 밝기'일 수도 있다. 픽셀의 밝기 값이 0 ~ 255 사이의 값으로 표시되는 경우를 가정하면, 번호-픽셀영역의 밝기와 배경-픽셀영역의 밝기도 0~255 사이의 값이 된다. Here, the brightness of the number-pixel region is a plurality of numbers-the brightness representing the pixel region 31, and a plurality of number-pixel regions 31, which average the brightness of all the pixels belonging to the pixel region 31 , Or may be a 'representative pixel average brightness' that averages the brightness of some pixels belonging to the multiple number-pixel region 31. [ The brightness of the background-pixel region may also be the background-brightness of the pixel region 33, which is the average brightness of all pixels belonging to the background-pixel region 33 , And 'representative pixel average brightness' which averages the brightness of some pixels belonging to the background-pixel area 33. [ Assuming that the brightness value of the pixel is represented by a value between 0 and 255, the brightness of the number-pixel region and the brightness of the background-pixel region are also between 0 and 255.

번호-픽셀영역의 밝기와 배경-픽셀영역의 밝기 차이, 즉 번호와 배경 사이의 밝기 차이를 구하는 방법은 종래에 알려진 방법을 사용할 수 있으며, 이에 대하여는 아래에서 다시 설명한다. The brightness difference between the number-pixel area and the background-pixel area, that is, the difference in brightness between the number and the background, can be determined by a conventionally known method, which will be described below.

또한, 번호인식부(205)는 아래에서 설명하는 카메라 조정단계를 수행하기 위하여, 전체 이미지의 평균 밝기를 구하여 카메라제어부(207)에게 제공할 수도 있다. In addition, the number recognizing unit 205 may obtain the average brightness of the whole image and provide it to the camera controller 207 in order to perform the camera adjusting step described below.

카메라제어부(207)는 카메라(101)의 동작을 위한 파라미터 값을 제어한다. 카메라제어부(207)가 제어하는 사항은 색보정, 셔터 속도, 조리개 설정 등 매우 다양하지만, 본 발명에서는 특별히 조리개의 개방을 제어하는 것을 중심으로 설명한다. 본 발명은 조리개의 개방 상태를 제어함으로써, 카메라(101)가 촬영한 이미지가 번호인식부(205)의 차량번호 인식에 문제가 없는 이미지가 되도록 제어한다. The camera control unit 207 controls parameter values for the operation of the camera 101. Items controlled by the camera control unit 207 vary widely, such as color correction, shutter speed, aperture setting, etc. In the present invention, the control of opening of the diaphragm will be mainly described. The present invention controls the opening state of the diaphragm so that the image photographed by the camera 101 becomes an image free from the problem of recognizing the car number of the number recognizing unit 205. [

카메라제어부(207)는 번호인식부(205)가 계산한 '번호와 배경 사이의 밝기 차이'가 제1 기준 값보다 작은지 여부를 판단한다. 통상 번호와 배경 사이의 밝기 차이는 일정한 값이상 이어야 한다. 번호판의 배경은 밝은 색(통상 흰색)으로서 대략 170 내외의 밝기 값이 나오고, 번호는 청색, 녹색, 검은색이므로 대략 50 내외의 밝기 값이 나온다. 번호인식부(205)의 번호 인식 알고리즘에는 번호-픽셀영역의 외곽선을 인식하는 방법이 포함된다. 이때 번호와 배경 사이의 밝기 차이가 충분하지 않으면, 번호인식부(205)가 번호-픽셀영역의 외곽선을 인식할 수 없거나 잘못 인식하게 되어, 번호 인식 불가 또는 번호 인식 오류가 발생할 수 있다. 따라서 번호와 배경 사이의 밝기 차이는 항상 일정한 크기 이상 차이가 있어야 한다. The camera control unit 207 determines whether the brightness difference between the number and the background calculated by the number recognition unit 205 is smaller than the first reference value. The difference in brightness between the normal number and the background should be more than a certain value. The background of the license plate is a bright color (normally white) with a brightness value of about 170 or so, and the number is blue, green, and black. The number recognition algorithm of the number recognition unit 205 includes a method of recognizing the outline of the number-pixel area. If the brightness difference between the number and the background is not sufficient at this time, the number recognizing unit 205 can not recognize the outline of the number-pixel area or may erroneously recognize the number, so that the number recognition failure or the number recognition error may occur. Therefore, the difference in brightness between the number and the background must always differ by more than a certain amount.

'번호와 배경 사이의 밝기 차이'가 제1 기준 값보다 작으면, 카메라제어부(207)는 밝기 차이가 제1 기준 값 이상이 되도록, 카메라의 조리개 개방 정도를 조정하는 카메라 조정단계를 수행한다. 여기서, 제1 기준값은 반복 실험을 통해 구한 번호-픽셀영역의 밝기와 배경-픽셀영역의 밝기를 기초로 실험적으로 구할 수 있으며, 예컨대 픽셀의 밝기 값이 0 ~ 255 사이의 값으로 표시되는 경우, 제1 기준값은 대략 100 정도로 정할 수 있다. If the difference in brightness between the number and the background is less than the first reference value, the camera controller 207 performs a camera adjustment step of adjusting the iris opening degree of the camera such that the brightness difference is equal to or greater than the first reference value. Here, the first reference value can be obtained experimentally based on the brightness of the number-pixel area and the brightness of the background-pixel area obtained through the repeated experiment. For example, when the brightness value of the pixel is represented by a value between 0 and 255, The first reference value can be set to approximately 100 or so.

이하에서는 도 4를 참조하여, 카메라(101), 번호인식부(205) 및 카메라제어부(207)의 동작을 중심으로, 본 발명의 카메라 제어방법을 설명한다. Hereinafter, with reference to FIG. 4, the camera control method of the present invention will be described focusing on the operations of the camera 101, the number recognition unit 205, and the camera control unit 207. FIG.

<차량 이미지 촬영: S401><Vehicle image shooting: S401>

카메라(101)는 차량 이미지를 생성한다. 도 2에서처럼, 차량 센서(103, 105)와 차량감지부(203)를 구비한 경우라면, 차량감지부(203)가 차량 센서(103, 105)를 이용하여 도로를 주행하는 차량을 감지하게 되면, 카메라(101)에게 감지 결과를 제공하여 카메라(101)로 하여금 주행 중인 것으로 감지된 차량의 이미지를 생성하도록 제어한다. 이때 카메라(101)는 현재 파라미터 값에 따라 조리개 개방을 유지하면서 차량의 이미지를 생성한다. The camera 101 generates a vehicle image. 2, when the vehicle sensors 103 and 105 and the vehicle sensing unit 203 are provided, when the vehicle sensing unit 203 senses a vehicle traveling on the road using the vehicle sensors 103 and 105 , And provides a detection result to the camera 101 to control the camera 101 to generate an image of the vehicle sensed as being traveling. At this time, the camera 101 generates an image of the vehicle while maintaining the aperture opening according to the current parameter value.

<차량번호 인식: S403><Vehicle number recognition: S403>

번호인식부(205)는 카메라(101)가 촬영하여 제공하는 이미지에서 차량번호판 영역(30)을 인식하고, 차량번호를 인식한다. 이때, 번호인식부(205)는 차량번호판 영역(30) 중에서 차량번호에 해당하는 복수 개의 번호-픽셀영역(31)과 차량번호의 배경에 해당하는 배경-픽셀영역(33)을 구분하여 인식한다. The number recognizing unit 205 recognizes the license plate area 30 from the image captured by the camera 101 and recognizes the vehicle number. At this time, the number recognition unit 205 distinguishes the plurality of number-pixel areas 31 corresponding to the vehicle number and the background-pixel area 33 corresponding to the background of the vehicle number from the license plate area 30 .

<번호와 배경 사이의 밝기 차이 계산: S405><Calculation of brightness difference between number and background: S405>

번호-픽셀영역(31)과 배경-픽셀영역(33)을 인식한 번호인식부(205)는 번호-픽셀영역의 밝기와 배경-픽셀영역의 밝기를 계산하고, 그 차이를 계산한다. The number recognition unit 205 recognizing the number-pixel area 31 and the background-pixel area 33 calculates the brightness of the number-pixel area and the brightness of the background-pixel area, and calculates the difference.

<번호와 배경 사이의 밝기 차이가 제1 기준값 보다 큰 값인지 판단: S407>&Lt; Determining whether the brightness difference between the number and the background is larger than the first reference value: S407>

카메라제어부(207)는 번호인식부(205)가 계산한 '번호와 배경 사이의 밝기 차이'가 제1 기준 값보다 작은지 여부를 판단한다. The camera control unit 207 determines whether the brightness difference between the number and the background calculated by the number recognition unit 205 is smaller than the first reference value.

'번호와 배경 사이의 밝기 차이'가 제1 기준 값보다 크면 현재 조리개 개방정도가 적정한 것이므로, 카메라제어부(207)는 S401 단계로 돌아가 다음 이미지에 대하여 S401 내지 S407 단계를 반복한다. 이처럼 현재 상태에 문제가 없는 경우에도 S401 내지 S407 단계를 반복하는 이유는, 시간의 경과에 따라 태양의 위치가 바뀌고, 그에 따라 외부의 광학적 상황이 바뀌는 것에 미리 대응하기 위해서이다. If the difference in brightness between the number and the background is greater than the first reference value, the current aperture opening is appropriate, so the camera control unit 207 returns to step S401 and repeats steps S401 to S407 for the next image. The reason why the steps S401 to S407 are repeated even when there is no problem in the current state is that the position of the sun changes with the lapse of time and the external optical conditions change accordingly.

'번호와 배경 사이의 밝기 차이'가 제1 기준 값보다 작으면 현재 조리개 개방정도가 적절하지 않은 것이므로, 카메라제어부(207)는 다음의 카메라 조정단계를 수행함으로써 카메라의 조리개 개방 정도를 조정한다. If the difference in brightness between the number and the background is less than the first reference value, the current iris opening degree is not appropriate. Therefore, the camera controller 207 adjusts the iris opening degree of the camera by performing the following camera adjustment step.

<카메라 조정-조리개 미세조정단계; S409 내지 S413>&Lt; camera adjustment - fine aperture adjustment step; S409 to S413>

밝기 차이가 제1 기준 값보다 작은 경우에, 카메라제어부(207)는 카메라 조정단계로 진입한다. When the brightness difference is smaller than the first reference value, the camera control unit 207 enters the camera adjustment step.

우선, 카메라제어부(207)는 번호인식부(205)가 제공하는 이미지 전체의 평균 밝기 또는 번호-픽셀영역과 배경-픽셀영역의 평균 밝기를 기초로 조리개 개방에 관한 파라미터 값을 결정한다.First, the camera control unit 207 determines a parameter value relating to aperture opening based on the average brightness of the entire image or the average brightness of the number-pixel area and the background-pixel area provided by the number recognizing unit 205.

조리개 파리미터를 조정하면, 카메라(101)로 입사되는 광량이 늘어나거나 줄어드는데, 이때, 상대적으로 밝은 배경-픽셀영역의 밝기와 상대적으로 어두운 번호-픽셀영역의 밝기가 일정한 비율로 증가하거나 줄어드는 것이 아니다. 예컨대, 조리개를 조금 더 열게 되면(예컨대 조리개를 5% 정도 더 개방), 번호-픽셀영역의 밝기에 비하여 배경-픽셀영역의 밝기가 급격하게 밝아지면서 배경-픽셀영역의 밝기와 번호-픽셀영역의 차이가 커진다. 반대로 예컨대, 조리개를 조금 더 닫게 되면(예컨대 조리개를 5% 정도 닫음), 배경-픽셀영역의 밝기에 비하여 번호-픽셀영역의 밝기가 급격하게 어두워지면서 배경-픽셀영역의 밝기와 번호-픽셀영역의 차이가 커진다. 따라서 카메라 조정단계의 카메라제어부(207)는 파라미터 값을 조금씩 크게 하거나 조금씩 줄이면서 밝기 차이가 제1 기준 값보다 큰 값이 되도록 조정한다. When the iris parameter is adjusted, the amount of light incident on the camera 101 is increased or decreased. At this time, the brightness of the relatively bright background-pixel region is not increased or decreased at a certain rate . For example, if the diaphragm is slightly opened (for example, the diaphragm is opened about 5% more), the brightness of the background-pixel area becomes abruptly brighter as compared with the brightness of the number- The difference becomes large. Conversely, for example, when the aperture is slightly closed (for example, the aperture is closed by about 5%), the brightness of the number-pixel region becomes drastically darker than the brightness of the background-pixel region, The difference becomes large. Therefore, the camera control unit 207 of the camera adjustment step adjusts the parameter value to be slightly larger or slightly smaller, so that the brightness difference is larger than the first reference value.

우선, 카메라제어부(207)는 번호인식부(205)가 제공하는 번호-픽셀영역과 배경-픽셀영역의 평균 밝기가 제2 기준 값보다 큰 지 여부를 판단한다. 앞서 설명한 것처럼, 번호-픽셀영역과 배경-픽셀영역의 평균 밝기 대신에, 이미지 전체의 평균 밝기를 이용할 수도 있다. 여기서, 제2 기준값 역시 실험적으로 구할 수 있으며, 예컨대 픽셀의 밝기 값이 0 ~ 255 사이의 값으로 표시되는 경우, 제2 기준값은 대략 가운데 보다 높은 값인 160 정도로 정할 수 있다. 다만, 제2 기준값은 고정된 값을 사용하기 보다는 시간에 따라 변경되는 값으로 설정할 수 있다. 따라서 낮 시간대의 제2 기준값이 아침이나 저녁 시간대 보다 큰 값으로 설정할 수 있다(S409). First, the camera controller 207 determines whether the average brightness of the number-pixel area and background-pixel area provided by the number recognizer 205 is greater than the second reference value. As described above, the average brightness of the entire image may be used instead of the average brightness of the number-pixel area and the background-pixel area. Here, the second reference value can also be obtained experimentally. For example, when the brightness value of the pixel is represented by a value between 0 and 255, the second reference value may be set to about 160, which is higher than the middle value. However, the second reference value may be set to a value that changes with time rather than using a fixed value. Therefore, the second reference value of the daytime period can be set to a value larger than the morning or evening time period (S409).

카메라제어부(207)는, 번호-픽셀영역과 배경-픽셀영역의 평균 밝기가 제2 기준 값보다 크면 조리개를 일정 크기만큼 닫고(S411), 번호-픽셀영역과 배경-픽셀영역의 평균 밝기가 제2 기준 값보다 작으면 조리개를 일정 크기만큼 여는 제어를 수행한다(S413). If the average brightness of the number-pixel area and background-pixel area is greater than the second reference value, the camera controller 207 closes the aperture by a predetermined amount (S411), and if the average brightness of the number- If it is smaller than the reference value 2, control for opening the iris by a predetermined amount is performed (S413).

이때, 일정 크기는 파라미터 값을 기준으로 동일한 크기로 정하는 것이 바람직하다. S411 또는 S413 단계를 통해 조금씩 조리개의 개방을 키우거나 줄이는 것이다. 앞서 예를 든 것처럼, 파리미터 값을 제어하여 조리개의 개방을 1% 내지 5% 만큼 줄이거나 키우는 것이다. At this time, it is preferable to set the predetermined size to the same size based on the parameter value. The opening of the diaphragm is gradually increased or decreased through steps S411 or S413. As in the previous example, you can control the parameter value to reduce or open the aperture by 1% to 5%.

<카메라 조정-조정확인단계; S401 내지 S413의 반복><Camera adjustment - adjustment confirmation step; Repetition of S401 to S413>

위 S413 단계를 통해 조리개를 조정하면, 조리개 조정의 영향은 이후에 촬영된 이미지에 반영된다. 이처럼, 본 발명의 영상제어기(110)는 밝기 차이가 제1 기준 값 이상이 될 때까지 S413 단계 이후에 S401 내지 S413 단계를 계속 반복한다. 다만, 태양의 변경에 따라 S407 단계에서 번호와 배경의 차이가 제1 기준값보다 작아지게 되어 S401 내지 S413 단계를 반복하면서 새로운 조리개 설정을 찾게 되면, 상당 시간 그 설정을 유지할 수 있다. If the iris is adjusted through the above step S413, the influence of the iris adjustment is reflected on the photographed image thereafter. As described above, the image controller 110 of the present invention continuously repeats steps S401 to S413 after step S413 until the brightness difference becomes equal to or greater than the first reference value. However, according to the change of the sun, the difference between the number and the background becomes smaller than the first reference value in step S407, and if the new iris setting is found while repeating steps S401 through S413, the setting can be maintained for a considerable time.

이상의 방법을 통해 본 발명의 카메라 제어가 수행된다. 설명한 것처럼 본 발명의 영상제어기(110)는 S401 내지 S407을 반복하다가 필요에 따라 S401 내지 S413 단계를 반복한다. 이러한 과정은 시간의 경과에 따라 태양의 위치가 바뀌고, 그에 따라 외부의 광학적 상황이 바뀌면서 촬영된 이미지에서 번호인식이 되지 않는 상황을 방지한다. 더구나, 통상의 카메라가 평균 밝기를 기초로 조리개를 자동 제어하는 경우에 번호인식의 관점에서 광학적 상황이 악화되다가 갑자기 번호 인식이 불가능한 이미지가 촬영되는 상황이 발생할 수 있는데, 본 발명에 의하면 S403 단계에서 번호 인식을 전제로 전체 프로세스가 처리된다. 다시 말해, 현재 번호 인식에 문제가 없지만 미리 태양의 움직임에 대응함으로써 예상치 못한 인식 불능 상태를 만들지 않는 점에서 특징이 있다. The camera control of the present invention is performed through the above method. As described above, the image controller 110 of the present invention repeats S401 to S407 and repeats S401 to S413 as necessary. This process prevents the situation where the position of the sun changes with the lapse of time, and thus the number of the captured image is not recognized due to the change of the external optical condition. Furthermore, when an ordinary camera automatically controls the iris based on the average brightness, there may occur a situation where an optical state is deteriorated from the viewpoint of number recognition, and an image which is suddenly unable to be recognized is photographed. However, according to the present invention, The entire process is processed on the premise of number recognition. In other words, there is no problem in recognition of the current number, but it is characterized in that it does not create an unexpected unrecognizable state by responding to the movement of the sun in advance.

실시 예 (이력 데이터에 기초한 조리개 거시조정 방법)Embodiment (Aperture Macro Adjustment Method Based on History Data)

태양의 변경에 따라 S407 단계에서 번호와 배경의 차이가 제1 기준값 보다 작아지게 되어, S401 내지 S413 단계를 반복하면서 새로운 조리개 설정을 찾게 되면, 상당 시간 그 설정을 유지할 수 있다. 다만, 그 새로운 설정값을 찾기 위해서 S401 내지 S413 단계를 수 회 반복해야 한다. 차량이 많이 다니지 않는 도로의 경우에 그 조정 시간이 상당히 소요될 수 있다. The difference between the number and the background becomes smaller than the first reference value in step S407 according to the change of the sun. If the new iris setting is found while repeating steps S401 through S413, the setting can be maintained for a considerable time. However, steps S401 to S413 are repeated several times in order to find the new setting value. In the case of a road where a lot of vehicles do not travel, the adjustment time may be considerable.

이러한 것을 좀 더 적극적으로 해결하기 위하여, 본 발명의 방법은 다음의 방법을 사용할 수 있다. In order to solve this problem more actively, the method of the present invention can use the following method.

<이력관리단계><History management stage>

우선, S401의 촬영단계, 계산단계 및 카메라 조정단계를 하루 동안 수행한 결과를 일 단위로 저장하는 과정을 수 일 반복하면서, 카메라제어부(207)는 처음 설치 후 수 일 동안의 제어결과를 일별 데이터로 관리할 수 있다. First, the process of storing the result of performing the shooting step, the calculating step, and the camera adjusting step in one day in S401 is repeated several days, and the camera control unit 207 stores the control result for several days after the first installation, .

<시간대별 조리개 파라미터 값 설정단계><Step of setting iris parameter value by time zone>

카메라제어부(207)는 이력관리단계를 수행한 결과로부터 하루 중 각 시간대 별로 번호와 배경의 밝기 차이가 최대인 파라미터 값을 추출하여 '시간대별 파라미터 값'으로 설정한다. The camera control unit 207 extracts a parameter value having a maximum brightness difference between the number and the background for each day of the day from the result of performing the history management step, and sets the parameter value as 'time period parameter value'.

<S407과 S409 사이에서의 조리개 거시조정단계><Aperture Macro Adjustment Step Between S407 and S409>

카메라(101)가 차량 이미지를 촬영하면서 본 발명의 CCTV 시스템의 목적 기능을 수행하는 중에, 도 3의 S407 단계를 수행한 결과, 밝기 차이가 제1 기준 값보다 작으면 카메라 조정단계로 진입한다. 다만, 도 3에 도시된 카메라 조정단계를 수행하기 전에(즉, S409 단계로 진행하기 전에), 해당 시간대의 시간대별 파라미터 값을 우선 적용해 본다. 시간대별 파라미터 값을 적용한 이후에는 통상의 카메라 조정단계를 수행한다. While the camera 101 is performing the objective function of the CCTV system of the present invention while photographing the vehicle image, if the brightness difference is smaller than the first reference value as a result of step S407 of FIG. 3, the camera adjustment step is entered. However, before performing the camera adjustment step shown in FIG. 3 (that is, before proceeding to step S409), the parameter values for each time period in the corresponding time zone are applied first. After applying the time-based parameter values, the normal camera adjustment step is performed.

거시조정단계를 통해, 카메라제어부(207)는 조리개 개방 정도를 좀 더 빠르게 조정할 수 있다. Through the macro adjustment step, the camera control unit 207 can adjust the iris opening degree more quickly.

실시 예 2 - 번호 픽셀영역의 밝기 계산Example 2 - Calculation of brightness of number pixel region

번호-픽셀영역의 밝기와 배경-픽셀영역의 밝기를 계산함에 있어서, 본 발명은 다음의 방법을 제시한다. 본 발명은 번호-픽셀영역과 배경-픽셀영역의 밝기는, 그 자체과 중요한 기술적 요소가 된다고 볼 수 있으나, 오히려 번호 인식이 가능한 상태인지에 대한 판단의 수단으로 의미가 있다. 따라서 밝기를 계산하는 방법이 엄격하지 않을 수 있다. In calculating the brightness of the number-pixel region and the brightness of the background-pixel region, the present invention proposes the following method. The brightness of the number-pixel area and the background-pixel area is considered to be an important technical element itself, but it is meaningful as a means of determining whether or not the number recognition is possible. Therefore, the method of calculating the brightness may not be strict.

번호인식부(205)는 차량 번호로 인식되는 번호/문자마다 복수 개의 특정 픽셀들의 위치를 설정해 둘 수 있다. 해당 픽셀들은 번호의 중심선을 따라 배치될 수도 있고, 가장자리를 따라 배치될 수도 있다. The number recognizing unit 205 may set the position of a plurality of specific pixels for each number / character recognized as a car number. The pixels may be arranged along the centerline of the number or along the edge.

카메라(101)가 차량 이미지를 촬영하면서 본 발명의 CCTV 시스템의 목적 기능을 수행하는 중에, 도 3의 S403 단계를 수행하여 번호를 인식한 이후에, 해당 인식된 번호(예컨대 '3')에 대해 기설정해 둔 복수 개의 특정 픽셀 위치에 대응하는 픽셀을 번호-픽셀영역(31)으로부터 추출한다. 카메라제어부(207)는 그 추출된 픽셀의 평균 밝기를 계산함으로써 번호-픽셀영역의 밝기를 계산할 수 있다. While the camera 101 is performing the objective function of the CCTV system of the present invention while shooting the image of the vehicle, after recognizing the number by performing step S403 of FIG. 3, the corresponding number (for example, '3' Pixels corresponding to a predetermined plurality of predetermined pixel positions are extracted from the number-pixel area 31. [ The camera control unit 207 can calculate the brightness of the number-pixel area by calculating the average brightness of the extracted pixels.

그 밖에도, 번호-픽셀영역(31)의 중심선을 추출하여, 그 중심선에 속하는 픽셀들의 평균 밝기를 번호-픽셀영역의 밝기로 계산할 수도 있다. In addition, the centerline of the number-pixel area 31 may be extracted, and the average brightness of the pixels belonging to the centerline may be calculated as the brightness of the number-pixel area.

이상에서는 본 발명의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안 될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be construed as limiting the scope of the invention as defined by the appended claims. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention.

Claims (8)

주행 중인 차량을 감지하여 그 차량의 이미지를 촬영하는 CCTV 시스템의 카메라 제어방법에 있어서,
도로를 주행하는 차량을 감지하고 카메라가 상기 차량을 촬영한 이미지를 생성하는 촬영단계;
상기 카메라가 생성한 이미지의 차량번호판 영역 중에서 차량번호에 해당하는 복수 개의 번호-픽셀영역과 상기 차량번호의 배경에 해당하는 배경-픽셀영역을 인식하고, 상기 인식된 번호-픽셀영역의 밝기와 배경-픽셀영역의 밝기 차이를 계산하는 계산단계; 및
상기 밝기 차이가 제1 기준 값보다 작은 경우에 상기 밝기 차이가 상기 제1 기준 값 이상이 되도록, 상기 카메라의 셔터 속도와 조리개 개방 정도를 조정하는 카메라 조정단계를 포함하고,
상기 카메라 조정단계는,
상기 밝기 차이가 상기 제1 기준 값보다 작은 경우에, 상기 이미지의 평균 밝기가 제2 기준 값보다 크면 상기 조리개 개방을 기설정된 단위만큼 줄이고 상기 제2 기준 값보다 작으면 상기 조리개 개방을 상기 기설정된 단위만큼 넓히도록 파라미터 값을 조정하는 조리개 미세조정단계;
상기 조리개 미세조정단계 후에 상기 촬영단계 및 계산단계를 다시 반복하는 조정확인단계; 및
상기 밝기 차이가 상기 제1 기준 값 이상이 될 때까지 상기 조리개 미세조정단계 및 조정확인단계를 반복하는 단계를 포함하는 것을 특징으로 하는 CCTV 시스템의 카메라 제어방법.
A camera control method of a CCTV system for sensing a vehicle in motion and capturing an image of the vehicle,
A photographing step of sensing a vehicle traveling on a road and generating an image of the vehicle taken by the camera;
Recognizing a plurality of number-pixel areas corresponding to the car number and a background-pixel area corresponding to the background of the car number in the license plate area of the image generated by the camera, A calculation step of calculating a brightness difference of a pixel area; And
And adjusting a shutter speed and an aperture opening degree of the camera such that the brightness difference is equal to or greater than the first reference value when the brightness difference is smaller than a first reference value,
Wherein the camera adjusting step comprises:
If the brightness difference is smaller than the first reference value, if the average brightness of the image is larger than the second reference value, the iris opening is reduced by a predetermined unit, and if the average brightness is smaller than the second reference value, Adjusting the parameter value so that the parameter value is widened by a unit;
An adjustment confirmation step of repeating the photographing step and the calculation step after the diaphragm fine adjustment step; And
And repeating the diaphragm fine adjustment step and the adjustment confirmation step until the brightness difference becomes equal to or greater than the first reference value.
삭제delete 제1항에 있어서,
상기 촬영단계, 계산단계 및 카메라 조정단계를 하루 동안 수행하여 그 결과를 일 단위로 저장하는 과정을 기설정된 일 수만큼 연속하여 반복하는 이력관리단계; 및
상기 이력관리단계를 수행한 결과로부터 하루 중 각 시간대 별 상기 밝기 차이가 최대인 파라미터 값을 추출하여, 시간대별 파라미터 값을 설정하는 단계; 및
상기 밝기 차이가 상기 제1 기준 값보다 작은 경우에, 상기 조리개 미세조정단계 전에 상기 시간대별 파라미터 값을 우선 적용하고 상기 조정확인단계를 수행하는 조리개 거시조정단계를 더 포함하는 것을 특징으로 하는 CCTV 시스템의 카메라 제어방법.
The method according to claim 1,
A history management step of performing the shooting step, the calculating step, and the camera adjusting step for one day and storing the result on a day-by-day basis; And
Extracting a parameter value having a maximum brightness difference in each day of the day from a result of performing the history management step and setting a parameter value for each time period; And
Further comprising a stop macro adjustment step of, if the brightness difference is smaller than the first reference value, applying the parameter value for each time slot prior to the diaphragm fine adjustment step and performing the adjustment check step / RTI &gt;
제1항에 있어서,
상기 계산단계는,
상기 차량 이미지에서 상기 번호-픽셀영역을 대응하는 숫자나 문자로 인식하는 단계; 및
상기 복수 개의 번호-픽셀영역로부터 상기 문자나 숫자에 기설정된 복수 개 좌표에 해당하는 복수 개의 픽셀을 추출하고, 상기 추출된 복수 개 픽셀의 평균 밝기를 상기 번호-픽셀영역의 밝기로 계산하는 단계를 포함하는 것을 특징으로 하는 CCTV 시스템의 카메라 제어방법.
The method according to claim 1,
Wherein,
Recognizing the number-pixel area as a corresponding number or character in the vehicle image; And
Extracting a plurality of pixels corresponding to a plurality of coordinates preset to the character or number from the plurality of number-pixel areas, and calculating an average brightness of the extracted plurality of pixels as brightness of the number-pixel area, And controlling the camera in the CCTV system.
주행 중인 차량을 감지하여 그 차량의 이미지를 촬영하는 CCTV 시스템에 있어서,
차량감지 센서를 이용하여 도로를 주행하는 차량을 감지하는 차량감지부;
상기 차량감지부가 감지한 차량을 촬영한 이미지를 생성하는 카메라;
상기 카메라가 생성한 이미지의 차량번호판 영역 중에서 차량번호에 해당하는 복수 개의 번호-픽셀영역과 상기 차량번호의 배경에 해당하는 배경-픽셀영역을 인식하고, 상기 인식된 번호-픽셀영역의 밝기와 배경-픽셀영역의 밝기 차이를 계산하는 번호인식부; 및
상기 밝기 차이가 제1 기준 값보다 작은 경우에 상기 밝기 차이가 상기 제1 기준 값 이상이 되도록, 상기 카메라의 셔터 속도와 조리개 개방 정도를 조정하는 카메라제어부를 포함하고,
상기 카메라제어부는,
상기 밝기 차이가 상기 제1 기준 값보다 작은 경우에, 상기 이미지의 평균 밝기가 제2 기준 값보다 크면 상기 조리개 개방을 기설정된 단위만큼 줄이고 상기 제2 기준 값보다 작으면 상기 조리개 개방을 상기 기설정된 단위만큼 넓히도록 파라미터 값을 조정하는 미세조정 후에, 상기 카메라가 다시 촬영한 이미지에서 상기 밝기 차이를 다시 계산하여 확인하는 과정을, 상기 밝기 차이가 상기 제1 기준 값 이상이 될 때까지 반복하는 것을 특징으로 하는 CCTV 시스템.
A CCTV system for sensing a vehicle in motion and photographing an image of the vehicle,
A vehicle sensing unit that senses a vehicle traveling on the road using a vehicle sensing sensor;
A camera for generating an image of the vehicle sensed by the vehicle sensing unit;
Recognizing a plurality of number-pixel areas corresponding to the car number and a background-pixel area corresponding to the background of the car number among the license plate area of the image generated by the camera, A number recognition unit for calculating a brightness difference of a pixel area; And
And a camera controller for adjusting a shutter speed and an aperture opening degree of the camera such that the brightness difference is equal to or greater than the first reference value when the brightness difference is smaller than a first reference value,
The camera control unit,
If the brightness difference is smaller than the first reference value, if the average brightness of the image is larger than the second reference value, the iris opening is reduced by a predetermined unit, and if the average brightness is smaller than the second reference value, After the fine adjustment to adjust the parameter value so as to widen the unit, the process of recalculating and confirming the brightness difference in the image taken again by the camera is repeated until the brightness difference becomes equal to or greater than the first reference value Features CCTV system.
삭제delete 제5항에 있어서,
상기 카메라제어부는,
상기 카메라가 촬영한 이미지에 대하여 조리개 개방 정도를 조정하는 과정을 수 일동안 반복하여, 그 결과를 일 단위로 저장한 다음, 시간대 별 상기 밝기 차이가 최대인 파라미터 값을 추출하여, 시간대별 파라미터 값을 설정하며,
상기 밝기 차이가 상기 제1 기준 값보다 작은 경우에, 상기 조리개 미세조정 전에 상기 시간대별 파라미터 값을 우선 적용하는 것을 특징으로 하는 CCTV 시스템.
6. The method of claim 5,
The camera control unit,
The process of adjusting the iris opening degree with respect to the image photographed by the camera is repeated for several days, and the result is stored in units of days. Then, parameter values having the maximum brightness difference are extracted for each time zone, Lt; / RTI &gt;
Wherein when the brightness difference is smaller than the first reference value, the parameter value for the time period is applied prior to the diaphragm fine adjustment.
제5항에 있어서,
상기 계산단계는,
상기 차량 이미지에서 상기 번호-픽셀영역을 대응하는 숫자나 문자로 인식한 다음, 상기 복수 개의 번호-픽셀영역로부터 상기 문자나 숫자에 기설정된 복수 개 좌표에 해당하는 복수 개의 픽셀을 추출하고, 상기 추출된 복수 개 픽셀의 평균 밝기를 상기 번호-픽셀영역의 밝기로 계산하는 것을 특징으로 하는 CCTV 시스템.
6. The method of claim 5,
Wherein,
Recognizing the number-pixel area as a corresponding number or character in the vehicle image, extracting a plurality of pixels corresponding to a plurality of predetermined coordinates from the plurality of number-pixel areas to the character or number, Wherein the average brightness of the plurality of pixels is calculated as the brightness of the number-pixel region.
KR1020170109887A 2017-08-30 2017-08-30 Camera Controlling Method of CCTV System for Recognizing Car Number and the CCTV System KR101833418B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170109887A KR101833418B1 (en) 2017-08-30 2017-08-30 Camera Controlling Method of CCTV System for Recognizing Car Number and the CCTV System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170109887A KR101833418B1 (en) 2017-08-30 2017-08-30 Camera Controlling Method of CCTV System for Recognizing Car Number and the CCTV System

Publications (1)

Publication Number Publication Date
KR101833418B1 true KR101833418B1 (en) 2018-02-28

Family

ID=61400945

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170109887A KR101833418B1 (en) 2017-08-30 2017-08-30 Camera Controlling Method of CCTV System for Recognizing Car Number and the CCTV System

Country Status (1)

Country Link
KR (1) KR101833418B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101954404B1 (en) * 2018-07-13 2019-03-05 주식회사 엘리소프트 CCTV System and Method for improving Recognition of Car Number by Using dynamic Thresholds
KR102170992B1 (en) * 2020-06-25 2020-10-28 (주)스마트링스 Multi-functional vehicle number recognition system, and method thereof
KR102662901B1 (en) 2023-10-26 2024-05-03 주식회사 엘리소프트 CCTV System for Controlling the Brightness of a Specific Area of the Image Opt to Number Recognition to Suit License Plate Recognition by Using the Shadow of Vehicle and Method for Controlling the CCTV Camera

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146259A (en) * 2007-12-17 2009-07-02 Toshiba Corp Vehicle number photographing system and vehicle number photographing method
JP2013196392A (en) * 2012-03-19 2013-09-30 Fujitsu Ltd Vehicle image recognizing apparatus and vehicle image recognizing method
JP6139493B2 (en) * 2014-11-17 2017-05-31 住友電工システムソリューション株式会社 License plate detection device and license plate detection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146259A (en) * 2007-12-17 2009-07-02 Toshiba Corp Vehicle number photographing system and vehicle number photographing method
JP2013196392A (en) * 2012-03-19 2013-09-30 Fujitsu Ltd Vehicle image recognizing apparatus and vehicle image recognizing method
JP6139493B2 (en) * 2014-11-17 2017-05-31 住友電工システムソリューション株式会社 License plate detection device and license plate detection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101954404B1 (en) * 2018-07-13 2019-03-05 주식회사 엘리소프트 CCTV System and Method for improving Recognition of Car Number by Using dynamic Thresholds
KR102170992B1 (en) * 2020-06-25 2020-10-28 (주)스마트링스 Multi-functional vehicle number recognition system, and method thereof
KR102662901B1 (en) 2023-10-26 2024-05-03 주식회사 엘리소프트 CCTV System for Controlling the Brightness of a Specific Area of the Image Opt to Number Recognition to Suit License Plate Recognition by Using the Shadow of Vehicle and Method for Controlling the CCTV Camera

Similar Documents

Publication Publication Date Title
CN101247480B (en) Automatic exposure method based on objective area in image
CN101247479B (en) Automatic exposure method based on objective area in image
KR101688695B1 (en) Apparatus and method for recognizing the number of cars and a computer-readable recording program for performing the said method, the recording medium
KR101833418B1 (en) Camera Controlling Method of CCTV System for Recognizing Car Number and the CCTV System
KR101633445B1 (en) Method and control unit for controlling exposure of a camera
CN101211407B (en) Diurnal image recognition method and device
EP3641298B1 (en) Method and device for capturing target object and video monitoring device
US11881039B2 (en) License plate reading system with enhancements
KR101625538B1 (en) Car Number Recognition system
KR101038650B1 (en) Adaptive modeling method for background image, detecting method and system for illegal-stopping and parking vehicle using it
JP2011150688A (en) Three-dimensional object identifying apparatus, moving body control apparatus and information providing apparatus including therewith
CN110837826A (en) Self-adaptive high-light-irradiation license plate recognition method and related device
CA3190528A1 (en) Systems and methods for rapid license plate reading
KR102180916B1 (en) Artificial Intelligence image analysis system and method thereof
KR20050042123A (en) Vehicle license plate recognition system and the method for improving the definition of vehicle license plate image thereby
KR100958317B1 (en) tracking method for image brightness
JP5169641B2 (en) Image analysis apparatus and image analysis program
WO2020215865A1 (en) Target tracking system and method
JP3567114B2 (en) Image monitoring apparatus and image monitoring method
KR101547239B1 (en) System and method for adjusting camera brightness based extraction of background image
KR102662901B1 (en) CCTV System for Controlling the Brightness of a Specific Area of the Image Opt to Number Recognition to Suit License Plate Recognition by Using the Shadow of Vehicle and Method for Controlling the CCTV Camera
KR102656266B1 (en) CCTV System Capable of Shooting both Reflective and Non-Reflective License Plates at Night and Photographing Method thereof
KR20030051557A (en) Advanced License Plate Recognition System
KR102513818B1 (en) Method for improving subject recognition rate using thermal sensor and camera using the same
KR102399803B1 (en) CCTV system capable of vehicle number identification and recognition using a moving object recognition device

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant