KR101858625B1 - Apparatus and method for detecting window opening of vehicle using room camera - Google Patents

Apparatus and method for detecting window opening of vehicle using room camera Download PDF

Info

Publication number
KR101858625B1
KR101858625B1 KR1020160139930A KR20160139930A KR101858625B1 KR 101858625 B1 KR101858625 B1 KR 101858625B1 KR 1020160139930 A KR1020160139930 A KR 1020160139930A KR 20160139930 A KR20160139930 A KR 20160139930A KR 101858625 B1 KR101858625 B1 KR 101858625B1
Authority
KR
South Korea
Prior art keywords
window
vehicle
image
infrared light
unit
Prior art date
Application number
KR1020160139930A
Other languages
Korean (ko)
Other versions
KR20180045502A (en
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 KR1020160139930A priority Critical patent/KR101858625B1/en
Publication of KR20180045502A publication Critical patent/KR20180045502A/en
Application granted granted Critical
Publication of KR101858625B1 publication Critical patent/KR101858625B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/30Detection related to theft or to other events relevant to anti-theft systems
    • B60R25/34Detection related to theft or to other events relevant to anti-theft systems of conditions of vehicle components, e.g. of windows, door locks or gear selectors
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R21/00Arrangements or fittings on vehicles for protecting or preventing injuries to occupants or pedestrians in case of accidents or other traffic risks
    • B60R21/01Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents
    • B60R21/015Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents including means for detecting the presence or position of passengers, passenger seats or child seats, and the related safety parameters therefor, e.g. speed or timing of airbag inflation in relation to occupant position or seat belt use
    • B60R21/01512Passenger detection systems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/30Detection related to theft or to other events relevant to anti-theft systems
    • B60R25/305Detection related to theft or to other events relevant to anti-theft systems using a camera
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/30Detection related to theft or to other events relevant to anti-theft systems
    • B60R25/31Detection related to theft or to other events relevant to anti-theft systems of human presence inside or outside the vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60YINDEXING SCHEME RELATING TO ASPECTS CROSS-CUTTING VEHICLE TECHNOLOGY
    • B60Y2302/00Responses or measures related to driver conditions
    • B60Y2302/03Actuating a signal or alarm device

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

본 발명은 차량 창문 열림 검출 장치 및 방법에 관한 것으로, 더욱 상세하게는 차량 실내에 장착된 카메라를 이용하여 차량 탑승자의 하차 시 창문의 열림 여부를 검사하고, 창문 열림 검출 시 경보를 발생하여 하차한 운전자에게 창문이 열렸음을 알려주는 실내 카메라를 이용한 차량 창문 열림 검출 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for detecting a window opening of a vehicle, and more particularly, to an apparatus and method for detecting a window opening of a vehicle by using a camera installed in a vehicle interior to check whether a window is open when a vehicle occupant gets off, To an apparatus and method for detecting a vehicle window opening using an indoor camera that informs a driver that a window has been opened.

Description

실내 카메라를 이용한 차량 창문 열림 검출 장치 및 방법{Apparatus and method for detecting window opening of vehicle using room camera}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a vehicle window opening detection apparatus and method,

본 발명은 차량 창문 열림 검출 장치 및 방법에 관한 것으로, 더욱 상세하게는 차량 실내에 장착된 카메라를 이용하여 차량 탑승자의 하차 시 창문의 열림 여부를 검사하고, 창문 열림 검출 시 경보를 발생하여 하차한 운전자에게 창문이 열렸음을 알려주는 실내 카메라를 이용한 차량 창문 열림 검출 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for detecting a window opening of a vehicle, and more particularly, to an apparatus and method for detecting a window opening of a vehicle by using a camera installed in a vehicle interior to check whether a window is open when a vehicle occupant gets off, To an apparatus and method for detecting a vehicle window opening using an indoor camera that informs a driver that a window has been opened.

일반적으로, 차량 탑승자들은 차량 운행 중 차량 내부 환기, 차창 밖 감상, 내부 온도 조절, 김서림 제거 등을 위해 창문을 수시로 개폐한다.Generally, vehicle occupants frequently open and close windows to ventilate the vehicle, watch outside the window, adjust the internal temperature, and remove fogging while the vehicle is running.

그러나 내부 환기, 차창 밖 감상, 내부 온도 조절, 김서림 제거 등을 위해 창문을 연 후 창문을 닫지 않고 하차하는 경우가 빈번하게 발생되고 있다.However, it is frequently encountered to open the window for closing the window for indoor ventilation, watching outside the window, adjusting the internal temperature, and removing fogging.

차량의 창문을 닫지 않고 하차하는 경우 차량을 도난당하거나 차량 내부의 물건을 도난당할 수 있는 문제점이 있었다.There is a problem that the vehicle can be stolen or the object inside the vehicle can be stolen when the vehicle leaves the window without closing the window.

이러한 문제점을 해결하기 위해 차량 시동 오프 또는 탑승자 전원 하차 시 무조건적으로 차량의 창문을 닫도록 하는 차량 창문 자동 닫힘 장치, 스위치 센서, 적외선 센서, 초음파 센서, 압력 센서를 이용하여 창문의 개폐 여부를 판단하는 창문 열림 감지 장치들이 개발되어 상용화되고 있다.In order to solve such a problem, it is judged whether or not the window is opened or closed by using a vehicle window automatic closing device, a switch sensor, an infrared sensor, an ultrasonic sensor, and a pressure sensor for unconditionally closing the window of the vehicle when the vehicle is turned off or the passenger power is turned off Window opening detection devices have been developed and commercialized.

그러나 차량 창문 자동 닫힘 장치는 창문의 열림 여부와 상관없이 무조건 윈도우 개폐 구동 장치를 동작시키므로 불필요한 차량 배터리 소모를 발생시키며, 닫혀 있는 창문을 닫으려고 함에 의해 윈도우 개폐 구동 장치에 큰 부하가 발생되어 상기 개폐 구동 장치가 고장 날 수 있는 문제점이 있었다.However, since the automatic window closing device operates the window opening / closing driving device unconditionally irrespective of whether the window is open or closed, unnecessary vehicle battery consumption is caused, and when a closed window is to be closed, a large load is generated in the window opening / There is a problem that the drive unit may fail.

또한, 센서 방식은 창문 열림 여부를 판단하기 위해 적어도 하나 이상의 별도의 전용 센서를 차체에 설치해야 하므로 설치가 어렵고, 장치 구매 및 설치에 많은 비용이 소요되며, 고장 발생 시 유지보수 비용이 많이 드는 문제점이 있었다.In addition, since the sensor system requires at least one separate dedicated sensor to be installed in the vehicle body in order to determine whether the window is opened, it is difficult to install the system, and it takes a lot of cost to purchase and install the apparatus, .

공개특허 제10-2013-0055799호Patent Publication No. 10-2013-0055799

따라서 본 발명의 목적은 차량 실내에 장착된 카메라를 이용하여 차량 탑승자의 하차 시 창문의 열림 여부를 검사하고, 창문 열림 검출 시 경보를 발생하여 하차한 운전자에게 창문이 열렸음을 알려주는 실내 카메라를 이용한 차량 창문 열림 검출 장치 및 방법을 제공함에 있다.SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an indoor camera that detects whether a window is opened when a vehicle occupant gets off the vehicle using a camera installed in a vehicle interior, And a vehicle window opening detection device and method using the same.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 실내 카메라를 이용한 차량 창문 열림 검출 장치는: 차량 내부를 촬영하여 차량 내부 영상을 출력하는 카메라를 포함하는 영상 획득부; 침입 검출을 경보하는 경보부; 및 상기 차량 내부 영상으로부터 차량 내부의 차창영역 및 비차창영역을 분리하여 차창영역을 추출하고, 상기 차창영역에서 창문의 열림 여부에 따른 경계선 검출동작을 수행하고, 경계선 검출여부에 따라 창문 열림을 판단하며, 창문 열림 판단 시 상기 경보부를 통해 경보를 발생시키는 제어부를 포함하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided an apparatus for detecting a vehicle window opening using an indoor camera, comprising: an image acquiring unit including a camera for photographing an inside of a vehicle and outputting an in-vehicle image; An alarm unit for alarming intrusion detection; And extracting a window region by separating a window region and a non-window region inside the vehicle from the in-vehicle image, performing a boundary line detection operation according to whether the window is opened in the window region, And a controller for generating an alarm through the alarm when the window is opened.

상기 제어부는, 상기 카메라로부터 입력되는 차량 내부 영상을 캡처하여 정지 이미지를 생성하는 이미지 생성부; 상기 정지 이미지에서 차창영역만을 포함하는 차창영역 이미지를 검출하는 차창영역 검출부; 검출된 차창영역 이미지에 경계선이 있는지의 여부를 판단하기 위한 경계선 검출 동작을 수행하여 경계선 검출 여부에 따른 경계선 존재 여부 신호를 출력하는 경계선 검출부; 및 상기 경계선 검출부로부터 입력되는 경계선 존재 여부 신호에 따라 창문의 열림 여부를 판단하고, 창문 열림으로 판단되는 경우 상기 경보부를 통해 경보를 발생하는 창문 열림 판단부를 포함하는 것을 특징으로 한다.Wherein the control unit comprises: an image generating unit for capturing an in-vehicle image input from the camera and generating a still image; An in-vehicle region detecting unit for detecting an in-vehicle region image including only a in-vehicle region in the still image; A boundary line detector for detecting whether or not a boundary line exists in the detected window region image and outputting a boundary line existence signal depending on whether the boundary line is detected or not; And a window opening judging unit for judging whether or not a window is opened according to a boundary line presence / absence signal input from the boundary detection unit and generating an alarm through the alarm unit when it is determined that the window is opened.

상기 장치는: 밝기를 측정하는 밝기 검출부를 더 포함하고, 상기 영상 획득부는 적외선 광의 세기를 조절할 수 있는 적외선 라이트를 더 포함하되, 상기 제어부는, 상기 밝기 검출부에 의해 측정되는 밝기에 의해 낮인지 밤인지를 판단하고, 낮이면 상기 적외선 라이트를 오프(Off)하고, 밤이면 상기 적외선 라이트를 온(On)하는 주야 판단부를 더 포함하는 것을 특징으로 한다.The apparatus may further include: a brightness detector for measuring brightness, wherein the image acquiring unit further includes an infrared light capable of adjusting an intensity of infrared light, wherein the controller controls the brightness of the night And a day / night determiner for determining whether the infrared light is on when the infrared light is on, turning off the infrared light when the day is off, and turning on the infrared light when the night is off.

상기 이미지 생성부는, 생성된 정지 이미지의 그레이 값을 검출하고 미리 가지고 있는 상기 그레이 값에 대응하는 적외선 광세기 값에 따라 상기 적외선 라이트의 적외선 광세기를 조절하는 적외선 세기 조절부를 더 포함하는 것을 특징으로 한다.The image generating unit may further include an infrared intensity adjusting unit for detecting a gray value of the generated still image and adjusting an infrared light intensity of the infrared light according to an infrared light intensity value corresponding to the gray value previously stored do.

상기 장치는: 차량 내부에 탑승자가 존재하는지를 검출하는 탑승자 검출부를 더 포함하되, 상기 제어부는, 상기 탑승자 검출부를 통해 차량 내부에 탑승자가 존재하는지를 판단하는 탑승자 존재 판단부를 더 포함하고, 상기 이미지 생성부는 상기 탑승자 존재 판단부를 통해 차량 내부에 탑승자가 없는 것으로 판단될 때 상기 정지 이미지를 생성하는 것을 특징으로 한다.The apparatus may further include: a passenger detection unit for detecting whether a passenger is present in the vehicle, wherein the control unit further includes a passenger presence determination unit for determining whether a passenger is present in the vehicle through the passenger detection unit, And generates the still image when the occupant presence determination unit determines that there is no occupant in the vehicle.

상기 제어부는, 창문 상부 끝 단부에 의해 형성되는 경계선이 차창영역 이미지로부터 검출되는지의 여부에 따라 창문 열림을 판단하되, 상기 경계선이 검출되면 창문이 열린 것으로 판단하는 것을 특징으로 한다.The control unit may determine that the window is open according to whether a boundary line formed by the upper end of the window is detected from the window region image, and determines that the window is opened when the boundary line is detected.

상기 제어부는, 상기 창문 이 닫힌 상태에서 창문 하단부에 노출되도록 인쇄 또는 부착된 경계선의 검출 여부에 따라 창문 열림을 판단하되, 상기 경계선이 검출되면 창문이 닫힌 것으로 판단하는 것을 특징으로 한다.The control unit may determine that the window is open according to whether a boundary line printed or attached to the window is closed so that the window is exposed at the lower end of the window, and determines that the window is closed when the boundary is detected.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 실내 카메라를 이용한 차량 창문 열림 검출 방법은: 제어부가 카메라로부터 입력되는 차량 내부 영상을 캡처하여 정지 이미지를 생성하는 정지 이미지 생성 과정; 상기 제어부가 상기 정지 이미지로부터 차량 내부의 차창영역 및 비차창영역을 분리한 후 차창영역을 추출하여 차창영역 이미지를 생성하는 차창영역 추출 과정; 상기 제어부가 상기 차창영역 이미지로부터 경계선 검출 동작을 수행하는 경계선 검출 과정; 상기 경계선 검출 동작에 의한 경계선 검출 여부에 따라 차량 창문 열림 여부를 판단하는 창문 열림 판단 과정; 및 창문 열림 판단 시 제어부가 경보부를 통해 경보를 발생시키는 경보 과정을 포함하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a method for detecting a vehicle window opening using an indoor camera, the method comprising: generating a still image by capturing an in-vehicle image input from a camera to generate a still image; Extracting a window region from the still image by extracting an in-vehicle window region and a non-window region from the still image to generate a window region image; A boundary detection step of the control unit performing a boundary detection operation from the window region image; Determining whether a vehicle window is open according to whether a boundary line is detected by the boundary line detecting operation; And an alarming process in which the control unit generates an alarm through the alarm unit when the window is opened.

상기 방법은: 상기 제어부가 카메라 구동 시 낮이면 적외선 라이트를 오프(Off)시키고 밤이면 적외선 라이트를 온(On)시키는 적외선 라이트 구동 과정을 더 포함하고, 상기 적외선 라이트 구동 과정 후 상기 정지 이미지 생성 과정을 수행하는 것을 특징으로 한다.The method may further include: an infrared light driving step of turning off the infrared light when the controller is low when the camera is driven and turning on the infrared light when the camera is at night, Is performed.

상기 이미지 생성 과정은, 카메라로부터 입력되는 차량 내부 영상을 캡처하여 정지 이미지를 생성하는 제1정지 이미지 생성 단계; 생성된 상기 정지 이미지의 그레이 값을 검출하고, 검출된 그레이 값에 따라 적외선 라이트의 적외선 광세기를 조절하는 적외선 광세기 조절 단계; 및 상기 적외선 라이트의 적외선 광 세기가 조절된 후 상기 적외선 광 세기가 적용된 차량 내부 영상으로부터 정지 이미지를 생성하여 출력하는 제2정지 이미지 생성 단계를 포함하는 것을 특징으로 한다.The image generating step may include: a first still image generating step of capturing an in-vehicle image input from a camera to generate a still image; An infrared light intensity adjusting step of detecting a gray value of the generated still image and adjusting an infrared light intensity of the infrared light according to the detected gray value; And a second still image generation step of generating and outputting a still image from the in-vehicle image to which the infrared light intensity is applied after the infrared light intensity of the infrared light is adjusted.

상기 방법은: 상기 제어부가 탑승자 검출부를 통해 차량 내부에 탑승자가 존재하는지를 판단하는 탑승자 존재 판단 과정을 더 포함하되, 상기 이미지 생성 과정은 상기 탑승자 존재 판단 과정에서 탑승자가 탑승하고 있지 않은 것으로 판단될 때 수행되는 것을 특징으로 한다.The method may further include: determining whether an occupant is present in the vehicle through the occupant detection unit, wherein the image generating process is performed when the occupant is determined not to be occupied in the occupant presence determination process .

상기 제어부는, 창문 상부 끝 단부에 의해 형성되는 경계선이 차창영역 이미지로부터 검출하는지의 여부에 따라 창문 열림을 판단하되, 상기 경계선이 검출되면 창문이 열린 것으로 판단하는 것을 특징으로 한다.The controller determines whether the window is open according to whether a boundary formed by the upper end of the window is detected from the window region image, and determines that the window is opened when the boundary is detected.

상기 제어부는, 상기 창문이 닫힌 상태에서 창문 하단부에 노출되도록 인쇄 또는 부착된 경계선의 검출 여부에 따라 창문 열림을 판단하되, 상기 경계선이 검출되면 창문이 닫힌 것으로 판단하는 것을 특징으로 한다. The control unit may determine that the window is open according to whether a boundary line printed or attached to the window is closed so that the window is exposed at the lower end of the window, and determines that the window is closed when the boundary is detected.

본 발명은 실내 카메라를 이용하여 창문의 열림을 검출하므로 창문 열림을 검출하기 위한 별도의 전용 센서를 차량에 설치하지 않아도 되므로 설치가 용이하고, 유지보수가 편리한 효과를 갖는다.Since the opening of a window is detected by using an indoor camera, a separate dedicated sensor for detecting the opening of a window is not required to be installed in a vehicle, so that it is easy to install and easy to maintain.

또한, 본 발명은 조도, 즉 밝기에 따라 적외선 라이트를 온 또는 오프하여 영상을 획득함으로써 급격한 조도의 변화에 따른 영향을 최소화할 수 있는 효과를 갖는다.In addition, the present invention has the effect of minimizing the influence of a sudden change in illuminance by acquiring an image by turning on or off the infrared light according to illuminance, that is, brightness.

또한, 본 발명은 획득된 이미지의 그레이 값에 따라 적외선의 광세기를 조정한 후 영상을 획득하므로 조도 변화의 영향을 적게 받는 효과를 갖는다.In addition, the present invention obtains an image after adjusting the light intensity of the infrared ray according to the gray value of the obtained image, so that it has the effect of receiving less influence of the illumination change.

또한, 본 발명은 차창영역만을 검출한 후 차창영역에 대해서만 창문 열림을 판단하기 위한 경계선을 검출함으로써 창문 열림을 판단하기 위한 비교영역을 최소화하여 배터리의 소모를 최소화할 수 있는 효과를 갖는다.Further, the present invention minimizes the consumption of the battery by minimizing the comparison area for determining the window opening by detecting the boundary line for determining the window opening only for the window area after detecting only the window area.

도 1은 본 발명에 따른 실내 카메라를 이용한 차량 창문 열림 검출 장치의 구성을 나타낸 도면이다.
도 2는 본 발명의 실시예에 따른 카메라의 차량 내 설치 위치를 나타낸 도면이다.
도 3은 본 발명에 따른 실내 카메라를 이용한 차량 창문 열림 검출 방법을 나타낸 흐름도이다.
도 4는 본 발명의 실시예에 따른 적외선 라이트가 오프된 낮에 촬영된 차량 실내 영상 및 추출된 차창 영역을 나타낸 도면이다.
도 5는 본 발명의 제1실시예에 따른 경계선 및 경계선 검출 방법을 설명하기 위한 도면이다.
도 6은 본 발명의 제2실시예에 따른 경계선 및 경계선 검출 방법을 설명하기 위한 도면이다.
1 is a block diagram of a vehicle window opening detection apparatus using an indoor camera according to the present invention.
2 is a view showing an installation position of a camera in a vehicle according to an embodiment of the present invention.
3 is a flowchart illustrating a vehicle window opening detection method using an indoor camera according to the present invention.
FIG. 4 is a view illustrating a vehicle interior image captured during the day when the infrared light is off and an extracted window region according to an embodiment of the present invention.
5 is a view for explaining a boundary line and a boundary line detection method according to the first embodiment of the present invention.
FIG. 6 is a diagram for explaining a boundary line and a boundary line detection method according to the second embodiment of the present invention.

이하 첨부된 도면을 참조하여 본 발명에 따른 실내 카메라를 이용한 차량 창문 열림 검출 장치의 구성 및 동작을 설명하고, 상기 장치에서의 창문 열림 검출 방법을 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a configuration and operation of a vehicle window opening detection apparatus using an indoor camera according to the present invention will be described with reference to the accompanying drawings, and a window opening detection method in the apparatus will be described.

도 1은 본 발명에 따른 실내 카메라를 이용한 차량 창문 열림 검출 장치의 구성을 나타낸 도면이고, 도 2는 본 발명의 일실시예에 따른 카메라의 차량 내 설치 위치를 나타낸 도면이다. 이하 도 1 및 도 2를 참조하여 설명한다.FIG. 1 is a view showing the construction of a vehicle window opening detecting device using an indoor camera according to the present invention, and FIG. 2 is a view showing a mounting position of a camera in a vehicle according to an embodiment of the present invention. Hereinafter, description will be made with reference to Figs. 1 and 2. Fig.

본 발명에 따른 실내 카메라를 이용한 차량 창문 열림 검출 장치는 제어부(10), 카메라(21) 및 적외선 라이트(22)를 포함하는 영상획득부(20), 및 경보부(50)를 포함하고, 실시예에 따라 밝기 검출부(30), 탑승자 검출부(40), 표시부(60) 및 입력부(70)를 선택적으로 포함할 수 있을 것이다.The vehicle window opening detection apparatus using an indoor camera according to the present invention includes an image obtaining unit 20 including a control unit 10, a camera 21 and an infrared light 22, and an alarm unit 50, The occupant detection unit 40, the display unit 60, and the input unit 70, depending on the type of the vehicle.

제어부(10)는 본 발명에 따른 창문 열림 검출 장치의 전반적인 동작을 제어한다. 제어부(10)의 상세 구성 및 동작은 후술한다.The control unit 10 controls the overall operation of the window opening detecting device according to the present invention. The detailed configuration and operation of the control unit 10 will be described later.

영상획득부(20)는 카메라(21), 적외선 라이트(22) 및 영상 처리부(23)를 포함한다.The image acquisition unit 20 includes a camera 21, an infrared light 22, and an image processing unit 23.

카메라(21)는 렌즈에 들어오는 장면을 촬영한 영상(신호)를 출력한다. 카메라(21)는 차량 내부에 설치되어 차량 내부의 모든 창문(차창)영역(Window Area)을 포함하는 차량 내부 영상을 출력할 것이다. 그리고 상기 카메라(21)에 의해 촬영되는 영상의 해상도는 640*480인 것이 바람직하고 프레임 레이트는 30fps인 것이 바람직할 것이다.The camera 21 outputs an image (signal) taken of a scene coming into the lens. The camera 21 will be installed inside the vehicle and will output an in-vehicle image including all window areas within the vehicle. The resolution of the image captured by the camera 21 is preferably 640 * 480 and the frame rate is preferably 30 fps.

적외선 라이트(22)는 상기 카메라(21) 렌즈의 주변에 일체로 구성되고, 제어부(10)의 제어를 받아 온(On)/오프(Off)되며, 태양광이 있는 오전/오후(설명의 편의상 "낮", "주" 또는 "주간"이라 함)에는 오프(Off)되고, 태양광이 없는 밤(또는 "야", "야간"이라 함)에는 온(On)되도록 구성된다. 또한 적외선 라이트(22)는 제어부(10)의 제어를 받아 적외선 광세기를 조절한다. 통상 적외선 라이트(22)가 구성되는 렌즈를 적외선 렌즈라 한다. 다시 말하면, 카메라(21)는 적외선 라이트(22)를 포함하는 적외선 렌즈를 포함할 수 있을 것이다. 이하 카메라(21)가 적외선 렌즈를 포함하는 경우, 즉 적외선 라이트(22)를 포함하는 경우를 위주로 설명한다.The infrared light 22 is integrally formed around the lens of the camera 21 and is turned on / off under the control of the control unit 10 and is illuminated in the morning / afternoon with sunlight (I.e., "day", "week", or "week"), and is turned on when there is no sunlight (or "night" or "night"). The infrared light 22 is controlled by the controller 10 to adjust the intensity of the infrared light. The lens in which the infrared light 22 is normally constituted is called an infrared lens. In other words, the camera 21 may include an infrared lens that includes an infrared light 22. Hereinafter, the case where the camera 21 includes an infrared lens, that is, the case where the camera 21 includes an infrared light 22 will be mainly described.

상기 적외선 렌즈를 포함하는 카메라(21)는 일예로, 도 2에서와 같이 차량 내측 천정 중앙에 설치될 수 있으며, 렌즈의 화각은 개폐되는 차량 내부 창문영역(또는 "차창영역"이라 함)을 모두 촬영할 수 있도록 180도인 것이 바람직하다.For example, the camera 21 including the infrared lens may be installed at the center of the in-vehicle ceiling as shown in FIG. 2, and the view angle of the lens may be set such that all of the inside window areas (or " It is preferable that the angle is 180 degrees so as to be photographed.

영상 처리부(23)는 촬영되는 영상신호를 미리 설정된 영상 포맷으로 변환하여 제어부(10)로 출력한다.The image processor 23 converts a video signal to be captured into a predetermined video format and outputs the video signal to the controller 10.

밝기 검출부(30)는 조도계 등이 사용될 수 있으며, 빛의 세기를 검출하여 제어부(10)로 출력한다.The brightness detector 30 may be an illuminometer or the like and detects the intensity of the light and outputs the detected intensity to the controller 10.

탑승자 검출부(40)는 차량 내부에 탑승자가 있는지 없는지를 판단하여 탑승자 존재 여부에 따른 탑승자 존재 여부 신호를 제어부(10)로 전송한다.The occupant detection unit 40 determines whether or not there is a passenger inside the vehicle, and transmits a passenger presence / absence signal according to the presence / absence of the passenger to the control unit 10.

탑승자 검출부(40)는 시트별로 설치되는 압력센서, 적외선, 초음파, 광센서 등을 구비하여 탑승자의 탑승 여부를 판단하도록 할 수도 있고, 상기 영상 획득부(20)로부터 차량 내부 영상을 입력받아 차량 내부 영상 분석에 의해 탑승자의 존재여부를 판단할 수도 있으며, 차량 도어락 장치로부터 도어락 잠금 신호의 입력 시 탑승자가 없는 것으로 판단하도록 구성될 수도 있을 것이다.The occupant detection unit 40 may include a pressure sensor installed on a sheet-by-sheet basis, an infrared ray, an ultrasonic sensor, an optical sensor, or the like to determine whether the passenger is boarding the vehicle. The presence or absence of an occupant may be determined by image analysis, and it may be determined that there is no occupant in inputting a door lock signal from the door lock apparatus.

경보부(50)는 제어부(10)의 제어를 받아 경보를 발생한다. 상기 경보는 알람음이 될 수도 있고, 차량 전조등 등의 라이트의 점멸이 될 수도 있으며, 통신수단을 통해 차량 관리자의 휴대폰, 스마트폰 등의 이동통신단말기로 전송되는 메시지 송신 등이 될 수도 있을 것이다. 즉, 상기 경보부(50)는 오디오 처리 장치, 라이트 구동부, 통신장치 중 어느 하나 이상을 포함할 수 있을 것이다.The alarm unit 50 generates an alarm under the control of the control unit 10. The alarm may be an alarm sound, blinking of a light of a vehicle headlight or the like, transmission of a message to a mobile terminal of a vehicle manager, a smart phone, or the like through communication means. That is, the alarm unit 50 may include any one or more of an audio processing device, a light driver, and a communication device.

표시부(60)는 액정표시장치(Liquid Crystal Display: LCD) 및 LCD와 터치패드가 일체로 구성된 터치스크린 등이 될 수 있으며, 차량 창문 열림 검출 장치와 일체로 구성될 수도 있고, 착탈 방식으로 구성될 수 있으며, 케이블 연결 방식으로 구성될 수도 있을 것이다. 표시부(60)는 제어부(10)의 제어를 받아 차량 창문 열림 검출 장치의 다양한 동작 상태 정보를 텍스트, 그래픽, 동영상 및 정지 영상 등을 표시한다.The display unit 60 may be a touch screen including a liquid crystal display (LCD) and an LCD and a touch pad, or may be integrally formed with the vehicle window opening detecting device, And may be configured as a cable connection. Under the control of the control unit 10, the display unit 60 displays text, graphics, moving images, still images, and the like on various operating status information of the vehicle window opening detecting apparatus.

입력부(70)는 상기 표시부(60)의 화면에 일체로 구성되어 터치스크린을 구성하는 터치패드, 다수의 기능선택 및 정보 입력 수단을 가지는 키패드, 키보드 등이 될 수 있을 것이다.The input unit 70 may be a touch pad constituting a touch screen, a keypad having a plurality of function selection and information input means, and a keyboard, which are integrally formed on the screen of the display unit 60.

제어부(10)의 구성 및 동작을 상세히 설명하면, 제어부(10)는 이미지 생성부(13), 차창영역 검출부(14), 경계선 검출부(15) 및 창문 열림 판단부(16)를 포함하고 실시예에 따라 주야 판단부(11) 및 탑승자 존재 판단부(12)를 더 포함한다.The control unit 10 includes an image generating unit 13, a window region detecting unit 14, a boundary detecting unit 15 and a window opening determining unit 16, The night vision judgment unit 11 and the occupant presence judgment unit 12 according to the present invention.

주야 판단부(11)는 밝기 검출부(30)로부터 입력되는 빛의 세기에 의해 낮(주간)인지 밤(야간)인지를 판단하고, 낮인 경우 적외선 라이트(22)를 오프(Off)하고, 밤인 경우 적외선 라이트(22)를 온(On)한다. 여기서 주간이란 빛의 세기가 일정 세기 이상인 경우를 나타내는 것으로 밤이라도 밝은 곳에 있다면 주간으로 판단될 수도 있고, 낮이라도 어두운 건물 내에 있다면 밤으로 판단될 것이다.The day / night determining unit 11 determines whether the daylight is night (nighttime) or not (nighttime) based on the intensity of light input from the brightness detector 30, turns off the infrared light 22 when the daylight is low, The infrared light 22 is turned on. Here, daytime means the case where the intensity of light is more than a certain century, and it may be judged as a day if it is in a bright place at night or night if it is in a dark building at daytime.

탑승자 존재 판단부(12)는 탑승자 검출부(40)로부터 탑승자 존재 여부 신호가 입력되면 상기 탑승자 존재 여부 신호에 의해 차량 내부에 탑승자가 존재하는지를 판단한다. 탑승자 존재 판단부(12)는 차량 내부에 탑승자가 없는 것으로 판단되는 경우 이미지 생성부(13)를 구동하도록 구성될 수 있을 것이다.When the passenger presence signal is input from the occupant detection unit 40, the occupant presence determination unit 12 determines whether an occupant is present in the vehicle based on the occupant presence signal. The occupant presence determining unit 12 may be configured to drive the image generating unit 13 when it is determined that there is no occupant in the vehicle.

상기 탑승자 존재 판단부(12)는 차량 도어의 닫힘(잠금) 여부를 판단하도록 구성될 수 있으며, 차창영역을 보다 정확하게 추출하기 위해 차량 도어의 닫힘 상태에서 영상을 획득하는 것이 바람직하므로 차량 도어 닫힘 여부를 필수적으로 판단하는 것이 바람직할 것이다.The occupant presence determination unit 12 may be configured to determine whether the vehicle door is closed (locked). Since it is desirable to acquire an image in a closed state of the vehicle door to more accurately extract the window region, It is desirable to judge it as essential.

이미지 생성부(13)는 구동 시 상기 영상 처리부(23)를 통해 영상을 로드하고 로드된 영상으로부터 정지 이미지(또는 "정지영상", "이미지"라 한다)를 획득하여 주기적으로 출력한다.The image generating unit 13 loads an image through the image processing unit 23 at the time of driving and acquires a still image (or a "still image" or an "image") from the loaded image to periodically output the image.

또한, 이미지 생성부(13)는 적외선 광세기 조절 이벤트 발생 시마다 생성된 이미지의 그레이 값을 검출하고, 검출된 그레이 값에 따라 적외선 라이트(22)의 적외선 광세기를 조절하는 적외선 세기 조절부(13-1)를 더 포함할 수도 있을 것이다. 상기 적외선 광세기 조절 이벤트는 주야 판단부(11)에 의한 주야 판단 시마다 발생될 수도 있고, 일정 주기 또는 일정 개수의 정지 이미지 생성 시마다 발생될 수도 있으며, 차량 관리자에 의해 발생될 수도 있을 것이다. 상기 그레이 값별 적외선 광세기는 실험치에 의해 획득될 수 있을 것이다.The image generating unit 13 includes an infrared intensity adjusting unit 13 for detecting a gray value of an image generated at every occurrence of an infrared light intensity adjusting event and adjusting an infrared light intensity of the infrared light 22 in accordance with the detected gray value -1). ≪ / RTI > The infrared light intensity control event may be generated every day or night by the day / night determiner 11, or may be generated every time a certain period or a certain number of still images are generated or may be generated by the vehicle manager. The infrared light intensity for each gray value may be obtained by an experiment.

차창영역 검출부(14)는 상기 이미지 생성부(13)로부터 출력되는 차량 실내 영상에 대한 정지 이미지를 입력받고, 정지 이미지로부터 차창 영역을 검출한 차창영역 이미지를 경계선 검출부(15)로 전송한다.The window region detection unit 14 receives the still image of the vehicle interior image output from the image generation unit 13 and transmits the window region image detected from the still image to the boundary detection unit 15.

상기 차창영역 검출부(14)는 다음 수학식 1이 적용되는 그랩컷(GrabCut) 알고리즘을 적용하여 상기 정지 이미지로부터 차창영역과 비차창영역을 분리하여 차창영역을 추출한다.The window region detection unit 14 extracts a window region by separating a window region from a non-window region by applying a GrabCut algorithm using the following Equation (1).

Figure 112016104086044-pat00001
Figure 112016104086044-pat00001

여기서 E는 에너지 함수이다. 그랩컷 알고리즘은 에너지 함수를 최소화하여 이미지 내 배경 및 전경을 검출한다. 배경은 침입 검출 알고리즘에서 유리, 즉 차창영역을 나타내고, 전경은 이미지의 나머지 부분인 비차창영역을 가리킨다.Where E is an energy function. The grab-cut algorithm minimizes the energy function to detect the background and foreground in the image. The background indicates a window in the intrusion detection algorithm, that is, a window region, and the foreground indicates a non-window region that is the remainder of the image.

경계선 검출부(15)는 차창영역 검출부(14)로부터 차창영역 이미지가 입력되면 차창영역 이미지로부터 경계선을 검출하고, 경계선의 검출 여부에 따른 경계선 존재 여부 신호를 창문 열림 판단부(16)로 출력한다.The boundary line detecting unit 15 detects a boundary line from the window region image when the window region image is inputted from the window region detecting unit 14 and outputs a boundary line existence signal according to whether the boundary line is detected to the window opening determining unit 16.

상기 경계선은 제1실시예에 따라 차량 창문의 끝 단부에 의해서 형성되는 선일 수도 있고, 본 발명의 제2실시예에 따라 차량 창문에 인쇄 또는 부착된 선이 될 수도 있을 것이다. 전자의 경우에는 창문이 열려 있는 경우 경계선이 검출되고, 후자의 경우에는 창문이 닫혀 있는 경우 경계선이 검출될 것이다. 상기 실시예에 따른 경계선 검출 방법은 다음 도 3의 설명 시 상세히 설명한다.The perimeter may be a line formed by the end of the vehicle window according to the first embodiment or may be a line printed or attached to the vehicle window according to the second embodiment of the present invention. In the former case, the boundary line is detected when the window is open, and in the latter case, the boundary line is detected when the window is closed. The boundary detection method according to the embodiment will be described in detail in the following description of FIG.

창문 열림 판단부(16)는 경계선 검출부(15)로부터 경계선 검출 여부 신호를 입력받고, 입력된 경계선 검출 여부 신호에 따라 창문 열림을 판단하여 경보부(50) 및 표시부(60) 중 적어도 하나 이상을 통해 경보를 발생한다.The window opening determination unit 16 receives a boundary detection signal from the boundary detection unit 15 and determines whether the window is opened according to the inputted boundary detection or not signal and transmits the detection result to the window opening determination unit 16 through at least one of the alarm unit 50 and the display unit 60 An alarm is generated.

도 3은 본 발명에 따른 실내 카메라를 이용한 차량 창문 열림 검출 방법을 나타낸 흐름도이고, 도 4는 본 발명의 일실시예에 따른 적외선 라이트가 오프된 낮에 촬영된 차량 실내 영상 및 추출된 차창 영역을 나타낸 도면이며, 도 5는 본 발명의 제1실시예에 따른 경계선 및 경계선 검출 방법을 설명하기 위한 도면이고, 도 6은 본 발명의 제2실시예에 따른 경계선 및 경계선 검출 방법을 설명하기 위한 도면이다. 이하 도 3 내지 도 6을 참조하여 설명한다. 도 4의 참조부호 2는 창문(창문영역)을 나타낸 것이고, 5는 창문영역을 제외한 비창문영역 중 창문영역의 상부에 구성되는 상부 프레임이고, 6은 창문영역을 제외한 비창문영역(비차창영역) 중 창문영역의 하부에 구성되는 하부 프레임이다.FIG. 3 is a flowchart illustrating a method of detecting a vehicle window opening using an indoor camera according to the present invention. FIG. 4 is a flowchart illustrating a method of detecting a vehicle window opening using an indoor camera according to an exemplary embodiment of the present invention. FIG. 5 is a view for explaining a boundary line and a boundary line detecting method according to the first embodiment of the present invention, FIG. 6 is a view for explaining a boundary line and a boundary line detecting method according to the second embodiment of the present invention to be. This will be described below with reference to Figs. 3 to 6. Fig. Reference numeral 2 in Fig. 4 denotes a window (window area), 5 denotes an upper frame constituting an upper part of a window area of a non-window area excluding a window area, 6 denotes a non-window area excluding a window area ) Of the window area.

