KR101642084B1 - Apparatus and method for detecting face using multiple source localization - Google Patents

Apparatus and method for detecting face using multiple source localization Download PDF

Info

Publication number
KR101642084B1
KR101642084B1 KR1020140065446A KR20140065446A KR101642084B1 KR 101642084 B1 KR101642084 B1 KR 101642084B1 KR 1020140065446 A KR1020140065446 A KR 1020140065446A KR 20140065446 A KR20140065446 A KR 20140065446A KR 101642084 B1 KR101642084 B1 KR 101642084B1
Authority
KR
South Korea
Prior art keywords
sound source
face detection
frequency
multiple sound
range
Prior art date
Application number
KR1020140065446A
Other languages
Korean (ko)
Other versions
KR20150137491A (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 KR1020140065446A priority Critical patent/KR101642084B1/en
Publication of KR20150137491A publication Critical patent/KR20150137491A/en
Application granted granted Critical
Publication of KR101642084B1 publication Critical patent/KR101642084B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/18Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using ultrasonic, sonic, or infrasonic waves
    • G01S5/22Position of source determined by co-ordinating a plurality of position lines defined by path-difference measurements
    • 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

다중 음원 환경에서 얼굴을 검출하는 얼굴 검출 장치 및 방법이 개시된다. 일 실시예에 따른 얼굴 검출 장치는 음원 획득 장치로부터 획득된 다중 음원의 주파수를 분석하는 음원 주파수 분석부; 상기 음원 주파수 분석부에 의하여 분석된 다중 음원의 주파수가 사람의 목소리 주파수 범위에 해당하면 상기 다중 음원의 위치를 파악하는 음원 위치 파악부; 및 상기 음원 위치 파악부에 의하여 파악된 다중 음원의 위치에 기초하고 소정의 알고리즘을 이용하여 상기 다중 음원에 대한 얼굴 검출을 수행하는 얼굴 검출부를 포함한다.A face detection apparatus and method for detecting faces in a multi-sound source environment are disclosed. A face detection apparatus according to an exemplary embodiment includes a sound source frequency analyzer for analyzing frequencies of multiple sound sources obtained from a sound source acquisition apparatus; A sound source position detector for detecting a position of the multiple sound source when the frequency of the multiple sound sources analyzed by the sound source frequency analyzer corresponds to a voice frequency range of a person; And a face detection unit for performing face detection on the multiple sound source based on the position of the multiple sound sources recognized by the sound source position determination unit and using a predetermined algorithm.

Description

다중 음원 국지화 기법을 이용한 얼굴 검출 장치 및 방법{APPARATUS AND METHOD FOR DETECTING FACE USING MULTIPLE SOURCE LOCALIZATION}[0001] APPARATUS AND METHOD FOR DETECTING FACE USING MULTIPLE SOURCE LOCALIZATION [0002]

본 발명은 얼굴 검출 기술에 관한 것으로서, 보다 구체적으로 다중 음원 환경에서 얼굴을 검출하는 얼굴 검출 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0002] The present invention relates to a face detection technique, and more specifically, to a face detection apparatus and method for detecting a face in a multi-source environment.

얼굴 검출 기술은 최근 IPTV, 스마트폰, 디지털 카메라, 출입통제장치 등의 다양한 디지털 기기 및 휴먼 컴퓨터 인터페이스, 비디오 감시 시스템, 로봇의 시각 시스템, 출입통제 시스템, 모바일 콘텐츠 등의 다양한 응용분야가 생겨나면서 그 중요성이 점점 커지고 있다. 얼굴 인식을 위해서는 촬영된 디지털 영상에서 먼저 얼굴 영역을 검출해야 하며, 얼굴 영역의 검출 속도는 전체 시스템 성능을 좌우하는 중요한 요소이다.Face detection technology has recently been applied to various digital devices such as IPTV, smart phone, digital camera, access control device, and various application fields such as human computer interface, video surveillance system, robot visual system, access control system, Importance is growing. For facial recognition, the facial region must first be detected in the captured digital image, and the detection speed of the facial region is an important factor that determines the performance of the whole system.

얼굴 검출 기술에 대한 많은 연구가 이루어지고 있으나, 실제 생활에 적용되기에는 아직 알고리즘의 처리속도, 신뢰성 등이 만족스럽지 못하다. 종래 Paul Viola와 Michael J. Jones에 의하여 개발된 얼굴 검출 방법은 얼굴 특성을 기반으로 프레임들을 다양한 크기로 리사이즈하여, 리사이즈된 프레임들의 모든 이미지에 대하여 얼굴을 검출한다. 이는 소프트웨어를 기반으로 순차적으로 수행되므로, 다양한 크기의 얼굴 검출을 위하여 각 영상을 순차적으로 리사이즈하여, 각 리사이즈된 영상 각각에 대하여 얼굴 검출을 수행해야 하기 때문에, 계산량이 많아 얼굴 검출을 하는데 시간이 오래 걸리는 문제가 있다.Many researches have been made on face detection technology, but the processing speed and reliability of algorithms are still unsatisfactory to be applied in real life. The face detection method developed by Paul Viola and Michael J. Jones conventionally resizes the frames to various sizes based on the face characteristics, and detects faces of all the images of the resized frames. Since it is sequentially executed based on software, it is necessary to sequentially resize each image in order to detect faces of various sizes and perform face detection for each resized image. Therefore, since the calculation amount is large, There is a problem.

즉, 기존의 얼굴 검출 방법들은 얼굴 검출을 위하여 방대한 계산량을 필요로 하기 때문에, 최근에는 입력된 이미지의 크기를 줄이거나 얼굴이 있을 후보 영역을 전처리 단계에서 빠르게 계산하여 탐색 범위를 좁히는 방법 등이 개발된 바 있다.In other words, since existing face detection methods require a large amount of calculation for face detection, recently, a method of reducing the size of the input image or narrowing the search range by quickly calculating the candidate region in the preprocessing step .

그러나, 이러한 얼굴 검출 방법은 얼굴 검출 정확도의 손해를 감수해야 하거나 속도 향상이 월등하지 않다. 구체적으로 말하면, 현재까지 개발된 얼굴 검출 기법들은 하드웨어 또는 소프트웨어 방식과 무관하게, VGA급의 낮은 해상도에서 실시간으로 동작을 하거나, FHD급의 높은 해상도에서는 매우 낮은 프레임으로 동작을 하고 있다.However, such a face detection method suffers from the loss of face detection accuracy or the speed improvement is not superior. Specifically, the face detection techniques developed so far operate in real time at a low resolution of VGA, irrespective of hardware or software, or operate at a very low frame rate at a high resolution of FHD.

실시간 보안 분야에서는 얼굴 검출의 범위와 정확도를 높이기 위하여 높은 해상도가 필수적이지만, 높은 해상도로 검출하게 되면 실시간으로 검출하지 못하는 문제점이 있고, 실시간 얼굴 검출을 위하여 해상도를 낮추면 얼굴 검출의 범위와 정확도가 낮아지는 문제점이 있다.In the field of real-time security, high resolution is essential to increase the range and accuracy of face detection. However, there is a problem in that it can not be detected in real time if it is detected with high resolution. If the resolution is lowered for detecting real time face, .

한편, 음원 국지화 기술은 센서로부터 음원이 위치한 장소를 찾아내는 기술을 의미한다. 소리에 의한 방향 감각은 양쪽 귀에 음파가 도달하는 차이에 의하여 판별되는 것으로 사람의 경우에 16방향까지 인지가 가능하다. 오래전부터 이러한 음원의 방향감지에 대하여 연구가 진행되었고, 음원의 방향 감지 기술은 음원 국지화 기술의 바탕이 되었다. 음원 국지화 기술은 레이더, SONAR 시스템, 인간과 로봇간의 상호작용, 스마트 감시 카메라 등 다양한 분야에서 적용 및 연구되고 있다. 음원 국지화를 위한 음원 방향 지각 방식에는 마이크로폰 어레이를 이용하는 방법 등이 있다.On the other hand, the sound localization technique refers to a technique for locating a sound source from a sensor. The sense of direction by sound is distinguished by the difference of sound waves reaching both ears, and in the case of human being, it is possible to recognize up to 16 directions. A study on the direction detection of these sound sources has been carried out for a long time, and the technology for detecting the direction of the sound source has become the basis of the localization technique of the sound source. Sound localization technology is applied and studied in various fields such as radar, SONAR system, interaction between human and robot, and smart surveillance camera. And a method of using a microphone array as a sound source direction perception method for localizing a sound source.

본 발명이 해결하고자 하는 하나의 과제는 다중 음원 환경에서 얼굴을 검출하는 얼굴 검출 장치 및 방법을 제공하는 것이다.One aspect of the present invention is to provide a face detecting apparatus and method for detecting a face in a multi-sound source environment.

본 발명이 해결하고자 하는 다른 하나의 과제는 보다 신속하게 얼굴 검출이 가능한 얼굴 검출 장치 및 방법을 제공하는 것이다.Another object of the present invention is to provide a face detection apparatus and method capable of detecting faces more quickly.

상기한 과제를 해결하기 위한 본 발명의 일 실시예에 따른 얼굴 검출 장치는 음원 획득 장치로부터 획득된 다중 음원의 주파수를 분석하는 음원 주파수 분석부; 상기 음원 주파수 분석부에 의하여 분석된 다중 음원의 주파수가 사람의 목소리 주파수 범위에 해당하면 상기 다중 음원의 위치를 파악하는 음원 위치 파악부; 및 상기 음원 위치 파악부에 의하여 파악된 다중 음원의 위치에 기초하고 소정의 알고리즘을 이용하여 상기 다중 음원에 대한 얼굴 검출을 수행하는 얼굴 검출부를 포함한다.According to an aspect of the present invention, there is provided a face detection apparatus comprising: a sound source frequency analyzer for analyzing frequencies of multiple sound sources obtained from a sound source acquisition apparatus; A sound source position detector for detecting a position of the multiple sound source when the frequency of the multiple sound sources analyzed by the sound source frequency analyzer corresponds to a voice frequency range of a person; And a face detection unit for performing face detection on the multiple sound source based on the position of the multiple sound sources recognized by the sound source position determination unit and using a predetermined algorithm.

상기 실시예의 일 측면에 의하면, 상기 음원 위치 파악부에 의하여 파악된 다중 음원의 위치에 기초하여 상기 다중 음원 위치의 밀도가 가장 큰 범위를 선정하여 얼굴 검출을 수행할 범위를 결정하는 얼굴 검출 범위 결정부를 더 포함하고, 상기 얼굴 검출부는 상기 얼굴 검출 범위 결정부에 의하여 결정된 얼굴 검출 범위에서 얼굴 검출을 수행할 수 있다.According to an embodiment of the present invention, a range where the density of the multiple sound source positions is the largest is selected based on the positions of the multiple sound sources detected by the sound source position determining unit to determine a range for performing face detection, Wherein the face detection unit can perform face detection in a face detection range determined by the face detection range determination unit.

