KR100901125B1 - Face detecting method and apparatus - Google Patents
Face detecting method and apparatus Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; 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
도 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
카메라 모듈(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
저장부(30)는 얼굴 데이터베이스(31)를 저장하는 기능을 수행한다. 얼굴 데이터베이스(31)는 등록자의 얼굴특징정보 데이터를 가지며, 등록자의 얼굴 이미지나 관련 정보 데이터를 가질 수 있다. 얼굴 데이터베이스(31)는 제어부(20)의 제어 하에 데이터가 등록 또는 갱신될 수 있다. 그리고 저장부(30)는 얼굴인식 모드 시 얼굴영역을 검출하고, 얼굴영역의 밝기에 따라 노출을 자동으로 보정하기 위한 프로그램들과 데이터를 저장한다. 또한 저장부(30)는 카메라 모듈(10)로부터 입력되는 이미지의 처리를 위한 기억 장소를 제공한다. 그 밖에도 저장부(30)는 얼굴인식 장치(100)의 전반적인 동작을 제어하기 위한 각종 프로그램들과 데이터가 저장되며, 동작 중에 발생되는 데이터의 일시 저장 기능을 수행한다. 저장부(30)는 플래시 메모리, 하드디스크 등 다양한 기억 장치일 수 있다.The
키 입력부(40)는 키 입력에 따라 얼굴인식 장치(100)의 전체적인 동작에 관련된 명령 신호를 발생한다. 키 입력부는 숫자나 문자 정보를 입력하기 위한 키들 및 각종 기능들을 설정하기 위한 기능 키들을 포함한다. 키 입력부(40)는 키패드(key pad)나 터치스크린(touch screen) 및 터치 패드(touch pad) 등으로 구현될 수 있다. 여기서, 키 입력부(40)는 얼굴인식 모드의 진입을 위한 키와 촬영 모드에서 촬영을 위한 셔터 키 등을 포함할 수 있다.The
표시부(50)는 제어부(20)에 제어하여 영상 데이터를 화면으로 출력하는 기능을 수행한다. 표시부(50)에 의해 피사체의 촬영 영상이 화면으로 표시된다. 여기서, 피사체의 영상은 프리뷰 이미지(preview image)나 촬영 이미지 및 저장 이미지일 수 있다. 그 밖에도 표시부(50)는 얼굴인식 장치(100)의 조작과 동작 및 결과에 관한 정보를 표시할 수 있다. 표시부(50)는 LCD(Liquid Crystal Display), OLED(Organic Light Emitting Diodes), PDP(Plasma Display Panel) 등과 같은 디스플레이 장치로 구현될 수 있다.The
제어부(20)는 카메라 모듈(10)로부터 출력되는 이미지 신호를 이미지 데이터 로 변환하는 신호 처리부(미도시)를 가진다. 신호 처리부는 DSP(Digital Signal Processor)로 구현될 수 있다. 그리고 제어부(20)는 신호처리부에서 출력되는 이미지 데이터를 표시부(50)에 표시하기 위한 화면 데이터로 변환하는 이미지 처리부(미도시)를 가질 수 있다. 이미지 처리부에 의해 이미지의 크기 조정, 색변환, 이미지 압축 등이 수행된다. 또한 제어부(20)는 키 입력에 따라 얼굴인식 모드를 설정하고 카메라 모듈(10)을 통하여 입력되는 이미지를 표시부(50)에 출력되게 제어한다. 그 밖에도 제어부(20)는 얼굴인식 장치(100)의 전반적인 동작을 제어한다.The
특히 제어부(20)는 입력 이미지에서 얼굴영역의 탐색과 추출, 얼굴특징정보의 추출, 얼굴 데이터베이스에 기 등록 판별, 얼굴영역에 대한 밝기 연산, 노출 보정값 연산 및 노출 설정 제어를 수행한다. 이를 위하여, 제어부(20)는 노출 제어부(21)와 얼굴 인식부(22)를 가질 수 있다. 얼굴 인식부(22)는 얼굴영역 추출부(23), 얼굴영역 산출부(24), 특징정보 추출부(25), 등록 판별부(26) 등을 가질 수 있다.In particular, the
얼굴영역 추출부(23)는 입력 이미지에서 얼굴영역을 탐색 및 추출한다. 얼굴영역의 탐색 및 추출은 윤곽선, 피부 색상, 질감, 템플리트 등을 이용한 얼굴 추출 기술이 이용될 수 있다. 예를 들어, 얼굴영역 추출부는 입력 이미지에서 피부색을 이용하여 얼굴영역을 찾을 수 있다. 특징정보 추출부는 얼굴 색상을 강조하기 위한 변환기, 흑색과 백색을 강조하기 위한 변환기, 얼굴의 특징정보를 추출하기 위하여 특정 부분의 이미지를 향상시키는 전처리기, 얼굴영역과 배경영역을 분리하는 배경 라벨링(labeling)기 등을 포함할 수 있다.The
얼굴영역 산출부(24)는 얼굴영역 추출부(23)에 의해 입력 이미지에서 탐색된 얼굴영역의 이미지 내 분포 위치와 크기를 산출한다.The
특징정보 추출부(25)는 얼굴영역 추출부에 의해 추출된 얼굴영역에서 얼굴의 특징정보를 추출한다. 얼굴의 특징정보 추출은 잘 알려진 주성분 분석(Principal Component Analysis; PCA) 기술이나 템플리트 매칭(template matching) 기술을 이용할 수 있다. 예를 들어, 얼굴의 특징정보 추출은 설정된 얼굴영역으로 주성분 분석을 수행하여 다중 주성분 분석 벡터(Multiple PCA vector)를 추출하고 얼굴 이미지의 에지(edge) 분포를 분석하여 에지 분포 벡터(edge distribution vector)를 추출할 수 있다.The
등록 판별부(26)는 입력 이미지에서 추출된 얼굴의 특징정보와 얼굴 데이터베이스(31)에 저장된 얼굴의 특징정보를 비교하여 기 등록 여부를 판별하고 그 결과를 출력하는 기능을 수행한다.The
노출 제어부(21)는 카메라 모듈(10)의 영상 신호 처리부(12)를 제어하여 카메라 모듈(10)의 노출 설정을 제어하는 기능을 수행한다. 노출 제어부(21)는 카메라 모듈(10)에서 자동노출 목표로 설정될 측광 윈도우 정보를 카메라 모듈(10)로 전송하고 그 측광 결과에 따른 노출 설정을 제어한다. 여기서, 측광 윈도우 정보는 얼굴영역 산출부(24)에서 획득된 얼굴영역의 위치와 크기 정보일 수 있다. 또한 노출 제어부(21)는 입력 이미지에서 얼굴영역의 밝기를 산출하고 그 값을 기준으로 노출 보정값을 산정하여 카메라 모듈(10)의 노출 보정을 제어할 수 있다. 여기서, 얼굴영역의 밝기는 얼굴영역 내에 위치하는 픽셀들의 평균 휘도이다.The
그리고 노출 제어부(21)는 얼굴영역의 밝기를 기준으로 다음 입력 이미지의 노출 보정값을 산정하여 카메라 모듈(10)의 노출 설정을 제어한다. 여기서, 노출 보정값은 일반 평균 노출값 또는 얼굴 데이터베이스 평균 노출값과 얼굴영역의 밝기에 해당하는 노출값의 차에 해당하는 값, 또는 그 값의 일정 수준을 노출 보정값일 수 있다. 또는 노출 보정값은 미리 설정된 증감량 또는 증감비율의 노출값일 수 있다.The
지금까지 본 발명에 따른 얼굴인식 장치의 실시예에 대하여 설명하였다. 이하에서는 본 발명에 따른 얼굴인식 방법의 실시예를 설명하기로 한다.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
얼굴인식 요구가 확인되면, 제어부(20)는 카메라 모듈(10)의 기능을 활성화하여 이미지를 입력 받는다(S205). 이 과정에서 제어부(20)의 노출 제어부(21)는 자동노출(AE; Auto Exposure) 기능에 의해 피사체 전체의 밝기를 기준으로 노출조건을 설정하고 이미지를 입력 받는다. 노출조건의 설정은 피사체 전체를 대상으로 자동노출 목표를 설정하고 측광하여 설정할 수 있다. 예를 들어, 피사체에 대한 멀티 측광(multi photometry)을 실시하여 피사체 전체 밝기에 대응되는 노출조건을 설정할 수 있다. 여기서, 이미지 입력 과정은 카메라 촬영 모드의 프리뷰 (preview) 과정이나 보안 카메라에서 보안 인증을 위한 이미지 입력 과정일 수 있다. 한편, 제어부(20)는 사용자가 확인할 수 있게 입력 이미지를 표시부(50)에 출력할 수 있다. When the face recognition request is confirmed, the
이미지가 입력되면, 제어부(20)는 입력 이미지에서 얼굴영역을 탐색한다(S209). 앞에서 소개한 바와 같이, 제어부(20)는 윤곽선, 피부 색상, 질감, 템플리트 등을 이용한 얼굴 추출 기술을 적용하여 입력 이미지에서 얼굴영역을 탐색할 수 있다. 프리뷰 이미지를 입력받은 경우, 제어부(20)는 입력받은 프리뷰 이미지를 프리뷰 화면 데이터로 변환하고, 프리뷰 화면 데이터에서 얼굴영역을 추출할 수 있다.When the image is input, the
이어서 제어부(20)는 탐색된 얼굴영역이 존재하는가를 확인한다(S211). 만일 탐색된 얼굴영역이 존재하지 않는 것으로 확인되면 제어부(20)는 얼굴 인식을 종료한다. 그리고 얼굴영역이 존재하는 것으로 확인되면, 제어부(20)는 이미지 내에서 얼굴영역의 분포 정보를 산출한다(S213). 예를 들어, 제어부(20)는 이미지 내에서 얼굴영역의 위치와 크기를 산출한다.Subsequently, the
이어서, 제어부(20)는 얼굴영역의 분포 범위에 대응되는 측광 윈도우를 설정한다(S215). 얼굴영역의 분포 정보를 분석하여 분포 범위(위치, 크기)를 산출하고, 그 분포 범위에 속하는 측광 윈도우를 설정한다. 여기서, 측광 윈도우는 사각형 형태이거나 그 밖에 다른 형태일 수 있다. 그리고 측광 윈도우는 사람의 움직임을 고려하여 얼굴영역보다 작은 크기를 갖도록 하는 것이 바람직하다. 측광 윈도우를 사 각형으로 형성하는 경우 얼굴영역에 내접하는 사각형보다 작게 형성한다.Subsequently, the
측광 윈도우가 설정되면, 제어부(20)는 측광 윈도우 정보(위치, 크기 등)를 카메라 모듈(10)로 전달하여 해당 피사체 부분의 밝기를 측정하는 측광을 진행한다(S217). 이 과정에서 피사체 내에 존재하는 얼굴의 밝기가 측정된다. 이 측광 과정은 입력 이미지에서 측광 윈도우에 해당하는 영역의 평균 밝기를 계산하는 과정으로 대체될 수 있다.When the metering window is set, the
측광이 완료되면, 제어부(20)는 측광된 밝기에 대응하는 노출조건으로 카메라 모듈(10)의 노출 설정을 진행한다(S219). 제어부(20)에 제어에 의해 카메라 모듈(10)은 얼굴영역의 밝기에 대응하는 노출조건으로 노출이 설정된다. When the metering is completed, the
노출 설정이 완료되면, 제어부(20)는 카메라 모듈(10)로부터 생성된 이미지를 입력받는다(S221). 이때 제어부(20)는 얼굴영역에 노출이 맞추어진 이미지를 입력받을 수 있다.When the exposure setting is completed, the
이미지가 입력되면, 제어부(20)는 입력 이미지에서 얼굴영역을 추출하여 얼굴인식을 진행한다(S223). 입력 이미지가 얼굴영역에 노출이 맞추어진 이미지이므로 제어부(20)는 정확하게 얼굴의 특징정보를 추출하여 얼굴인식을 수행할 수 있다. 얼굴인식 과정은 하기에서 상세하게 설명된다. When the image is input, the
얼굴인식이 완료되면, 제어부(20)는 전술한 일력의 얼굴인식의 종료 요구를 확인한다(S239). 그리고 종료 요구가 확인되면 얼굴인식을 종료하고 그렇지 않으면 이미지 입력 과정(S205)부터 다시 진행한다.When the face recognition is completed, the
도 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
이어서 제어부(20)는 추출된 얼굴영역이 존재하는가를 확인한다(S226). 만일 추출된 얼굴영역이 없으면 제어부(20)는 얼굴인식을 종료한다. 그리고 추출된 얼굴영역이 존재하면, 제어부(20)는 추출된 얼굴영역에서 얼굴특징정보를 추출한다(S228). 특징정보 추출부(25)가 주성분 분석이나 템플리트 매칭에 의해 얼굴특징정보를 추출할 수 있다.Subsequently, the
이어서 제어부(20)는 추출된 얼굴특징정보와 얼굴 데이터베이스(31)에 저장된 얼굴특징정보를 비교하여 등록된 얼굴인지를 판별한다(S230). 기 등록된 얼굴특징정보와 일치하면 등록된 얼굴임을 표시부(50)에 출력한다(S234). 이때 제어부(20)는 해당 얼굴의 이미지나 관련정보 등을 함께 표시부(50)에 표시할 수 있다. 프리뷰 과정에서 얼굴인식모드가 수행된 경우 제어부(20)는 프리뷰 화면 데이터와 함께 얼굴인식 결과를 프리뷰 화면으로 표시할 수 있다.Subsequently, the
한편, 미등록 얼굴로 판별되면, 제어부(20)는 미등록 얼굴임을 표시부(50)에 출력한다(S232). 이때 제어부(20)는 얼굴을 등록할 것인지 화면 표시를 통하여 안내하고 얼굴 등록의 요구를 판단할 수 있다(S236), 얼굴 등록요구가 있으면 얼굴 데이터베이스(31)에 등록할 수 있다(S238). 등록 요구가 없으면 다음 과정이 진행된다. 한편, 얼굴 등록 요구를 확인하는 과정(S236)과 얼굴 데이터베이스에 등록하 는 과정(S238)은 생략될 수 있다.On the other hand, if it is determined that the face is not registered, the
전술한 바와 같은 본 발명에 따른 제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
도 4의 ⒜와 같은 피사체(91)에 대하여 카메라 모듈을 통하여 입력받으면 도 4의 ⒝에서 나타난 것과 같이 1차 입력 이미지(92)에서 얼굴 이미지는 어둡다. 이 이미지(92)에서 제어부(20)는 얼굴영역을 탐색한다. 탐색 후에 제어부(20)는 이미지 내에서 얼굴영역의 분포정보를 획득하고 도 4의 ⒞와 같이 측광 윈도우(Wpm)를 설정한다. 그리고 측광 윈도우(Wpm)에 대한 측광을 실시하고 2차 이미지를 입력받으면 도 4의 ⒟와 같이 노출이 얼굴영역에 맞추어진 2차 입력 이미지(93)를 얻을 수 있다. 이에 대한 얼굴인식을 하면, 정확인 얼굴특징정보의 추출이 가능하고 인 식률이 높아진다. When the
한편, 본 발명의 얼굴인식 방법은 얼굴 데이터베이스에 얼굴을 등록하는 과정이 선행되어야 한다. 이 과정이 하기에 설명된다.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
프리뷰 수행 중에, 제어부(20)는 키 입력부(40)에서 발생되는 촬영 키 입력을 확인한다(S307). 촬영 키 입력이 확인되면, 제어부(20)는 키 입력 시점에서 카메라 모듈(10)로부터 이미지 데이터를 입력받아 촬영 이미지로 표시부(50)에 출력한다(S309). 촬영 이미지의 출력은 사용자 선택이 있을 때까지 계속 진행된다.During the preview, the
이어서, 제어부(20)는 표시부(50)에 출력된 이미지에 대한 얼굴등록 요구를 확인한다(S311). 만약 등록 요구가 있는 것으로 확인되면, 제어부(20)는 입력 이미지에서 얼굴영역을 추출한다(S313). 그리고 제어부(20)는 얼굴영역에서 얼굴의 특징정보를 추출하고(S315), 그 특징정보가 얼굴 데이터베이스(31)에 등록되어있는지 판별한다(S317). 등록된 데이터가 없으면 제어부(20)는 얼굴특징정보를 얼굴 데이터베이스(31)에 등록한다(S319). 이때 얼굴 이미지나 식별 정보 및 관련 정보 등이 얼굴 데이터베이스(31)에 등록될 수 있다. 만일 기 등록된 데이터가 있으면 기 등 록 얼굴임을 알린다(S321).Subsequently, the
한편, 본 발명의 얼굴인식 방법은 전술한 제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
이미지가 입력되면, 제어부(20)는 입력 이미지에서 얼굴영역을 추출한다(S407). 그리고 제어부(20)는 추출된 얼굴영역이 존재하는가를 확인한다(S409). 만일 추출된 얼굴영역이 존재하지 않는 것으로 확인되면 이미지를 입력받는 과정(S405)을 다시 진행한다. 그리고 입력 이미지에 얼굴영역이 존재하는 것으로 확인되면, 제어부(20)는 입력 이미지의 얼굴영역에서 얼굴특징정보를 추출한다(S411).When the image is input, the
이어서, 추출된 얼굴특징정보를 얼굴 데이터베이스(31)의 데이터와 비교하여 등록 얼굴인지 판별한다(S413). 판별 결과 등록 얼굴로 확인되면, 등록 얼굴임을 표시부(50)에 출력한다(S415). 이때 제어부(20)는 해당 얼굴의 이미지나 관련정보를 함께 출력할 수 있다. Next, the extracted facial feature information is compared with the data of the
그리고 판별 결과 미등록 얼굴로 확인되면, 제어부(20)는 미등록 판별 차수가 2이하인지 판단한다(S417). 여기서, 미등록 판별 차수는 필요에 따라 증감될 수 있다. 이 과정에서 2이하로 판별되면, 제어부(20)는 이미지 내에서 얼굴영역의 분포 정보(위치, 크기 등)를 산출한다(S419). 그리고 제어부(20)는 산출된 얼굴영역의 분포 정보에 대응되는 측광 윈도우를 설정한다(S421). 이어서 측광 윈도우 정보를 카메라 모듈(10)로 전달하여 피사체 부분의 밝기를 측정하는 측광을 실시한다(S423). If the determination result is that the face is not registered, the
측광이 완료되면, 제어부(20)는 측광 결과에 대응하는 노출조건으로 노출이 설정되게 카메라 모듈을 제어한다(S425). 제어부(20)에 의해 카메라 모듈은 얼굴영역의 밝기에 대응하는 노출조건이 설정된다. 이후에 진행되는 얼굴인식의 종료 요구를 확인하는 과정(S429)에서 종료 요구가 없으면, 제어부(20)는 카메라 모듈에서 이미지를 입력받는 과정(S405)에서 얼굴 데이터베이스에 등록된 얼굴인지를 판별하는 과정(S413)까지 다시 수행한다. 이와 같은 과정을 다시 수행함으로써 이미지 내의 얼굴에 대한 얼굴 재인식이 이루어진다. 한편, 미등록 판별 차수가 2이하인지 판별하는 과정(S417)에서 2로 확인되면 제어부(20)는 미등록 얼굴임을 표시한다(S427). 그리고 얼굴인식의 종료 요구를 확인하는 과정(S429)에서 종료 요구가 있으면 얼굴인식이 종료된다.When the metering is completed, the
상기에서 본 발명에 따른 얼굴인식 방법의 제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
이어서, 제어부(20)는 입력 이미지에서 얼굴영역을 추출한다(S509). S511 과정에서 제어부(20)가 추출된 얼굴영역이 존재하는가를 확인하여 입력 이미지에 얼굴영역이 존재하면 제어부(20)는 얼굴영역에서 얼굴의 특징정보를 추출한다(S513). 얼굴영역이 존재하지 않으면, 제어부(20)는 이미지를 입력받는 과정(S505)에서 다시 진행한다.Subsequently, the
얼굴특징정보가 추출되면, 제어부(20)는 추출된 특징정보와 얼굴 데이터베이스(31)에 저장되어 있는 데이터를 비교하여 입력 이미지 내의 얼굴이 얼굴 데이터베이스(31)에 등록된 얼굴인지 판단한다(S515). 등록 얼굴로 확인되면, 제어부(20)는 등록 얼굴임을 표시부(50)에 출력한다(S517).When face feature information is extracted, the
만일 미등록 얼굴로 판별되면, 제어부(20)는 보정차수가 설정차수 이하인지 확인한다(S519). 여기서, 설정차수는 얼굴인식모드에 관한 설정항목으로 제공되어 사용자 선택될 수 있다. 또는 얼굴인식장치의 제조 단계에서 디폴트(default)로 제공될 수 있다. If it is determined that the face is not registered, the
보정차수가 설정차수 이하이면 제어부(20)는 추출된 얼굴영역의 밝기를 산출하고(S521), 산출된 밝기를 기준으로 노출 보정값을 산출한다(S523). 노출 보정값이 산출되면, 제어부(20)는 노출 보정값을 자동노출에 의한 노출값에 가산 또는 감산하는 노출을 보정하는 노출 설정 제어를 한다(S525). 노출 보정값 산출 과정에 대하여는 하기에서 다시 상세하게 설명한다. If the correction order is less than or equal to the set order, the
한편, S519 과정에서 제어부(20)는 보정차수가 설정차수이면 미등록 얼굴임을 알린다(S527). 그리고 노출 보정값을 0으로 설정한다(S529). Meanwhile, in step S519, the
이어서, 제어부(20)는 얼굴인식의 종료 요구가 있는지 확인한다(S531). 종료 요구가 없으면, 제어부(20)는 이미지를 입력받는 과정(S505)에서부터 다시 동작을 수행한다. 미등록 얼굴인 경우 설정차수까지 노출 보정이 진행되어 얼굴특징정보의 오염이 방지된 입력 이미지에 대한 얼굴 재인식을 할 수 있다.Subsequently, the
전술한 제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
이어서, 제어부(20)는 노출 보정이 있는 지를 확인한다(S53). 노출 보정이 있는 경우, 제어부(20)는 자동 노출값에 미리 설정된 노출 보정값을 가산 또는 감산하여 노출 설정을 한다(S555). 자동 노출값을 산출하는 과정을 생략하고 이전에 구해진 자동 노출값에 노출 보정값을 가산 또는 감산하여 노출보정을 할 수도 있다. 만일 S553과정에서 노출 보정이 없는 경우 제어부(20)는 자동 노출값으로 노출을 설정한다(S557). 노출 설정이 완료되면, 제어부(20)는 카메라 모듈을 제어하여 이미지를 생성하고(S559) 그 이미지를 입력받는다(S561).Next, the
상기한 제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
한편, 설정된 노출 보정 형태가 정량 보정이 아닌 것으로 판별되면, 제어부(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
차이값의 산출이 완료되면, 제어부(20)는 미리 설정된 노출보정 수준이 설정 비율 보정인지 확인한다(S567). 설정 비율 보정으로 확인되면, 차이값에서 미리 설정된 비율에 해당하는 노출값을 노출 보정값으로 설정한다(S585). 얼굴 재인식이 반복적으로 이루어질 때마다 이미지 전체 노출값과 얼굴영역 노출값의 차에서 설정 비율씩 단계적으로 증가 또는 감소된다. 한편, 설정 비율 보정이 아니면 제어부(20)는 차이값을 노출 보정값으로 설정한다(S569). When the calculation of the difference value is completed, the
예를 들어, 노출 보정 형태가 정량 보정으로 설정되어 있다고 가정하자. 그리고 일반 평균 노출값이 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
상기에서 소개한 실시예들에서 알 수 있듯이, 본 발명의 얼굴인식 방법과 장치는 연속 입력되는 이미지를 이용하여 얼굴의 밝기에 맞게 설정된 이미지로 얼굴인식을 한다. 또는 얼굴을 기준으로 노출 설정하여 얻어진 이미지로 미등록 얼굴에 대하여 얼굴인식을 다시 진행한다. 피사체 전체의 밝기에 의한 얼굴영역의 특징정보 오염이 최소화될 수 있어 정확한 얼굴인식 결과가 얻어질 수 있다. 통상적으로 카메라 모듈에서 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)
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)
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)
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 |
-
2007
- 2007-04-24 KR KR1020070039920A patent/KR100901125B1/en active IP Right Grant
Patent Citations (4)
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 |