우선, 차량 창문 열림 검출 장치가 구동되면 제어부(10)는 탑승자 검출부(40)를 통해 차량 도어가 닫히는지를 검사한다(S101).First, when the vehicle window opening detection device is driven, the control unit 10 checks whether the vehicle door is closed through the occupant detection unit 40 (S101).

차량 도어가 닫혀 있는 것으로 판단되면 제어부(10)는 탑승자 검출부(40)를 통해 차량 내부에 탑승자가 있는지의 여부를 판단한다(S103).If it is determined that the vehicle door is closed, the control unit 10 determines whether there is a passenger in the vehicle through the occupant detection unit 40 (S103).

상기 S101 및 S103은 선택적으로 수행될 수 있을 것이다. The above S101 and S103 may be selectively performed.

탑승자가 없는 것으로 판단되면, 제어부(10)는 밝기 검출부(30)를 통해 빛의 밝기, 즉 조도를 검출하여(S111) 낮인지 밤인지를 판단한다(S113).If it is determined that there is no occupant, the control unit 10 detects the brightness of light, that is, the illuminance through the brightness detector 30 (S111) and determines whether it is day or night (S113).

낮이면 제어부(10)는 영상획득부(20)의 적외선 라이트(22)를 오프(Off)시키고(S115), 밤이면 적외선 라이트(22)를 온(On)시켜 구동한다(S117).The control unit 10 turns off the infrared light 22 of the image obtaining unit 20 in step S115 and turns on the infrared light 22 in step S117.