상기 실시예의 다른 측면에 의하면, 상기 음원 획득 장치는 전방 마이크로폰, 후방 마이크로폰, 좌측 마이크로폰 및 우측 마이크로폰이 십자 형태로 배열될 수 있다.According to another aspect of the present invention, the sound source acquisition device may include a front microphone, a rear microphone, a left microphone, and a right microphone arranged in a cross shape.

상기 실시예의 또 다른 측면에 의하면, 상기 음원 주파수 분석부는 상기 음원 획득 장치에 의하여 획득된 다중 음원 신호를 디지털 신호로 변환하고 상기 디지털 신호를 주파수 영역의 신호로 변환하여 상기 다중 음원의 주파수를 분석할 수 있다. 이 경우에, 상기 음원 위치 파악부는 상기 주파수 영역에서 주파수 대역별 시간차를 산출하고, 상기 산출된 주파수 대역별 시간차로부터 산출된 최종 시간차를 이용하여 상기 다중 음원의 위치를 파악할 수 있다.According to another aspect of the present invention, the sound source frequency analyzing unit converts a multiple sound source signal obtained by the sound source acquiring apparatus into a digital signal, converts the digital signal into a signal in a frequency domain, and analyzes the frequency of the multiple sound source . In this case, the sound source localization unit may calculate the time difference for each frequency band in the frequency domain, and may determine the position of the multiple sound source using the calculated final time difference from the calculated time difference for each frequency band.

상기 실시예의 또 다른 측면에 의하면, 상기 얼굴 검출부는 주변 픽셀들 사이의 상관 관계에 기반한 LBP(Local Binary Pattern) 알고리즘을 이용하여 얼굴 검출을 수행할 수 있다.According to another aspect of the present invention, the face detecting unit may perform face detection using a local binary pattern (LBP) algorithm based on a correlation between neighboring pixels.

상기한 과제를 해결하기 위한 본 발명의 일 실시예에 따른 얼굴 검출 방법은 음원 획득 장치로부터 획득된 다중 음원의 주파수를 분석하는 단계; 상기 분석된 다중 음원의 주파수가 사람의 목소리 주파수 범위에 해당하면 상기 다중 음원의 위치를 파악하는 단계; 및 상기 파악된 다중 음원의 위치에 기초하고 소정의 알고리즘을 이용하여 상기 다중 음원에 대한 얼굴 검출을 수행하는 단계를 포함한다.According to another aspect of the present invention, there is provided a face detection method comprising: analyzing a frequency of a multiple sound source obtained from a sound source acquisition apparatus; Determining a location of the multiple sound source if the analyzed frequency of the multiple sound source corresponds to a range of a voice frequency of a person; And performing face detection on the multiple sound source based on the detected position of the multiple sound source and using a predetermined algorithm.

상기 실시예의 일 측면에 의하면, 상기 파악된 다중 음원의 위치에 기초하여 상기 다중 음원 위치의 밀도가 가장 큰 범위를 선정하여 얼굴 검출을 수행할 범위를 결정하는 단계를 더 포함하고, 상기 얼굴 검출 수행 단계에서는 상기 얼굴 검출 범위 결정 단계에서 결정된 얼굴 검출 범위에서 얼굴 검출을 수행할 수 있다.According to an aspect of the present invention, the method further includes determining a range in which face detection is performed by selecting a range having the largest density of the multiple sound source positions based on the detected positions of the multiple sound sources, The face detection can be performed in the face detection range determined in the face detection range determination step.

상기 실시예의 다른 측면에 의하면, 상기 음원 획득 장치는 전방 마이크로폰, 후방 마이크로폰, 좌측 마이크로폰 및 우측 마이크로폰이 십자 형태로 배열될 수 있다.According to another aspect of the present invention, the sound source acquisition device may include a front microphone, a rear microphone, a left microphone, and a right microphone arranged in a cross shape.

상기 실시예의 또 다른 측면에 의하면, 상기 음원 주파수 분석 단계에서는 상기 음원 획득 장치에 의하여 획득된 다중 음원 신호를 디지털 신호로 변환하고 상기 디지털 신호를 주파수 영역의 신호로 변환하여 상기 다중 음원의 주파수를 분석하고, 상기 음원 위치 파악 단계에서는 상기 주파수 영역에서 주파수 대역별 시간차를 산출하고, 상기 산출된 주파수 대역별 시간차로부터 산출된 최종 시간차를 이용하여 상기 다중 음원의 위치를 파악할 수 있다.According to another aspect of the present invention, in the sound source frequency analysis step, the multi-sound source signal obtained by the sound source acquisition device is converted into a digital signal, the digital signal is converted into a signal in the frequency domain, In the sound source localization step, the time difference for each frequency band is calculated in the frequency domain, and the position of the multiple sound source can be determined using the calculated final time difference from the calculated time base.

상기 실시예의 또 다른 측면에 의하면, 상기 얼굴 검출 수행 단계에서는 주변 픽셀들 사이의 상관 관계에 기반한 LBP(Local Binary Pattern) 알고리즘을 이용하여 얼굴 검출을 수행할 수 있다.According to still another aspect of the present invention, in the face detection step, face detection can be performed using a local binary pattern (LBP) algorithm based on a correlation between neighboring pixels.

상기한 과제를 해결하기 위한 본 발명의 일 실시예에 따른 컴퓨터 판독가능한 기록매체는 본 발명의 일 실시예에 따른 얼굴 검출 방법을 컴퓨터로 실행하기 위한 프로그램이 기록된다.According to an aspect of the present invention, there is provided a computer-readable recording medium storing a program for executing a method of detecting a face according to an embodiment of the present invention.

이상과 같이 본 발명의 일 실시 예에 따르면, 다중 음원 환경에서 얼굴을 검출함으로써 영상의 이미지 중심이 아닌 음원 중심으로 얼굴을 검출할 수 있는 효과가 있다.As described above, according to the embodiment of the present invention, there is an effect that a face can be detected from a center of a sound source rather than an image center of the image by detecting a face in a multi-sound source environment.

그리고 본 발명의 일 실시 예에 따르면, 다중 음원 환경에서 음원을 중심으로 얼굴 검출시 다중 음원 위치의 밀도가 가장 큰 영역을 선정하고 얼굴 검출 범위를 축소하여 얼굴 검출을 수행함으로써 얼굴 검출의 성능을 향상시킬 수 있는 효과가 있다.According to an exemplary embodiment of the present invention, when a face is detected centering on a sound source in a multi-sound source environment, a region having the largest density of multiple sound source positions is selected and a face detection range is reduced to improve the performance of face detection There is an effect that can be made.

도 1은 본 발명의 일 실시예에 따른 얼굴 검출 장치의 구성을 보여주는 블록도이다.
도 2 및 도 3은 본 발명의 일실시예에 따른 얼굴 검출 범위 결정을 보여주는 도면으로, 도 2는 4개의 마이크로폰의 배치와 음원 검출 영역 분할을 보여주는 도면이고, 도 3은 음원 위치의 밀도가 가장 큰 범위를 선정하여 결정된 얼굴 검출 범위를 보여주는 도면이다.
도 4는 본 발명의 일 실시예에 따른 얼굴 검출 방법을 보여주는 흐름도이다.
도 5는 본 발명의 다른 실시예에 따른 LBP 알고리즘을 이용한 얼굴 검출 방법을 보여주는 흐름도이다.
1 is a block diagram illustrating a configuration of a face detection apparatus according to an embodiment of the present invention.
2 and 3 are views showing determination of a face detection range according to an embodiment of the present invention. FIG. 2 is a view showing arrangement of four microphones and sound source detection region division. And a face detection range determined by selecting a large range.
4 is a flowchart illustrating a face detection method according to an embodiment of the present invention.
5 is a flowchart illustrating a face detection method using an LBP algorithm according to another embodiment of the present invention.

이하 첨부된 도면을 참조하여 본 발명을 보다 상세히 설명한다. 그러나 이러한 도면은 본 발명의 기술적 사상의 내용과 범위를 쉽게 설명하기 위한 예시일 뿐, 이에 의해 본 발명의 기술적 범위가 한정되거나 변경되는 것은 아니다. 또한 이러한 예시에 기초하여 본 발명의 기술적 사상의 범위 안에서 다양한 변형과 변경이 가능함은 통상의 기술자에게는 당연할 것이다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail with reference to the accompanying drawings. However, these drawings are only for illustrating the contents and scope of the technical idea of the present invention, and the technical scope of the present invention is not limited or changed. It will be apparent to those of ordinary skill in the art that various changes and modifications can be made within the scope of the technical idea of the present invention based on these examples.

또한, 본 명세서에서 사용되는 용어 및 단어들은 실시예에서의 기능을 고려하여 선택된 용어들로서, 그 용어의 의미는 발명의 의도 또는 관례 등에 따라 달라질 수 있다. 따라서 후술하는 실시예에서 사용된 용어는, 본 명세서에 구체적으로 정의된 경우에는 그 정의에 따르며, 구체적인 정의가 없는 경우는 통상의 기술자들이 일반적으로 인식하는 의미로 해석되어야 할 것이다.
In addition, terms and words used in the present specification are terms selected in consideration of functions in the embodiments, and the meaning of the terms may be changed according to the intention or custom of the invention. Therefore, the terms used in the following embodiments are defined according to their definitions when they are specifically defined in this specification, and unless otherwise defined, they should be construed in a sense generally recognized by ordinary artisans.

‘얼굴 검출(Face Detection)’은 컴퓨터 비전의 한 분야로 영상(Image)에서 얼굴이 존재하는 위치를 알려주는 기술이다. 얼굴 검출의 알고리즘적인 기본 구조는 Rowley, Baluja, Kanade의 논문에 의해 정의되었다. 일반적으로 다양한 크기의 얼굴을 검출하기 위하여 피라미드 영상을 생성한 후, 한 픽셀씩 이동하며 특정 크기(예를 들어, 20 X 20 픽셀)의 해당 영역이 얼굴인지 아닌지를 분류기(예를 들어, 신경망(Neural Network), 아다부스트(Adaboost), 서포트 벡터 머신(Support Vector Machine) 등)로 얼굴인지 아닌지를 결정한다.'Face Detection' is a field of computer vision, which is a technology that tells the location of a face in an image. The algorithmic basic structure of face detection is defined by Rowley, Baluja, and Kanade. Generally, a pyramid image is generated in order to detect faces of various sizes. Then, the pyramid image is moved by one pixel and a classifier (for example, a neural network (for example, Neural Network), Adaboost, Support Vector Machine, and the like).

초기 얼굴 검출에 사용된 특징은 영상에서 얼굴의 강도(intensity)였다. 하지만 인종, 조명 등에 따라 성능이 달라짐에 따라 이에 무관한 특징이 필요하게 되었다. 이에 하-라이크 특징(Haar-like feature), 국부 이진 패턴(Local Binary Pattern, LBP), Modified Census Transform(MCT) 등의 특징이 등장하였다.The feature used in the initial face detection was the intensity of the face in the image. However, as performance varies according to race, lighting, Features such as Haar-like feature, Local Binary Pattern (LBP) and Modified Census Transform (MCT) have appeared.

