KR100901125B1 - Face detecting method and apparatus - Google Patents

Face detecting method and apparatus Download PDF

Info

Publication number
KR100901125B1
KR100901125B1 KR1020070039920A KR20070039920A KR100901125B1 KR 100901125 B1 KR100901125 B1 KR 100901125B1 KR 1020070039920 A KR1020070039920 A KR 1020070039920A KR 20070039920 A KR20070039920 A KR 20070039920A KR 100901125 B1 KR100901125 B1 KR 100901125B1
Authority
KR
South Korea
Prior art keywords
face
image
exposure
brightness
face recognition
Prior art date
Application number
KR1020070039920A
Other languages
Korean (ko)
Other versions
KR20080095441A (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 KR1020070039920A priority Critical patent/KR100901125B1/en
Publication of KR20080095441A publication Critical patent/KR20080095441A/en
Application granted granted Critical
Publication of KR100901125B1 publication Critical patent/KR100901125B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation

Abstract

본 발명은 피사체 전체의 조명 환경에 의해 얼굴의 특징정보 오염되어 인식률이 저하되는 것을 방지하기 위한 얼굴인식 방법과 장치에 관한 것으로서, 카메라 모듈로부터 이미지를 입력받아 얼굴영역을 탐색하는 과정과, 탐색된 얼굴영역의 상기 이미지 내 분포 범위를 산출하는 과정과, 산출된 얼굴영역의 분포 범위에 대응되는 피사체 부분의 밝기를 측정하는 과정, 및 측정된 밝기에 대응하는 노출조건을 설정하고 다음 이미지를 입력받아 얼굴을 식별하는 과정을 포함한다. 본 발명의 얼굴인식 방법과 장치에 의하면, 실제 환경에서 카메라 모듈로부터 들어오는 이미지의 밝기가 얼굴 기준으로 설정되어 얼굴인식에 필요한 특징정보의 오염을 최소화할 수 있다. 따라서 얼굴인식의 정확도와 인식률이 향상되어 관련 어플리케이션 동작이 원활하게 수행될 수 있다.The present invention relates to a face recognition method and apparatus for preventing contamination of feature information of a face by a lighting environment of an entire subject and a decrease in recognition rate. A process of calculating a distribution range in the image of the face region, a process of measuring brightness of a subject part corresponding to the calculated distribution range of the face region, and setting exposure conditions corresponding to the measured brightness and receiving the next image Identifying the face. According to the face recognition method and apparatus of the present invention, the brightness of the image coming from the camera module in the real environment is set as the face reference to minimize the contamination of the feature information required for face recognition. Therefore, the accuracy and recognition rate of face recognition can be improved, so that related application operations can be performed smoothly.

얼굴인식, 생체 인식, 휴대 단말기, 카메라, 프리뷰 Face Recognition, Biometrics, Mobile Terminal, Camera, Preview

Description

얼굴인식 방법과 장치{face detecting method and apparatus}Face detecting method and apparatus

도 1은 본 발명의 일 실시예에 따른 얼굴인식 장치의 블록 구성도,1 is a block diagram of a face recognition device according to an embodiment of the present invention;

도 2는 본 발명의 제1 실시예에 따른 얼굴인식 방법을 보여주는 흐름도,2 is a flowchart illustrating a face recognition method according to a first embodiment of the present invention;

도 3은 본 발명의 제1 실시예에 따른 얼굴인식 방법의 얼굴인식 과정을 보여주는 흐름도,3 is a flowchart illustrating a face recognition process of the face recognition method according to the first embodiment of the present invention;

도 4는 본 발명의 제1 실시예에 따른 얼굴인식 방법을 보여주는 개념도,4 is a conceptual view showing a face recognition method according to a first embodiment of the present invention;

도 5는 본 발명의 제1 실시예에 따른 얼굴인식 방법에서 얼굴 등록 과정의 흐름도,5 is a flowchart of a face registration process in the face recognition method according to the first embodiment of the present invention;

도 6은 본 발명의 제2 실시예에 따른 얼굴인식 방법을 보여주는 흐름도,6 is a flowchart illustrating a face recognition method according to a second embodiment of the present invention;

도 7은 본 발명의 제3 실시예에 따른 얼굴인식 방법을 보여주는 흐름도, 7 is a flowchart illustrating a face recognition method according to a third embodiment of the present invention;

도 8은 본 발명의 제3 실시예에 따른 얼굴인식 방법에서 이미지 입력 과정의 세부 흐름도, 그리고8 is a detailed flowchart of an image input process in a face recognition method according to a third embodiment of the present invention; and

도 9는 본 발명의 제3 실시예에 따른 얼굴인식 방법에서 노출 보정값 설정 과정의 세부 흐름도이다.9 is a detailed flowchart of an exposure compensation value setting process in the face recognition method according to the third embodiment of the present invention.

본 발명은 얼굴인식 방법과 장치에 관한 것으로서, 더욱 상세하게는 카메라 모듈(camera module)을 통하여 입력되는 이미지(image)에서 얼굴을 탐색하여 식별하는 얼굴인식 방법과 장치에 관한 것이다.The present invention relates to a face recognition method and apparatus, and more particularly, to a face recognition method and apparatus for searching for and identifying a face in an image input through a camera module.

생체 인식 기술은 생체 정보를 이용하여 사람을 식별해 내는 기술이다. 현재까지 가장 많이 사용되는 방법은 신체 일부의 이미지를 획득한 후 특징을 추출하여 비교하는 방법이다. 생체 인식 기술의 예로서는 지문 인식, 얼굴인식, 망막 인식, 홍채 인식, 정맥 인식, 장문 인식, 음성 인식 등이 있다.Biometric technology is a technology that identifies a person using biometric information. Until now, the most widely used method is to acquire an image of a part of the body and extract and compare features. Examples of biometric technologies include fingerprint recognition, face recognition, retina recognition, iris recognition, vein recognition, palm print recognition, voice recognition, and the like.

그 중에서 얼굴인식 기술은 사람의 식별에 얼굴을 이용하는 기술로서, 개인의 특성을 검증하거나 신원을 확인하기 위해 많이 이용되고 있다. 현재 얼굴인식 방법으로서는 카메라 모듈을 통하여 입력되는 이미지에서 얼굴영역을 검출하고, 그 검출된 얼굴영역에서 특징정보를 추출하여 데이터베이스에 등록된 얼굴의 특징정보와 비교함으로써 얼굴을 인식하는 방법이 잘 알려져 있다.Among them, face recognition technology is a technology that uses a face to identify a person, and is widely used to verify an individual's characteristics or to verify an identity. Currently, a face recognition method is well known for detecting a face region from an image input through a camera module, extracting feature information from the detected face region, and comparing it with feature information of a face registered in a database. .

한편 얼굴인식률을 높이기 위해서는 이미지 등록 시와 동일한 광도 및 방향의 조명 환경에서 영상을 획득하여야 한다. 그러나 실제 얼굴인식 환경에서 카메라 모듈을 통하여 들어오는 영상은 그렇지 못하다. 예를 들어, 아주 밝은 야외에서 사진 촬영을 하면, 얼굴이 하얀 사람도 촬영된 사진에서 어둡게 나오는 것을 볼 수 있다. 카메라에서 이미지의 밝기를 결정하는 것은 이미지 전체의 밝기이기 때문이다. 만일, 얼굴이 들어있는 이미지 전체가 밝거나 어둡다면 인식을 해야 할 얼굴의 특징정보가 오염될 수 있으며, 이에 따라 인식률이 현저하게 떨어질 수 있다. 따라서 빛이나 배경 등을 포함한 여러 가지 환경에서 얼굴 특징정보의 오염을 방지할 수 있는 방안이 요구된다.On the other hand, in order to increase the face recognition rate, an image must be acquired in an illumination environment having the same brightness and direction as when registering an image. However, in the face recognition environment, the video coming through the camera module is not. For example, if you take a picture in very bright outdoors, you can see people with white faces appear dark in the picture. This is because the brightness of the image is determined by the camera. If the entire image containing the face is bright or dark, the feature information of the face to be recognized may be contaminated, and thus the recognition rate may be significantly reduced. Therefore, there is a need for a method for preventing contamination of facial feature information in various environments including light and background.

본 발명의 목적은 피사체 전체의 조명 환경에 의해 얼굴의 특징정보가 오염되어 인식률이 저하되는 것을 방지할 수 있는 얼굴인식 방법과 장치를 제공하는 데에 있다.An object of the present invention is to provide a face recognition method and apparatus capable of preventing contamination of feature information of a face by a lighting environment of the entire subject and thus lowering a recognition rate.

이와 같은 목적을 달성하기 위하여, 본 발명은 카메라 모듈로부터 입력되는 이미지의 얼굴인식 방법에 있어서, 카메라 모듈로부터 이미지를 입력받아 얼굴영역을 탐색하는 과정, 탐색된 얼굴영역의 이미지 내 위치와 크기를 산출하는 과정, 산출된 얼굴영역의 위치와 크기에 대응되는 피사체 부분의 밝기를 측정하는 과정과, 피사체 부분의 밝기에 대응하는 노출조건을 설정하여 다음 이미지를 입력받는 과정, 및 다음 입력 이미지에서 얼굴영역을 추출하여 얼굴을 식별하는 과정을 포함하는 것을 특징으로 하는 얼굴인식 방법을 제공한다.In order to achieve the above object, the present invention provides a face recognition method of an image input from a camera module, the process of searching for a face region by receiving an image from the camera module, calculating the position and size in the image of the detected face region. A process of measuring a brightness of a subject portion corresponding to the calculated position and size of the face region, a process of receiving a next image by setting an exposure condition corresponding to the brightness of the subject region, and a face region from the next input image. It provides a face recognition method comprising the step of extracting the face identification.

또한 전술한 목적을 달성하기 위하여 본 발명은 카메라 모듈로부터 입력되는 이미지의 얼굴인식 방법에 있어서, 카메라 모듈로부터 이미지를 입력받아 얼굴영역을 추출하는 과정, 입력 이미지의 얼굴영역에서 얼굴특징정보를 추출하여 기 등록 여부를 판별하는 얼굴인식 과정과, 미등록 얼굴로 판별 시 추출된 얼굴영역의 상기 이미지 내 위치와 크기 범위 내에 속하는 피사체 부분을 측광 윈도우(window)로 설 정하여 측광하는 과정, 및 측광된 밝기에 대응하는 노출조건을 설정하고 다음 이미지를 입력받아 얼굴인식 과정을 다시 수행하는 얼굴 재인식 과정을 포함하는 것을 특징으로 하는 얼굴인식 방법을 제공한다.In addition, in order to achieve the above object in the present invention, in the face recognition method of the image input from the camera module, the process of extracting the face region by receiving the image from the camera module, by extracting the facial feature information from the face region of the input image A face recognition process for determining whether or not to register the image, a process of measuring a part of a subject within the position and size range of the extracted face region when the image is detected as an unregistered face by using a metering window, and metering brightness. A face recognition method comprising setting a corresponding exposure condition and receiving a next image and performing a face recognition process again is provided.

그리고 상기 목적을 달성하기 위하여, 본 발명은 카메라 모듈을 구비하는 얼굴인식 장치에 있어서, 이미지 전체 밝기와 이미지 내 얼굴 밝기에 각각 대응되는 노출조건이 번갈아 설정되게 상기 카메라 모듈을 제어하는 노출 제어부와, 카메라 모듈을 통하여 입력받은 이미지가 이미지 전체 밝기에 대응되는 노출조건으로 입력받은 이미지이면 얼굴영역을 추출하고 그 위치와 크기에 대응되는 피사체 부분의 밝기를 측정하여 그 밝기에 대응되는 노출조건이 설정되게 노출 제어부를 제어하고 이미지 내 얼굴 밝기에 대응되는 노출조건으로 입력받은 이미지이면 얼굴을 인식하는 얼굴 인식부를 포함하는 것을 특징으로 하는 얼굴인식 장치를 제공한다.In order to achieve the above object, the present invention provides a face recognition device having a camera module, the exposure control unit for controlling the camera module to be set to alternately set the exposure conditions respectively corresponding to the brightness of the image and the brightness of the face in the image, If the image input through the camera module is an image that is input as the exposure condition corresponding to the overall brightness of the image, the face area is extracted, and the brightness of the subject part corresponding to the position and size is measured so that the exposure condition corresponding to the brightness is set. According to an aspect of the present disclosure, there is provided a face recognition apparatus including a face recognition unit for controlling a exposure control unit and recognizing a face when the image is received as an exposure condition corresponding to the brightness of the face in the image.

이하 첨부 도면을 참조하여 본 발명에 얼굴인식 방법과 장치의 실시예를 상세하게 설명하고자 한다. 단, 도면과 실시예의 설명에서 본 발명의 요지를 흐트러뜨리지 않도록 본 발명의 중심 기술 사상과 관련이 없는 부분에 대한 도시 및 기재를 생략한다.Hereinafter, exemplary embodiments of a face recognition method and apparatus will be described in detail with reference to the accompanying drawings. However, in the drawings and the description of the embodiments, illustration and description of parts not related to the central technical idea of the present invention will be omitted so as not to obscure the gist of the present invention.

그리고 실시예의 설명에 앞서, 본 명세에서 "특징정보"라는 용어는 사람의 얼굴에서 다른 사람과 구별될 수 있게 개개인이 가지고 있는 고유의 특징 정보를 의미함을 밝혀둔다. 예를 들어, 얼굴의 특징 정보로서 눈, 코, 입, 피부의 특정 영 역 등일 수 있다. 그리고 "대기 모드"라는 용어는 얼굴인식 수행 전 상태의 동작 모드를 의미함을 밝혀둔다.In addition, prior to the description of the embodiment, the term "feature information" in the present specification is to be understood that it means the unique feature information that each individual has to be distinguished from other people in the face of a person. For example, the facial feature may include eye, nose, mouth, and a specific area of the skin. In addition, the term "standby mode" is understood to mean the operation mode of the state before performing the face recognition.

도 1은 본 발명의 일 실시예에 따른 얼굴인식 장치의 블록 구성도이다.1 is a block diagram of a face recognition device according to an embodiment of the present invention.

도 1을 참조하면, 본 실시예의 얼굴인식 장치(100)는 카메라 모듈(10), 제어부(20), 저장부(30), 키 입력부(40) 및 표시부(50)를 포함하여 구성된다.Referring to FIG. 1, the face recognition apparatus 100 of the present exemplary embodiment includes a camera module 10, a controller 20, a storage unit 30, a key input unit 40, and a display unit 50.

카메라 모듈(10)은 이미지 데이터를 획득하여 제어부(20)로 전달하는 역할을 수행한다. 카메라 모듈(10)은 이미지 센서(image sensor)(11), 영상신호 처리부(12) 및 렌즈부(13)를 가진다. 이미지 센서(11)는 렌즈부(13)를 통하여 입력되는 피사체의 광 신호를 전기적 신호로 변환하는 기능을 수행한다. 이미지 센서(11)는 CCD 센서나 CMOS 센서 등일 수 있다. 렌즈부는(13) 영상을 투영시키는 기능을 수행하며, 복수의 광학 렌즈들을 포함하여 구성될 수 있다. 영상신호 처리부(12)는 이미지 센서(11)에서 입력되는 아날로그 신호를 디지털 데이터로 변환하는 역할을 한다. 또한 영상신호 처리부(12)는 제어부(20)의 제어에 의해 자동노출 목표(auto exposure target)를 산출하고 피사체의 밝기를 측정하며 그에 따른 노출을 설정한다. 영상신호 처리부(12)는 ISP(Image Signal Processor)로 구현될 수 있으며, 이미지 센서(11) 내에 설치되거나 카메라 모듈(10)의 외부에 설치될 수 있다.The camera module 10 acquires image data and transmits the image data to the controller 20. The camera module 10 has an image sensor 11, an image signal processor 12, and a lens unit 13. The image sensor 11 converts the optical signal of the subject input through the lens unit 13 into an electrical signal. The image sensor 11 may be a CCD sensor, a CMOS sensor, or the like. The lens unit 13 performs a function of projecting an image and may include a plurality of optical lenses. The image signal processor 12 converts an analog signal input from the image sensor 11 into digital data. Also, the image signal processor 12 calculates an auto exposure target under the control of the controller 20, measures the brightness of the subject, and sets the exposure accordingly. The image signal processor 12 may be implemented as an ISP (Image Signal Processor), and may be installed in the image sensor 11 or installed outside the camera module 10.

저장부(30)는 얼굴 데이터베이스(31)를 저장하는 기능을 수행한다. 얼굴 데이터베이스(31)는 등록자의 얼굴특징정보 데이터를 가지며, 등록자의 얼굴 이미지나 관련 정보 데이터를 가질 수 있다. 얼굴 데이터베이스(31)는 제어부(20)의 제어 하에 데이터가 등록 또는 갱신될 수 있다. 그리고 저장부(30)는 얼굴인식 모드 시 얼굴영역을 검출하고, 얼굴영역의 밝기에 따라 노출을 자동으로 보정하기 위한 프로그램들과 데이터를 저장한다. 또한 저장부(30)는 카메라 모듈(10)로부터 입력되는 이미지의 처리를 위한 기억 장소를 제공한다. 그 밖에도 저장부(30)는 얼굴인식 장치(100)의 전반적인 동작을 제어하기 위한 각종 프로그램들과 데이터가 저장되며, 동작 중에 발생되는 데이터의 일시 저장 기능을 수행한다. 저장부(30)는 플래시 메모리, 하드디스크 등 다양한 기억 장치일 수 있다.The storage unit 30 performs a function of storing the face database 31. The face database 31 may have the facial feature information data of the registrant, and may have a facial image or related information data of the registrant. The face database 31 may register or update data under the control of the controller 20. The storage unit 30 detects the face area in the face recognition mode and stores programs and data for automatically correcting the exposure according to the brightness of the face area. The storage unit 30 also provides a storage location for processing an image input from the camera module 10. In addition, the storage unit 30 stores various programs and data for controlling the overall operation of the face recognition apparatus 100 and performs a temporary storage function of data generated during the operation. The storage unit 30 may be various memory devices such as a flash memory and a hard disk.

키 입력부(40)는 키 입력에 따라 얼굴인식 장치(100)의 전체적인 동작에 관련된 명령 신호를 발생한다. 키 입력부는 숫자나 문자 정보를 입력하기 위한 키들 및 각종 기능들을 설정하기 위한 기능 키들을 포함한다. 키 입력부(40)는 키패드(key pad)나 터치스크린(touch screen) 및 터치 패드(touch pad) 등으로 구현될 수 있다. 여기서, 키 입력부(40)는 얼굴인식 모드의 진입을 위한 키와 촬영 모드에서 촬영을 위한 셔터 키 등을 포함할 수 있다.The key input unit 40 generates a command signal related to the overall operation of the face recognition apparatus 100 according to the key input. The key input unit includes keys for inputting numeric or character information and function keys for setting various functions. The key input unit 40 may be implemented as a keypad, a touch screen, a touch pad, or the like. Here, the key input unit 40 may include a key for entering the face recognition mode and a shutter key for photographing in the photographing mode.

표시부(50)는 제어부(20)에 제어하여 영상 데이터를 화면으로 출력하는 기능을 수행한다. 표시부(50)에 의해 피사체의 촬영 영상이 화면으로 표시된다. 여기서, 피사체의 영상은 프리뷰 이미지(preview image)나 촬영 이미지 및 저장 이미지일 수 있다. 그 밖에도 표시부(50)는 얼굴인식 장치(100)의 조작과 동작 및 결과에 관한 정보를 표시할 수 있다. 표시부(50)는 LCD(Liquid Crystal Display), OLED(Organic Light Emitting Diodes), PDP(Plasma Display Panel) 등과 같은 디스플레이 장치로 구현될 수 있다.The display unit 50 controls the control unit 20 to output image data to the screen. The display unit 50 displays the captured image of the subject on the screen. Here, the image of the subject may be a preview image, a captured image, and a stored image. In addition, the display unit 50 may display information about an operation, an operation, and a result of the face recognition apparatus 100. The display unit 50 may be implemented as a display device such as a liquid crystal display (LCD), organic light emitting diodes (OLED), a plasma display panel (PDP), or the like.

제어부(20)는 카메라 모듈(10)로부터 출력되는 이미지 신호를 이미지 데이터 로 변환하는 신호 처리부(미도시)를 가진다. 신호 처리부는 DSP(Digital Signal Processor)로 구현될 수 있다. 그리고 제어부(20)는 신호처리부에서 출력되는 이미지 데이터를 표시부(50)에 표시하기 위한 화면 데이터로 변환하는 이미지 처리부(미도시)를 가질 수 있다. 이미지 처리부에 의해 이미지의 크기 조정, 색변환, 이미지 압축 등이 수행된다. 또한 제어부(20)는 키 입력에 따라 얼굴인식 모드를 설정하고 카메라 모듈(10)을 통하여 입력되는 이미지를 표시부(50)에 출력되게 제어한다. 그 밖에도 제어부(20)는 얼굴인식 장치(100)의 전반적인 동작을 제어한다.The controller 20 has a signal processor (not shown) for converting an image signal output from the camera module 10 into image data. The signal processor may be implemented as a digital signal processor (DSP). The controller 20 may have an image processor (not shown) for converting image data output from the signal processor into screen data for display on the display unit 50. The image processing unit performs size adjustment, color conversion, image compression, and the like. In addition, the controller 20 sets a face recognition mode according to a key input and controls the display unit 50 to output an image input through the camera module 10. In addition, the controller 20 controls the overall operation of the face recognition apparatus 100.

특히 제어부(20)는 입력 이미지에서 얼굴영역의 탐색과 추출, 얼굴특징정보의 추출, 얼굴 데이터베이스에 기 등록 판별, 얼굴영역에 대한 밝기 연산, 노출 보정값 연산 및 노출 설정 제어를 수행한다. 이를 위하여, 제어부(20)는 노출 제어부(21)와 얼굴 인식부(22)를 가질 수 있다. 얼굴 인식부(22)는 얼굴영역 추출부(23), 얼굴영역 산출부(24), 특징정보 추출부(25), 등록 판별부(26) 등을 가질 수 있다.In particular, the controller 20 searches for and extracts a face region from an input image, extracts facial feature information, pre-registers a face database, calculates brightness for a face region, calculates an exposure compensation value, and controls exposure setting. To this end, the controller 20 may have an exposure controller 21 and a face recognition unit 22. The face recognizer 22 may include a face region extractor 23, a face region calculator 24, a feature information extractor 25, a registration determiner 26, and the like.

얼굴영역 추출부(23)는 입력 이미지에서 얼굴영역을 탐색 및 추출한다. 얼굴영역의 탐색 및 추출은 윤곽선, 피부 색상, 질감, 템플리트 등을 이용한 얼굴 추출 기술이 이용될 수 있다. 예를 들어, 얼굴영역 추출부는 입력 이미지에서 피부색을 이용하여 얼굴영역을 찾을 수 있다. 특징정보 추출부는 얼굴 색상을 강조하기 위한 변환기, 흑색과 백색을 강조하기 위한 변환기, 얼굴의 특징정보를 추출하기 위하여 특정 부분의 이미지를 향상시키는 전처리기, 얼굴영역과 배경영역을 분리하는 배경 라벨링(labeling)기 등을 포함할 수 있다.The face region extractor 23 searches for and extracts a face region from the input image. In the search and extraction of the face region, a face extraction technique using contour, skin color, texture, template, or the like may be used. For example, the face region extractor may find a face region using the skin color in the input image. The feature information extractor includes a transducer for emphasizing the color of the face, a transducer for emphasizing black and white, a preprocessor to enhance the image of a specific part to extract the feature information of the face, and a background labeling for separating the face region and the background region ( labeling) group and the like.

얼굴영역 산출부(24)는 얼굴영역 추출부(23)에 의해 입력 이미지에서 탐색된 얼굴영역의 이미지 내 분포 위치와 크기를 산출한다.The face area calculator 24 calculates the distribution position and size of the face area searched by the face area extractor 23 in the input image.

특징정보 추출부(25)는 얼굴영역 추출부에 의해 추출된 얼굴영역에서 얼굴의 특징정보를 추출한다. 얼굴의 특징정보 추출은 잘 알려진 주성분 분석(Principal Component Analysis; PCA) 기술이나 템플리트 매칭(template matching) 기술을 이용할 수 있다. 예를 들어, 얼굴의 특징정보 추출은 설정된 얼굴영역으로 주성분 분석을 수행하여 다중 주성분 분석 벡터(Multiple PCA vector)를 추출하고 얼굴 이미지의 에지(edge) 분포를 분석하여 에지 분포 벡터(edge distribution vector)를 추출할 수 있다.The feature information extractor 25 extracts feature information of the face from the face region extracted by the face region extractor. Facial feature information extraction may use well-known Principal Component Analysis (PCA) techniques or template matching techniques. For example, facial feature information extraction is performed by extracting a multiple PCA vector by performing principal component analysis on a set face region, and analyzing an edge distribution of a face image to obtain an edge distribution vector. Can be extracted.

등록 판별부(26)는 입력 이미지에서 추출된 얼굴의 특징정보와 얼굴 데이터베이스(31)에 저장된 얼굴의 특징정보를 비교하여 기 등록 여부를 판별하고 그 결과를 출력하는 기능을 수행한다.The registration determining unit 26 compares the feature information of the face extracted from the input image with the feature information of the face stored in the face database 31 to determine whether the registration is already performed and output the result.

노출 제어부(21)는 카메라 모듈(10)의 영상 신호 처리부(12)를 제어하여 카메라 모듈(10)의 노출 설정을 제어하는 기능을 수행한다. 노출 제어부(21)는 카메라 모듈(10)에서 자동노출 목표로 설정될 측광 윈도우 정보를 카메라 모듈(10)로 전송하고 그 측광 결과에 따른 노출 설정을 제어한다. 여기서, 측광 윈도우 정보는 얼굴영역 산출부(24)에서 획득된 얼굴영역의 위치와 크기 정보일 수 있다. 또한 노출 제어부(21)는 입력 이미지에서 얼굴영역의 밝기를 산출하고 그 값을 기준으로 노출 보정값을 산정하여 카메라 모듈(10)의 노출 보정을 제어할 수 있다. 여기서, 얼굴영역의 밝기는 얼굴영역 내에 위치하는 픽셀들의 평균 휘도이다.The exposure controller 21 controls the image signal processor 12 of the camera module 10 to control the exposure setting of the camera module 10. The exposure control unit 21 transmits the metering window information to be set as the automatic exposure target in the camera module 10 to the camera module 10 and controls the exposure setting according to the metering result. The metering window information may be position and size information of the face area acquired by the face area calculator 24. In addition, the exposure controller 21 may control the exposure compensation of the camera module 10 by calculating the brightness of the face area in the input image and calculating the exposure compensation value based on the value. Here, the brightness of the face area is the average brightness of pixels located in the face area.

그리고 노출 제어부(21)는 얼굴영역의 밝기를 기준으로 다음 입력 이미지의 노출 보정값을 산정하여 카메라 모듈(10)의 노출 설정을 제어한다. 여기서, 노출 보정값은 일반 평균 노출값 또는 얼굴 데이터베이스 평균 노출값과 얼굴영역의 밝기에 해당하는 노출값의 차에 해당하는 값, 또는 그 값의 일정 수준을 노출 보정값일 수 있다. 또는 노출 보정값은 미리 설정된 증감량 또는 증감비율의 노출값일 수 있다.The exposure controller 21 controls the exposure setting of the camera module 10 by calculating an exposure compensation value of the next input image based on the brightness of the face region. Here, the exposure compensation value may be an exposure compensation value, or a value corresponding to a difference between the general average exposure value or the face database average exposure value and the exposure value corresponding to the brightness of the face area, or a predetermined level thereof. Alternatively, the exposure compensation value may be an exposure value of a preset increase or decrease ratio.

지금까지 본 발명에 따른 얼굴인식 장치의 실시예에 대하여 설명하였다. 이하에서는 본 발명에 따른 얼굴인식 방법의 실시예를 설명하기로 한다.The embodiment of the face recognition device according to the present invention has been described so far. Hereinafter, an embodiment of a face recognition method according to the present invention will be described.

도 2는 본 발명의 제1 실시예에 따른 얼굴인식 방법을 보여주는 흐름도이다. 2 is a flowchart illustrating a face recognition method according to a first embodiment of the present invention.

도 2를 참조하면, 대기 모드의 수행 과정(S201)에서 제어부(20)는 키 입력에 따라 얼굴인식 요구를 확인한다(S203). 여기서, 얼굴인식 요구는 다른 어플리케이션(application)과 연동 수행을 위한 신호이거나 다른 어플리케이션의 수행 중에 발생되는 키 입력일 수 있다. 그리고 이 과정에서 제어부(20)는 표시부(50)에 메뉴 화면을 출력하여 얼굴인식의 실행을 안내할 수 있다.Referring to FIG. 2, in the process of performing the standby mode (S201), the controller 20 checks a face recognition request according to a key input (S203). Here, the face recognition request may be a signal for performing interworking with another application or a key input generated while performing another application. In this process, the controller 20 may output a menu screen to the display unit 50 to guide execution of face recognition.

얼굴인식 요구가 확인되면, 제어부(20)는 카메라 모듈(10)의 기능을 활성화하여 이미지를 입력 받는다(S205). 이 과정에서 제어부(20)의 노출 제어부(21)는 자동노출(AE; Auto Exposure) 기능에 의해 피사체 전체의 밝기를 기준으로 노출조건을 설정하고 이미지를 입력 받는다. 노출조건의 설정은 피사체 전체를 대상으로 자동노출 목표를 설정하고 측광하여 설정할 수 있다. 예를 들어, 피사체에 대한 멀티 측광(multi photometry)을 실시하여 피사체 전체 밝기에 대응되는 노출조건을 설정할 수 있다. 여기서, 이미지 입력 과정은 카메라 촬영 모드의 프리뷰 (preview) 과정이나 보안 카메라에서 보안 인증을 위한 이미지 입력 과정일 수 있다. 한편, 제어부(20)는 사용자가 확인할 수 있게 입력 이미지를 표시부(50)에 출력할 수 있다. When the face recognition request is confirmed, the controller 20 activates the function of the camera module 10 to receive an image (S205). In this process, the exposure controller 21 of the controller 20 sets an exposure condition based on the brightness of the entire subject and receives an image by an auto exposure (AE) function. The exposure conditions can be set by measuring and metering an autoexposure target for the entire subject. For example, by performing multi photometry on the subject, an exposure condition corresponding to the entire brightness of the subject may be set. The image input process may be a preview process of a camera photographing mode or an image input process for security authentication in a security camera. The controller 20 may output the input image to the display unit 50 so that the user can check it.

이미지가 입력되면, 제어부(20)는 입력 이미지에서 얼굴영역을 탐색한다(S209). 앞에서 소개한 바와 같이, 제어부(20)는 윤곽선, 피부 색상, 질감, 템플리트 등을 이용한 얼굴 추출 기술을 적용하여 입력 이미지에서 얼굴영역을 탐색할 수 있다. 프리뷰 이미지를 입력받은 경우, 제어부(20)는 입력받은 프리뷰 이미지를 프리뷰 화면 데이터로 변환하고, 프리뷰 화면 데이터에서 얼굴영역을 추출할 수 있다.When the image is input, the controller 20 searches for a face region in the input image (S209). As described above, the controller 20 may search for a face region in the input image by applying a face extraction technique using an outline, skin color, texture, template, and the like. When the preview image is input, the controller 20 may convert the input preview image into preview screen data and extract a face region from the preview screen data.

이어서 제어부(20)는 탐색된 얼굴영역이 존재하는가를 확인한다(S211). 만일 탐색된 얼굴영역이 존재하지 않는 것으로 확인되면 제어부(20)는 얼굴 인식을 종료한다. 그리고 얼굴영역이 존재하는 것으로 확인되면, 제어부(20)는 이미지 내에서 얼굴영역의 분포 정보를 산출한다(S213). 예를 들어, 제어부(20)는 이미지 내에서 얼굴영역의 위치와 크기를 산출한다.Subsequently, the controller 20 checks whether the searched face area exists (S211). If it is determined that the searched face area does not exist, the controller 20 ends face recognition. If it is determined that the face region exists, the controller 20 calculates distribution information of the face region in the image (S213). For example, the controller 20 calculates the position and size of the face area in the image.

이어서, 제어부(20)는 얼굴영역의 분포 범위에 대응되는 측광 윈도우를 설정한다(S215). 얼굴영역의 분포 정보를 분석하여 분포 범위(위치, 크기)를 산출하고, 그 분포 범위에 속하는 측광 윈도우를 설정한다. 여기서, 측광 윈도우는 사각형 형태이거나 그 밖에 다른 형태일 수 있다. 그리고 측광 윈도우는 사람의 움직임을 고려하여 얼굴영역보다 작은 크기를 갖도록 하는 것이 바람직하다. 측광 윈도우를 사 각형으로 형성하는 경우 얼굴영역에 내접하는 사각형보다 작게 형성한다.Subsequently, the controller 20 sets the photometric window corresponding to the distribution range of the face region (S215). The distribution information (position, size) is calculated by analyzing the distribution information of the face area, and the photometric window belonging to the distribution range is set. The metering window may have a rectangular shape or other shape. In addition, the light metering window may be smaller than the face area in consideration of human movement. When the metering window is formed in a rectangle, it is smaller than the rectangle inscribed in the face area.

측광 윈도우가 설정되면, 제어부(20)는 측광 윈도우 정보(위치, 크기 등)를 카메라 모듈(10)로 전달하여 해당 피사체 부분의 밝기를 측정하는 측광을 진행한다(S217). 이 과정에서 피사체 내에 존재하는 얼굴의 밝기가 측정된다. 이 측광 과정은 입력 이미지에서 측광 윈도우에 해당하는 영역의 평균 밝기를 계산하는 과정으로 대체될 수 있다.When the metering window is set, the controller 20 transmits the metering window information (position, size, etc.) to the camera module 10 and performs metering for measuring the brightness of the corresponding subject part (S217). In this process, the brightness of the face existing in the subject is measured. This photometric process may be replaced by a process of calculating an average brightness of an area corresponding to the photometric window in the input image.

측광이 완료되면, 제어부(20)는 측광된 밝기에 대응하는 노출조건으로 카메라 모듈(10)의 노출 설정을 진행한다(S219). 제어부(20)에 제어에 의해 카메라 모듈(10)은 얼굴영역의 밝기에 대응하는 노출조건으로 노출이 설정된다. When the metering is completed, the controller 20 proceeds to set exposure of the camera module 10 under an exposure condition corresponding to the measured brightness (S219). Under the control of the controller 20, the camera module 10 is set to an exposure condition corresponding to the brightness of the face area.

노출 설정이 완료되면, 제어부(20)는 카메라 모듈(10)로부터 생성된 이미지를 입력받는다(S221). 이때 제어부(20)는 얼굴영역에 노출이 맞추어진 이미지를 입력받을 수 있다.When the exposure setting is completed, the control unit 20 receives an image generated from the camera module 10 (S221). In this case, the controller 20 may receive an image in which the exposure is adjusted to the face area.

이미지가 입력되면, 제어부(20)는 입력 이미지에서 얼굴영역을 추출하여 얼굴인식을 진행한다(S223). 입력 이미지가 얼굴영역에 노출이 맞추어진 이미지이므로 제어부(20)는 정확하게 얼굴의 특징정보를 추출하여 얼굴인식을 수행할 수 있다. 얼굴인식 과정은 하기에서 상세하게 설명된다. When the image is input, the controller 20 extracts a face region from the input image and performs face recognition (S223). Since the input image is an image in which the exposure is matched to the face area, the controller 20 may extract face feature information accurately and perform face recognition. The facial recognition process is described in detail below.

얼굴인식이 완료되면, 제어부(20)는 전술한 일력의 얼굴인식의 종료 요구를 확인한다(S239). 그리고 종료 요구가 확인되면 얼굴인식을 종료하고 그렇지 않으면 이미지 입력 과정(S205)부터 다시 진행한다.When the face recognition is completed, the control unit 20 confirms the end of the face recognition request of the above-described work (S239). If the end request is confirmed, the face recognition is terminated. Otherwise, the process proceeds again from the image input process S205.

도 3은 본 발명의 제1 실시예에 따른 얼굴인식 방법에서 얼굴인식 과정을 보 여주는 흐름도이다. 3 is a flowchart illustrating a face recognition process in the face recognition method according to the first embodiment of the present invention.

도 3을 참조하면, 얼굴인식 과정(S223)에서, 먼저 제어부(20)는 입력 이미지에서 얼굴영역을 추출한다(S224). 얼굴영역 추출부(23)가 윤곽선, 피부 색상, 질감, 템플리트 등을 이용하여 얼굴영역을 추출할 수 있다.Referring to FIG. 3, in the face recognition process (S223), first, the controller 20 extracts a face region from the input image (S224). The face region extractor 23 may extract a face region by using an outline, skin color, texture, template, and the like.

이어서 제어부(20)는 추출된 얼굴영역이 존재하는가를 확인한다(S226). 만일 추출된 얼굴영역이 없으면 제어부(20)는 얼굴인식을 종료한다. 그리고 추출된 얼굴영역이 존재하면, 제어부(20)는 추출된 얼굴영역에서 얼굴특징정보를 추출한다(S228). 특징정보 추출부(25)가 주성분 분석이나 템플리트 매칭에 의해 얼굴특징정보를 추출할 수 있다.Subsequently, the controller 20 checks whether the extracted face region exists (S226). If there is no extracted face area, the controller 20 ends face recognition. If the extracted face area exists, the controller 20 extracts face feature information from the extracted face area (S228). The feature information extractor 25 may extract facial feature information by principal component analysis or template matching.

이어서 제어부(20)는 추출된 얼굴특징정보와 얼굴 데이터베이스(31)에 저장된 얼굴특징정보를 비교하여 등록된 얼굴인지를 판별한다(S230). 기 등록된 얼굴특징정보와 일치하면 등록된 얼굴임을 표시부(50)에 출력한다(S234). 이때 제어부(20)는 해당 얼굴의 이미지나 관련정보 등을 함께 표시부(50)에 표시할 수 있다. 프리뷰 과정에서 얼굴인식모드가 수행된 경우 제어부(20)는 프리뷰 화면 데이터와 함께 얼굴인식 결과를 프리뷰 화면으로 표시할 수 있다.Subsequently, the controller 20 compares the extracted facial feature information with the facial feature information stored in the face database 31 to determine whether the face is a registered face (S230). If it matches the registered facial feature information, and outputs the registered face to the display unit 50 (S234). In this case, the controller 20 may display an image or related information of the corresponding face on the display unit 50. When the face recognition mode is performed in the preview process, the controller 20 may display the face recognition result along with the preview screen data on the preview screen.

한편, 미등록 얼굴로 판별되면, 제어부(20)는 미등록 얼굴임을 표시부(50)에 출력한다(S232). 이때 제어부(20)는 얼굴을 등록할 것인지 화면 표시를 통하여 안내하고 얼굴 등록의 요구를 판단할 수 있다(S236), 얼굴 등록요구가 있으면 얼굴 데이터베이스(31)에 등록할 수 있다(S238). 등록 요구가 없으면 다음 과정이 진행된다. 한편, 얼굴 등록 요구를 확인하는 과정(S236)과 얼굴 데이터베이스에 등록하 는 과정(S238)은 생략될 수 있다.On the other hand, if it is determined that the face is not registered, the control unit 20 outputs the unregistered face to the display unit 50 (S232). In this case, the controller 20 may guide the screen through whether to register a face and determine a request for face registration (S236). If there is a face registration request, the controller 20 may register the face database 31 (S238). If there is no registration request, the following process proceeds. Meanwhile, a process of confirming a face registration request (S236) and a process of registering a face database (S238) may be omitted.

전술한 바와 같은 본 발명에 따른 제1 실시예의 얼굴인식 방법은 입력 이미지에서 얼굴영역을 추출하고 그 얼굴영역에 대응되는 노출조건을 설정한 후 다음 입력되는 이미지로 얼굴인식을 한다. 얼굴을 기준으로 노출이 설정된 이미지를 입력받아 얼굴인식을 하므로 얼굴인식의 정확도가 높아지고 얼굴인식률이 좋아진다. 한편 전술한 얼굴인식 방법은 얼굴인식 모드의 종료 요구가 있을 때까지 이미지 입력 과정(S205)에서 얼굴인식 과정(S223)까지를 1주기(1cycle)로 하여 반복 수행될 수 있다.In the face recognition method according to the first embodiment of the present invention as described above, the face region is extracted from the input image, the exposure condition corresponding to the face region is set, and the face recognition is performed with the next input image. Face recognition is received by receiving an image with the exposure set based on the face, which increases the accuracy of face recognition and improves the face recognition rate. Meanwhile, the aforementioned face recognition method may be repeatedly performed with one cycle from the image input process S205 to the face recognition process S223 until the end of the face recognition mode request.

도 4는 본 발명의 제1 실시예에 따른 얼굴인식 방법을 보여주는 개념도이다.4 is a conceptual diagram illustrating a face recognition method according to a first embodiment of the present invention.

예를 들어, 실제 얼굴인식 환경이 매우 밝다고 가정하자. 제어부(20)는 피사체 전체가 밝기 때문에 전체적으로 선명한 이미지를 얻기 위하여 카메라 모듈(10)을 제어하여 입력 이미지의 노출 설정을 어둡게 한다. 이에 따라 얼굴의 밝기가 실제 환경에서보다 어둡게 나온다. For example, suppose the real face recognition environment is very bright. The controller 20 darkens the exposure setting of the input image by controlling the camera module 10 in order to obtain an overall clear image because the entire subject is bright. As a result, the brightness of the face is darker than in the real environment.

도 4의 ⒜와 같은 피사체(91)에 대하여 카메라 모듈을 통하여 입력받으면 도 4의 ⒝에서 나타난 것과 같이 1차 입력 이미지(92)에서 얼굴 이미지는 어둡다. 이 이미지(92)에서 제어부(20)는 얼굴영역을 탐색한다. 탐색 후에 제어부(20)는 이미지 내에서 얼굴영역의 분포정보를 획득하고 도 4의 ⒞와 같이 측광 윈도우(Wpm)를 설정한다. 그리고 측광 윈도우(Wpm)에 대한 측광을 실시하고 2차 이미지를 입력받으면 도 4의 ⒟와 같이 노출이 얼굴영역에 맞추어진 2차 입력 이미지(93)를 얻을 수 있다. 이에 대한 얼굴인식을 하면, 정확인 얼굴특징정보의 추출이 가능하고 인 식률이 높아진다. When the object 91 as shown in FIG. 4 is input through the camera module, the face image is dark in the primary input image 92 as shown in FIG. 4. In this image 92, the control unit 20 searches for a face region. After the search, the controller 20 acquires distribution information of the face region in the image and sets the photometric window Wpm as shown in FIG. 4. When the photometric window Wpm is metered and the secondary image is input, as shown in FIG. 4, the secondary input image 93 whose exposure is matched to the face region may be obtained. When face recognition is performed, accurate facial feature information can be extracted and recognition rate is increased.

한편, 본 발명의 얼굴인식 방법은 얼굴 데이터베이스에 얼굴을 등록하는 과정이 선행되어야 한다. 이 과정이 하기에 설명된다.Meanwhile, in the face recognition method of the present invention, a process of registering a face in a face database must be preceded. This process is described below.

도 5는 본 발명의 제1 실시예에 따른 얼굴인식 방법에서 얼굴 등록 과정의 흐름도이다. 5 is a flowchart illustrating a face registration process in the face recognition method according to the first embodiment of the present invention.

도 5를 참조하면, 대기 모드(S301)의 수행 중에 제어부(20)는 사용자 선택에 따른 얼굴 등록 요구를 확인한다(S303). 얼굴의 등록 요구가 확인되면, 제어부(20)는 카메라 모듈을 활성화시켜 이미지를 입력받아 표시부(50)에 출력하는 프리뷰를 수행한다(S305). Referring to FIG. 5, while performing the standby mode S301, the controller 20 confirms a face registration request according to a user selection (S303). When the face registration request is confirmed, the controller 20 performs a preview of activating the camera module to receive an image and output the image to the display unit 50 (S305).

프리뷰 수행 중에, 제어부(20)는 키 입력부(40)에서 발생되는 촬영 키 입력을 확인한다(S307). 촬영 키 입력이 확인되면, 제어부(20)는 키 입력 시점에서 카메라 모듈(10)로부터 이미지 데이터를 입력받아 촬영 이미지로 표시부(50)에 출력한다(S309). 촬영 이미지의 출력은 사용자 선택이 있을 때까지 계속 진행된다.During the preview, the controller 20 checks the photographing key input generated by the key input unit 40 (S307). When the photographing key input is confirmed, the controller 20 receives image data from the camera module 10 at the key input time point and outputs the photographed image to the display unit 50 as a photographed image (S309). The output of the captured image continues until user selection is made.

이어서, 제어부(20)는 표시부(50)에 출력된 이미지에 대한 얼굴등록 요구를 확인한다(S311). 만약 등록 요구가 있는 것으로 확인되면, 제어부(20)는 입력 이미지에서 얼굴영역을 추출한다(S313). 그리고 제어부(20)는 얼굴영역에서 얼굴의 특징정보를 추출하고(S315), 그 특징정보가 얼굴 데이터베이스(31)에 등록되어있는지 판별한다(S317). 등록된 데이터가 없으면 제어부(20)는 얼굴특징정보를 얼굴 데이터베이스(31)에 등록한다(S319). 이때 얼굴 이미지나 식별 정보 및 관련 정보 등이 얼굴 데이터베이스(31)에 등록될 수 있다. 만일 기 등록된 데이터가 있으면 기 등 록 얼굴임을 알린다(S321).Subsequently, the controller 20 confirms a face registration request for the image output to the display unit 50 (S311). If it is determined that there is a registration request, the controller 20 extracts a face region from the input image (S313). The controller 20 extracts feature information of the face from the face region (S315), and determines whether the feature information is registered in the face database 31 (S317). If there is no registered data, the controller 20 registers facial feature information to the face database 31 (S319). In this case, a face image, identification information, and related information may be registered in the face database 31. If there is already registered data, it informs that it is a registered face (S321).

한편, 본 발명의 얼굴인식 방법은 전술한 제1 실시예와 달리 자동노출에 의해 이미지를 입력받아 얼굴인식을 먼저 실행하고, 얼굴 데이터베이스에 미등록된 얼굴로 판정될 경우 얼굴에 대한 측광 및 그에 대응되는 노출조건을 설정한 후 다음 입력 이미지를 얼굴인식 하는 것도 가능하다. 이와 같은 실시예를 하기에서 설명한다. 단 하기 설명에서는 전술한 제1 실시예의 설명과 중복되는 설명은 그 기재를 생략한다.On the other hand, unlike the first embodiment described above, the face recognition method of the present invention receives an image by automatic exposure and performs face recognition first, and when it is determined that the face is not registered in the face database, the metering of the face and its corresponding After setting the exposure conditions, it is also possible to face-detect the next input image. Such an embodiment is described below. In the following description, the description overlapping with the description of the first embodiment will be omitted.

도 6은 본 발명의 제2 실시예에 따른 얼굴인식 방법을 보여주는 흐름도이다. 6 is a flowchart illustrating a face recognition method according to a second embodiment of the present invention.

도 6을 참조하면, 대기모드(S401)에서 제어부(20)는 키 입력에 따라 얼굴인식모드에 대한 요구를 확인한다(S403). 얼굴인식모드에 대한 요구가 확인되면, 제어부(20)는 카메라 모듈 기능을 활성화하고 그 카메라 모듈을 통하여 이미지를 입력받는다(S405). 이 과정에서 제어부(20)는 자동노출 기능에 의해 피사체 전체를 자동노출 목표로 설정하고 측광하여 이미지를 입력받는다.Referring to FIG. 6, in the standby mode S401, the controller 20 confirms a request for the face recognition mode according to a key input (S403). When the request for the face recognition mode is confirmed, the controller 20 activates the camera module function and receives an image through the camera module (S405). In this process, the control unit 20 sets the entire subject as an autoexposure target by the autoexposure function and performs light metering to receive an image.

이미지가 입력되면, 제어부(20)는 입력 이미지에서 얼굴영역을 추출한다(S407). 그리고 제어부(20)는 추출된 얼굴영역이 존재하는가를 확인한다(S409). 만일 추출된 얼굴영역이 존재하지 않는 것으로 확인되면 이미지를 입력받는 과정(S405)을 다시 진행한다. 그리고 입력 이미지에 얼굴영역이 존재하는 것으로 확인되면, 제어부(20)는 입력 이미지의 얼굴영역에서 얼굴특징정보를 추출한다(S411).When the image is input, the controller 20 extracts a face region from the input image (S407). The controller 20 checks whether the extracted face region exists (S409). If it is determined that the extracted face region does not exist, the process of receiving an image (S405) is performed again. If it is determined that the face region exists in the input image, the controller 20 extracts face feature information from the face region of the input image (S411).

이어서, 추출된 얼굴특징정보를 얼굴 데이터베이스(31)의 데이터와 비교하여 등록 얼굴인지 판별한다(S413). 판별 결과 등록 얼굴로 확인되면, 등록 얼굴임을 표시부(50)에 출력한다(S415). 이때 제어부(20)는 해당 얼굴의 이미지나 관련정보를 함께 출력할 수 있다. Next, the extracted facial feature information is compared with the data of the face database 31 to determine whether it is a registered face (S413). If the determination result is the registered face, the face is output to the display unit 50 (S415). In this case, the controller 20 may output an image or related information of the corresponding face.

그리고 판별 결과 미등록 얼굴로 확인되면, 제어부(20)는 미등록 판별 차수가 2이하인지 판단한다(S417). 여기서, 미등록 판별 차수는 필요에 따라 증감될 수 있다. 이 과정에서 2이하로 판별되면, 제어부(20)는 이미지 내에서 얼굴영역의 분포 정보(위치, 크기 등)를 산출한다(S419). 그리고 제어부(20)는 산출된 얼굴영역의 분포 정보에 대응되는 측광 윈도우를 설정한다(S421). 이어서 측광 윈도우 정보를 카메라 모듈(10)로 전달하여 피사체 부분의 밝기를 측정하는 측광을 실시한다(S423). If the determination result is that the face is not registered, the control unit 20 determines whether an unregistered determination order is 2 or less (S417). Here, the unregistered determination order may be increased or decreased as necessary. If it is determined to be 2 or less in this process, the control unit 20 calculates distribution information (position, size, etc.) of the face area in the image (S419). The control unit 20 sets a photometric window corresponding to the calculated distribution information of the face area (S421). Subsequently, the photometric window information is transmitted to the camera module 10 to perform photometry for measuring the brightness of the subject part (S423).

측광이 완료되면, 제어부(20)는 측광 결과에 대응하는 노출조건으로 노출이 설정되게 카메라 모듈을 제어한다(S425). 제어부(20)에 의해 카메라 모듈은 얼굴영역의 밝기에 대응하는 노출조건이 설정된다. 이후에 진행되는 얼굴인식의 종료 요구를 확인하는 과정(S429)에서 종료 요구가 없으면, 제어부(20)는 카메라 모듈에서 이미지를 입력받는 과정(S405)에서 얼굴 데이터베이스에 등록된 얼굴인지를 판별하는 과정(S413)까지 다시 수행한다. 이와 같은 과정을 다시 수행함으로써 이미지 내의 얼굴에 대한 얼굴 재인식이 이루어진다. 한편, 미등록 판별 차수가 2이하인지 판별하는 과정(S417)에서 2로 확인되면 제어부(20)는 미등록 얼굴임을 표시한다(S427). 그리고 얼굴인식의 종료 요구를 확인하는 과정(S429)에서 종료 요구가 있으면 얼굴인식이 종료된다.When the metering is completed, the control unit 20 controls the camera module to set the exposure to the exposure condition corresponding to the metering result (S425). The controller 20 sets the exposure conditions corresponding to the brightness of the face area. If there is no termination request in the process of checking the end of the face recognition request (S429), the controller 20 determines whether the face is registered in the face database in the process of receiving an image from the camera module (S405) Repeat until (S413). By performing the above process again, face recognition is performed on the face in the image. On the other hand, if it is determined to be 2 in the process of determining whether the unregistered determination order is 2 or less (S417), the control unit 20 displays that it is an unregistered face (S427). If there is an end request in the process of confirming the end request of the face recognition (S429), the face recognition ends.

상기에서 본 발명에 따른 얼굴인식 방법의 제2 실시예를 설명하였다. 본 발명의 얼굴인식 방법은 제1 실시예와 달리 먼저 입력된 이미지에 대한 얼굴 인식 후에 미등록 얼굴로 판별되었을 때 얼굴을 기준으로 일정 수준의 노출 보정을 하여 얼굴인식을 다시 진행한다. 이에 따라 얼굴인식의 정확도가 높아지고 얼굴인식률이 좋아질 수 있다. 한편, 본 발명에 따른 얼굴인식 방법은 미리 설정된 노출 보정값에 따라 하기 제3 실시예와 같이 노출 보정을 하여 얼굴인식을 진행할 수 있다. The second embodiment of the face recognition method according to the present invention has been described above. Unlike the first embodiment, the face recognition method of the present invention performs face recognition again by performing a certain level of exposure correction on the basis of the face when it is determined as an unregistered face after face recognition on the input image. Accordingly, the accuracy of face recognition can be improved and the face recognition rate can be improved. In the meantime, in the face recognition method according to the present invention, face recognition may be performed by performing exposure compensation according to the preset exposure compensation value as in the third embodiment.

도 7은 본 발명의 제3 실시예에 따른 얼굴인식 방법을 보여주는 흐름도이다. 7 is a flowchart illustrating a face recognition method according to a third embodiment of the present invention.

도 7을 참조하면, 대기 모드(S501)에서 제어부(20)는 키 입력에 따라 얼굴인식 요구를 확인한다(S503). 얼굴인식 요구가 확인되면, 제어부(20)는 카메라 모듈 기능을 활성화하여 이미지를 입력 받는다(S505). Referring to FIG. 7, in the standby mode S501, the controller 20 confirms a face recognition request according to a key input (S503). When the face recognition request is confirmed, the controller 20 activates the camera module function to receive an image (S505).

이어서, 제어부(20)는 입력 이미지에서 얼굴영역을 추출한다(S509). S511 과정에서 제어부(20)가 추출된 얼굴영역이 존재하는가를 확인하여 입력 이미지에 얼굴영역이 존재하면 제어부(20)는 얼굴영역에서 얼굴의 특징정보를 추출한다(S513). 얼굴영역이 존재하지 않으면, 제어부(20)는 이미지를 입력받는 과정(S505)에서 다시 진행한다.Subsequently, the controller 20 extracts a face region from the input image (S509). In operation S511, the controller 20 determines whether the extracted face region exists, and if the face region exists in the input image, the controller 20 extracts feature information of the face from the face region (S513). If the face area does not exist, the controller 20 proceeds again in step S505 of receiving an image.

얼굴특징정보가 추출되면, 제어부(20)는 추출된 특징정보와 얼굴 데이터베이스(31)에 저장되어 있는 데이터를 비교하여 입력 이미지 내의 얼굴이 얼굴 데이터베이스(31)에 등록된 얼굴인지 판단한다(S515). 등록 얼굴로 확인되면, 제어부(20)는 등록 얼굴임을 표시부(50)에 출력한다(S517).When face feature information is extracted, the controller 20 compares the extracted feature information with data stored in the face database 31 to determine whether a face in the input image is a face registered in the face database 31 (S515). . If it is confirmed that the registered face, the control unit 20 outputs the registered face to the display unit 50 (S517).

만일 미등록 얼굴로 판별되면, 제어부(20)는 보정차수가 설정차수 이하인지 확인한다(S519). 여기서, 설정차수는 얼굴인식모드에 관한 설정항목으로 제공되어 사용자 선택될 수 있다. 또는 얼굴인식장치의 제조 단계에서 디폴트(default)로 제공될 수 있다. If it is determined that the face is not registered, the controller 20 checks whether the correction order is less than or equal to the set order (S519). Here, the setting order may be provided as a setting item for the face recognition mode and may be selected by the user. Alternatively, it may be provided as a default at the manufacturing stage of the face recognition device.

보정차수가 설정차수 이하이면 제어부(20)는 추출된 얼굴영역의 밝기를 산출하고(S521), 산출된 밝기를 기준으로 노출 보정값을 산출한다(S523). 노출 보정값이 산출되면, 제어부(20)는 노출 보정값을 자동노출에 의한 노출값에 가산 또는 감산하는 노출을 보정하는 노출 설정 제어를 한다(S525). 노출 보정값 산출 과정에 대하여는 하기에서 다시 상세하게 설명한다. If the correction order is less than or equal to the set order, the controller 20 calculates the brightness of the extracted face region (S521) and calculates an exposure correction value based on the calculated brightness (S523). When the exposure compensation value is calculated, the control unit 20 performs exposure setting control for correcting the exposure of adding or subtracting the exposure compensation value to the exposure value by automatic exposure (S525). The exposure compensation value calculation process will be described later in detail.

한편, S519 과정에서 제어부(20)는 보정차수가 설정차수이면 미등록 얼굴임을 알린다(S527). 그리고 노출 보정값을 0으로 설정한다(S529). Meanwhile, in step S519, the controller 20 notifies that the face is unregistered if the correction order is the set order (S527). The exposure compensation value is set to 0 (S529).

이어서, 제어부(20)는 얼굴인식의 종료 요구가 있는지 확인한다(S531). 종료 요구가 없으면, 제어부(20)는 이미지를 입력받는 과정(S505)에서부터 다시 동작을 수행한다. 미등록 얼굴인 경우 설정차수까지 노출 보정이 진행되어 얼굴특징정보의 오염이 방지된 입력 이미지에 대한 얼굴 재인식을 할 수 있다.Subsequently, the controller 20 checks whether there is a request for terminating face recognition (S531). If there is no termination request, the control unit 20 performs the operation again from the process of receiving an image (S505). In the case of an unregistered face, exposure compensation is performed up to a set order to recognize the face of the input image in which contamination of the facial feature information is prevented.

전술한 제3 실시예의 얼굴인식 방법은 미등록 얼굴로 판별 시에 미리 설정된 조건의 노출 보정값을 반영하여 노출조건을 설정한 후 이미지를 새로이 입력받아 얼굴인식을 다시 진행한다. 이와 같은 얼굴 재인식은 노출보정의 차수가 설정차수가 되었는지 확인하는 방법으로 미리 설정된 회수만큼 반복적으로 수행될 수 있다. 반복적인 노출 보정 및 얼굴 재인식에 의해 얼굴 인식의 정확도가 향상될 수 있다. 하기에서는 전술한 제3 실시예의 얼굴인식 방법에서 이미지를 입력받는 과정에 대 하여 하기에서 좀 더 상세하게 설명한다.In the above-described face recognition method according to the third embodiment, the exposure condition value is set by reflecting the exposure compensation value of a preset condition when discriminating as an unregistered face, and the face recognition is performed again by receiving a new image. Such face re-recognition may be repeatedly performed a predetermined number of times in a manner of checking whether the degree of exposure compensation has been set. Repetitive exposure correction and face recognition may improve the accuracy of face recognition. Hereinafter, a process of receiving an image in the face recognition method of the above-described third embodiment will be described in more detail below.

도 8은 본 발명의 제3 실시예에 따른 얼굴인식 방법에서 이미지 입력 과정의 세부 흐름도이다. 8 is a detailed flowchart of an image input process in the face recognition method according to the third embodiment of the present invention.

도 8을 참조하면, 제어부(20)는 이미지 입력 과정에서 피사체 전체를 자동노출 목표로 설정하고 측광하여 노출값을 산출한다(S551). 입력 이미지 전체의 밝기 평균에 대응되는 노출값을 산출할 수도 있다. 이때 노출값을 자동 노출값이라 칭한다.Referring to FIG. 8, the controller 20 sets an entire subject as an autoexposure target in the image input process and performs light metering to calculate an exposure value (S551). An exposure value corresponding to the average brightness of the entire input image may be calculated. At this time, the exposure value is called an automatic exposure value.

이어서, 제어부(20)는 노출 보정이 있는 지를 확인한다(S53). 노출 보정이 있는 경우, 제어부(20)는 자동 노출값에 미리 설정된 노출 보정값을 가산 또는 감산하여 노출 설정을 한다(S555). 자동 노출값을 산출하는 과정을 생략하고 이전에 구해진 자동 노출값에 노출 보정값을 가산 또는 감산하여 노출보정을 할 수도 있다. 만일 S553과정에서 노출 보정이 없는 경우 제어부(20)는 자동 노출값으로 노출을 설정한다(S557). 노출 설정이 완료되면, 제어부(20)는 카메라 모듈을 제어하여 이미지를 생성하고(S559) 그 이미지를 입력받는다(S561).Next, the controller 20 checks whether there is exposure compensation (S53). If there is exposure compensation, the controller 20 adds or subtracts a preset exposure compensation value to the automatic exposure value to set the exposure (S555). The exposure compensation may be performed by omitting the process of calculating the automatic exposure value and adding or subtracting the exposure compensation value to the previously obtained automatic exposure value. If there is no exposure compensation in step S553, the control unit 20 sets the exposure to the automatic exposure value (S557). When the exposure setting is completed, the controller 20 generates an image by controlling the camera module (S559) and receives the image (S561).

상기한 제3 실시예의 얼굴인식 방법에서 노출 보정값 설정 과정에 대하여 하기에서 좀 더 상세하게 설명한다. 단 하기에서, 일반 평균 노출값은 일반적인 사진의 밝기값에 대한 통계에 의해 결정되는 평균 노출값을 의미한다. 그리고 얼굴 데이터베이스의 평균 노출값은 얼굴 데이터베이스에 등록된 얼굴들의 밝기에 대한 평균값에 대응하는 노출값을 의미한다.The exposure compensation value setting process in the face recognition method of the third embodiment will be described in more detail below. In the following description, the average average exposure value refers to an average exposure value determined by statistics on brightness values of a general picture. The average exposure value of the face database means an exposure value corresponding to an average value of brightnesses of faces registered in the face database.

도 9는 본 발명의 제3 실시예에 따른 얼굴인식 방법에서 노출 보정값 설정 과정의 세부 흐름도이다.9 is a detailed flowchart of an exposure compensation value setting process in the face recognition method according to the third embodiment of the present invention.

도 9를 참조하면, 노출 보정값을 설정하는 과정(S521)에서, 제어부(20)는 얼굴영역의 밝기에 해당되는 노출값을 산출한다(S571). 그리고 제어부(20)는 미리 설정된 노출 보정의 형태가 정량 노출 보정인지를 판별한다(S573). 정량 노출 보정으로 설정되어 있으면, 제어부(20)는 미리 설정된 노출 보정 수준으로 노출 보정값으로 설정한다(S575). Referring to FIG. 9, in operation S521 of setting an exposure correction value, the controller 20 calculates an exposure value corresponding to brightness of a face area (S571). The controller 20 determines whether the preset exposure compensation form is a quantitative exposure compensation (S573). If it is set to quantitative exposure compensation, the control unit 20 sets the exposure compensation value to the preset exposure compensation level (S575).

한편, 설정된 노출 보정 형태가 정량 보정이 아닌 것으로 판별되면, 제어부(20)는 노출 보정 형태의 설정이 일반평균 보정인지 확인한다(S577). 만일 일반평균 보정이면 제어부(20)는 일반평균 노출값에서 S571과정에서 산출된 노출값을 감산하여 차이값을 산출한다(S579). 그리고 보정 형태가 일반평균 노출이 아니면, 얼굴 데이터베이스(31)의 평균 노출값에서 S571과정에 의해 산출된 보정값을 감산하여 차이값을 산출한다(S581).On the other hand, if it is determined that the set exposure correction form is not quantitative correction, the controller 20 checks whether the setting of the exposure correction form is a general average correction (S577). If the average correction is normal, the controller 20 calculates a difference value by subtracting the exposure value calculated in step S571 from the general average exposure value (S579). If the correction form is not the average average exposure, the difference value is calculated by subtracting the correction value calculated by the S571 process from the average exposure value of the face database 31 (S581).

차이값의 산출이 완료되면, 제어부(20)는 미리 설정된 노출보정 수준이 설정 비율 보정인지 확인한다(S567). 설정 비율 보정으로 확인되면, 차이값에서 미리 설정된 비율에 해당하는 노출값을 노출 보정값으로 설정한다(S585). 얼굴 재인식이 반복적으로 이루어질 때마다 이미지 전체 노출값과 얼굴영역 노출값의 차에서 설정 비율씩 단계적으로 증가 또는 감소된다. 한편, 설정 비율 보정이 아니면 제어부(20)는 차이값을 노출 보정값으로 설정한다(S569). When the calculation of the difference value is completed, the controller 20 checks whether the preset exposure compensation level is set ratio correction (S567). If it is confirmed by the set ratio correction, the exposure value corresponding to the preset ratio from the difference value is set as the exposure compensation value (S585). Each time the face re-recognition is repeatedly performed, it increases or decreases step by step in the difference between the total image exposure value and the face region exposure value. On the other hand, if it is not the set ratio correction, the control unit 20 sets the difference value to the exposure correction value (S569).

예를 들어, 노출 보정 형태가 정량 보정으로 설정되어 있다고 가정하자. 그리고 일반 평균 노출값이 135이고 얼굴영역 기준의 노출값이 145이며 설정 노출 보 정 정도가 5라고 가정하자. 제어부(20)는 일반 평균 노출값 135에서 얼굴영역 기준의 노출값 145를 뺀다. 이때 차이값은 -10이 된다. 음의 차이값이므로 제어부(20)는 -5를 노출 보정값으로 설정되어 자동 노출값에서 5만큼 어두워진 노출값으로 다음 이미지를 입력받게 된다.For example, assume that the exposure compensation form is set to quantitative correction. Assume that the average exposure value is 135, the exposure value based on the face area is 145, and the set exposure compensation level is 5. The controller 20 subtracts the exposure value 145 based on the face area from the general average exposure value 135. The difference is -10. Since the negative difference value, the control unit 20 sets -5 as the exposure compensation value and receives the next image as the exposure value darkened by 5 from the automatic exposure value.

상기에서 소개한 실시예들에서 알 수 있듯이, 본 발명의 얼굴인식 방법과 장치는 연속 입력되는 이미지를 이용하여 얼굴의 밝기에 맞게 설정된 이미지로 얼굴인식을 한다. 또는 얼굴을 기준으로 노출 설정하여 얻어진 이미지로 미등록 얼굴에 대하여 얼굴인식을 다시 진행한다. 피사체 전체의 밝기에 의한 얼굴영역의 특징정보 오염이 최소화될 수 있어 정확한 얼굴인식 결과가 얻어질 수 있다. 통상적으로 카메라 모듈에서 10-15frame/sec의 속도로 이미지가 출력된다. 0.067-0.1초에 1프레임의 이미지씩 출력된다. 따라서 연속 입력되는 이미지로 동일인에 대한 얼굴인식이 가능하다. 이미지를 입력받는 속도는 사람의 이동속도, 얼굴인식의 반복 회수, 노출보정 회수 등을 고려하여 적절하게 설정될 수 있다. 입력 이미지에 복수의 얼굴이 존재하는 경우 각각의 얼굴에 대하여 순차적으로 얼굴인식을 진행될 수 있다.As can be seen from the above-described embodiments, the face recognition method and apparatus of the present invention recognizes the face with an image set according to the brightness of the face using a continuous input image. Alternatively, face recognition is performed again on an unregistered face with an image obtained by setting exposure based on a face. Contamination of characteristic information of the face region by the brightness of the entire subject can be minimized, so that accurate face recognition results can be obtained. Typically, an image is output at a speed of 10-15 frames / sec from the camera module. Images are displayed one frame at 0.067-0.1 seconds. Therefore, it is possible to recognize the face of the same person as a continuous input image. The speed at which the image is input may be appropriately set in consideration of the moving speed of the person, the number of times of face recognition, the number of exposure compensation, and the like. When a plurality of faces exist in the input image, face recognition may be sequentially performed for each face.

한편 상기에서 본 발명에 따른 얼굴인식 방법과 장치의 실시예들에 대하여 설명하였다. 그러나 본 발명의 얼굴인식 방법과 장치는 전술한 실시예에 한정되지 않는다. 본 발명의 기술 사상을 벗어나지 않는 범위 내에서 다양한 변형 실시가 가능하다. Meanwhile, the embodiments of the face recognition method and apparatus according to the present invention have been described above. However, the face recognition method and apparatus of the present invention are not limited to the above-described embodiment. Various modifications can be made without departing from the spirit of the invention.

예를 들어, 본 발명의 얼굴 인식 장치는 디지털 카메라, 보안 카메라나 카메 라 모듈을 갖는 휴대 단말기에 적용될 수 있다. 여기서, 카메라 모듈을 구비하는 휴대 단말기는 이동통신 단말기, 이동 전화기, 개인정보 단말기(PDA, Personal Digital Assistant), 스마트 폰(Smart Phone), IMT-2000(International Mobile Telecommunication 2000) 단말기, UMTS(Universal Mobile Telecommunication Service) 단말기, 디지털 방송(Digital Broadcasting) 단말기, 노트북(Notebook) 및 퍼스널 컴퓨터(Personal Computer) 등과 같은 정보통신기기 및 멀티미디어 기기 등을 포함한다.For example, the face recognition apparatus of the present invention can be applied to a portable terminal having a digital camera, a security camera or a camera module. Here, the mobile terminal having a camera module includes a mobile communication terminal, a mobile phone, a personal digital assistant (PDA), a smart phone, an IMT-2000 (International Mobile Telecommunication 2000) terminal, and a UMTS (Universal Mobile). Telecommunication service terminals, digital broadcasting terminals, information communication devices such as notebooks and personal computers, and multimedia devices.

이와 같은 사실은 본 발명이 속하는 기술 분야에 종사하는 자라면 쉽게 알 수 있을 것이다. 따라서 본 발명의 범위는 앞에서 설명된 실시예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.Such facts will be readily apparent to those skilled in the art. Therefore, the scope of the present invention should not be limited to the embodiments described above, but should be defined not only by the claims below but also by the equivalents of the claims.

이상에서 살펴본 바와 같이, 본 발명에 의한 얼굴인식 방법과 장치에 따르면, 실제 환경에서 카메라 모듈로부터 들어오는 이미지의 밝기가 얼굴 기준으로 설정되어 얼굴인식에 필요한 특징정보의 오염을 최소화할 수 있다. 따라서 얼굴인식의 정확도와 인식률이 향상되어 관련 어플리케이션 동작이 원활하게 수행될 수 있다.As described above, according to the face recognition method and apparatus according to the present invention, the brightness of an image coming from a camera module in a real environment is set as a face reference to minimize contamination of feature information required for face recognition. Therefore, the accuracy and recognition rate of face recognition can be improved, so that related application operations can be performed smoothly.

Claims (18)

카메라 모듈로부터 입력되는 이미지의 얼굴인식 방법에 있어서,In the face recognition method of the image input from the camera module, 상기 카메라 모듈로부터 이미지를 입력받아 얼굴영역을 탐색하는 탐색 과정과,A search process of searching for a face region by receiving an image from the camera module; 상기 탐색된 얼굴영역의 상기 이미지 내 분포 범위를 산출하는 산출 과정과, Calculating a distribution range in the image of the searched face region; 상기 산출된 얼굴영역의 분포 범위에 대응되는 피사체 부분의 밝기를 측정하는 측광 과정, 및 A photometric process of measuring brightness of a subject part corresponding to the calculated distribution range of the face region; and 상기 측정된 밝기에 대응하는 노출조건을 설정하고 상기 설정된 노출조건으로 이미지를 입력받아 얼굴을 식별하는 얼굴인식 과정을 포함하는 것을 특징으로 하는 얼굴인식 방법.And a face recognition process of setting an exposure condition corresponding to the measured brightness and identifying a face by receiving an image under the set exposure condition. 제1 항에 있어서, 상기 탐색 과정은The method of claim 1, wherein the searching process is performed. 피사체 전체 밝기에 대응되는 노출조건을 설정하여 이미지를 입력받는 이미지 입력 과정과, An image input process for receiving an image by setting exposure conditions corresponding to the overall brightness of the subject; 상기 입력 이미지에서 얼굴영역을 탐색하는 얼굴영역 탐색 과정을 포함함을 특징으로 하는 얼굴인식 방법.And a face region searching process of searching for a face region in the input image. 제2 항에 있어서, 상기 이미지 입력 과정은The method of claim 2, wherein the image input process is performed. 상기 카메라 모듈로부터 프리뷰 이미지(preview image)를 입력받는 과정임을 특징으로 하는 얼굴인식 방법.Face recognition method characterized in that the process of receiving a preview image (preview image) from the camera module. 제1 항에 있어서, 상기 측광 과정은 The method of claim 1, wherein the photometric process is 상기 얼굴영역의 상기 이미지 내 분포 범위를 산출하는 산출 과정과, Calculating a distribution range in the image of the face region; 상기 얼굴영역의 이미지 내 분포 범위에 대응되는 측광 윈도우를 설정하는 과정, 및Setting a photometric window corresponding to a distribution range in the image of the face region, and 상기 측광 윈도우에 대응되는 피사체 부분의 밝기를 측정하는 과정을 포함함을 특징으로 하는 얼굴인식 방법.And measuring brightness of a subject part corresponding to the photometric window. 제4 항에 있어서, 상기 측광 윈도우를 설정하는 과정은The method of claim 4, wherein the setting of the photometric window is performed. 상기 얼굴영역의 분포 범위 내에 상기 얼굴영역의 크기보다 작은 측광 윈도우를 설정하는 과정임을 특징으로 하는 얼굴인식 방법.And a light metering window smaller than the size of the face area within the distribution range of the face area. 카메라 모듈로부터 입력되는 이미지의 얼굴인식 방법에 있어서,In the face recognition method of the image input from the camera module, 상기 카메라 모듈로부터 이미지를 입력받는 입력 과정과,An input process of receiving an image from the camera module; 상기 입력된 이미지에서 얼굴영역을 추출하여 기 등록 여부를 판별하는 얼굴인식 과정과,A face recognition process of extracting a face region from the input image to determine whether or not a face is registered; 미등록으로 판별 시, 상기 얼굴영역의 분포 범위에 대응되는 피사체 부분의 밝기를 측정하는 측광 과정, 및A metering process of measuring brightness of a subject part corresponding to a distribution range of the face area when discriminating as unregistered, and 상기 측정된 밝기에 대응되는 노출조건을 설정하고 상기 설정된 노출조건으로 이미지를 입력받아 상기 얼굴인식 과정을 다시 수행하는 얼굴 재인식 과정을 포함함을 특징으로 하는 얼굴인식 방법.And a face recognizing process of setting an exposure condition corresponding to the measured brightness and receiving an image under the set exposure condition and performing the face recognition process again. 제6 항에 있어서, 상기 입력 과정은The method of claim 6, wherein the input process 상기 카메라 모듈을 피사체 전체 밝기에 대응되는 노출조건으로 설정하는 자동노출 설정 과정과,An automatic exposure setting process of setting the camera module to an exposure condition corresponding to the entire brightness of the subject; 상기 노출조건에서 생성된 이미지를 입력받는 이미지 입력 과정을 포함하는 것을 특징으로 하는 얼굴인식 방법.And a face image input process of receiving an image generated under the exposure condition. 제7 항에 있어서, 상기 이미지 입력 과정은The method of claim 7, wherein the image input process 상기 카메라 모듈로부터 프리뷰 이미지를 입력받는 과정임을 특징으로 하는 얼굴인식 방법.Face recognition method characterized in that the process of receiving the preview image from the camera module. 제6 항에 있어서, 상기 측광 과정은 The method of claim 6, wherein the photometric process is 상기 얼굴영역의 이미지 내 분포 범위를 산출하는 산출 과정과, Calculating a distribution range in the image of the face region; 상기 얼굴영역의 이미지 내 분포 범위에 대응되는 측광 윈도우를 설정하는 과정, 및Setting a photometric window corresponding to a distribution range in the image of the face region, and 상기 측광 윈도우에 대응되는 피사체 부분의 밝기를 측정하는 과정임을 특징으로 하는 얼굴인식 방법.Face recognition method characterized in that the process of measuring the brightness of the subject portion corresponding to the metering window. 제9 항에 있어서, 상기 측광 윈도우를 설정하는 과정은The method of claim 9, wherein the setting of the photometric window is performed. 상기 얼굴영역의 분포 범위 내에 상기 얼굴영역의 크기보다 작은 측광 윈도우를 설정하는 과정임을 특징으로 하는 얼굴인식 방법.And a light metering window smaller than the size of the face area within the distribution range of the face area. 제6 항에 있어서, 상기 얼굴 재인식 과정은The method of claim 6, wherein the facial recognition process is performed. 상기 얼굴인식 과정을 다시 수행한 후에 미등록 얼굴로 판단되면 미등록 얼굴임을 알리는 과정을 포함하는 것을 특징으로 하는 얼굴인식 방법.And performing a face recognition process again, if it is determined that the face is not registered, informing that the face is an unregistered face. 카메라 모듈로부터 입력되는 이미지의 얼굴인식 방법에 있어서,In the face recognition method of the image input from the camera module, 상기 카메라 모듈로부터 이미지를 입력받는 입력 과정과,An input process of receiving an image from the camera module; 상기 입력된 이미지에서 얼굴영역을 추출하여 기 등록 여부를 판별하는 얼굴인식 과정과,A face recognition process of extracting a face region from the input image to determine whether or not a face is registered; 미등록으로 판별 시, 얼굴 데이터베이스의 얼굴 평균 밝기에 대응하는 노출값에서 상기 추출된 얼굴영역의 밝기에 대응하는 얼굴영역 노출값을 감산한 결과값에 해당하는 기 설정조건의 노출 보정값과 피사체 전체의 밝기에 대응되는 노출값을 합산하여 노출조건을 설정하고 상기 설정된 노출조건으로 이미지를 입력받아 상기 얼굴인식 과정을 다시 수행하는 얼굴 재인식 과정을 포함하는 것을 특징으로 하는 얼굴인식 방법.When it is determined as not registered, the exposure compensation value corresponding to the preset condition corresponding to the result of subtracting the exposure value of the face area corresponding to the brightness of the extracted face area from the exposure value corresponding to the face average brightness of the face database and the brightness of the entire subject And a face recognition process of setting an exposure condition by adding corresponding exposure values, receiving an image under the set exposure condition, and performing the face recognition process again. 삭제delete 제12 항에 있어서, 상기 얼굴 재인식 과정은The method of claim 12, wherein the facial recognition process 미리 설정된 회수만큼 반복 수행됨을 특징으로 하는 얼굴인식 방법.Face recognition method characterized in that it is repeatedly performed a predetermined number of times. 제14 항에 있어서, 상기 얼굴 재인식 과정은The method of claim 14, wherein the facial recognition process 반복 시마다 동일 노출 보정값을 단계적으로 가산 또는 감산함을 특징으로 하는 얼굴인식 방법.Face recognition method characterized in that the same exposure compensation value is added or subtracted step by step every iteration. 제14 항에 있어서, 상기 노출 보정 과정은 The method of claim 14, wherein the exposure compensation process is performed. 반복 시마다 이미지 전체 노출값과 얼굴영역 노출값의 차이에서 설정 비율씩 단계적으로 증가 또는 감소시킴을 특징으로 하는 얼굴인식 방법.Face recognition method characterized in that for each iteration it increases or decreases step by step in the difference between the total image exposure value and the face area exposure value. 카메라 모듈을 구비하는 얼굴인식 장치에 있어서, In the facial recognition device having a camera module, 이미지 전체 밝기와 이미지 내 얼굴영역의 밝기에 각각 대응되는 노출조건이 설정되게 상기 카메라 모듈을 제어하는 노출 제어부와,An exposure controller for controlling the camera module so that exposure conditions corresponding to the overall brightness of the image and the brightness of the face area in the image are set; 상기 카메라 모듈을 통하여 입력받은 이미지가 이미지 전체 밝기에 대응되는 노출조건으로 입력받은 이미지이면 얼굴영역을 추출하고 그 위치와 크기에 대응되는 피사체 부분의 밝기를 측정하여 그 밝기에 대응되는 노출조건이 설정되게 상기 노출 제어부를 제어하고, 이미지 내 얼굴영역의 밝기에 대응되는 노출조건으로 입력받은 이미지이면 얼굴을 인식하는 얼굴 인식부를 포함하는 것을 특징으로 하는 얼굴인식 장치.If the image inputted through the camera module is an image received as an exposure condition corresponding to the overall brightness of the image, the face region is extracted, and the exposure condition corresponding to the brightness is set by measuring the brightness of the subject part corresponding to the position and size. And a face recognition unit for controlling the exposure control unit and recognizing a face if the image is received under an exposure condition corresponding to the brightness of the face area in the image. 카메라 모듈을 구비하는 얼굴인식 장치에 있어서, In the facial recognition device having a camera module, 이미지 전체 밝기와 이미지 내 얼굴영역의 밝기에 각각 대응되는 노출조건이 설정되게 상기 카메라 모듈을 제어하는 노출 제어부와,An exposure controller for controlling the camera module so that exposure conditions corresponding to the overall brightness of the image and the brightness of the face area in the image are set; 상기 카메라 모듈을 통하여 입력받은 이미지에 대한 얼굴인식 결과가 미등록 얼굴이면 이미지 내 얼굴영역의 밝기에 대응되는 노출 조건으로 다음 이미지를 입력받아 얼굴인식을 다시 진행하는 얼굴 인식부를 구비하는 것을 특징으로 하는 얼굴인식 장치.If the face recognition result for the image received through the camera module is an unregistered face, a face recognition unit for receiving the next image under the exposure conditions corresponding to the brightness of the face area in the image and proceeding face recognition again, the face characterized in that Recognition device.
KR1020070039920A 2007-04-24 2007-04-24 Face detecting method and apparatus KR100901125B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070039920A KR100901125B1 (en) 2007-04-24 2007-04-24 Face detecting method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070039920A KR100901125B1 (en) 2007-04-24 2007-04-24 Face detecting method and apparatus

Publications (2)

Publication Number Publication Date
KR20080095441A KR20080095441A (en) 2008-10-29
KR100901125B1 true KR100901125B1 (en) 2009-06-08

Family

ID=40155100

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070039920A KR100901125B1 (en) 2007-04-24 2007-04-24 Face detecting method and apparatus

Country Status (1)

Country Link
KR (1) KR100901125B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101038726B1 (en) * 2009-03-18 2011-06-03 (주)에스엔알 High reliance auto surveillance method, device and system
KR102200950B1 (en) * 2014-03-14 2021-01-12 삼성전자주식회사 Object recognition apparatus and control method thereof
JP6699567B2 (en) * 2017-01-17 2020-05-27 トヨタ自動車株式会社 Imaging device
KR102322115B1 (en) * 2019-01-09 2021-11-04 엔트롤 주식회사 Apparatus and method for improving face recognition performance in accordance to outdoor illuminance variation
KR102099123B1 (en) * 2020-02-03 2020-04-09 김성 Control method of water sports device using artificial intelligence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003344891A (en) 2002-05-23 2003-12-03 Canon Inc Automatic photographing mode setting camera
KR20060031638A (en) * 2003-07-15 2006-04-12 오므론 가부시키가이샤 Object decision device and imaging device
KR20060048225A (en) * 2004-10-12 2006-05-18 삼성전자주식회사 Method and apparatus for person-based photo clustering in digital photo album, and person-based digital photo albuming method and apparatus using it
KR20070014058A (en) * 2005-07-26 2007-01-31 캐논 가부시끼가이샤 Image capturing apparatus and image capturing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003344891A (en) 2002-05-23 2003-12-03 Canon Inc Automatic photographing mode setting camera
KR20060031638A (en) * 2003-07-15 2006-04-12 오므론 가부시키가이샤 Object decision device and imaging device
KR20060048225A (en) * 2004-10-12 2006-05-18 삼성전자주식회사 Method and apparatus for person-based photo clustering in digital photo album, and person-based digital photo albuming method and apparatus using it
KR20070014058A (en) * 2005-07-26 2007-01-31 캐논 가부시끼가이샤 Image capturing apparatus and image capturing method

Also Published As

Publication number Publication date
KR20080095441A (en) 2008-10-29

Similar Documents

Publication Publication Date Title
US20230206685A1 (en) Decreasing lighting-induced false facial recognition
KR101005974B1 (en) Photographed body authenticating device, face authenticating device, portable telephone, photographed body authenticating unit, photographed body authenticating method and photographed body authenticating program
WO2015102361A1 (en) Apparatus and method for acquiring image for iris recognition using distance of facial feature
US8649575B2 (en) Method and apparatus of a gesture based biometric system
US8422746B2 (en) Face authentication system and authentication method thereof
KR100901125B1 (en) Face detecting method and apparatus
EP2336949B1 (en) Apparatus and method for registering plurality of facial images for face recognition
US20190205607A1 (en) Method and apparatus for detecting blink
CN105068646B (en) The control method and system of terminal
CN107835359B (en) Photographing triggering method of mobile terminal, mobile terminal and storage device
US10181073B2 (en) Technologies for efficient identity recognition based on skin features
CN104143086A (en) Application technology of portrait comparison to mobile terminal operating system
CN110188658A (en) Personal identification method, device, electronic equipment and storage medium
WO2014088125A1 (en) Image photographing device and method for same
CN111582118A (en) Face recognition method and device
JP5254897B2 (en) Hand image recognition device
KR20090132839A (en) System and method for issuing photo-id card
KR20090038110A (en) Mobile terminal capable face recognition and method for face recognition thereof
EP3358489A1 (en) Biometric authentication apparatus, biometric authentication method, and non-transitory computer-readable storage medium for storing program for biometric authentication
CN112115748B (en) Certificate image recognition method, device, terminal and storage medium
JP7269897B2 (en) Data registration device, biometric authentication device, and data registration program
KR20030012193A (en) Method of eye position detection for the image with various background
KR20110006062A (en) System and method for face recognition
KR20080104610A (en) A mobile terminal for photographing image by remote control and a method therefor
JP2009163422A (en) Image processing device, image processing method and image processing program

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
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130429

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140429

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20150429

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20160428

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20170427

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20180427

Year of fee payment: 10