제어부(10)는 적외선 라이트(22)의 조작이 완료되면 카메라(21)를 통해 촬영되는 영상을 리드한다(S119).When the operation of the infrared light 22 is completed, the control unit 10 reads the image photographed through the camera 21 (S119).

영상이 리드되면 제어부(10)는 바로 리드된 영상으로부터 차창영역을 모두 포함하는 정지 이미지를 획득한다(S120).When the image is read, the control unit 10 obtains a still image including all the window regions from the immediately read image (S120).

정지 이미지를 획득한 제어부(10)는 상기 정지 이미지를 이용하여 바로 차창영역을 추출할 수도 있고(S131), 그레이값 검출에 의한 광세기 조절 후 정지 이미지를 다시 획득하여(S121~S129) 차창 영역을 추출할 수도 있을 것이다(S131).The controller 10, which has obtained the still image, can directly extract the window region using the still image (S131). After adjusting the light intensity by the gray value detection, the still image is acquired again (S121 to S129) (S131).

S121 내지 S129를 좀 더 상세히 설명하면, 제어부(10)는 입력되는 영상으로부터 획득되는 정지 이미지(S120)에서 그레이 값을 검출하고(S121), 검출된 그레이 값에 따른 적외선 광세기 값을 로드한다(S123). 상기 적외선 광세기 값은 그레이 값별로 미리 정의되어 있는 것이 바람직하며, 실험에 의해 구해질 수 있을 것이다.S121 to S129 will be described in more detail. The control unit 10 detects a gray value in a still image S120 obtained from an input image (S121), and loads an infrared light intensity value corresponding to the detected gray value ( S123). It is preferable that the infrared light intensity value is previously defined for each gray value, and it can be obtained by experiment.