제안하는 본 발명의 얼굴 검출 장치 및 방법은 얼굴 검출시 입력된 영상 전체를 대상으로 얼굴 검출을 수행하지 않고, 다중 음원을 기초로 하여 얼굴이 있을 수 있는 일부 영역을 먼저 검출한 다음, 해당 영역을 중심으로 얼굴 검출을 수행함으로써, 보다 신속하게 얼굴 검출이 가능하다. 특히, 일반적인 경우보다는 영상에서 얼굴들이 특정부분에 모여있고 음성으로 파악이 가능한 경우 얼굴 검출을 효율적으로 할 수 있다. 이하에서, 본 발명의 실시예에 따른 얼굴 검출 장치 및 방법에 대하여 하기 도면들을 참조하여 자세히 살펴본다.
A face detecting apparatus and method according to the present invention detects faces of a plurality of faces based on multiple sound sources without performing face detection on the entirety of an input image during face detection, By performing the face detection with the center, it is possible to detect the face more quickly. In particular, face detection can be efficiently performed if the faces are gathered at a specific part of the image and can be grasped by voice rather than the general case. Hereinafter, an apparatus and method for detecting a face according to an embodiment of the present invention will be described in detail with reference to the following drawings.

먼저, 도 1은 본 발명의 일 실시예에 따른 얼굴 검출 장치의 구성을 보여주는 블록도이다.1 is a block diagram illustrating a configuration of a face detection apparatus according to an embodiment of the present invention.

도 1을 참조하면, 얼굴 검출 장치(10)는 음원 주파수 분석부(110), 음원 위치 파악부(120), 얼굴 검출 범위 결정부(130) 및 얼굴 검출부(140)를 포함한다. 그리고, 도 1에 도시되어 있는 얼굴 검출 장치(10)의 구성은 예시적인 것으로서, 얼굴 검출 장치(10)는 도 1에 개시되어 있는 모듈들의 일부만을 구비하거나 및/또는 그 동작을 위하여 필수적인 다른 모듈들을 추가로 구비할 수도 있다. 예를 들어, 얼굴 검출 장치(10)는 다른 장치와 통신을 위하여 통신 기능을 가지는 통신부 등을 추가로 구비할 수 있다.Referring to FIG. 1, the face detection apparatus 10 includes a sound source frequency analysis unit 110, a sound source position determination unit 120, a face detection range determination unit 130, and a face detection unit 140. The configuration of the face detection apparatus 10 shown in Fig. 1 is an example, and the face detection apparatus 10 may include only a part of the modules shown in Fig. 1 and / or other modules necessary for its operation May be additionally provided. For example, the face detection apparatus 10 may further include a communication unit having a communication function for communication with another apparatus.

음원 주파수 분석부(110)는 음원 획득 장치로부터 획득된 다중 음원의 주파수를 분석하는 기능을 제공한다. 여기서, ‘음원 획득 장치’는 가청음을 전기적인 에너지 변환기나 센서로 전달하여 소리를 전기 신호로 변환해주는 장치로서, 마이크로폰(Microphone) 또는 마이크로폰 어레이(Microhphone Array)일 수 있으나, 여기에만 한정되는 것은 아니며, 음원을 획득할 수 있는 장치라면 해당될 수 있다. 통상적으로 마이크로폰 어레이는 다수의 마이크로폰들을 조합하여 사운드 자체뿐만 아니라 취득하려는 사운드의 방향이나 위치와 같은 지향성에 관한 부가적인 성질을 얻을 수 있다. 여기서, ‘지향성(Directivity)’이라 함은 소리, 전파, 빛 등의 송수신에 있어, 그것들의 장치 특성이 특정 방향에서 강한 성질을 나타내는 현상을 의미하는 것으로, 음원 신호가 어레이를 구성하는 다수의 마이크로폰들 각각에 도달하는 시간 차이를 이용하여 특정 방향에 위치한 음원으로부터 방사되는 음원 신호에 대한 감도를 크게 하는 것을 말한다. 따라서, 이러한 마이크로폰 어레이를 이용하여 음원 신호들을 취득함으로써 특정 방향으로부터 입력되는 음원 신호를 강조하거나 억제할 수도 있다.The sound source frequency analyzer 110 provides a function of analyzing frequencies of multiple sound sources obtained from the sound source acquisition device. Here, the 'sound source acquisition device' may be a microphone or a microphone array for transmitting sound to an electric energy converter or sensor to convert sound into an electric signal, but it is not limited thereto , And if it is a device capable of acquiring a sound source. Typically, a microphone array combines a plurality of microphones to obtain the sound itself as well as additional properties related to the directionality such as the direction or position of the sound to be acquired. Here, 'directivity' refers to a phenomenon in which device characteristics of a device such as a sound, a radio wave, a light, and the like exhibit a strong property in a specific direction. When a sound source signal is transmitted to a plurality of microphones To increase the sensitivity to a sound source signal emitted from a sound source located in a specific direction. Therefore, the sound source signals input from a specific direction can be emphasized or suppressed by acquiring sound source signals using such a microphone array.

또한, 본 발명의 실시예에서 음원 획득 장치는 동영상 획득 대상인 영역을 복수의 음원 검출 영역으로 각각 나누고, 각각의 영역을 인식할 수 있도록 마이크로폰 또는 마이크로폰 어레이를 설치할 수 있다. 예를 들어, 4개의 마이크로폰을 서로 대칭되게 십자 형상으로 전방, 후방, 좌측 및 우측에 배치함으로써, 각각의 영역을 4개의 마이크로폰을 이용하여 인식할 수 있도록 구현할 수 있다. 본 발명의 실시예에서는 4개의 마이크로폰을 음원 획득 장치로 이용하고, 음원 검출 영역을 16 영역으로 분할하였다. 음원 획득 장치의 배치와 복수의 얼굴 검출 영역 분할에 대하여는 뒤에서 도 2 및 도 3을 참고하여 상세히 설명한다.Further, in the embodiment of the present invention, the sound source acquisition device may divide the area to be a moving object into a plurality of sound source detection areas, and install a microphone or a microphone array so as to recognize the respective areas. For example, by arranging the four microphones symmetrically symmetrically on the front, back, left, and right sides in a cross shape, each area can be recognized using four microphones. In the embodiment of the present invention, four microphones are used as the sound source acquisition device, and the sound source detection area is divided into 16 areas. The arrangement of the sound source acquisition apparatus and the division of a plurality of face detection regions will be described later in detail with reference to FIG. 2 and FIG.

한편, 음원 주파수 분석부(110)는 획득된 다중 음원 신호를 분석하여 다중 음원의 주파수를 분석할 수 있다. 또는, 주파수 영역의 신호에 기초하여 음원 위치를 파악하기 위하여, 음원 주파수 분석부(110)는 획득된 다중 음원 신호를 디지털 신호로 변환하고 변환된 디지털 신호를 주파수 영역의 신호로 변환하여 다중 음원의 주파수를 분석할 수 있다.Meanwhile, the sound source frequency analyzer 110 may analyze the frequency of multiple sound sources by analyzing the obtained multiple sound source signals. Alternatively, the sound source frequency analyzer 110 converts the obtained multi-sound source signal into a digital signal and converts the converted digital signal into a frequency domain signal in order to grasp the position of the sound source based on the signal in the frequency domain, The frequency can be analyzed.

음원 위치 파악부(120)는 음원 국지화(Sound Source Localization)를 실행하여 다중 음원의 위치를 파악하는 기능을 제공한다. 이 경우에, 음원 국지화는 음원 주파수 분석부(110)에 의하여 분석된 다중 음원의 주파수가 사람의 목소리 주파수 범위에 해당하면 실행될 수 있다. 사람이 들을 수 있는 가청 주파수 영역은 평균적으로 20~20,000Hz인 반면에, 사람이 낼 수 있는 주파수 영역은 평균적으로 300~3,400Hz의 범위를 가진다. 또한, 평균적으로 남자에 비해서 여자의 발성 주파수가 더 높다. 일반적으로 남성의 목소리 주파수는 100~150Hz, 여성은 200~250Hz로 나타난다. 여기서, ‘음원 국지화’라 함은 음원 감지 센서로부터 음원이 위치하는 장소를 찾아내는 기술을 의미한다. 음원 국지화 기술은 군사용 무기나 로봇 등 다양한 분야에서 활용되고 있다. 이러한 음원 국지화 기술은 다수의 마이크로폰들을 이용하여 만들어진 마이크로폰 어레이를 사용하여 이루어진다. 마이크로폰 어레이를 사용하여 음원의 방향을 추정하기 위하여 음성 신호의 도달 지연 시간을 측정할 필요가 있고, 음성 신호의 도달 지연 시간을 측정하기 위하여 GCC(Generalized Cross Correlation) 알고리즘이 일반적으로 사용된다.The sound source localization unit 120 provides a function of locating multiple sound sources by executing sound source localization. In this case, the localization of the sound source may be performed when the frequency of the multiple sound sources analyzed by the sound source frequency analyzer 110 corresponds to the human voice frequency range. On average, the human audible frequency range is 20 to 20,000 Hz, while the human audible frequency range is on average 300 to 3,400 Hz. In addition, on average women have a higher vocal frequency than men. Generally speaking, male voice frequency is 100 ~ 150Hz, female is 200 ~ 250Hz. Here, 'sound localization' refers to a technique for locating a sound source from a sound source sensor. Sound localization techniques are used in various fields such as military weapons and robots. This localization technique of sound source is achieved by using a microphone array made using a plurality of microphones. In order to estimate the direction of the sound source using the microphone array, it is necessary to measure the arrival delay time of the voice signal. In order to measure the arrival delay time of the voice signal, a GCC (Generalized Cross Correlation) algorithm is generally used.

여기서, ‘음원의 위치’라 함은 기준점(마이크로폰 또는 마이크로폰 어레이가 될 수 있다.)을 중심으로 음원이 위치한 방향 또는 거리를 의미한다. 즉, 마이크로폰 또는 마이크로폰 어레이를 구성하는 개별 마이크로폰들을 각각 다르게 지연시키면 특정 방향에 위치한 음원 신호에 대하여 지향성을 가지게 되고, 이러한 과정을 전 방향에 대하여 수행한다. 만약, 특정 방향으로부터 획득된 음원 신호의 음압이 최대값을 갖는다면 해당 방향에 음원이 존재한다고 파악할 수 있다.Here, 'sound source position' refers to a direction or a distance at which a sound source is positioned around a reference point (which may be a microphone or a microphone array). That is, if the microphones or the individual microphones constituting the microphone array are delayed differently, the sound source signals located in a specific direction will have directivity, and this process is performed in all directions. If the sound pressure of a sound source signal obtained from a specific direction has a maximum value, it can be determined that a sound source exists in the corresponding direction.

또는, 음원 획득 장치에 의하여 획득된 다중 음원 신호를 디지털 신호로 변환하고, 변환된 디지털 신호를 다시 주파수 영역의 신호로 변환하여, 다중 음원의 주파수 영역에서 주파수 대역별 시간차를 산출하고, 산출된 주파수 대역별 시간차로부터 최종 시간차를 산출하여, 최종 시간차를 이용하여 다중 음원의 위치를 파악할 수 있다.Alternatively, a multi-tone source signal obtained by the sound source acquisition device is converted into a digital signal, the converted digital signal is converted into a signal of a frequency domain again to calculate a time difference of each frequency band in the frequency domain of the multiple sound source, It is possible to calculate the final time difference from the time difference of each band and to grasp the position of the multiple sound sources using the last time difference.