적외선 광세기 값이 로드되면 제어부(10)는 로드된 광세기 값이 허용 가능한 세기인지를 판단한다(S125).When the infrared light intensity value is loaded, the controller 10 determines whether the light intensity value is an allowable intensity (S125).

판단결과, 적외선 광세기 값이 허용 가능한 세기가 아니면 상기 S111 단계 이후의 과정을 다시 수행하도록 구성되고, 이때, 적외선 광세기 값이 허용 세기보다 작으면 적외선 광세기 값을 커지도록 조절을 유도하고, 적외선 광세기 값이 허용 세기보다 크면 광세기 값이 작아지도록 조절 유도하도록 구성될 수도 있을 것이다.As a result of the determination, if the infrared light intensity value is not an allowable intensity, the process after step S111 is performed again. If the infrared light intensity value is less than the allowable intensity, the infrared light intensity value is increased. If the infrared light intensity value is larger than the allowable intensity, the light intensity value may be adjusted to be lowered.

로드된 적외선 광세기 값이 허용 가능한 세기이면 제어부(10)는 적외선 라이트(22)를 제어하여 상기 로드된 적외선 광세기 값에 대응하여 적외선 광세기를 조절한다(S127).If the loaded infrared light intensity value is an allowable intensity, the controller 10 controls the infrared light 22 to adjust the infrared light intensity corresponding to the loaded infrared light intensity value (S127).

적외선 광세기 조절 후 제어부(10)를 상기 조절된 세기의 적외선이 적용된 정지 이미지를 획득한다(S129).After adjusting the infrared light intensity, the control unit 10 obtains a still image to which the infrared ray of the adjusted intensity is applied (S129).

상기 S120 또는 S129에서 도 4의 (가)와 같은 정지 이미지가 획득되면 제어부(10)는 상기 수학식 1이 적용되는 그랩컷 알고리즘을 수행하여 차량의 창문영역 및 비창문영역을 분리한 후 창문영역을 추출하여 도 4의 (나) 또는 (다)와 같은 차창영역 이미지를 획득한다(S131). 이때 제어부(10)는 도 4의 (나) 및 (다)와 같이 4개의 창문영역을 모두 포함하는 차창영역 이미지를 획득할 수도 있고, 하나의 창문영역을 포함하는 차창영역 이미지 4개를 획득할 수도 있을 것이다.4 (a) is obtained in S120 or S129, the controller 10 performs the grab-cut algorithm using Equation (1) to separate the window region and the non-window region of the vehicle, And obtains a window region image as shown in (B) or (C) of FIG. 4 (S131). At this time, the controller 10 may acquire a window region image including all four window regions as shown in (b) and (c) of FIG. 4, and may acquire four window region images including one window region It might be.