얼굴 검출 범위 결정부(130)는 동영상 획득 대상인 영역에 대하여 복수의 음원 검출 영역으로 분할하고, 음원 위치 파악부(120)에 의하여 파악된 다중 음원의 위치에 기초하여 다중 음원 위치의 밀도가 가장 큰 범위를 선정하여 얼굴 검출을 수행할 범위를 결정하는 하는 기능을 제공한다. 여기서, ‘얼굴 검출을 수행할 범위를 결정’한다는 것은 동영상 내에서 얼굴 검출을 수행할 때 전체 영상에 대하여 얼굴 검출을 수행하거나 또는 이미지 상에서 얼굴 가능 영역을 중심으로 얼굴 검출을 수행하는 것이 아니라, 다중 음원 위치의 밀도를 중심으로 하여 다중 음원 위치의 밀도가 가장 큰 범위를 선정하여 얼굴 검출을 수행할 범위를 결정하는 것을 의미한다.The face detection range determination unit 130 divides the area for the moving image acquisition object into a plurality of sound source detection areas and determines the face detection range of the moving image based on the position of the multiple sound sources A range is selected, and a range for performing face detection is determined. Here, 'determining the range for performing face detection' means that the face detection is performed on the whole image or the face detection is performed centering on the face possible region on the image when the face detection is performed in the moving image, It means to determine the range in which face detection is performed by selecting a range having the largest density of multiple sound source positions around the density of sound source positions.

그리고, ‘ 다중 음원 위치의 밀도가 가장 큰 범위’라 함은 동영상 획득 대상인 영역에 대하여 복수의 음원 검출 영역으로 분할한 후 음원 국지화를 수행한 결과, 복수의 음원 검출 영역 중에서 다중 음원 위치의 밀도가 가장 높은 음원 검출 영역을 의미한다. 또는, 동영상 획득 대상인 영역에 대하여 음원 국지화를 수행한 후 복수의 음원 검출 영역으로 분할한 결과, 복수의 음원 검출 영역 중에서 다중 음원 위치의 밀도가 가장 높은 음원 검출 영역을 의미할 수도 있다. As a result of performing localization of a sound source after dividing it into a plurality of sound source detection regions with respect to a region to which a moving image is to be acquired, the density of multiple sound source positions among the plurality of sound source detection regions Means the highest sound source detection area. Alternatively, it may mean a sound source detection area having the highest density of multiple sound source positions among a plurality of sound source detection areas as a result of performing sound source localization on a region to be a moving image and dividing it into a plurality of sound source detection areas.

또한, ‘복수의 음원 검출 영역으로 분할’한다는 것은 동영상 획득 대상인 영역에 대하여 다중 음원 위치의 밀도가 가장 큰 범위를 선정하기 위하여, 동영상 획득 대상인 영역을 소정의 기준에 따라 복수 개의 영역으로 분할하는 것을 의미한다. 여기서, 동영상 획득 대상인 영역을 복수의 음원 검출 영역으로 분할하는 방법은 동영상 획득 대상인 영역에 배치된 음원 획득 장치의 개수에 따라 달라질 수 있으나, 여기에만 한정되는 것은 아니다. 예를 들어, 동영상 획득 대상인 영역의 범위가 넓은 경우라면 음원 검출 영역을 더욱 세분화할 수 있다. 본 발명의 실시예에서는 4개의 마이크로폰을 음원 획득 장치로 이용하고, 음원 검출 영역을 16 영역으로 분할하였다. 그러나, 음원 검출 영역은 16 영역이 아니라 9 영역 또는 25 영역 또는 36 영역 등으로 분할할 수도 있다.In addition, 'dividing into a plurality of sound source detection regions' means dividing a region, which is a target of a moving image acquisition, into a plurality of regions according to a predetermined criterion in order to select a region having the largest density of multiple sound source positions it means. Here, the method of dividing the region of the moving image acquisition target into the plurality of sound source detection regions may vary depending on the number of sound source acquisition apparatuses arranged in the region of the moving image acquisition target, but is not limited thereto. For example, if the range of the area of the moving image acquisition target is wide, the sound source detection area can be further subdivided. In the embodiment of the present invention, four microphones are used as the sound source acquisition device, and the sound source detection area is divided into 16 areas. However, the sound source detection region may be divided into 9 regions, 25 regions or 36 regions instead of 16 regions.

한편, 얼굴 검출 범위를 결정하기 위하여 소정의 시간 동안 음원 획득 장치로부터 다중 음원을 획득하여 음원 주파수 분석 및 음원 위치를 파악할 수 있다. 소정의 시간 동안 다중 음원을 획득하여 음원 주파수 분석 및 음원 위치를 파악하는 것은 동영상 획득 대상인 영역에서 사람의 목소리가 가장 많이 파악되는 영역, 즉 사람이 가장 많은 곳을 찾기 위함이다.On the other hand, in order to determine the face detection range, multiple sound sources are acquired from the sound source acquisition device for a predetermined time period, and sound source frequency analysis and sound source position can be grasped. The acquisition of multiple sound sources for a predetermined time, and the source frequency analysis and the sound source location are grasped, in order to find the area where the human voice is most grasped in the area where the moving image is acquired,

얼굴 검출부(140)는 음원 위치 파악부(120)에 의하여 파악된 다중 음원의 위치에 기초하고 소정의 알고리즘을 이용하여 다중 음원에 대한 얼굴 검출을 수행하는 기능을 제공한다. 또는, 얼굴 검출 범위 결정부(130)에 의하여 결정된 얼굴 검출 범위에서 얼굴 검출을 수행할 수 있다. 기존의 얼굴 검출 기술에는 스킨 컬러 기반 기법(Skin Color based approach), 서포트 벡터 머신 기법(Support Vector Machine approach: SVM), 가우시안 혼합 기법(Gaussian Mixture approach), 최대 유사 기법(Maximum likelihood approach), 신경망 기법(Neural Network approach) 등이 있다. 이러한 기술들을 하드웨어로 구현하기 위해서는, 기본적으로 얼굴 패턴에 대한 정보와 비 얼굴 패턴에 대한 정보가 등록된 데이터베이스의 구출과 얼굴의 특징에 대한 코스트 값(Cost Value)이 저장된 룩-업 테이블(Look-up Table)이 요구된다. 여기서, ‘코스트 값’이란 내부적으로 수집된 통계 정보에 기초하여 계산된 예측값이다.The face detection unit 140 provides a function of performing face detection on multiple sound sources based on the position of the multiple sound sources detected by the sound source position detection unit 120 and using a predetermined algorithm. Alternatively, face detection can be performed in the face detection range determined by the face detection range determination unit 130. Conventional face detection techniques include skin color based approach, support vector machine approach (SVM), Gaussian mixture approach, maximum likelihood approach, (Neural Network approach). In order to implement these techniques in hardware, basically, information on facial patterns and information on non-facial patterns are retrieved and stored in a look-up table storing cost values for facial features, up Table is required. Here, 'cost value' is a predicted value calculated based on internally collected statistical information.

한편, 본 발명의 실시예에 의하면, 얼굴 검출 방법에는 특별한 제한이 없는데, 얼굴 검출을 위하여 얼굴 검출부(140)는 종래 주지된 얼굴 검출 인식 알고리즘 등을 이용할 수 있다. 예를 들어, 얼굴 검출에서 다양한 얼굴 크기를 검출하기 위해서는 피라미드 방식을 이용하여 입력영상의 크기를 점점 변경하고 고정된 크기의 얼굴 검출기로 검출을 수행하는 방법 또는 입력영상의 크기는 고정하고 얼굴 검출기의 특징추출 필터의 크기를 점점 변경하여 검출하는 방법 등을 이용할 수 있다. 이때, 일반적으로 매번 얼굴 검출기의 필터 크기를 변경하는 것보다 입력영상을 피라미드 방식으로 변경함으로써 보다 높은 검출 속도를 얻을 수 있다. 여기서, 얼굴 검출을 수행하는데 이용될 수 있는 하나의 방법은 이미지를 스캐닝하는 슬라이딩 윈도우를 이용하는 것이다. 슬라이딩 윈도우는 얼굴 샘플과 동일한 크기일 수 있는 20 X 20과 같은 미리 정의된 크기를 가질 수 있다. 얼굴 검출을 수행하기 위하여 이용되는 스캐닝 및 매칭 처리는 최대 얼굴 크기가 도달될 때가지 입력 이미지를 다운 샘플링함으로써 수회 반복될 수 있다.Meanwhile, according to the embodiment of the present invention, there is no particular limitation on the face detection method. For face detection, the face detection unit 140 can use a conventionally known face detection recognition algorithm or the like. For example, in order to detect various face sizes in the face detection, the size of the input image is gradually changed by using the pyramid method and the detection is performed by the fixed size face detector. Alternatively, the size of the input image is fixed, A method of gradually changing the size of the feature extraction filter and detecting the feature may be used. In this case, it is generally possible to obtain a higher detection speed by changing the input image to the pyramidal mode rather than changing the filter size of the face detector every time. Here, one method that can be used to perform face detection is to use a sliding window to scan an image. The sliding window may have a predefined size, such as 20 X 20, which may be the same size as the face sample. The scanning and matching process used to perform face detection may be repeated several times by downsampling the input image until the maximum face size is reached.