도 4의 (나) 또는 (다)와 같은 차창영역 이미지가 검출되면 제어부(10)는 차창영역 이미지의 각 창문영역에서 경계선을 검출하기 위한 경계선 검출 동작을 수행한다(S133).If a window region image as shown in (b) or (c) of FIG. 4 is detected, the control unit 10 performs a boundary detection operation for detecting a boundary line in each window region of the window region image (S133).

경계선 검출은 제어부(10)가 미리 가지고 있는 창문영역별 경계선 패턴 이미지와 추출된 창문영역 이미지의 각 창문영역을 비교하여 이루어질 수 있을 것이다.The boundary line detection may be performed by comparing the boundary line pattern image of each window region and the window regions of the extracted window region image that the control unit 10 has in advance.

본 발명의 제1실시예에 따라 상기 경계선은 도 5에서 보이는 바와 같이 창문(3)의 상부 끝 단부(4)에 의해 형성될 수 있고, 제2실시예에 따라 도 6과 같이 창문이 완전히 닫혀 있는 상태에서 비차창영역과의 경계 부분에 대응하는 창문 하단부에 인쇄 또는 부착되는 선(7)에 의해 형성될 수도 있을 것이다.According to a first embodiment of the present invention, the boundary line may be formed by the upper end 4 of the window 3 as shown in Fig. 5, and according to the second embodiment, the window is completely closed Or may be formed by a line 7 printed or attached to the lower end of the window corresponding to the boundary portion with the non-window region in the state where the window 7 is not present.

상기 경계선 검출 동작이 개시되면 제어부(10)는 경계선이 검출되는지의 여부에 따라 창문이 열려있는지 닫혀있는지를 판단한다(S135).When the boundary detection operation is started, the control unit 10 determines whether the window is open or closed depending on whether a boundary line is detected (S135).

구체적으로 설명하면, 제1실시예에서 창문이 완전히 닫혀 있는 경우 도 5의 (가)와 같이 창문의 끝 단부(4)가 상기 끝 단부(4)의 상부에 위치하는 비차창영역의 프레임(5) 내부로 삽입되므로 제어부(10)는 경계선인 끝 단부(4)는 촬영되지 않으므로 경계선을 검출할 수 없을 것이다.More specifically, in the first embodiment, when the window is completely closed, the window 5 of the non-window region in which the window end portion 4 is located above the end portion 4 as shown in Fig. 5 (a) The control unit 10 will not be able to detect the borderline because the border 4 is not photographed.

반면, 제1실시예에서 창문이 열려 있다면 도 5의 (나)와 같이 창문의 끝 단부(4)가 비차창영역의 상부 프레임(5)로부터 나오므로 카메라(21)에 의해 끝 단부(4)가 촬영되므로 제어부(10)는 경계선을 검출할 것이다.If the window is opened in the first embodiment, the end portion 4 of the window comes out of the upper frame 5 of the non-window region as shown in (b) of FIG. 5, The control unit 10 will detect the boundary line.

반대로, 제2실시예에서 창문이 완전히 닫혀 있는 경우, 제어부(10)는 도 6과 같이 창문영역의 하단에 인쇄된 선(7), 즉 경계선을 검출할 것이다.Conversely, when the window is completely closed in the second embodiment, the control unit 10 will detect a line 7, i.e., a boundary line, printed on the lower end of the window area as shown in Fig.

반면, 제2실시예에서 창문이 열리는 경우, 창문의 하단에 인쇄된 선(7), 즉 경계선이 비차창영역의 하부 프레임(6) 내부로 들어가므로 제어부(10)는 경계선을 검출하지 못할 것이다.On the other hand, when the window is opened in the second embodiment, since the line 7 printed on the lower end of the window, that is, the boundary line enters the lower frame 6 of the non-window area, the control unit 10 will not detect the boundary line .

상술한 바와 같이 경계선이 검출여부에 따라 창문이 열린 것으로 판단되면 제어부(10)는 경보부(50) 및 표시부(60)를 통해 경보를 발생한다(S137).If it is determined that the window is open according to whether the boundary line is detected as described above, the control unit 10 generates an alarm through the alarm unit 50 and the display unit 60 at step S137.

한편, 본 발명은 전술한 전형적인 바람직한 실시예에만 한정되는 것이 아니라 본 발명의 요지를 벗어나지 않는 범위 내에서 여러 가지로 개량, 변경, 대체 또는 부가하여 실시할 수 있는 것임은 당해 기술분야에서 통상의 지식을 가진 자라면 용이하게 이해할 수 있을 것이다. 이러한 개량, 변경, 대체 또는 부가에 의한 실시가 이하의 첨부된 특허청구범위의 범주에 속하는 것이라면 그 기술사상 역시 본 발명에 속하는 것으로 보아야 한다. While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. It will be easily understood. It is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, it is intended to cover various modifications within the scope of the appended claims.

10: 제어부 11: 주야 판단부
12: 탑승자 존재 판단부 13: 이미지 생성부
13-1 적외선 세기 조절부 14: 차창영역 검출부
15: 경계선 검출부 16: 창문 열림 판단부
20: 영상 획득부 21: 카메라
22: 적외선 라이트 23: 영상 처리부
30: 밝기 검출부 40: 탑승자 검출부
50: 경보부 60: 표시부
70: 입력부
10: control unit 11: day /
12: occupant presence judgment unit 13: image generation unit
13-1 Infrared intensity controller 14: Winder area detector
15: a boundary line detecting unit 16: a window opening judging unit
20: image acquiring unit 21: camera
22: Infrared light 23: Image processing unit
30: Brightness Detection Unit 40: Occupant Detection Unit
50: alarm unit 60: display unit
70:

Claims (13)