또한, 얼굴 검출 동작은 예를 들면, 아다부스트 학습 알고리즘에 의해서 학습되어 선택된 특정 패턴들을 이용하여 수행될 수 있지만, 반드시 여기에만 한정되는 것은 아니며 다양한 변형 예를 상정할 수 있다. 이때, 얼굴 검출부(140)는 주변 픽셀들 사이의 상관 관계에 기반한 LBP(Local Binary Pattern) 알고리즘을 이용하여 얼굴 검출을 수행할 수 있다. LBP(Local Binary Pattern) 알고리즘은 3 X 3 마스크내의 중심 픽셀에 대해 주변 픽셀과의 크기 비교를 통해 선택된 이진 패턴을 의미한다. 주변의 8개 픽셀에 대해 일정한 방향이 정해지면 각 픽셀이 중심보다 크면 1, 작거나 같으면 0을 할당하여 8비트의 값이 결정되고, 이를 중심픽셀의 값으로 할당한다. LBP는 8개의 인접한 픽셀들과 비교하여 구성되기 때문에 8비트로 표현되며, 0부터 255 사이의 값을 갖는다.In addition, the face detection operation can be performed using, for example, specific patterns selected by learning by the AdaBoost learning algorithm, but it is not necessarily limited thereto, and various modifications can be envisaged. At this time, the face detecting unit 140 can perform face detection using an LBP (Local Binary Pattern) algorithm based on a correlation between neighboring pixels. The LBP (Local Binary Pattern) algorithm is a binary pattern selected by comparing magnitudes with neighboring pixels for a central pixel in a 3 X 3 mask. If a certain direction is determined for the surrounding 8 pixels, 1 is assigned if each pixel is larger than the center, 0 is assigned if it is smaller or equal, and a value of 8 bits is determined and assigned as the value of the center pixel. LBP is expressed by 8 bits because it is constructed by comparing with 8 adjacent pixels, and has a value from 0 to 255. [

이러한 방식을 통하여 영상의 해상도를 축소시키지 않은 채 얼굴 검출 범위를 축소시켰기 때문에 사람의 얼굴 크기는 그대로 이므로 얼굴 검출률을 유지할 수 있고, 얼굴 검출 범위가 축소되었기 때문에 실시간 얼굴 검출이 가능하다.
In this way, since the face detection range is reduced without reducing the resolution of the image, the face detection rate can be maintained because the face size of the human being remains the same, and real-time face detection is possible because the face detection range is reduced.

도 2 및 도 3은 본 발명의 일실시예에 따른 얼굴 검출 범위 결정을 보여주는 도면으로, 도 2는 4개의 마이크로폰의 배치와 음원 검출 영역 분할을 보여주는 도면이고, 도 3은 음원 위치의 밀도가 가장 큰 범위를 선정하여 결정된 얼굴 검출 범위를 보여주는 도면이다.
2 and 3 are views showing determination of a face detection range according to an embodiment of the present invention. FIG. 2 is a view showing arrangement of four microphones and sound source detection region division. And a face detection range determined by selecting a large range.

도 2를 참조하면, 4개의 마이크로폰을 음원 획득 장치(21, 22, 23, 24)로 이용하고, 동영상 획득 대상인 영역에 대하여 음원 검출 영역(200)을 16 영역으로 분할하였다. 구체적으로, 4개의 마이크로폰을 서로 대칭되게 십자 형상으로 전방, 후방, 좌측 및 우측에 배치함으로써, 각각의 영역을 4개의 마이크로폰을 이용하여 인식할 수 있도록 구현할 수 있다. 여기서, 2차원 영역에서 음원 검출을 하는 경우 마이크로폰이 전방, 후방, 좌측 및 우측에 배치되도록 해야 음원의 방향성을 정확히 알 수 있다. 만일, 3차원 영역에서 음원 검출을 하는 경우라면 전방, 후방, 좌측 및 우측에 추가하여 상방 및 하방에 마이크로폰이 배치되도록 해야 음원의 방향성을 정확히 알 수 있다. 만일, 마이크로폰을 전방 및 후방에 2개만 배치한다면 음원의 전후 각도만 알 수 있고, 좌측 및 우측에 2개만 배치한다면 음원의 좌우 각도만 알 수 있다. 따라서, 2차원 영역에서 음원의 위치 좌표를 알기 위해서는 최소한 4방향에 마이크로폰을 배치해야 음원 국지화를 할 수 있게 된다. 또한, 도 2와 같이 마이크로폰을 동영상 획득 대상인 영역을 구성하는 변의 중심부가 아닌 꼭지점 부분에 배치할 수도 있으나, 배치 방법은 다양할 수 있고 여기에만 한정되는 것은 아니다.Referring to FIG. 2, four microphones are used as the sound source acquisition devices 21, 22, 23, and 24, and the sound source detection area 200 is divided into 16 areas with respect to the area to be a moving image acquisition target. Specifically, by arranging the four microphones symmetrically symmetrically on the front, back, left, and right sides in a cross shape, each area can be recognized using four microphones. Here, when the sound source is detected in the two-dimensional region, it is necessary to arrange the microphones on the front, back, left, and right sides so that the directionality of the sound source can be accurately known. If the sound source is detected in the three-dimensional region, it is necessary to arrange the microphones above and below and in addition to the front, rear, left, and right sides so that the directionality of the sound source can be accurately known. If you place only two front and rear microphones, you know only the front and back angles of the source. If you place only two on the left and right sides, you can see only the left and right angles of the source. Therefore, in order to know the positional coordinates of the sound source in the two-dimensional region, it is necessary to place the microphone in at least four directions to localize the sound source. Further, as shown in Fig. 2, the microphone may be disposed at the vertex portion rather than the central portion of the side constituting the moving object acquisition region, but the placement method may be various and is not limited thereto.

또한, 본 발명의 실시예에서는 음원 검출 영역(200)을 16 영역으로 분할하였으나, 분할되는 영역의 개수는 다양할 수 있고, 여기에만 한정되는 것은 아니다. 예를 들면, 음원 검출 영역(200)은 4 영역 또는 9 영역 또는 25 영역 또는 36 영역 등으로 분할할 수도 있다. 그러나, 음원 검출 영역(200)을 더 많은 영역으로 분할하면 더 정확하게 영상을 분할하여 처리함으로써 얼굴 검출 장치(10)의 효율성을 높일 수는 있으나, 구현상의 복잡성이 있을 수도 있다.In the embodiment of the present invention, the sound source detection region 200 is divided into 16 regions. However, the number of divided regions may vary, but is not limited thereto. For example, the sound source detection region 200 may be divided into 4 regions or 9 regions, 25 regions, 36 regions, and the like. However, if the sound source detection region 200 is divided into more regions, the efficiency of the face detection apparatus 10 can be improved by dividing and processing the image more accurately, but there may be implementation complexity.

한편, 얼굴 검출 성능을 보다 높이기 위해서는 각 분할 영역마다 음원 획득 장치, 즉 마이크로폰을 배치할 수도 있으나, 얼굴 검출 장치의 간소화와 효율성을 고려하면 도 2와 같이 마이크로폰을 전방, 후방, 좌측 및 우측에 배치하는 것이 바람직할 수 있다.
Meanwhile, in order to further enhance the face detection performance, a sound acquisition apparatus, that is, a microphone may be arranged for each of the divided regions. However, considering the simplification and efficiency of the face detection apparatus, the microphone is arranged in the front, rear, left and right sides . ≪ / RTI >

도 3을 참조하면, 도 2에 따라 음원 획득 장치(21, 22, 23, 24)를 배치하고, 동영상 획득 대상인 영역에 대하여 복수의 음원 검출 영역(200)으로 분할하여, 다중 음원을 획득한 결과를 보여준다. 도 3에서 동영상 획득 대상 영역에서 점으로 표현된 부분은 다중 음원 각각의 위치를 나타낸다. 본 발명의 실시예에서는 동영상 획득 영역에 대하여 16 영역으로 음원 검출 영역(200)을 분할하여 다중 음원을 획득한 결과, 중심으로부터 위쪽의 4 영역의 음원 위치의 밀도가 가장 크다. 따라서 해당 4 영역이 얼굴 검출을 수행할 범위(300)에 해당하게 된다. 이때, 도 1에서 설명한 바와 같이, 동영상 획득 대상인 영역에 대하여 복수의 음원 검출 영역(200)으로 분할한 후 음원 국지화를 수행한 결과, 복수의 음원 검출 영역(200) 중에서 다중 음원 위치의 밀도가 가장 높은 음원 검출 영역을 얼굴 검출 범위(300)로 결정할 수 있다. 또는, 동영상 획득 대상인 영역에 대하여 음원 국지화를 수행한 후 복수의 음원 검출 영역(200)으로 분할한 결과, 복수의 음원 검출 영역(200) 중에서 다중 음원 위치의 밀도가 가장 높은 음원 검출 영역을 얼굴 검출 범위(300)로 결정할 수도 있다.
Referring to FIG. 3, the sound acquisition apparatuses 21, 22, 23, and 24 are arranged in accordance with FIG. 2, and divided into a plurality of sound source detection regions 200 Lt; / RTI > In FIG. 3, a portion represented by a dot in the moving image acquisition target area indicates the position of each of the multiple sound sources. In the embodiment of the present invention, the sound source detection region 200 is divided into 16 regions with respect to the moving image acquisition region to obtain multiple sound sources. As a result, the density of the sound source positions in the upper four regions from the center is largest. Accordingly, the corresponding four areas correspond to the range 300 for performing face detection. As shown in FIG. 1, as a result of performing sound localization after dividing an area that is a moving image acquisition object into a plurality of sound source detection areas 200, the density of multiple sound source positions among the plurality of sound source detection areas 200 is the most The high sound source detection area can be determined as the face detection range 300. [ Alternatively, the sound source localization may be performed on the area to be subjected to the moving image acquisition, and then divided into the plurality of sound source detection areas 200. As a result, the sound source detection area having the highest density of multiple sound source positions among the plurality of sound source detection areas 200 may be detected The range 300 may be determined.

도 4는 본 발명의 일 실시예에 따른 얼굴 검출 방법을 보여주는 흐름도이다. 본 발명의 실시예를 포함하여 이하에서 설명되는 절차는 다양한 형태로 구현하는 것이 가능하다. 도 4에 도시된 얼굴 검출 방법은 도 1의 얼굴 검출 장치(200) 또는 이를 구비하는 전자 기기를 이용하여 얼굴을 검출하는 방법일 수 있다. 따라서, 불필요한 반복을 피하기 위하여 얼굴 검출 방법에 관하여 간략히 설명하며, 여기에서 상세히 설명되지 않은 사항은 도 1 내지 도 3을 참조하여 설명한 사항이 동일하게 적용될 수 있다.4 is a flowchart illustrating a face detection method according to an embodiment of the present invention. The procedures described below including embodiments of the present invention can be implemented in various forms. The face detection method shown in FIG. 4 may be a face detection method using the face detection apparatus 200 of FIG. 1 or an electronic apparatus having the same. Therefore, in order to avoid unnecessary repetition, the face detection method will be briefly described, and matters not described in detail here can be applied to the same things described with reference to FIG. 1 to FIG.

도 1 내지 도 4를 참조하면, 먼저 음원 획득 장치로부터 다중 음원을 획득한다(S401). 여기서, ‘음원 획득 장치’는 가청음을 전기적인 에너지 변환기나 센서로 전달하여 소리를 전기 신호로 변환해주는 장치로서, 마이크로폰(Microphone) 또는 마이크로폰 어레이(Microhphone Array)일 수 있으나, 여기에만 한정되는 것은 아니며, 음원을 획득할 수 있는 장치라면 여기에 해당될 수 있다. 또한, 본 발명에서 음원 획득 장치는 동영상 획득 대상인 영역을 복수의 음원 검출 영역으로 각각 나누고, 각각의 영역을 인식할 수 있도록 마이크로폰 또는 마이크로폰 어레이를 설치할 수 있다. 예를 들어, 4개의 마이크로폰을 서로 대칭되게 십자 형상으로 전방, 후방, 좌측 및 우측에 배치함으로써, 각각의 영역을 4개의 마이크로폰을 이용하여 인식할 수 있도록 구현할 수 있다. 본 발명의 실시예에서는 4개의 마이크로폰을 음원 획득 장치로 이용하고, 음원 검출 영역을 16 영역으로 분할하였다.Referring to FIG. 1 to FIG. 4, first, a multiple sound source is acquired from a sound source acquisition apparatus (S401). Here, the 'sound source acquisition device' may be a microphone or a microphone array for transmitting sound to an electric energy converter or sensor to convert sound into an electric signal, but it is not limited thereto This can be applied to a device capable of acquiring a sound source. Further, in the present invention, the sound source acquisition device may divide an area to be a moving image acquisition object into a plurality of sound source detection areas, and install a microphone or a microphone array so that each area can be recognized. For example, by arranging the four microphones symmetrically symmetrically on the front, back, left, and right sides in a cross shape, each area can be recognized using four microphones. In the embodiment of the present invention, four microphones are used as the sound source acquisition device, and the sound source detection area is divided into 16 areas.

다음으로, 다중 음원의 주파수를 분석한다(S402). 이 경우에, 음원 획득 장치로부터 획득된 다중 음원 신호를 분석하여 다중 음원의 주파수를 분석할 수 있다. 또는, 주파수 영역의 신호에 기초하여 음원 위치를 파악하기 위하여, 음원 획득 장치로부터 획득된 다중 음원 신호를 디지털 신호로 변환하고 변환된 디지털 신호를 주파수 영역의 신호로 변환하여 다중 음원의 주파수를 분석할 수 있다.Next, the frequencies of the multiple sound sources are analyzed (S402). In this case, it is possible to analyze the frequency of multiple sound sources by analyzing the multiple sound source signals obtained from the sound source acquisition apparatus. Alternatively, in order to grasp the location of the sound source based on the signal in the frequency domain, the multi-sound source signal obtained from the sound source acquisition device is converted into a digital signal, and the converted digital signal is converted into a signal in the frequency domain, .

다음으로, 다중 음원 주파수 분석 결과 다중 음원의 주파수가 사람의 목소리 주파수 범위에 해당하는지 여부를 판단한다(S403). 판단 결과, 단계 S402에서 분석된 주파수가 사람의 목소리 주파수 범위에 해당하지 않는 것으로 판단되면, 다시 다중 음원을 획득한다(S401).Next, it is determined whether the frequency of the multiple sound source corresponds to the voice frequency range of the human being as a result of the multiple sound source frequency analysis (S403). If it is determined that the frequency analyzed in step S402 does not correspond to the voice frequency range of the human being, the multi-sound source is obtained again (S401).

반면에, 단계 S402에서 분석된 주파수가 사람의 목소리 주파수 범위에 해당하는 것으로 판단되면, 다중 음원의 위치를 파악하기 위하여 음원 국지화를 실행한다(S404). 여기서, ‘음원 국지화’라 함은 음원 감지 센서로부터 음원이 위치하는 장소를 찾아내는 기술을 의미한다. 이러한 음원 국지화 기술은 다수의 마이크로폰들을 이용하여 만들어진 마이크로폰 어레이를 사용한다. 마이크로폰 어레이를 사용하여 음원의 방향을 추정하기 위하여 음성 신호의 도달 지연 시간을 측정할 필요가 있고, 음성 신호의 도달 지연 시간을 측정하기 위하여 GCC(Generalized Cross Correlation) 알고리즘이 일반적으로 사용된다.On the other hand, if it is determined that the frequency analyzed in step S402 corresponds to the voice frequency range of the person, the localization of the sound source is performed to locate the multiple sound sources (S404). Here, 'sound localization' refers to a technique for locating a sound source from a sound source sensor. This localization technique uses a microphone array made by using a plurality of microphones. In order to estimate the direction of the sound source using the microphone array, it is necessary to measure the arrival delay time of the voice signal. In order to measure the arrival delay time of the voice signal, a GCC (Generalized Cross Correlation) algorithm is generally used.

다음으로, 실행된 음원 국지화 결과에 따라 다중 음원의 위치를 파악한다(S405). 여기서, ‘음원의 위치’라 함은 기준점(마이크로폰 또는 마이크로폰 어레이가 될 수 있다.)을 중심으로 음원이 위치한 방향 또는 거리를 의미한다. 즉, 마이크로폰 또는 마이크로폰 어레이를 구성하는 개별 마이크로폰들을 각각 다르게 지연시키면 특정 방향에 위치한 음원 신호에 대하여 지향성을 가지게 되고, 이러한 과정을 전 방향에 대하여 수행한다. 만약, 특정 방향으로부터 획득된 음원 신호의 음압이 최대값을 갖는다면 해당 방향에 음원이 존재한다고 파악할 수 있다. 또는, 음원 획득 장치에 의하여 획득된 다중 음원 신호를 디지털 신호로 변환하고, 변환된 디지털 신호를 다시 주파수 영역의 신호로 변환하여, 다중 음원의 주파수 영역에서 주파수 대역별 시간차를 산출하고, 산출된 주파수 대역별 시간차로부터 최종 시간차를 산출하여, 최종 시간차를 이용하여 다중 음원의 위치를 파악할 수 있다.Next, the position of the multiple sound sources is determined according to the localized result of the executed sound source (S405). Here, 'sound source position' refers to a direction or a distance at which a sound source is positioned around a reference point (which may be a microphone or a microphone array). That is, if the microphones or the individual microphones constituting the microphone array are delayed differently, the sound source signals located in a specific direction will have directivity, and this process is performed in all directions. If the sound pressure of a sound source signal obtained from a specific direction has a maximum value, it can be determined that a sound source exists in the corresponding direction. Alternatively, a multi-tone source signal obtained by the sound source acquisition device is converted into a digital signal, the converted digital signal is converted into a signal of a frequency domain again to calculate a time difference of each frequency band in the frequency domain of the multiple sound source, It is possible to calculate the final time difference from the time difference of each band and to grasp the position of the multiple sound sources using the last time difference.

다음으로, 다중 음원의 측정 시간이 소정의 시간을 초과하는지 여부를 판단한다(S406). 이는 소정의 시간 동안 다중 음원을 획득하여 음원 주파수 분석 및 음원 위치를 파악하는 것은 동영상 획득 대상인 영역에서 사람의 목소리가 가장 많이 파악되는 영역, 즉 사람이 가장 많은 곳을 찾기 위함이다. 판단 결과 소정의 측정 시간을 초과하지 않는 것으로 판단되면, 다시 다중 음원을 획득한다(S401).Next, it is determined whether the measurement time of the multiple sound sources exceeds a predetermined time (S406). This is to find the source of the multi-tone source for a predetermined time, and to analyze the tone source frequency and locate the source, in order to find the area where the human voice is most grasped in the area where the video is acquired, If it is determined that the predetermined measurement time does not exceed the predetermined measurement time, the multiple sound sources are acquired again (S401).

반면에, 판단 결과 소정의 측정 시간을 초과하는 것으로 판단되면, 단계 S405에서 파악된 다중 음원의 위치에 기초하여 다중 음원 위치의 밀도가 가장 큰 범위를 선정하여 얼굴 검출을 수행할 범위를 결정한다(S407). 여기서, ‘얼굴 검출을 수행할 범위를 결정’한다는 것은 동영상 내에서 얼굴 검출을 수행할 때 전체 영상에 대하여 얼굴 검출을 수행하거나 또는 이미지 상에서 얼굴 가능 영역을 중심으로 얼굴 검출을 수행하는 것이 아니라, 다중 음원 위치의 밀도를 중심으로 하여 다중 음원 위치의 밀도가 가장 큰 범위를 선정하여 얼굴 검출을 수행할 범위를 결정하는 것을 의미한다.On the other hand, if it is determined that the predetermined measurement time is exceeded as a result of the determination, a range in which face detection is performed is determined by selecting a range having the largest density of multiple sound source positions based on the positions of the multiple sound sources obtained in step S405 S407). Here, 'determining the range for performing face detection' means that the face detection is performed on the whole image or the face detection is performed centering on the face possible region on the image when the face detection is performed in the moving image, It means to determine the range in which face detection is performed by selecting a range having the largest density of multiple sound source positions around the density of sound source positions.

그리고, ‘ 다중 음원 위치의 밀도가 가장 큰 범위’라 함은 동영상 획득 대상인 영역에 대하여 복수의 음원 검출 영역으로 분할한 후 음원 국지화를 수행한 결과, 복수의 음원 검출 영역 중에서 다중 음원 위치의 밀도가 가장 높은 음원 검출 영역을 의미한다. 또는, 동영상 획득 대상인 영역에 대하여 음원 국지화를 수행한 후 복수의 음원 검출 영역으로 분할한 결과, 복수의 음원 검출 영역 중에서 다중 음원 위치의 밀도가 가장 높은 음원 검출 영역을 의미할 수도 있다.As a result of performing localization of a sound source after dividing it into a plurality of sound source detection regions with respect to a region to which a moving image is to be acquired, the density of multiple sound source positions among the plurality of sound source detection regions Means the highest sound source detection area. Alternatively, it may mean a sound source detection area having the highest density of multiple sound source positions among a plurality of sound source detection areas as a result of performing sound source localization on a region to be a moving image and dividing it into a plurality of sound source detection areas.

또한, ‘복수의 음원 검출 영역으로 분할’한다는 것은 동영상 획득 대상인 영역에 대하여 다중 음원 위치의 밀도가 가장 큰 범위를 선정하기 위하여, 동영상 획득 대상인 영역을 소정의 기준에 따라 복수 개의 영역으로 분할하는 것을 의미한다. 여기서, 동영상 획득 대상인 영역을 복수의 음원 검출 영역으로 분할하는 방법은 동영상 획득 대상인 영역에 배치된 음원 획득 장치의 개수에 따라 달라질 수 있으나, 여기에만 한정되는 것은 아니다. 예를 들어, 동영상 획득 대상인 영역의 범위가 넓은 경우라면 음원 검출 영역을 더욱 세분화할 수 있다. 본 발명의 실시예에서는 4개의 마이크로폰을 음원 획득 장치로 이용하고, 음원 검출 영역을 16 영역으로 분할하였다. 그러나, 음원 검출 영역은 16 영역이 아니라 9 영역 또는 25 영역 또는 36 영역 등으로 분할할 수도 있다.In addition, 'dividing into a plurality of sound source detection regions' means dividing a region, which is a target of a moving image acquisition, into a plurality of regions according to a predetermined criterion in order to select a region having the largest density of multiple sound source positions it means. Here, the method of dividing the region of the moving image acquisition target into the plurality of sound source detection regions may vary depending on the number of sound source acquisition apparatuses arranged in the region of the moving image acquisition target, but is not limited thereto. For example, if the range of the area of the moving image acquisition target is wide, the sound source detection area can be further subdivided. In the embodiment of the present invention, four microphones are used as the sound source acquisition device, and the sound source detection area is divided into 16 areas. However, the sound source detection region may be divided into 9 regions, 25 regions or 36 regions instead of 16 regions.

다음으로, 파악된 다중 음원의 위치에 기초하고 소정의 알고리즘을 이용하여 다중 음원에 대한 얼굴 검출을 수행한다(S408). 또는, 단계 S407에서 결정된 얼굴 검출 범위에서 얼굴 검출을 수행할 수 있다. 본 발명의 실시예에 의하면, 얼굴 검출 방법에는 특별한 제한이 없는데, 얼굴 검출을 위하여 종래 주지된 얼굴 검출 인식 알고리즘 등을 이용할 수 있다. 예를 들어, 얼굴 검출에서 다양한 얼굴 크기를 검출하기 위해서는 피라미드 방식을 이용하여 입력영상의 크기를 점점 변경하고 고정된 크기의 얼굴 검출기로 검출을 수행하는 방법 또는 입력영상의 크기는 고정하고 얼굴 검출기의 특징추출 필터의 크기를 점점 변경하여 검출하는 방법 등을 이용할 수 있다. 이때, 일반적으로 매번 얼굴 검출기의 필터 크기를 변경하는 것보다 입력영상을 피라미드 방식으로 변경함으로써 보다 높은 검출 속도를 얻을 수 있다. 여기서, 얼굴 검출을 수행하는데 이용될 수 있는 하나의 방법은 이미지를 스캐닝하는 슬라이딩 윈도우를 이용하는 것이다. 슬라이딩 윈도우는 얼굴 샘플과 동일한 크기일 수 있는 20 X 20과 같은 미리 정의된 크기를 가질 수 있다. 얼굴 검출을 수행하기 위하여 이용되는 스캐닝 및 매칭 처리는 최대 얼굴 크기가 도달될 때가지 입력 이미지를 다운 샘플링함으로써 수회 반복될 수 있다.Next, face detection for multiple sound sources is performed using a predetermined algorithm based on the position of the detected multiple sound sources (S408). Alternatively, face detection can be performed in the face detection range determined in step S407. According to the embodiment of the present invention, there is no particular limitation on the face detection method, but a conventionally known face detection recognition algorithm or the like can be used for face detection. For example, in order to detect various face sizes in the face detection, the size of the input image is gradually changed by using the pyramid method and the detection is performed by the fixed size face detector. Alternatively, the size of the input image is fixed, A method of gradually changing the size of the feature extraction filter and detecting the feature may be used. In this case, it is generally possible to obtain a higher detection speed by changing the input image to the pyramidal mode rather than changing the filter size of the face detector every time. Here, one method that can be used to perform face detection is to use a sliding window to scan an image. The sliding window may have a predefined size, such as 20 X 20, which may be the same size as the face sample. The scanning and matching process used to perform face detection may be repeated several times by downsampling the input image until the maximum face size is reached.

또한, 얼굴 검출 동작은 예를 들면, 아다부스트 학습 알고리즘에 의해서 학습되어 선택된 특정 패턴들을 이용하여 수행될 수 있지만, 반드시 여기에만 한정되는 것은 아니며 다양한 변형예를 상정할 수 있다. 이때, 얼굴 검출부(140)는 주변 픽셀들 사이의 상관 관계에 기반한 LBP(Local Binary Pattern) 알고리즘을 이용하여 얼굴 검출을 수행할 수 있다. LBP(Local Binary Pattern) 알고리즘은 중앙 픽셀값을 기준으로 8개의 인접한 픽셀값들과 비교하여 구성되며, 시계방향으로 중앙 픽셀값과 비교하여 크면 1, 그렇지 않으면 0의 값으로 변환한다. LBP는 8개의 인접한 픽셀들과 비교하여 구성되기 때문에 8비트로 표현되며, 0부터 255 사이의 값을 갖는다.
In addition, the face detection operation can be performed using, for example, specific patterns selected by learning by the AdaBoost learning algorithm, but it is not necessarily limited thereto, and various modifications can be envisaged. At this time, the face detecting unit 140 can perform face detection using an LBP (Local Binary Pattern) algorithm based on a correlation between neighboring pixels. The LBP (Local Binary Pattern) algorithm is constructed by comparing 8 neighboring pixel values based on the center pixel value, and when it is compared with the center pixel value in the clockwise direction, it is converted to 1 if it is larger or 0 otherwise. LBP is expressed by 8 bits because it is constructed by comparing with 8 adjacent pixels, and has a value from 0 to 255. [

도 5는 본 발명의 다른 실시예에 따른 LBP 알고리즘을 이용한 얼굴 검출 방법을 보여주는 흐름도이다.5 is a flowchart illustrating a face detection method using an LBP algorithm according to another embodiment of the present invention.

본 발명의 실시예에 의하면, 얼굴 검출 방법에는 특별한 제한이 없는데, 얼굴 검출을 위하여 얼굴 검출부(140)는 종래 주지된 얼굴 검출 인식 알고리즘 등을 이용할 수 있다. 예를 들어, 얼굴 검출에서 다양한 얼굴 크기를 검출하기 위해서는 피라미드 방식을 이용하여 입력영상의 크기를 점점 변경하고 고정된 크기의 얼굴 검출기로 검출을 수행하는 방법 또는 입력영상의 크기는 고정하고 얼굴 검출기의 특징추출 필터의 크기를 점점 변경하여 검출하는 방법 등을 이용할 수 있다. 이때 일반적으로 매번 얼굴 검출기의 필터 크기를 변경하는 것보다 입력영상을 피라미드 방식으로 변경함으로써 보다 높은 검출 속도를 얻을 수 있다. 여기서, 얼굴 검출을 수행하는데 이용될 수 있는 하나의 방법은 이미지를 스캐닝하는 슬라이딩 윈도우를 이용하는 것이다. 슬라이딩 윈도우는 얼굴 샘플과 동일한 크기일 수 있는 20 X 20과 같은 미리 정의된 크기를 가질 수 있다. 얼굴 검출을 수행하기 위하여 이용되는 스캐닝 및 매칭 처리는 최대 얼굴 크기가 도달될 때가지 입력 이미지를 다운 샘플링함으로써 수회 반복될 수 있다.According to the embodiment of the present invention, there is no particular limitation on the face detection method. For face detection, the face detection unit 140 can use a conventionally known face detection recognition algorithm or the like. For example, in order to detect various face sizes in the face detection, the size of the input image is gradually changed by using the pyramid method and the detection is performed by the fixed size face detector. Alternatively, the size of the input image is fixed, A method of gradually changing the size of the feature extraction filter and detecting the feature may be used. In this case, it is generally possible to obtain a higher detection speed by changing the input image to the pyramidal mode rather than changing the filter size of the face detector every time. Here, one method that can be used to perform face detection is to use a sliding window to scan an image. The sliding window may have a predefined size, such as 20 X 20, which may be the same size as the face sample. The scanning and matching process used to perform face detection may be repeated several times by downsampling the input image until the maximum face size is reached.

도 5를 참조하면, 먼저 얼굴 검출이 시작되면 LBP(Local Binary Pattern) 변환을 수행하고(S501), 변환된 값에 가중치 값을 중첩한다(S502). 여기서, LBP(Local Binary Pattern) 알고리즘은 3 X 3 마스크내의 중심 픽셀에 대해 주변 픽셀과의 크기 비교를 통해 선택된 이진 패턴을 의미한다. 주변의 8개 픽셀에 대해 일정한 방향이 정해지면 각 픽셀이 중심보다 크면 1, 작거나 같으면 0을 할당하여 8비트의 값이 결정되고, 이를 중심픽셀의 값으로 할당한다. LBP는 8개의 인접한 픽셀들과 비교하여 구성되기 때문에 8비트로 표현되며, 0부터 255 사이의 값을 갖는다.Referring to FIG. 5, when face detection is started, LBP (Local Binary Pattern) conversion is performed (S501), and a weight value is superimposed on the converted value (S502). Here, the LBP (Local Binary Pattern) algorithm refers to a binary pattern selected by comparing magnitudes of neighboring pixels with respect to a center pixel in a 3 X 3 mask. If a certain direction is determined for the surrounding 8 pixels, 1 is assigned if each pixel is larger than the center, 0 is assigned if it is smaller or equal, and a value of 8 bits is determined and assigned as the value of the center pixel. LBP is expressed by 8 bits because it is constructed by comparing with 8 adjacent pixels, and has a value from 0 to 255. [

다름으로, LBP 변환값에 가중치값이 중첩된 결과값이 얼굴 후보에 해당하면 얼굴 후보를 등록하고(S503), 영상 크기가 슬라이딩 윈도우 기준 크기보다 큰지 여부를 판단한다(S504). 판단 결과, 영상 크기가 슬라이딩 윈도우 기준 크기보다 큰 것으로 판단되면, 영상을 축소하고(S505), 다시 LBP 변환을 수행한다(S501).If the result of overlapping the weight value with the LBP conversion value corresponds to the face candidate, the face candidate is registered (S503), and it is determined whether the image size is larger than the sliding window reference size (S504). If it is determined that the image size is larger than the sliding window reference size, the image is reduced (S505), and LBP conversion is performed again (S501).

반면에, 영상 크기가 슬라이딩 윈도운 기준 크기보다 작은 것으로 판단되면, 얼굴 검출 인증된 것으로 파악한다(S506).
On the other hand, if it is determined that the image size is smaller than the sliding window standard size, it is determined that the face detection is authenticated (S506).

또한, 이러한 얼굴 검출 방법은 컴퓨터로 실행하기 위한 프로그램이 기록된 컴퓨터 판독가능 기록매체에 저장될 수 있다. 이때, 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 제안된 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 통상의 기술자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 상기 매체는 프로그램 명령, 데이터 구조 등을 지정하는 신호를 전송하는 반송파를 포함하는 광 또는 금속선, 도파관 등의 전송 매체일 수도 있다. 프로그램명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다. 또한, 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 장치에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.
Furthermore, such a face detection method can be stored in a computer-readable recording medium on which a program for executing by a computer is recorded. At this time, the computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. Program instructions to be recorded on the medium may be those specially designed and constructed for the proposed invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. The medium may be a transmission medium such as an optical or metal line, a wave guide, or the like, including a carrier wave for transmitting a signal designating a program command, a data structure, or the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa. In addition, the computer-readable recording medium may be distributed to network-connected computer devices so that computer-readable codes can be stored and executed in a distributed manner.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위 내에서 다양한 수정, 변경 및 치환이 가능할 것이다. 따라서, 본 발명에 개시된 실시예 및 첨부된 도면들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예 및 첨부된 도면에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.It will be apparent to those skilled in the art that various modifications, substitutions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims. will be. Therefore, the embodiments disclosed in the present invention and the accompanying drawings are intended to illustrate and not to limit the technical spirit of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments and the accompanying drawings . The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.

10 : 얼굴 검출 장치
110 : 음원 주파수 분석부
120 : 음원 위치 파악부
130 : 얼굴 검출 범위 결정부
140 : 얼굴 검출부
21, 22, 23, 24 : 음원 획득 장치
200 : 음원 검출 영역
300 : 얼굴 검출 범위
10: Face Detection Device
110: Sound source frequency analysis unit
120: sound source position determination unit
130: Face detection range determination unit
140: Face Detection Unit
21, 22, 23, 24: sound source acquisition device
200: Sound source detection area
300: Face detection range

Claims (12)

음원 획득 장치로부터 획득된 다중 음원의 주파수를 분석하는 음원 주파수 분석부;
상기 음원 주파수 분석부에 의하여 분석된 다중 음원의 주파수가 사람의 목소리 주파수 범위에 해당하면 상기 다중 음원의 위치를 파악하는 음원 위치 파악부;
상기 다중 음원의 위치의 밀도가 가장 큰 범위를 얼굴 검출 범위로 선정하는 얼굴 검출 범위 결정부; 및
상기 얼굴 검출 범위에서 소정의 알고리즘을 이용하여 상기 다중 음원에 대한 얼굴 검출을 수행하는 얼굴 검출부;
를 포함하며,
상기 음원 위치 파악부는 상기 다중 음원의 지향성에 기초하여 파악된 음원의 방향 및 상기 다중 음원의 주파수 대역별 시간차로부터 파악된 거리에 기초하여 파악된 음원의 거리를 통해 음원의 위치를 파악하며,
상기 음원 위치 파악부는 사람이 낼 수 있는 목소리 주파수 범위에 해당하는 주파수 영역에 대해서만 음원의 위치를 파악하는 프로세서를 실행하는 것을 특징으로 하는 얼굴 검출 장치.
A sound source frequency analyzer for analyzing frequencies of multiple sound sources obtained from the sound source acquisition device;
A sound source position detector for detecting a position of the multiple sound source when the frequency of the multiple sound sources analyzed by the sound source frequency analyzer corresponds to a voice frequency range of a person;
A face detection range determination unit that selects a range having the largest density of positions of the multiple sound sources as a face detection range; And
A face detection unit for performing face detection on the multiple sound source using a predetermined algorithm in the face detection range;
/ RTI >
Wherein the sound source localization unit grasps the location of the sound source through the distance of the sound source based on the direction of the sound source identified based on the directivity of the multiple sound sources and the distance detected from the time difference of the multiple sound sources,
Wherein the sound source localization unit executes a processor that grasps the position of a sound source only in a frequency region corresponding to a voice frequency range that a human being can emit.
삭제delete 제1항에 있어서,
상기 음원 획득 장치는 전방 마이크로폰, 후방 마이크로폰, 좌측 마이크로폰 및 우측 마이크로폰이 십자 형태로 배열된 것을 특징으로 하는 얼굴 검출 장치.
The method according to claim 1,
Wherein the sound source acquisition device includes a front microphone, a rear microphone, a left microphone, and a right microphone arranged in a cross shape.
제1항에 있어서,
상기 음원 주파수 분석부는 상기 음원 획득 장치에 의하여 획득된 다중 음원 신호를 디지털 신호로 변환하고 상기 디지털 신호를 주파수 영역의 신호로 변환하여 상기 다중 음원의 주파수를 분석하는 것을 특징으로 하는 얼굴 검출 장치.
The method according to claim 1,
Wherein the sound source frequency analyzing unit converts the multiple sound source signal obtained by the sound source acquiring device into a digital signal and converts the digital signal into a frequency domain signal to analyze the frequency of the multiple sound source.
제4항에 있어서,
상기 음원 위치 파악부는 상기 주파수 영역에서 주파수 대역별 시간차를 산출하고, 상기 산출된 주파수 대역별 시간차로부터 산출된 최종 시간차를 이용하여 상기 다중 음원의 위치를 파악하는 것을 특징으로 하는 얼굴 검출 장치.
5. The method of claim 4,
Wherein the sound source localization unit calculates a time difference for each frequency band in the frequency domain and grasps the position of the multiple sound source using the calculated final time difference from the calculated time difference for each frequency band.
제1항에 있어서,
상기 얼굴 검출부는 주변 픽셀들 사이의 상관 관계에 기반한 LBP(Local Binary Pattern) 알고리즘을 이용하여 얼굴 검출을 수행하는 것을 특징으로 하는 얼굴 검출 장치.
The method according to claim 1,
Wherein the face detecting unit performs face detection using an LBP (Local Binary Pattern) algorithm based on a correlation between neighboring pixels.
음원 획득 장치로부터 획득된 다중 음원의 주파수를 분석하는 단계;
상기 분석된 다중 음원의 주파수가 사람의 목소리 주파수 범위에 해당하면 상기 다중 음원의 위치를 파악하는 단계;
상기 다중 음원의 위치의 밀도가 가장 큰 범위를 얼굴 검출 범위로 선정하는 단계; 및
상기 얼굴 검출 범위에서 소정의 알고리즘을 이용하여 상기 다중 음원에 대한 얼굴 검출을 수행하는 단계;
를 포함하며,
상기 음원 위치를 파악하는 단계는 상기 다중 음원의 지향성에 기초하여 파악된 음원의 방향 및 상기 다중 음원의 주파수 대역별 시간차로부터 파악된 거리에 기초하여 파악된 음원의 거리를 통해 음원의 위치를 파악하며, 사람이 낼 수 있는 목소리 주파수 범위에 해당하는 주파수 영역에 대해서만 음원의 위치를 파악하는 프로세서를 실행하는 것을 특징으로 하는 얼굴 검출 방법.
Analyzing frequencies of multiple sound sources obtained from the sound source acquisition device;
Determining a location of the multiple sound source if the analyzed frequency of the multiple sound source corresponds to a range of a voice frequency of a person;
Selecting a range in which the density of positions of the multiple sound sources is the largest as a face detection range; And
Performing face detection on the multiple sound source using a predetermined algorithm in the face detection range;
/ RTI >
The step of grasping the location of the sound source locates the location of the sound source through the distance of the sound source based on the direction detected by the direction of the sound source based on the directivity of the multiple sound sources and the distance detected from the time difference between the frequency bands of the multiple sound sources , And executes a processor that grasps the position of a sound source only in a frequency region corresponding to a range of a voice frequency that a human can emit.
삭제delete 제7항에 있어서,
상기 음원 획득 장치는 전방 마이크로폰, 후방 마이크로폰, 좌측 마이크로폰 및 우측 마이크로폰이 십자 형태로 배열된 것을 특징으로 하는 얼굴 검출 방법.
8. The method of claim 7,
Wherein the sound source acquisition device includes a front microphone, a rear microphone, a left microphone, and a right microphone arranged in a cross shape.
제7항에 있어서,
상기 음원 주파수 분석 단계에서는 상기 음원 획득 장치에 의하여 획득된 다중 음원 신호를 디지털 신호로 변환하고 상기 디지털 신호를 주파수 영역의 신호로 변환하여 상기 다중 음원의 주파수를 분석하고,
상기 음원 위치 파악 단계에서는 상기 주파수 영역에서 주파수 대역별 시간차를 산출하고, 상기 산출된 주파수 대역별 시간차로부터 산출된 최종 시간차를 이용하여 상기 다중 음원의 위치를 파악하는 것을 특징으로 하는 얼굴 검출 방법.
8. The method of claim 7,
In the sound source frequency analysis step, the multi-sound source signal obtained by the sound source acquisition device is converted into a digital signal, the digital signal is converted into a frequency domain signal to analyze the frequency of the multiple sound source,
Wherein the sound source localization step calculates a time difference for each frequency band in the frequency domain and grasps the location of the multiple sound source using a final time difference calculated from the calculated time difference for each frequency band.
제7항에 있어서,
상기 얼굴 검출 수행 단계에서는 주변 픽셀들 사이의 상관 관계에 기반한 LBP(Local Binary Pattern) 알고리즘을 이용하여 얼굴 검출을 수행하는 것을 특징으로 하는 얼굴 검출 방법.
8. The method of claim 7,
Wherein the face detection is performed using an LBP (Local Binary Pattern) algorithm based on a correlation between neighboring pixels in the face detection step.
제7항, 제9항 내지 제11항 중 어느 한 항에 따른 방법을 컴퓨터로 실행하기 위한 프로그램이 기록된 컴퓨터 판독가능 기록매체.A computer-readable recording medium having recorded thereon a program for executing a method according to any one of claims 7 to 11.
KR1020140065446A 2014-05-29 2014-05-29 Apparatus and method for detecting face using multiple source localization KR101642084B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140065446A KR101642084B1 (en) 2014-05-29 2014-05-29 Apparatus and method for detecting face using multiple source localization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140065446A KR101642084B1 (en) 2014-05-29 2014-05-29 Apparatus and method for detecting face using multiple source localization

Publications (2)

Publication Number Publication Date
KR20150137491A KR20150137491A (en) 2015-12-09
KR101642084B1 true KR101642084B1 (en) 2016-07-22

Family

ID=54873416

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140065446A KR101642084B1 (en) 2014-05-29 2014-05-29 Apparatus and method for detecting face using multiple source localization

Country Status (1)

Country Link
KR (1) KR101642084B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102088222B1 (en) * 2018-01-25 2020-03-16 서강대학교 산학협력단 Sound source localization method based CDR mask and localization apparatus using the method
CN109031201A (en) * 2018-06-01 2018-12-18 深圳市鹰硕技术有限公司 The voice localization method and device of Behavior-based control identification
CN111580111A (en) * 2020-05-29 2020-08-25 厦门理工学院 Transmitting terminal, receiving terminal, method and system for underwater sound wave distance measurement

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013531785A (en) * 2010-05-20 2013-08-08 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Distance estimation using speech signals

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100754385B1 (en) * 2004-09-30 2007-08-31 삼성전자주식회사 Apparatus and method for object localization, tracking, and separation using audio and video sensors
KR20110038313A (en) * 2009-10-08 2011-04-14 삼성전자주식회사 Image photographing apparatus and control method thereof
KR20130048075A (en) * 2011-11-01 2013-05-09 삼성전자주식회사 Apparatus for multiple sound source localization and method the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013531785A (en) * 2010-05-20 2013-08-08 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Distance estimation using speech signals

Also Published As

Publication number Publication date
KR20150137491A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
KR100754385B1 (en) Apparatus and method for object localization, tracking, and separation using audio and video sensors
Charfi et al. Definition and performance evaluation of a robust SVM based fall detection solution
US9451379B2 (en) Sound field analysis system
US10043064B2 (en) Method and apparatus of detecting object using event-based sensor
US8571274B2 (en) Person-judging device, method, and program
KR101362631B1 (en) Head recognition method
KR101608889B1 (en) Monitoring system and method for queue
CN103824070A (en) Rapid pedestrian detection method based on computer vision
US8965068B2 (en) Apparatus and method for discriminating disguised face
EP2704056A2 (en) Image processing apparatus, image processing method
KR101642084B1 (en) Apparatus and method for detecting face using multiple source localization
KR20180130869A (en) CNN For Recognizing Hand Gesture, and Device control system by hand Gesture
KR20220146396A (en) Apparatus and Method for classifing Gesture based on CNN
JP2010121975A (en) Sound-source localizing device
KR101745995B1 (en) Device and method for detecting moving object using high frequency radar
US20230342953A1 (en) Information processing apparatus, control method, and program
JP6042146B2 (en) Object detection apparatus and object detection method
JP2014021602A (en) Image processor and image processing method
KR101542647B1 (en) A Method for Processing Audio Signal Using Speacker Detection and A Device thereof
KR101146417B1 (en) Apparatus and method for tracking salient human face in robot surveillance
KR101517538B1 (en) Apparatus and method for detecting importance region using centroid weight mask map and storage medium recording program therefor
Sawas et al. Cascade of boosted classifiers for automatic target recognition in synthetic aperture sonar imagery
KR102092475B1 (en) Method and application for animal species classification
KR101696086B1 (en) Method and apparatus for extracting object region from sonar image
JP5435221B2 (en) Sound source signal separation device, sound source signal separation method and program

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E90F Notification of reason for final refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190625

Year of fee payment: 4