차량 내부를 촬영하여 차량 내부 영상을 출력하는 카메라를 포함하는 영상 획득부;
침입 검출을 경보하는 경보부; 및
상기 차량 내부 영상으로부터 차량 내부의 차창영역 및 비차창영역을 분리하여 차창영역을 추출하고, 상기 차창영역에서 창문의 열림 여부에 따른 경계선 검출동작을 수행하고, 경계선 검출여부에 따라 창문 열림을 판단하며, 창문 열림 판단 시 상기 경보부를 통해 경보를 발생시키는 제어부를 포함하되,
상기 제어부는,
상기 카메라로부터 입력되는 차량 내부 영상을 캡처하여 정지 이미지를 생성하는 이미지 생성부;
상기 정지 이미지에서 차창영역만을 포함하는 차창영역 이미지를 검출하는 차창영역 검출부;
검출된 차창영역 이미지에 경계선이 있는지의 여부를 판단하기 위한 경계선 검출 동작을 수행하여 경계선 검출 여부에 따른 경계선 존재 여부 신호를 출력하는 경계선 검출부; 및
상기 경계선 검출부로부터 입력되는 경계선 존재 여부 신호에 따라 창문의 열림 여부를 판단하고, 창문 열림으로 판단되는 경우 상기 경보부를 통해 경보를 발생하는 창문 열림 판단부를 포함하는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 장치.
An image acquisition unit including a camera for photographing the inside of the vehicle and outputting an in-vehicle image;
An alarm unit for alarming intrusion detection; And
A window region is extracted by separating a vehicle window and a non-window region from the vehicle internal image, a boundary detection operation is performed according to whether the window is opened in the window region, And a control unit for generating an alarm through the alarm unit when the window is opened,
Wherein,
An image generating unit for capturing an in-vehicle image input from the camera and generating a still image;
An in-vehicle region detecting unit for detecting an in-vehicle region image including only a in-vehicle region in the still image;
A boundary line detector for detecting whether or not a boundary line exists in the detected window region image and outputting a boundary line existence signal depending on whether the boundary line is detected or not; And
And a window opening judging unit for judging whether or not a window is open according to a boundary line presence / absence signal input from the boundary detection unit and generating an alarm through the alarm unit when it is determined that the window is opened. Opening detection device.
삭제delete 제1항에 있어서,
밝기를 측정하는 밝기 검출부를 더 포함하고,
상기 영상 획득부는 적외선 광의 세기를 조절할 수 있는 적외선 라이트를 더 포함하되,
상기 제어부는,
상기 밝기 검출부에 의해 측정되는 밝기에 의해 낮인지 밤인지를 판단하고, 낮이면 상기 적외선 라이트를 오프하고, 밤이면 상기 적외선 라이트를 온하는 주야 판단부를 더 포함하는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 장치.
The method according to claim 1,
Further comprising a brightness detector for measuring brightness,
The image acquiring unit may further include an infrared light capable of adjusting the intensity of infrared light,
Wherein,
Further comprising a day / night judging section for judging whether the time is night or night by the brightness measured by the brightness detecting section, turning off the infrared light when it is low, and turning on the infrared light when it is nighttime Window opening detection device.
제3항에 있어서,
상기 이미지 생성부는,
생성된 정지 이미지의 그레이 값을 검출하고 미리 가지고 있는 상기 그레이 값에 대응하는 적외선 광세기 값에 따라 상기 적외선 라이트의 적외선 광세기를 조절하는 적외선 세기 조절부를 더 포함하는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 장치.
The method of claim 3,
The image generation unit may include:
Further comprising an infrared intensity adjusting unit for detecting a gray value of the generated still image and adjusting an infrared light intensity of the infrared light according to an infrared light intensity value corresponding to the gray value that is held in advance Vehicle window opening detection device.
제1항에 있어서,
차량 내부에 탑승자가 존재하는지를 검출하는 탑승자 검출부를 더 포함하되,
상기 제어부는,
상기 탑승자 검출부를 통해 차량 내부에 탑승자가 존재하는지를 판단하는 탑승자 존재 판단부를 더 포함하고,
상기 이미지 생성부는 상기 탑승자 존재 판단부를 통해 차량 내부에 탑승자가 없는 것으로 판단될 때 상기 정지 이미지를 생성하는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 장치.
The method according to claim 1,
Further comprising a passenger detection unit for detecting whether a passenger is present inside the vehicle,
Wherein,
Further comprising a passenger presence determination unit for determining whether a passenger is present in the vehicle through the passenger detection unit,
Wherein the image generating unit generates the still image when it is determined by the occupant existence determination unit that there is no occupant in the vehicle.
제1항에 있어서,
상기 제어부는,
창문 상부 끝 단부에 의해 형성되는 경계선이 차창영역 이미지로부터 검출되는지의 여부에 따라 창문 열림을 판단하되,
상기 경계선이 검출되면 창문이 열린 것으로 판단하는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 장치.
The method according to claim 1,
Wherein,
Determining whether the window is opened according to whether a boundary formed by the upper end of the window is detected from the window region image,
Wherein the controller determines that the window is opened when the boundary line is detected.
제1항에 있어서,
상기 제어부는,
상기 창문 이 닫힌 상태에서 창문 하단부에 노출되도록 인쇄 또는 부착된 경계선의 검출 여부에 따라 창문 열림을 판단하되,
상기 경계선이 검출되면 창문이 닫힌 것으로 판단하는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 장치.
The method according to claim 1,
Wherein,
Determining whether the window is opened according to whether the printed or attached boundary line is detected so that the window is exposed at the lower end of the window in a closed state,
Wherein the controller determines that the window is closed when the boundary line is detected.
제어부가 카메라로부터 입력되는 차량 내부 영상을 캡처하여 정지 이미지를 생성하는 정지 이미지 생성 과정;
상기 제어부가 상기 정지 이미지로부터 차량 내부의 차창영역 및 비차창영역을 분리한 후 차창영역을 추출하여 차창영역 이미지를 생성하는 차창영역 추출 과정;
상기 제어부가 상기 차창영역 이미지로부터 경계선 검출 동작을 수행하는 경계선 검출 과정;
상기 경계선 검출 동작에 의한 경계선 검출 여부에 따라 차량 창문 열림 여부를 판단하는 창문 열림 판단 과정; 및
창문 열림 판단 시 제어부가 경보부를 통해 경보를 발생시키는 경보 과정을 포함하는 것을 특징으로 실내 카메라를 이용한 차량 창문 열림 검출 방법.
A still image generating step of generating a still image by capturing an in-vehicle image input from a camera by a control unit;
Extracting a window region from the still image by extracting an in-vehicle window region and a non-window region from the still image to generate a window region image;
A boundary detection step of the control unit performing a boundary detection operation from the window region image;
Determining whether a vehicle window is open according to whether a boundary line is detected by the boundary line detecting operation; And
And an alarm process for causing the control unit to generate an alarm through the alarm unit when the window is opened.
제8항에 있어서,
상기 제어부가 카메라 구동 시 낮이면 적외선 라이트를 오프(Off)시키고 밤이면 적외선 라이트를 온(On)시키는 적외선 라이트 구동 과정을 더 포함하고,
상기 적외선 라이트 구동 과정 후 상기 정지 이미지 생성 과정을 수행하는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 방법.
9. The method of claim 8,
Further comprising an infrared light driving step of turning off the infrared light when the control unit is low when the camera is driven and turning on the infrared light when the camera is at night,
Wherein the still image generating process is performed after the infrared light driving process.
제8항에 있어서,
상기 이미지 생성 과정은,
카메라로부터 입력되는 차량 내부 영상을 캡처하여 정지 이미지를 생성하는 제1정지 이미지 생성 단계;
생성된 상기 정지 이미지의 그레이 값을 검출하고, 검출된 그레이 값에 따라 적외선 라이트의 적외선 광세기를 조절하는 적외선 광세기 조절 단계; 및
상기 적외선 라이트의 적외선 광 세기가 조절된 후 상기 적외선 광 세기가 적용된 차량 내부 영상으로부터 정지 이미지를 생성하여 출력하는 제2정지 이미지 생성 단계를 포함하는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 방법.
9. The method of claim 8,
The image generation process includes:
A first still image generating step of capturing an in-vehicle image input from a camera to generate a still image;
An infrared light intensity adjusting step of detecting a gray value of the generated still image and adjusting an infrared light intensity of the infrared light according to the detected gray value; And
And a second still image generating step of generating and outputting a still image from the in-vehicle image to which the infrared light intensity is applied after the infrared light intensity of the infrared light is adjusted and outputting the still image. .
제8항에 있어서,
상기 제어부가 탑승자 검출부를 통해 차량 내부에 탑승자가 존재하는지를 판단하는 탑승자 존재 판단 과정을 더 포함하되,
상기 이미지 생성 과정은 상기 탑승자 존재 판단 과정에서 탑승자가 탑승하고 있지 않은 것으로 판단될 때 수행되는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 방법.
9. The method of claim 8,
Further comprising the step of determining whether a passenger is present in the vehicle through the passenger detection unit,
Wherein the image generating process is performed when it is determined that the occupant is not boarding the vehicle in the process of determining the presence of the occupant.
제8항에 있어서,
상기 제어부는,
창문 상부 끝 단부에 의해 형성되는 경계선이 차창영역 이미지로부터 검출하는지의 여부에 따라 창문 열림을 판단하되,
상기 경계선이 검출되면 창문이 열린 것으로 판단하는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 방법.
9. The method of claim 8,
Wherein,
Determining whether the window is open according to whether the boundary formed by the upper end of the window is detected from the window region image,
And determining that the window is opened when the boundary line is detected.
제8항에 있어서,
상기 제어부는,
상기 창문이 닫힌 상태에서 창문 하단부에 노출되도록 인쇄 또는 부착된 경계선의 검출 여부에 따라 창문 열림을 판단하되,
상기 경계선이 검출되면 창문이 닫힌 것으로 판단하는 것을 특징으로 하는 실내 카메라를 이용한 차량 창문 열림 검출 방법.
9. The method of claim 8,
Wherein,
Determining whether the window is opened according to whether the printed or attached boundary line is detected so that the window is exposed at the lower end of the window in a closed state,
And determining that the window is closed when the boundary line is detected.
KR1020160139930A 2016-10-26 2016-10-26 Apparatus and method for detecting window opening of vehicle using room camera KR101858625B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160139930A KR101858625B1 (en) 2016-10-26 2016-10-26 Apparatus and method for detecting window opening of vehicle using room camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160139930A KR101858625B1 (en) 2016-10-26 2016-10-26 Apparatus and method for detecting window opening of vehicle using room camera

Publications (2)

Publication Number Publication Date
KR20180045502A KR20180045502A (en) 2018-05-04
KR101858625B1 true KR101858625B1 (en) 2018-05-16

Family

ID=62199581

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160139930A KR101858625B1 (en) 2016-10-26 2016-10-26 Apparatus and method for detecting window opening of vehicle using room camera

Country Status (1)

Country Link
KR (1) KR101858625B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009061929A (en) 2007-09-06 2009-03-26 Kojima Press Co Ltd Burglary occurrence alarm
JP2009075834A (en) * 2007-09-20 2009-04-09 Denso Corp Invasion monitoring device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009061929A (en) 2007-09-06 2009-03-26 Kojima Press Co Ltd Burglary occurrence alarm
JP2009075834A (en) * 2007-09-20 2009-04-09 Denso Corp Invasion monitoring device

Also Published As

Publication number Publication date
KR20180045502A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
EP2944498B1 (en) Processing method, program, processing apparatus, and detection system
JP4687150B2 (en) Direct light detector
JP6295191B2 (en) Elevator car image monitoring device
JP2008195495A (en) Image monitoring device
KR101823655B1 (en) System and method for detecting vehicle invasion using image
KR101826715B1 (en) System and method for detecting vehicle invasion using room camera
US20040130285A1 (en) Obstruction detector for movable vehicle members
KR101858625B1 (en) Apparatus and method for detecting window opening of vehicle using room camera
JP5612168B1 (en) Elevator monitoring system
JP2009111656A (en) Imaging system
JP2007251555A (en) Diagnostic apparatus and method, program, as well as, recording medium
KR20150106986A (en) System for detecting drowsiness based on server and the method thereof
JP2005068640A (en) Control method for parking lot and apparatus for the same
JP2008152950A (en) Lighting system
JP2017124936A (en) Elevator system
KR102441928B1 (en) The Appratus For Vehicle Surveillance And The Method For Vehicle Moving Object Detecting
KR102193497B1 (en) A Safety Network System Using Automatic and Remote Control of Bus Ride Stations by Using IOT Technology
US10051195B2 (en) Apparatus and method for acquiring differential image
KR20120055824A (en) Image acquiring method of vehicle camera system
JPH0732907A (en) Consciousness level detecting device
JP2008077375A (en) Vehicle glass breakage sensing device
JP3932782B2 (en) Room monitoring equipment
CN112243089A (en) On-off control method and device for camera HDR image effect and vehicle
JP2001169270A (en) Image supervisory device and image supervisory method
KR100644456B1 (en) Method and device for preventing sleepiness driving using filter for filtering near infrared ray

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right