KR20150072002A - Electronic device and control method thereof - Google Patents

Electronic device and control method thereof Download PDF

Info

Publication number
KR20150072002A
KR20150072002A KR1020130159194A KR20130159194A KR20150072002A KR 20150072002 A KR20150072002 A KR 20150072002A KR 1020130159194 A KR1020130159194 A KR 1020130159194A KR 20130159194 A KR20130159194 A KR 20130159194A KR 20150072002 A KR20150072002 A KR 20150072002A
Authority
KR
South Korea
Prior art keywords
image
face
electronic device
control unit
module
Prior art date
Application number
KR1020130159194A
Other languages
Korean (ko)
Inventor
김성현
이초일
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020130159194A priority Critical patent/KR20150072002A/en
Publication of KR20150072002A publication Critical patent/KR20150072002A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The present invention relates to an electronic device and a control method thereof. The present invention provides an electronic device and a control method thereof to detect a face from an image when only a part of the face is shown on the image taken by a camera. The electronic device comprises: a camera to take an image of the outside; and a control part which mirrors the border area of the image to the outside of the image to obtain an extended area made of the mirrored image around the border area and detects a face from the image and the extended area.

Description

전자 기기 및 그 제어 방법{ELECTRONIC DEVICE AND CONTROL METHOD THEREOF}ELECTRONIC DEVICE AND CONTROL METHOD THEREOF

본 발명은 전자 기기에 관한 것으로서, 보다 구체적으로는 이미지상에서 얼굴 검출을 수행하는 전자 기기 및 그 제어 방법에 관한 것이다.
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic apparatus, and more particularly, to an electronic apparatus for performing face detection on an image and a control method thereof.

개인용 컴퓨터, 노트북, 휴대폰 등과 같은 단말기(terminal)는 기능이 다양화됨에 따라 사진이나, 동영상의 촬영, 음악이나 동영상 파일의 재생, 게임 방송의 수신 등 복합적인 기능들을 갖춘 멀티 미디어 기기(Multimedia player) 형태로 구현되고 있다.A terminal such as a personal computer, a notebook computer, and a mobile phone has a variety of functions, and a multimedia device (multimedia player) having a complex function such as photographing, video shooting, playing music or video file, .

단말기는 이동 가능 여부에 따라 이동 단말기(mobile terminal) 및 고정 단말기(stationary terminal)로 구분될 수 있다. 상기 휴대용 단말기는 사용자의 직접 휴대 가능 여부에 따라 휴대형 단말기(handheld terminal) 및 거치형 단말기 (vehicle mount terminal)로 구분될 수 있다.A terminal can be divided into a mobile terminal and a stationary terminal depending on whether the terminal is movable or not. The portable terminal can be divided into a handheld terminal and a vehicle mount terminal according to whether the user can directly carry the portable terminal.

단말기의 기능 지지 및 증대를 위해, 단말기의 구조적인 부분 및/또는 소프트웨어적인 부분을 개량하는 것이 고려될 수 있다. 최근 이동 단말기를 포함한 다양한 단말기들은 복합적이고 다양한 기능들을 제공함에 따라 사용자 인터페이스(User Interface)가 복잡해지는 추세에 있다. 이러한 사용자 인터페이스는 단말기들의 다양한 기능들에 사용자가 쉽게 접근할 수 있고 나아가, 사용자의 감성까지 충족할 수 있도록 발전하고 있다.For functional support and enhancement of the terminal, it may be considered to improve the structural and / or software part of the terminal. 2. Description of the Related Art [0002] In recent years, various terminals including a mobile terminal have been complicated and user interface has become complicated due to various functions. Such a user interface is evolving so that the user can easily access various functions of the terminals and further meet the user's sensibility.

특히, 단말기의 구조가 다양화되면서 특정 구조 및/또는 기능의 단말기의 사용 상태를 고려하여, 해당 단말기의 사용 상태에 적합한 사용자 인터페이스를 사용자에게 적절하게 제공하고자 하는 개발이 요구된다.Particularly, as the structure of the terminal is diversified, it is required to develop a user interface suitable for the usage state of the terminal in consideration of the usage state of the terminal having a specific structure and / or function.

한편, 단말기의 카메라를 통해 획득된 영상에서 얼굴의 검출을 필요로 하는 경우가 있다. 이를 위하여 여러 방법이 제안되었으나, 단말기에 구비된 카메라의 제한적인 화각에 의해, 영상 내에서 사용자의 얼굴이 부분적으로 나타나는 경우에는 제대로 얼굴을 검출하지 못하는 불편이 있었다.On the other hand, there are cases where face detection is required in an image obtained through a camera of a terminal. However, due to the limited angle of view of the camera provided in the terminal, there has been a problem that the face can not be detected properly when the user's face partially appears in the image.

또한, 이러한 경우에 얼굴 검출기와 같이 얼굴의 부분 특징 검출기를 사용하는 방법이 제안되었으나, 오검출률이 높고, 두 개의 검출 알고리즘을 실행하여야 함에 따른 처리 시간 및 전력 소모가 늘어나는 문제가 있었다. 따라서, 이러한 불편을 해소하기 위한 얼굴 검출 방법의 제공이 요구된다.
Also, in such a case, a method of using a partial feature detector of a face like a face detector has been proposed. However, there has been a problem that a high detection error rate and a high processing time and power consumption are required due to execution of two detection algorithms. Therefore, it is required to provide a face detecting method for solving such inconvenience.

본 발명의 과제는, 카메라를 통해 획득된 이미지에 얼굴의 일부분만 있는 경우에도 해당 이미지에서 얼굴을 검출할 수 있는 전자 기기 및 전자 기기의 제어 방법을 제공하는 것이다.An object of the present invention is to provide an electronic device and a control method of an electronic device capable of detecting a face in the image even if the image obtained through the camera has only a part of the face.

본 발명이 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
The technical objects to be achieved by the present invention are not limited to the technical matters mentioned above, and other technical subjects which are not mentioned can be clearly understood by those skilled in the art from the following description. There will be.

본 발명의 일 양상에 따른 전자 기기는 외부 이미지를 획득하는 카메라 및 상기 획득된 이미지의 테두리 영역을 상기 획득된 이미지의 외부로 미러링(mirroring)하여 상기 테두리 영역의 주위에 미러 이미지(mirror image)로 이루어진 확장 영역을 획득하고, 상기 획득된 이미지와 상기 확장된 영역에서 얼굴을 검출하는 제어부를 포함할 수 있다.An electronic device according to an aspect of the present invention includes a camera for obtaining an external image and a mirror image of the obtained image by mirroring the edge area of the obtained image to the outside of the obtained image to form a mirror image around the edge area And a control unit for detecting a face in the obtained image and the extended area.

상기 제어부는 상기 획득된 이미지를 소정의 비율로 축소시키는 리사이징(resizing)을 적어도 1회 이상 수행하고, 상기 리사이징된 이미지 각각에 대하여 상기 확장 영역을 획득하고, 상기 얼굴 검출을 수행하는 것을 포함할 수 있다.The control unit may include performing at least one time resizing to reduce the acquired image to a predetermined ratio, acquiring the extended area for each of the resized images, and performing the face detection have.

상기 제어부는 상기 얼굴을 검출하기 위한 얼굴 검출창의 크기에 따라 상기 확장 영역의 크기를 조절하는 것을 포함할 수 있다.The control unit may include adjusting the size of the extended area according to a size of the face detection window for detecting the face.

본 발명의 다른 면에 따라 전자 기기의 제어 방법은, 외부 이미지를 획득하는 단계, 상기 획득된 이미지의 테두리 영역을 상기 획득된 이미지의 외부로 미러링하여 상기 테두리 영역의 주위에 미러 이미지로 이루어진 확장 영역을 획득하는 단계 및 상기 획득된 이미지와 상기 확장된 영역에서 얼굴을 검출하는 단계를 포함할 수 있다.According to another aspect of the present invention, there is provided a control method of an electronic device, comprising: acquiring an external image; mirroring the edge area of the obtained image to the outside of the obtained image, And detecting a face in the obtained image and the extended area.

상기 확장 영역을 획득하는 단계는 상기 획득된 이미지를 소정의 비율로 축소시키는 리사이징을 적어도 1회 이상 수행하고, 상기 리사이징된 이미지 각각에 대하여 상기 확장 영역을 획득하는 것을 포함할 수 있다.
The obtaining of the extended region may include performing at least one time of resizing to reduce the obtained image at a predetermined ratio, and obtaining the extended region for each of the resized images.

본 발명에 의하면, 카메라를 통해 획득된 이미지에 얼굴의 일부분만 있는 경우에도 해당 이미지에서 얼굴을 검출할 수 있다.According to the present invention, even when only a part of a face is included in an image obtained through a camera, the face can be detected from the image.

또한, 본 발명에 의하면, 획득된 이미지의 테두리 영역을 미러링하는 방식에 의하여 얼굴을 검출함으로써, 부분 얼굴을 검출하기 위하여 별도의 부분 특징 검출기를 사용할 필요가 없다.Further, according to the present invention, it is not necessary to use a separate partial feature detector for detecting a partial face by detecting a face by mirroring the edge region of the obtained image.

또한, 본 발명에 의하면, 부분 얼굴을 검출하기 위하여 미러링 기법 적용 이후 하나의 얼굴 검출기를 이용함으로써, 검출 시간이나 전력 소모를 줄일 수 있다.In addition, according to the present invention, since one face detector is used after applying the mirroring technique to detect a partial face, detection time and power consumption can be reduced.

또한, 본 발명에 의하면, 미러링 기법을 이용하여 부분 얼굴에 대해서도 전체적인 얼굴 특징을 검출할 수 있어 오검출률을 줄일 수 있다.
In addition, according to the present invention, it is possible to detect an entire facial feature even for a partial face by using a mirroring technique, thereby reducing the false positives.

도 1은 본 발명의 일 실시예와 관련된 전자 기기의 블럭 구성도(block diagram)이다.
도 2a는 본 발명의 일 실시예에 관련된 전자 기기의 전면 사시도이다.
도 2b는 본 발명의 일 실시예에 관련된 전자 기기의 후면 사시도이다.
도 3은 본 발명의 일 실시예에 따른 전자 기기의 제어 방법의 흐름도이다.
도 4 및 도 5는 본 발명의 일 실시예에 따른 미러링 기법을 이용한 확장 영역 및 이를 이용하여 부분 얼굴을 검출하는 것을 설명하기 위한 도면이다.
도 6 내지 도 8은 본 발명의 일 실시예에 따른 이미지의 리사이징을 이용한 부분 얼굴을 검출하는 것을 설명하기 위한 도면이다.
도 9는 본 발명의 일 실시예에 따른 부분 얼굴의 검출을 설명하기 위한 도면이다.
도 10은 본 발명의 일 실시예에 따른 얼굴 검출창의 크기에 따라 확장 영역의 크기를 조절하는 것을 설명하기 위한 도면이다.
1 is a block diagram of an electronic apparatus according to an embodiment of the present invention.
2A is a front perspective view of an electronic apparatus according to an embodiment of the present invention.
2B is a rear perspective view of an electronic apparatus according to an embodiment of the present invention.
3 is a flowchart of a method of controlling an electronic device according to an embodiment of the present invention.
4 and 5 are diagrams for explaining detection of a partial face using the extended area using the mirroring technique according to an embodiment of the present invention.
6 to 8 are diagrams for explaining detection of a partial face using resizing of an image according to an embodiment of the present invention.
9 is a diagram for explaining detection of a partial face according to an embodiment of the present invention.
10 is a diagram for explaining the adjustment of the size of the extended area according to the size of the face detection window according to the embodiment of the present invention.

본 발명의 상술한 목적, 특징들 및 장점은 첨부된 도면과 관련된 다음의 상세한 설명을 통해 보다 분명해질 것이다. 다만, 본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예들을 가질 수 있는 바, 이하에서는 특정 실시예들을 도면에 예시하고 이를 상세히 설명하고자 한다. 명세서 전체에 걸쳐서 동일한 참조번호들은 원칙적으로 동일한 구성요소들을 나타낸다. 또한, 본 발명과 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 본 명세서의 설명 과정에서 이용되는 숫자(예를 들어, 제1, 제2 등)는 하나의 구성요소를 다른 구성요소와 구분하기 위한 식별기호에 불과하다.The above objects, features and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. It is to be understood, however, that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and similarities. Like reference numerals designate like elements throughout the specification. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. In addition, numerals (e.g., first, second, etc.) used in the description of the present invention are merely an identifier for distinguishing one component from another.

이하, 본 발명과 관련된 전자 기기에 대하여 도면을 참조하여 더욱 상세하게 설명한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. Hereinafter, electronic devices related to the present invention will be described in more detail with reference to the drawings. The suffix "module" and " part "for the components used in the following description are given or mixed in consideration of ease of specification, and do not have their own meaning or role.

본 명세서에서 설명되는 전자 기기에는 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털방송용 단말기, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 네비게이션 등이 포함될 수 있다. 그러나 본 명세서에 기재된 실시예에 따른 구성은 이동 단말기에만 적용 가능한 경우를 제외하면, 디지털 TV, 데스크탑 컴퓨터 등과 같은 고정 단말기에도 적용될 수도 있음을 본 기술분야의 당업자라면 쉽게 알 수 있을 것이다.The electronic devices described herein may include a mobile phone, a smart phone, a laptop computer, a digital broadcasting terminal, a PDA (Personal Digital Assistants), a PMP (Portable Multimedia Player), and navigation. However, it will be understood by those skilled in the art that the configuration according to the embodiments described herein may be applied to a fixed terminal such as a digital TV, a desktop computer, and the like, unless the configuration is applicable only to a mobile terminal.

도 1은 본 발명의 일 실시예와 관련된 전자 기기의 블록 구성도(block diagram)이다.1 is a block diagram of an electronic apparatus according to an embodiment of the present invention.

상기 전자 기기(100)는 무선 통신부(110), A/V(Audio/Video) 입력부(120), 사용자 입력부(130), 센싱부(140), 출력부(150), 메모리부(160), 인터페이스부(170), 제어부(180) 및 전원 공급부(190) 등을 포함할 수 있다. 도 1에 도시된 구성요소들이 필수적인 것은 아니어서, 그보다 많은 구성요소들을 갖거나 그보다 적은 구성요소들을 갖는 전자 기기를 구현될 수도 있다.The electronic device 100 includes a wireless communication unit 110, an audio / video input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory unit 160, An interface unit 170, a control unit 180, a power supply unit 190, and the like. The components shown in FIG. 1 are not essential, and an electronic device having more or fewer components may be implemented.

이하, 상기 구성요소들에 대해 차례로 살펴본다.Hereinafter, the components will be described in order.

무선 통신부(110)는 전자 기기(100)와 무선 통신 시스템 사이 또는 전자 기기(100)와 전자 기기(100)가 위치한 네트워크 사이의 무선 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 예를 들어, 무선 통신부(110)는 방송 수신 모듈(111), 이동통신 모듈(112), 무선 인터넷 모듈(113), 근거리 통신 모듈(114) 및 위치정보 모듈(115) 등을 포함할 수 있다.The wireless communication unit 110 may include one or more modules that enable wireless communication between the electronic device 100 and the wireless communication system or between the electronic device 100 and the network in which the electronic device 100 is located. For example, the wireless communication unit 110 may include a broadcast receiving module 111, a mobile communication module 112, a wireless Internet module 113, a short range communication module 114, and a location information module 115 .

방송 수신 모듈(111)은 방송 채널을 통하여 외부의 방송 관리 서버로부터 방송 신호 및/또는 방송 관련된 정보를 수신한다. The broadcast receiving module 111 receives broadcast signals and / or broadcast-related information from an external broadcast management server through a broadcast channel.

상기 방송 채널은 위성 채널, 지상파 채널을 포함할 수 있다. 상기 방송 관리 서버는, 방송 신호 및/또는 방송 관련 정보를 생성하여 송신하는 서버 또는 기 생성된 방송 신호 및/또는 방송 관련 정보를 제공받아 단말기에 송신하는 서버를 의미할 수 있다. 상기 방송 신호는, TV 방송 신호, 라디오 방송 신호, 데이터 방송 신호를 포함할 뿐만 아니라, TV 방송 신호 또는 라디오 방송 신호에 데이터 방송 신호가 결합한 형태의 방송 신호도 포함할 수 있다. The broadcast channel may include a satellite channel and a terrestrial channel. The broadcast management server may refer to a server for generating and transmitting broadcast signals and / or broadcast related information, or a server for receiving broadcast signals and / or broadcast related information generated by the broadcast management server and transmitting the generated broadcast signals and / or broadcast related information. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and a broadcast signal in which a data broadcast signal is combined with a TV broadcast signal or a radio broadcast signal.

상기 방송 관련 정보는, 방송 채널, 방송 프로그램 또는 방송 서비스 제공자에 관련한 정보를 의미할 수 있다. 상기 방송 관련 정보는, 이동통신망을 통하여도 제공될 수 있다. 이러한 경우에는 상기 이동통신 모듈(112)에 의해 수신될 수 있다.The broadcast-related information may refer to a broadcast channel, a broadcast program, or information related to a broadcast service provider. The broadcast-related information may also be provided through a mobile communication network. In this case, it may be received by the mobile communication module 112.

상기 방송 관련 정보는 다양한 형태로 존재할 수 있다. 예를 들어, DMB(Digital Multimedia Broadcasting)의 EPG(Electronic Program Guide) 또는 DVBH(Digital Video Broadcast Handheld)의 ESG(Electronic Service Guide) 등의 형태로 존재할 수 있다.The broadcast-related information may exist in various forms. For example, an EPG (Electronic Program Guide) of DMB (Digital Multimedia Broadcasting) or an ESG (Electronic Service Guide) of DVBH (Digital Video Broadcast Handheld).

상기 방송 수신 모듈(111)은, 각종 방송 시스템을 이용하여 방송 신호를 수신하는데, 특히, DMBT(Digital Multimedia BroadcastingTerrestrial), DMBS(Digital Multimedia BroadcastingSatellite), MediaFLO(Media Forward Link Only), DVBH(Digital Video BroadcastHandheld), ISDBT(Integrated Services Digital BroadcastTerrestrial) 등의 디지털 방송 시스템을 이용하여 디지털 방송 신호를 수신할 수 있다. 물론, 상기 방송 수신 모듈(111)은, 상술한 디지털 방송 시스템뿐만 아니라 방송 신호를 제공하는 다른 방송 시스템에 적합하도록 구성될 수도 있다.The broadcast receiving module 111 receives broadcast signals using various broadcasting systems. In particular, the broadcast receiving module 111 may be a digital multimedia broadcasting broadcasting (DMBT), a digital multimedia broadcasting satellite (DMBS), a media forward link only (MediaFLO), a digital video broadcasting ), And ISDBT (Integrated Services Digital Broadcast Terrestrial). Of course, the broadcast receiving module 111 may be adapted to other broadcasting systems that provide broadcast signals as well as the digital broadcasting system described above.

방송 수신 모듈(111)을 통해 수신된 방송 신호 및/또는 방송 관련 정보는 메모리부(160)에 저장될 수 있다.The broadcast signal and / or broadcast related information received through the broadcast receiving module 111 may be stored in the memory unit 160.

이동통신 모듈(112)은, 이동 통신망 상에서 기지국, 외부의 단말, 서버 중 적어도 하나와 무선 신호를 송수신한다. 상기 무선 신호는, 음성 호 신호, 화상 통화 호 신호 또는 문자/멀티미디어 메시지 송수신에 따른 다양한 형태의 데이터를 포함할 수 있다. The mobile communication module 112 transmits and receives radio signals to at least one of a base station, an external terminal, and a server on a mobile communication network. The wireless signal may include various types of data depending on a voice call signal, a video call signal or a text / multimedia message transmission / reception.

무선 인터넷 모듈(113)은 무선 인터넷 접속을 위한 모듈을 말하는 것으로, 무선 인터넷 모듈(113)은 전자 기기(100)에 내장되거나 외장될 수 있다. 무선 인터넷 기술로는 WLAN(Wireless LAN)(WiFi), Wibro(Wireless broadband), Wimax(World Interoperability for Microwave Access), HSDPA(High Speed Downlink Packet Access) 등이 이용될 수 있다. The wireless Internet module 113 refers to a module for wireless Internet access, and the wireless Internet module 113 can be embedded in the electronic device 100 or externally. WLAN (WiFi), Wibro (Wireless broadband), Wimax (World Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access) and the like can be used as wireless Internet technologies.

근거리 통신 모듈(114)은 근거리 통신을 위한 모듈을 말한다. 근거리 통신 기술로 블루투스(Bluetooth), RFID(Radio Frequency Identification), 적외선 통신(IrDA, infrared Data Association), UWB(Ultra Wideband), ZigBee 등이 이용될 수 있다.The short-range communication module 114 refers to a module for short-range communication. Bluetooth, radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, and the like can be used as the short distance communication technology.

위치정보 모듈(115)은 전자 기기의 위치를 확인하거나 얻기 위한 모듈이다. 상기 위치정보 모듈의 대표적인 예로는 GPS(Global Position System) 모듈이 있다. 현재 기술에 의하면, 상기 GPS모듈(115)은, 일 지점(개체)이 3개 이상의 위성으로부터 떨어진 거리에 관한 정보와, 상기 거리 정보가 측정된 시간에 관한 정보를 산출한 다음 상기 산출된 거리 정보에 삼각법을 적용함으로써, 일 시간에 일 지점(개체)에 대한 위도, 경도, 및 고도에 따른 3차원의 위치 정보를 산출할 수 있다. 나아가, 3개의 위성을 이용하여 위치 및 시간 정보를 산출하고, 또 다른 1개의 위성을 이용하여 상기 산출된 위치 및 시간 정보의 오차를 수정하는 방법 또한 사용되고 있다. GPS 모듈(115)은 현 위치를 실시간으로 계속 산출하고 그를 이용하여 속도 정보를 산출하기도 한다. The position information module 115 is a module for confirming or obtaining the position of the electronic device. A typical example of the location information module is a GPS (Global Position System) module. According to the current technology, the GPS module 115 calculates information on a distance (distance) from three or more satellites to one point (entity), information on the time when the distance information is measured, , Three-dimensional position information according to latitude, longitude, and altitude of one point (individual) in one hour can be calculated. Further, a method of calculating position and time information using three satellites and correcting the error of the calculated position and time information using another satellite is also used. The GPS module 115 continues to calculate the current position in real time and uses it to calculate speed information.

도 1을 참조하면, A/V(Audio/Video) 입력부(120)는 오디오 신호 또는 비디오 신호 입력을 위한 것으로, 이에는 카메라(121)와 마이크(122) 등이 포함될 수 있다. 카메라(121)는 화상 통화모드 또는 촬영 모드에서 이미지 센서에 의해 얻어지는 정지영상 또는 동영상 등의 화상 프레임을 처리한다. 처리된 화상 프레임은 디스플레이 모듈(151)에 표시될 수 있다.Referring to FIG. 1, an A / V (Audio / Video) input unit 120 is for inputting an audio signal or a video signal, and may include a camera 121 and a microphone 122. The camera 121 processes image frames such as still images or moving images obtained by the image sensor in the video communication mode or the photographing mode. The processed image frame can be displayed on the display module 151. [

카메라(121)에서 처리된 화상 프레임은 메모리부(160)에 저장되거나 무선 통신부(110)를 통하여 외부로 전송될 수 있다. 카메라(121)는 단말기의 구성 태양에 따라 2개 이상이 구비될 수도 있다.The image frame processed by the camera 121 may be stored in the memory unit 160 or may be transmitted to the outside through the wireless communication unit 110. [ The camera 121 may be equipped with two or more cameras according to the configuration of the terminal.

마이크(122)는 통화모드 또는 녹음모드, 음성인식 모드 등에서 마이크로폰(Microphone)에 의해 외부의 음향 신호를 입력받아 전기적인 음성 데이터로 처리한다. 처리된 음성 데이터는 통화 모드인 경우 이동통신 모듈(112)을 통하여 이동통신 기지국으로 송신 가능한 형태로 변환되어 출력될 수 있다. 마이크(122)에는 외부의 음향 신호를 입력받는 과정에서 발생되는 잡음(noise)을 제거하기 위한 다양한 잡음 제거 알고리즘이 구현될 수 있다.The microphone 122 receives an external sound signal through a microphone in a communication mode, a recording mode, a voice recognition mode, or the like, and processes it as electrical voice data. The processed voice data can be converted into a form that can be transmitted to the mobile communication base station through the mobile communication module 112 when the voice data is in the call mode, and output. Various noise reduction algorithms may be implemented in the microphone 122 to remove noise generated in receiving an external sound signal.

사용자 입력부(130)는 사용자가 단말기의 동작 제어를 위한 입력 데이터를 발생시킨다. 사용자 입력부(130)는 키 패드(key pad) 돔 스위치 (dome switch), 터치 패드(정압/정전), 조그 휠, 조그 스위치 등으로 구성될 수 있다. The user input unit 130 generates input data for a user to control the operation of the terminal. The user input unit 130 may include a key pad dome switch, a touch pad (static / static), a jog wheel, a jog switch, and the like.

센싱부(140)는 전자 기기(100)의 개폐 상태, 전자 기기(100)의 위치, 사용자 접촉 유무, 전자 기기의 방위, 전자 기기의 가속/감속 등과 같이 전자 기기(100)의 현 상태를 감지하여 전자 기기(100)의 동작을 제어하기 위한 센싱 신호를 발생시킨다. 예를 들어 전자 기기(100)가 슬라이드 폰 형태인 경우 슬라이드 폰의 개폐 여부를 센싱할 수 있다. 또한, 전원 공급부(190)의 전원 공급 여부, 인터페이스부(170)의 외부 기기 결합 여부 등과 관련된 센싱 기능을 담당할 수도 있다. 한편, 상기 센싱부(140)는 자세감지센서(141) 및/또는 근접센서(142)를 포함할 수 있다. The sensing unit 140 senses the current state of the electronic device 100, such as the open / close state of the electronic device 100, the position of the electronic device 100, the presence or absence of user contact, the orientation of the electronic device, And generates a sensing signal for controlling the operation of the electronic device 100. For example, when the electronic device 100 is in the form of a slide phone, it is possible to sense whether the slide phone is opened or closed. In addition, it may be responsible for a sensing function related to whether the power supply unit 190 is powered on, whether the interface unit 170 is connected to an external device, and the like. Meanwhile, the sensing unit 140 may include an orientation sensor 141 and / or a proximity sensor 142.

출력부(150)는 시각, 청각 또는 촉각 등과 관련된 출력을 발생시키기 위한 것으로, 이에는 디스플레이 모듈(151), 음향 출력 모듈(152), 알람부(153), 및 햅틱 모듈(154) 등이 포함될 수 있다.The output unit 150 is for generating output related to visual, auditory or tactile sense and includes a display module 151, an acoustic output module 152, an alarm unit 153, and a haptic module 154 .

디스플레이 모듈(151)은 전자 기기(100)에서 처리되는 정보를 표시 출력한다. 예를 들어, 전자 기기가 통화 모드인 경우 통화와 관련된 UI(User Interface) 또는 GUI(Graphic User Interface)를 표시한다. 전자 기기(100)가 화상 통화 모드 또는 촬영 모드인 경우에는 촬영 또는/및 수신된 영상 또는 UI, GUI를 표시한다. The display module 151 displays and outputs information processed in the electronic device 100. For example, when the electronic device is in the call mode, a UI (User Interface) or a GUI (Graphic User Interface) associated with the call is displayed. When the electronic device 100 is in the video communication mode or the photographing mode, the photographed and / or received video or UI and GUI are displayed.

디스플레이 모듈(151)은 액정 디스플레이(liquid crystal display), 박막 트랜지스터 액정 디스플레이(thin film transistorliquid crystal display), 유기 발광 다이오드(organic lightemitting diode), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 중에서 적어도 하나를 포함할 수 있다. The display module 151 may be a liquid crystal display, a thin film transistor liquid crystal display, an organic light emitting diode, a flexible display, a 3D display And may include at least one.

이들 중 일부 디스플레이는 그를 통해 외부를 볼 수 있도록 투명형 또는 광투과형으로 구성될 수 있다. 이는 투명 디스플레이라 호칭될 수 있는데, 상기 투명 디스플레이의 대표적인 예로는 투명 LCD 등이 있다. 디스플레이 모듈(151)의 후방 구조 또한 광 투과형 구조로 구성될 수 있다. 이러한 구조에 의하여, 사용자는 단말기 바디의 디스플레이 모듈(151)이 차지하는 영역을 통해 단말기 바디의 후방에 위치한 사물을 볼 수 있다.Some of these displays may be transparent or light transmissive so that they can be seen through. This may be referred to as a transparent display. A typical example of the transparent display is a transparent LCD or the like. The rear structure of the display module 151 may also be of a light transmission type. With this structure, the user can see an object located behind the terminal body through the area occupied by the display module 151 of the terminal body.

전자 기기(100)의 구현 형태에 따라 디스플레이 모듈(151)이 2개 이상 존재할 수 있다. 예를 들어, 전자 기기(100)에는 복수의 디스플레이 모듈들이 하나의 면에 이격되거나 일체로 배치될 수 있고, 또한 서로 다른 면에 각각 배치될 수도 있다. There may be two or more display modules 151 according to the embodiment of the electronic device 100. [ For example, in the electronic device 100, a plurality of display modules may be spaced apart or integrally arranged on one surface, and may be disposed on different surfaces, respectively.

디스플레이 모듈(151)과 터치 동작을 감지하는 센서(이하, '터치 센서'라 함)가 상호 레이어 구조를 이루는 경우(이하, '터치스크린'이라 약칭함)에, 디스플레이 모듈(151)은 출력 장치 이외에 입력 장치로도 사용될 수 있다. 터치 센서는, 예를 들어, 터치 필름, 터치 시트, 터치 패드 등의 형태를 가질 수 있다.In a case where the display module 151 and the sensor for sensing the touch operation (hereinafter, referred to as 'touch sensor') have a mutual layer structure (hereinafter referred to as 'touch screen' It can also be used as an input device. The touch sensor may have the form of, for example, a touch film, a touch sheet, a touch pad, or the like.

터치 센서는 디스플레이 모듈(151)의 특정 부위에 가해진 압력 또는 디스플레이 모듈(151)의 특정 부위에 발생하는 정전 용량 등의 변화를 전기적인 입력신호로 변환하도록 구성될 수 있다. 터치 센서는 터치 되는 위치 및 면적뿐만 아니라, 터치 시의 압력까지도 검출할 수 있도록 구성될 수 있다. The touch sensor may be configured to convert a change in a pressure applied to a specific portion of the display module 151 or a capacitance generated in a specific portion of the display module 151 into an electrical input signal. The touch sensor can be configured to detect not only the position and area to be touched but also the pressure at the time of touch.

터치 센서에 대한 터치 입력이 있는 경우, 그에 대응하는 신호(들)는 터치 제어기로 보내진다. 터치 제어기는 그 신호(들)를 처리한 다음 대응하는 데이터를 제어부(180)로 전송한다. 이로써, 제어부(180)는 디스플레이 모듈(151)의 어느 영역이 터치 되었는지 여부 등을 알 수 있게 된다.If there is a touch input to the touch sensor, the corresponding signal (s) is sent to the touch controller. The touch controller processes the signal (s) and transmits the corresponding data to the controller 180. Thus, the control unit 180 can know which area of the display module 151 is touched or the like.

도 1을 참조하면, 상기 터치스크린에 의해 감싸지는 전자 기기의 내부 영역 또는 상기 터치스크린의 근처에 근접센서(142)가 배치될 수 있다. 상기 근접센서(142)는 소정의 검출면에 접근하는 물체, 혹은 근방에 존재하는 물체의 유무를 전자계의 힘 또는 적외선을 이용하여 기계적 접촉이 없이 검출하는 센서를 말한다. 근접센서(142)는 접촉식 센서보다는 그 수명이 길며 그 활용도 또한 높다. Referring to FIG. 1, a proximity sensor 142 may be disposed in an inner area of the electronic device to be wrapped by the touch screen or in the vicinity of the touch screen. The proximity sensor 142 refers to a sensor that detects the presence or absence of an object approaching a predetermined detection surface or a nearby object without mechanical contact using an electromagnetic force or infrared rays. The proximity sensor 142 has a longer life span than the contact-type sensor and its utilization is also high.

상기 근접센서(142)의 예로는 투과형 광전 센서, 직접 반사형 광전 센서, 미러 반사형 광전 센서, 고주파 발진형 근접센서, 정전용량형 근접센서, 자기형 근접센서, 적외선 근접센서 등이 있다.Examples of the proximity sensor 142 include a transmission type photoelectric sensor, a direct reflection type photoelectric sensor, a mirror reflection type photoelectric sensor, a high frequency oscillation type proximity sensor, a capacitive proximity sensor, a magnetic proximity sensor, and an infrared proximity sensor.

상기 터치스크린이 정전식인 경우에는 상기 포인터의 근접에 따른 전계의 변화로 상기 포인터의 근접을 검출하도록 구성된다. 이 경우 상기 터치스크린(터치 센서)은 근접센서로 분류될 수도 있다.And to detect the proximity of the pointer by the change of the electric field along the proximity of the pointer when the touch screen is electrostatic. In this case, the touch screen (touch sensor) may be classified as a proximity sensor.

이하에서는 설명의 편의를 위해, 상기 터치스크린 상에 포인터가 접촉되지 않으면서 근접되어 상기 포인터가 상기 터치스크린 상에 위치함이 인식되도록 하는 행위를 "근접 터치(proximity touch)"라고 칭하고, 상기 터치스크린 상에 포인터가 실제로 접촉되는 행위를 "접촉 터치(contact touch)"라고 칭한다. 상기 터치스크린 상에서 포인터로 근접 터치가 되는 위치라 함은, 상기 포인터가 근접 터치될 때 상기 포인터가 상기 터치스크린에 대해 수직으로 대응되는 위치를 의미한다.Hereinafter, for convenience of explanation, the act of recognizing that the pointer is positioned on the touch screen while the pointer is not in contact with the touch screen is referred to as "proximity touch & The act of actually touching the pointer on the screen is called "contact touch. &Quot; The position where the pointer is proximately touched on the touch screen means a position where the pointer is vertically corresponding to the touch screen when the pointer is touched.

상기 근접센서는, 근접 터치 및 근접 터치 패턴(예를 들어, 근접 터치 거리, 근접 터치 방향, 근접 터치 속도, 근접 터치 시간, 근접 터치 위치, 근접 터치 이동 상태 등)을 감지한다. 상기 감지된 근접 터치 동작 및 근접 터치 패턴에 상응하는 정보는 터치스크린상에 출력될 수 있다. The proximity sensor detects a proximity touch and a proximity touch pattern (e.g., a proximity touch distance, a proximity touch direction, a proximity touch speed, a proximity touch time, a proximity touch position, a proximity touch movement state, and the like). Information corresponding to the detected proximity touch operation and the proximity touch pattern may be output on the touch screen.

음향 출력 모듈(152)은 호신호 수신, 통화모드 또는 녹음 모드, 음성인식 모드, 방송수신 모드 등에서 무선 통신부(110)로부터 수신되거나 메모리부(160)에 저장된 오디오 데이터를 출력할 수도 있다. 음향 출력 모듈(152)은 전자 기기(100)에서 수행되는 기능(예를 들어, 호신호 수신음, 메시지 수신음 등)과 관련된 음향 신호를 출력한다. 이러한 음향 출력 모듈(152)에는 리시버(Receiver), 스피커(speaker), 버저(Buzzer) 등이 포함될 수 있다.The audio output module 152 may output audio data received from the wireless communication unit 110 or stored in the memory unit 160 in a call signal reception mode, a call mode or a recording mode, a voice recognition mode, a broadcast reception mode, The sound output module 152 outputs sound signals associated with functions (e.g., call signal reception tones, message reception tones, etc.) performed in the electronic device 100. The audio output module 152 may include a receiver, a speaker, a buzzer, and the like.

알람부(153)는 전자 기기(100)의 이벤트 발생을 알리기 위한 신호를 출력한다. 전자 기기에서 발생 되는 이벤트의 예로는 호 신호 수신, 메시지 수신, 키 신호 입력, 터치 입력 등이 있다. 알람부(153)는 비디오 신호나 오디오 신호 이외에 다른 형태, 예를 들어 진동으로 이벤트 발생을 알리기 위한 신호를 출력할 수도 있다. 비디오 신호나 오디오 신호는 디스플레이 모듈(151)이나 음성 출력 모듈(152)을 통해서도 출력될 수 있다.The alarm unit 153 outputs a signal for notifying the occurrence of an event of the electronic device 100. Examples of events that occur in electronic devices include call signal reception, message reception, key signal input, touch input, and the like. The alarm unit 153 may output a signal for notifying the occurrence of an event in a form other than the video signal or the audio signal, for example, vibration. The video signal or audio signal may also be output through the display module 151 or the audio output module 152.

햅틱 모듈(haptic module)(154)은 사용자가 느낄 수 있는 다양한 촉각 효과를 발생시킨다. 햅틱 모듈(154)이 발생시키는 촉각 효과의 대표적인 예로는 진동이 있다. 햅택 모듈(154)이 발생하는 진동의 세기와 패턴 등은 제어가능하다. 예를 들어, 서로 다른 진동을 합성하여 출력하거나 순차적으로 출력할 수도 있다. The haptic module 154 generates various tactile effects that the user can feel. A typical example of the haptic effect generated by the haptic module 154 is vibration. The intensity and pattern of the vibration generated by the hit module 154 can be controlled. For example, different vibrations may be synthesized and output or sequentially output.

햅틱 모듈(154)은, 진동 외에도, 접촉 피부면에 대해 수직 운동하는 핀 배열에 의한 자극에 의한 효과, 분사구나 흡입구를 통한 공기의 분사력이나 흡입력을 통한 자극에 의한 효과, 피부 표면을 스치는 자극에 의한 효과, 전극(electrode)의 접촉을 통한 자극에 의한 효과, 정전기력을 이용한 자극에 의한 효과, 흡열이나 발열 가능한 소자를 이용한 냉온감 재현에 의한 효과 등 다양한 촉각 효과를 발생시킬 수 있다. In addition to the vibration, the haptic module 154 may be configured to perform various functions such as an effect of stimulation by a pin arrangement vertically moving with respect to a contact skin surface, an effect of stimulation by air spraying force or suction force through a jet opening or a suction opening, A variety of tactile effects such as an effect of stimulation through contact of an electrode, an effect of stimulation by an electrostatic force, and an effect of reproducing a cold sensation using a heat absorbing or exothermic element can be generated.

햅틱 모듈(154)은 직접적인 접촉을 통해 촉각 효과의 전달할 수 있을 뿐만 아니라, 사용자의 손가락이나 팔 등의 근 감각을 통해 촉각 효과를 느낄 수 있도록 구현할 수도 있다. 햅틱 모듈(154)은 휴대 단말기(100)의 구성 태양에 따라 2개 이상이 구비될 수 있다.The haptic module 154 can be implemented not only to transmit the tactile effect through the direct contact but also to feel the tactile effect through the muscles of the user's finger or arm. The haptic module 154 may include two or more haptic modules 154 according to the configuration of the portable terminal 100.

메모리부(160)는 제어부(180)의 동작을 위한 프로그램을 저장할 수 있고, 입/출력되는 데이터들(예를 들어, 폰북, 메시지, 정지영상, 동영상 등)을 임시 저장할 수도 있다. 상기 메모리부(160)는 상기 터치스크린 상의 터치 입력시 출력되는 다양한 패턴의 진동 및 음향에 관한 데이터를 저장할 수 있다.The memory unit 160 may store a program for the operation of the controller 180 and temporarily store input / output data (e.g., a phone book, a message, a still image, a moving picture, etc.). The memory unit 160 may store data related to vibration and sound of various patterns outputted when a touch is input on the touch screen.

메모리부(160)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(Random Access Memory, RAM), SRAM(Static Random Access Memory), 롬(ReadOnly Memory, ROM), EEPROM(Electrically Erasable Programmable ReadOnly Memory), PROM(Programmable ReadOnly Memory) 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 전자 기기(100)는 인터넷(internet)상에서 상기 메모리부(160)의 저장 기능을 수행하는 웹 스토리지(web storage)와 관련되어 동작할 수도 있다.The memory unit 160 may be a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, SD or XD memory) At least one of a random access memory (RAM), a static random access memory (SRAM), a read only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read- Lt; / RTI > type of storage medium. The electronic device 100 may operate in association with a web storage that performs a storage function of the memory unit 160 on the Internet.

인터페이스부(170)는 전자 기기(100)에 연결되는 모든 외부기기와의 통로 역할을 한다. 인터페이스부(170)는 외부 기기로부터 데이터를 전송받거나 전원을 공급받아 전자 기기(100) 내부의 각 구성 요소에 전달하거나 전자 기기(100) 내부의 데이터가 외부 기기로 전송되도록 한다. 예를 들어, 유/무선 헤드셋 포트, 외부 충전기 포트, 유/무선 데이터 포트, 메모리 카드(memory card) 포트, 식별 모듈이 구비된 장치를 연결하는 포트, 오디오 I/O(Input/Output) 포트, 비디오 I/O(Input/Output) 포트, 이어폰 포트 등이 인터페이스부(170)에 포함될 수 있다. The interface unit 170 serves as a path for communication with all external devices connected to the electronic device 100. The interface unit 170 receives data from an external device or receives power from the external device to transfer the data to the respective components in the electronic device 100 or to transmit data in the electronic device 100 to an external device. For example, a wired / wireless headset port, an external charger port, a wired / wireless data port, a memory card port, a port for connecting a device having an identification module, an audio I / O port, A video input / output (I / O) port, an earphone port, and the like may be included in the interface unit 170.

식별 모듈은 전자 기기(100)의 사용 권한을 인증하기 위한 각종 정보를 저장한 칩으로서, 사용자 인증 모듈(User Identify Module, UIM), 가입자 인증 모듈(Subscriber Identify Module, SIM), 범용 사용자 인증 모듈(Universal Subscriber Identity Module, USIM) 등을 포함할 수 있다. 식별 모듈이 구비된 장치(이하 '식별 장치')는, 스마트 카드(smart card) 형식으로 제작될 수 있다. 따라서 식별 장치는 포트를 통하여 단말기(100)와 연결될 수 있다. The identification module is a chip for storing various information for authenticating the usage right of the electronic device 100 and includes a user identification module (UIM), a subscriber identity module (SIM), a general user authentication module A Universal Subscriber Identity Module (USIM), and the like. Devices with identification modules (hereinafter referred to as "identification devices") can be manufactured in a smart card format. Accordingly, the identification device can be connected to the terminal 100 through the port.

상기 인터페이스부는 전자 기기(100)가 외부 크래들(cradle)과 연결될 때 상기 크래들로부터의 전원이 상기 전자 기기(100)에 공급되는 통로가 되거나, 사용자에 의해 상기 크래들에서 입력되는 각종 명령 신호가 상기 전자 기기로 전달되는 통로가 될 수 있다. 상기 크래들로부터 입력되는 각종 명령 신호 또는 상기 전원은 상기 전자 기기가 상기 크래들에 정확히 장착되었음을 인지하기 위한 신호로 동작될 수도 있다.When the electronic device 100 is connected to an external cradle, the interface unit may be a path through which electric power from the cradle is supplied to the electronic device 100 or various command signals input from the cradle by the user It can be a passage to the device. Various command signals input from the cradle or the power source may be operated as a signal for recognizing that the electronic device is correctly mounted on the cradle.

제어부(180)는 통상적으로 전자 기기의 전반적인 동작을 제어한다. 예를 들어 음성 통화, 데이터 통신, 화상 통화 등을 위한 관련된 제어 및 처리를 수행한다. 제어부(180)는 멀티 미디어 재생을 위한 멀티미디어 모듈(181)을 구비할 수도 있다. 멀티미디어 모듈(181)은 제어부(180) 내에 구현될 수도 있고, 제어부(180)와 별도로 구현될 수도 있다.The control unit 180 typically controls the overall operation of the electronic device. For example, voice communication, data communication, video communication, and the like. The control unit 180 may include a multimedia module 181 for multimedia playback. The multimedia module 181 may be implemented in the control unit 180 or may be implemented separately from the control unit 180. [

상기 제어부(180)는 상기 터치스크린 상에서 행해지는 필기 입력 또는 그림 그리기 입력을 각각 문자 및 이미지로 인식할 수 있는 패턴 인식 처리를 행할 수 있다. The controller 180 may perform a pattern recognition process for recognizing handwriting input or drawing input performed on the touch screen as characters and images, respectively.

전원 공급부(190)는 제어부(180)의 제어에 의해 외부의 전원, 내부의 전원을 인가받아 각 구성요소들의 동작에 필요한 전원을 공급한다.The power supply unit 190 receives external power and internal power under the control of the controller 180 and supplies power necessary for operation of the respective components.

여기에 설명되는 다양한 실시예는 예를 들어, 소프트웨어, 하드웨어 또는 이들의 조합된 것을 이용하여 컴퓨터 또는 이와 유사한 장치로 읽을 수 있는 기록매체 내에서 구현될 수 있다.The various embodiments described herein may be embodied in a recording medium readable by a computer or similar device using, for example, software, hardware, or a combination thereof.

하드웨어적인 구현에 의하면, 여기에 설명되는 실시예는 ASICs (application specific integrated circuits), DSPs (digital signal processors), DSPDs (digital signal processing devices), PLDs (programmable logic devices), FPGAs (field programmable gate arrays, 프로세서(processors), 제어기(controllers), 마이크로 컨트롤러(microcontrollers), 마이크로 프로세서(microprocessors), 기능 수행을 위한 전기적인 유닛 중 적어도 하나를 이용하여 구현될 수 있다. 일부의 경우에 그러한 실시예들이 제어부(180)에 의해 구현될 수 있다.According to a hardware implementation, the embodiments described herein may be implemented as application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays May be implemented using at least one of processors, controllers, microcontrollers, microprocessors, and electrical units for performing functions. In some cases such embodiments may be implemented using a controller 180 < / RTI >

소프트웨어적인 구현에 의하면, 절차나 기능과 같은 실시예들은 적어도 하나의 기능 또는 작동을 수행하게 하는 별개의 소프트웨어 모듈과 함께 구현될 수 있다. 소프트웨어 코드는 적절한 프로그램 언어로 쓰여진 소프트웨어 어플리케이션에 의해 구현될 수 있다. 또한, 소프트웨어 코드는 메모리부(160)에 저장되고, 제어부(180)에 의해 실행될 수 있다.According to a software implementation, embodiments such as procedures or functions may be implemented with separate software modules that perform at least one function or operation. The software code may be implemented by a software application written in a suitable programming language. Also, the software codes may be stored in the memory unit 160 and executed by the control unit 180. [

이하 본 발명의 실시 예들을 설명하기로 한다. 본 발명에서는 설명의 편의를 위해 상기 디스플레이 모듈(151)을 터치스크린(151)으로 가정한다. 전술한 바와 같이, 상기 터치스크린(151)은, 정보 표시 기능과 정보 입력 기능을 모두 수행할 수 있다. 그러나 본 발명이 이에 한정되는 것은 아님을 분명히 밝혀 둔다. 또한, 이하에서 설명되는 터치는, 접촉 터치와 근접 터치를 모두 포함할 수 있다.Hereinafter, embodiments of the present invention will be described. In the present invention, the display module 151 is assumed to be the touch screen 151 for convenience of explanation. As described above, the touch screen 151 can perform both the information display function and the information input function. However, it should be clearly understood that the present invention is not limited thereto. In addition, the touch described below may include both the contact touch and the proximity touch.

도 2a는 본 발명과 관련된 전자 기기 또는 휴대 단말기의 일 예를 전면에서 바라본 사시도이다.2A is a perspective view showing an example of an electronic device or a portable terminal according to the present invention.

개시된 휴대 단말기(100)는 바 형태의 단말기 바디를 구비하고 있다. 다만, 본 발명은 여기에 한정되지 않고, 2 이상의 바디들이 상대 이동 가능하게 결합되는 슬라이드 타입, 폴더 타입, 스윙 타입, 스위블 타입 등 다양한 구조에 적용이 가능하다.The disclosed mobile terminal 100 has a bar-shaped terminal body. However, the present invention is not limited thereto, and can be applied to various structures such as a slide type, a folder type, a swing type, and a swivel type in which two or more bodies are relatively movably coupled.

바디는 외관을 이루는 케이스(케이싱, 하우징, 커버 등)를 포함한다. 본 실시예에서, 케이스는 프론트 케이스(101)와 리어 케이스(102)로 구분될 수 있다. 프론트 케이스(101)와 리어 케이스(102)의 사이에 형성된 공간에는 각종 전자부품들이 내장된다. 프론트 케이스(101)와 리어 케이스(102) 사이에는 적어도 하나의 중간 케이스들이 추가로 배치될 수도 있다.The body includes a case (a casing, a housing, a cover, and the like) which forms an appearance. In this embodiment, the case may be divided into a front case 101 and a rear case 102. [ A variety of electronic components are embedded in the space formed between the front case 101 and the rear case 102. At least one intermediate case may be additionally disposed between the front case 101 and the rear case 102. [

케이스들은 합성수지를 사출하여 형성되거나 금속 재질, 예를 들어 스테인레스 스틸(STS) 또는 티타늄(Ti) 등과 같은 금속 재질을 갖도록 형성될 수도 있다.The cases may be formed by injection molding a synthetic resin, or may be formed to have a metal material such as stainless steel (STS) or titanium (Ti) or the like.

단말기 바디, 주로 프론트 케이스(101)에는 디스플레이 모듈(151), 음향출력 모듈(152), 카메라(121), 사용자 입력부(130/131,132), 마이크(122), 인터페이스(170) 등이 배치될 수 있다.A display module 151, an audio output module 152, a camera 121, user inputs 130/131 and 132, a microphone 122, an interface 170, and the like may be disposed in the front body 101 have.

디스플레이 모듈(151)은 프론트 케이스(101)의 주면의 대부분을 차지한다. 디스플레이 모듈(151)의 양단부 중 일 단부에 인접한 영역에는 음향출력 모듈(152)과 카메라(121)가 배치되고, 다른 단부에 인접한 영역에는 사용자 입력부(131)와 마이크(122)가 배치된다. 사용자 입력부(132)와 인터페이스(170) 등은 프론트 케이스(101) 및 리어 케이스(102)의 측면들에 배치된다.The display module 151 occupies most of the main surface of the front case 101. An audio output module 152 and a camera 121 are disposed in an area adjacent to one end of both ends of the display module 151 and a user input part 131 and a microphone 122 are disposed in an area adjacent to the other end. The user input unit 132, the interface 170, and the like are disposed on the side surfaces of the front case 101 and the rear case 102.

사용자 입력부(130)는 휴대 단말기(100)의 동작을 제어하기 위한 명령을 입력받기 위해 조작되는 것으로서, 복수의 조작 유닛들(131,132)을 포함할 수 있다. The user input unit 130 is operated to receive a command for controlling the operation of the portable terminal 100 and may include a plurality of operation units 131 and 132.

조작 유닛들(131,132)은 조작부(manipulating portion)로도 통칭 될 수 있으며, 사용자가 촉각 적인 느낌을 가면서 조작하게 되는 방식(tactile manner)이라면 어떤 방식이든 채용될 수 있다.The operation units 131 and 132 may be collectively referred to as a manipulating portion and may be employed in any manner as long as the user operates in a tactile manner.

조작 유닛들(131,132)에 의하여 입력되는 내용은 다양하게 설정될 수 있다. 예를 들어, 제1 조작 유닛(131)은 시작, 종료, 스크롤 등과 같은 명령을 입력받고, 제2 조작 유닛(132)은 음향출력 모듈(152)에서 출력되는 음향의 크기 조절 또는 디스플레이 모듈(151)의 터치 인식 모드로의 전환 등과 같은 명령을 입력받을 수 있다.The contents input by the operation units 131 and 132 can be variously set. For example, the first operation unit 131 receives commands such as start, end, scroll, and the like, and the second operation unit 132 controls the size of the sound outputted from the sound output module 152, To the touch recognition mode of the touch screen.

도 2b는 도 2a에 도시된 휴대 단말기의 후면 사시도이다. FIG. 2B is a rear perspective view of the portable terminal shown in FIG. 2A.

도 2b를 참조하면, 단말기 바디의 후면, 다시 말해서 리어 케이스(102)에는 카메라(121')가 추가로 장착될 수 있다. 카메라(121')는 카메라(121, 도 2a 참조)와 실질적으로 반대되는 촬영 방향을 가지며, 카메라(121)와 서로 다른 화소를 가지는 카메라일 수 있다. Referring to FIG. 2B, a camera 121 'may be further mounted on the rear surface of the terminal body, that is, the rear case 102. The camera 121 'may have a photographing direction substantially opposite to the camera 121 (see FIG. 2A), and may be a camera having different pixels from the camera 121.

예를 들어, 카메라(121)는 화상 통화 등의 경우에 사용자의 얼굴을 촬영하여 상대방에 전송함에 무리가 없도록 저 화소를 가지며, 카메라(121')는 일반적인 피사체를 촬영하고 바로 전송하지는 않는 경우가 많기에 고 화소를 가지는 것이 바람직하다. 카메라(121,121')는 회전 또는 팝업(popup) 가능하게 단말기 바디에 설치될 수도 있다.For example, the camera 121 may have a low pixel so that the face of the user can be photographed and transmitted to the other party in case of a video call or the like, and the camera 121 ' It is preferable to have a large number of pixels. The cameras 121 and 121 'may be installed in the terminal body such that they can be rotated or popped up.

카메라(121')에 인접하게는 플래쉬(123)와 거울(124)이 추가로 배치된다. 플래쉬(123)는 카메라(121')로 피사체를 촬영하는 경우에 피사체를 향해 빛을 비추게 된다. 거울(124)은 사용자가 카메라(121')를 이용하여 자신을 촬영(셀프 촬영)하고자 하는 경우에, 사용자 자신의 얼굴 등을 비춰볼 수 있게 한다.A flash 123 and a mirror 124 are additionally disposed adjacent to the camera 121 '. The flash 123 illuminates the subject when the subject is photographed by the camera 121 '. The mirror 124 allows the user to illuminate the user's own face or the like when the user intends to shoot himself / herself (self-photographing) using the camera 121 '.

단말기 바디의 후면에는 음향 출력부(152')가 추가로 배치될 수도 있다. 음향 출력부(152')는 음향 출력부(152, 도 2a 참조)와 함께 스테레오 기능을 구현할 수 있으며, 통화시 스피커폰 모드의 구현을 위하여 사용될 수도 있다.An acoustic output 152 'may be additionally disposed on the rear surface of the terminal body. The sound output unit 152 'may implement the stereo function together with the sound output unit 152 (see FIG. 2A), and may be used for the implementation of the speakerphone mode during a call.

단말기 바디의 측면에는 통화 등을 위한 안테나 외에 방송신호 수신용 안테나(124)가 추가적으로 배치될 수 있다. 방송수신모듈(111, 도 1 참조)의 일부를 이루는 안테나(124)는 단말기 바디에서 인출 가능하게 설치될 수 있다.In addition to the antenna for a call or the like, a broadcast signal reception antenna 124 may be additionally disposed on the side of the terminal body. The antenna 124 constituting a part of the broadcast receiving module 111 (see FIG. 1) may be installed to be able to be drawn out from the terminal body.

단말기 바디에는 휴대 단말기(100)에 전원을 공급하기 위한 전원공급부(190)가 장착된다. 전원공급부(190)는 단말기 바디에 내장되거나, 단말기 바디의 외부에서 직접 탈착될 수 있게 구성될 수 있다.A power supply unit 190 for supplying power to the portable terminal 100 is mounted on the terminal body. The power supply unit 190 may be built in the terminal body or may be detachable from the outside of the terminal body.

리어 케이스(102)에는 터치를 감지하기 위한 터치 패드(135)가 추가로 장착될 수 있다. 터치 패드(135) 또한 디스플레이 모듈(151)과 마찬가지로 광 투과형으로 구성될 수 있다. 이 경우에, 디스플레이 모듈(151)이 양면에서 시각 정보를 출력하도록 구성된다면, 터치 패드(135)를 통해서도 상기 시각 정보를 인지할 수 있게 된다. 상기 양면에 출력되는 정보는 상기 터치 패드(135)에 의해 모두 제어될 수도 있다. 이와는 달리, 터치 패드(135)에는 디스플레이가 추가로 장착되어, 리어 케이스(102)에도 터치 스크린이 배치될 수도 있다.The rear case 102 may further include a touch pad 135 for sensing a touch. The touch pad 135 may also be of a light transmission type like the display module 151. In this case, if the display module 151 is configured to output time information on both sides, the time information can be recognized through the touch pad 135 as well. The information output on both sides may be all controlled by the touch pad 135. [ Alternatively, a display may be additionally mounted on the touch pad 135, and a touch screen may be disposed on the rear case 102.

터치 패드(135)는 프론트 케이스(101)의 디스플레이 모듈(151)과 상호 관련되어 작동한다. 터치 패드(135)는 디스플레이 모듈(151)의 후방에 평행하게 배치될 수 있다. 이러한 터치 패드(135)는 디스플레이 모듈(151)과 동일하거나 작은 크기를 가질 수 있다. The touch pad 135 operates in correlation with the display module 151 of the front case 101. [ The touch pad 135 may be disposed parallel to the rear of the display module 151. The touch pad 135 may have a size equal to or smaller than that of the display module 151.

도 3은 본 발명의 일 실시예에 따른 전자 기기의 제어 방법의 흐름도이다. 도 4 및 도 5는 본 발명의 일 실시예에 따른 미러링 기법을 이용한 확장 영역 및 이를 이용하여 부분 얼굴을 검출하는 것을 설명하기 위한 도면이다.3 is a flowchart of a method of controlling an electronic device according to an embodiment of the present invention. 4 and 5 are diagrams for explaining detection of a partial face using the extended area using the mirroring technique according to an embodiment of the present invention.

본 발명의 일 실시예에 따른 전자 기기의 제어 방법은, 도 1을 참조하여 설명한 전자 기기(100)에서 구현될 수 있다. 이하 필요한 도면들을 참조하여, 본 발명의 일 실시예에 따른 전자 기기의 제어 방법과, 이를 구현하기 위한 전자 기기(100)의 동작을 상세히 설명하기로 한다.The method of controlling an electronic device according to an embodiment of the present invention can be implemented in the electronic device 100 described with reference to FIG. Hereinafter, a method of controlling an electronic device according to an embodiment of the present invention and an operation of the electronic device 100 for implementing the same will be described in detail with reference to necessary drawings.

도 3을 참조하면, 제어부(180)는 전자 기기(100)의 전면 또는 후면에 배치된 카메라(121, 121')를 통하여 외부 이미지를 획득할 수 있다[S100].Referring to FIG. 3, the controller 180 may acquire an external image through the cameras 121 and 121 'disposed on the front or back of the electronic device 100 (S100).

상기 외부 이미지는 카메라(121, 121')의 이미지 센서에 의해 얻어지는 정지영상 또는 동영상 등이 될 수 있다. 일 예에 따라, 제어부(180)는 카메라(121, 121')를 통하여 획득되는 이미지를 터치스크린(151)에 표시할 수 있다.The external image may be a still image or a moving image obtained by the image sensor of the cameras 121 and 121 '. According to an example, the control unit 180 may display an image obtained through the cameras 121 and 121 'on the touch screen 151. FIG.

제어부(180)는 상기 획득된 이미지의 테두리 영역을 상기 획득된 이미지의 외부로 미러링(mirroring)하여 상기 테두리 영역의 주위에 미러 이미지(mirror image)로 이루어진 확장 영역을 획득할 수 있다[S110].The control unit 180 may mirror the edge region of the obtained image to the outside of the obtained image to obtain an extended region including a mirror image around the edge region (S110).

도 4는 상기 획득된 이미지의 테두리 영역을 상기 획득된 이미지의 외부로 미러링하는 것을 설명하기 위한 도면이다. 도 4의 (a)는 카메라(121, 121')에 의해 획득된 이미지(10)를 도시한 것이다.4 is a view for explaining the mirroring of the edge region of the obtained image to the outside of the obtained image. 4 (a) shows the image 10 obtained by the cameras 121 and 121 '.

상기 획득된 이미지(10)는 도 4의 (b)에 도시된 것과 같이, 크게 9개의 영역으로 구분될 수 있다. 즉, 상기 획득된 이미지(10) 중앙의 영역을 중심 영역(19)으로 하여, 그 주위의 8개 영역이 상기 획득된 이미지(10)의 테두리 영역(11 내지 18)에 해당될 수 있다.The obtained image 10 may be divided into nine regions as shown in FIG. 4 (b). That is, the center area 19 of the obtained image 10 may be the eight areas around the obtained image 10, which correspond to the edge areas 11 to 18 of the acquired image 10.

제어부(180)는 상기 테두리 영역(11 내지 18)을 상기 획득된 이미지의 외부로 미러링할 수 있다. 미러링은 표시면 상의 하나의 직선을 축으로 하여 표시 요소를 180도 회전시켜서 화면에 표시하는 것을 의미할 수 있다.The control unit 180 may mirror the edge regions 11 to 18 to the outside of the obtained image. Mirroring may mean that the display element is rotated 180 degrees around one straight line on the display surface to be displayed on the screen.

예를 들어, 테두리 영역(11, 12, 13)을 위 방향으로 미러링하는 경우, 제어부(180)는 상기 획득된 이미지(10)의 위 직선을 축으로 하여 상기 테두리 영역(11, 12, 13)을 180도 회전시켜 확장 영역(22)을 얻을 수 있다. 이 경우 상기 테두리 영역(11, 12, 13)과 상기 확장 영역(22)은 상기 획득된 이미지의 위 직선을 경계로 하여 대칭으로 표시된다. 즉, 상기 확장 영역(22)은 상기 테두리 영역(11, 12, 13)의 미러 이미지로 표시될 수 있다.For example, when the edge regions 11, 12, and 13 are mirrored in the upward direction, the controller 180 controls the edge regions 11, 12, and 13, Can be rotated 180 degrees to obtain the extended area 22. In this case, the border areas 11, 12, and 13 and the extended area 22 are displayed symmetrically with the upper straight line of the obtained image as a boundary. That is, the extended area 22 may be displayed as a mirror image of the border areas 11, 12, and 13.

동일한 원리에 따라, 제어부(180)는 테두리 영역(11, 14, 16)을 좌측 방향으로 미러링하여 확장 영역(24)을 획득할 수 있다. 마찬가지로, 제어부(180)는 테두리 영역(13, 15, 18)을 우측 방향으로 미러링하여 확장 영역(25)을 획득할 수 있다. 또한, 제어부(180)는 테두리 영역(16, 17, 18)을 아래 측 방향으로 미러링하여 확장 영역(27)을 획득할 수 있다.According to the same principle, the control unit 180 can obtain the extended area 24 by mirroring the border areas 11, 14, and 16 in the left direction. Similarly, the control unit 180 can acquire the extended area 25 by mirroring the border areas 13, 15, and 18 in the right direction. In addition, the controller 180 may acquire the extended area 27 by mirroring the border areas 16, 17, 18 in the downward direction.

제어부(180)는 상기 획득된 이미지의 모서리에 위치한 테두리 영역(11)을 미러링하여 확장 영역(21)을 획득할 수 있다. 이 경우 상기 테두리 영역(11)과 상기 확장 영역(21)은 상기 획득된 이미지의 좌측 위 쪽의 꼭짓점을 기준으로 하여 대칭으로 표시된다. The control unit 180 may obtain the extended area 21 by mirroring the edge area 11 located at the corner of the obtained image. In this case, the border area 11 and the extension area 21 are symmetrically displayed with respect to the upper left corner of the obtained image.

동일한 원리에 따라, 제어부(180)는 테두리 영역(13)을 미러링하여 확장 영역(23)을 획득할 수 있다. 마찬가지로, 제어부(180)는 테두리 영역(16)을 미러링하여 확장 영역(26)을 획득할 수 있다. 또한, 제어부(180)는 테두리 영역(18)을 미러링하여 확장 영역(28)을 획득할 수 있다.According to the same principle, the control unit 180 can obtain the extended area 23 by mirroring the border area 13. Similarly, the control unit 180 can mirror the border area 16 to obtain the extended area 26. [ In addition, the controller 180 may obtain the extended area 28 by mirroring the border area 18.

다시 도 3을 참조하면, 제어부(180)는 상기 획득된 이미지와 상기 확장된 영역에서 얼굴을 검출할 수 있다[S120].Referring back to FIG. 3, the controller 180 may detect a face in the obtained image and the extended area (S120).

도 5의 (a)에는 상기 획득된 이미지(10)에 얼굴의 일부(A)가 있는 경우를 도시한 것이다. 제어부(180)는 상기 획득된 이미지(10)의 테두리 영역에 미러링을 적용하여, 도 5의 (b)와 같이 확장 영역(21 내지 28)을 획득할 수 있다.FIG. 5 (a) shows a case where a part (A) of a face is present in the obtained image 10. FIG. The control unit 180 may apply the mirroring to the edge region of the obtained image 10 to obtain the extended regions 21 to 28 as shown in FIG.

이 경우 확장 영역(25)에는, 상기 획득된 이미지(10)에 나타난 부분 얼굴(A)의 미러 이미지에 해당되는 부분 얼굴(B)이 표시될 수 있다.In this case, a partial face B corresponding to the mirror image of the partial face A shown in the obtained image 10 may be displayed in the extended area 25. [

제어부(180)는 상기 획득된 이미지(10) 및 상기 획득된 이미지(10) 주위의 확장 영역(21 내지 28)에 대하여 얼굴 검출을 할 수 있다. 도 5의 (c)에 도시된 바와 같이, 제어부(180)는 소정 크기의 얼굴 검출창(30)을 이동시키면서 상기 획득된 이미지(10) 및 확장 영역(21 내지 28)에서 얼굴 특징이 나타나는지를 판단할 수 있다.The control unit 180 can perform face detection on the obtained image 10 and the extended regions 21 to 28 around the obtained image 10. [ 5 (c), the controller 180 determines whether face features are displayed in the acquired image 10 and the extended areas 21 to 28 while moving the face detection window 30 of a predetermined size It can be judged.

일 예에 따라, 제어부(180)는 학습 기반 얼굴 검출 기술에 따라 추출된 얼굴 특징과 비교하여 이미지로부터 얼굴을 검출할 수 있다. 제어부(180)는 상당수의 이미지 샘플이 포함된 데이터베이스(DataBase, DB)에서 다수의 얼굴 이미지에 대해 얼굴을 정규화할 수 있다. 제어부(180)는 정규화한 얼굴 이미지로부터 얼굴 특징을 추출하여 얼굴 특징 데이터를 구축할 수 있다.According to an example, the control unit 180 can detect a face from an image by comparing the face feature extracted according to the learning-based face detection technique. The control unit 180 may normalize faces of a plurality of face images in a database (DataBase, DB) including a large number of image samples. The control unit 180 can extract facial features from the normalized facial image and construct facial characteristic data.

이후 제어부(180)는 소정 크기의 얼굴 검출창을 실제 이미지에서 이동시키면서 얼굴 특징이 나타나는지 여부를 비교, 판단할 수 있다. 일 예에 따라, 얼굴 특징은 눈, 코, 입으로 이어지는 형상이 될 수 있다.Then, the control unit 180 can compare the face detection window with the face detection window to determine whether or not the face feature is displayed. According to one example, the facial feature may be a shape that leads to the eyes, nose, and mouth.

제어부(180)는 이미지에서 얼굴 검출창에 상기 얼굴 특징이 나타나는 경우, 제어부(180)는 얼굴의 크기 및 이미지 내에서의 얼굴의 위치를 추출할 수 있다. 이를 통하여 제어부(180)는 특정 이미지에서 얼굴을 검출할 수 있다.When the face feature is displayed on the face detection window in the image, the control unit 180 can extract the size of the face and the position of the face in the image. The controller 180 can detect the face in the specific image.

다만, 이는 얼굴 검출 방법의 일 예로서, 이러한 방식에 한정되는 것은 아니다. 즉, 이미지에서 얼굴 검출이 가능한 공지의 얼굴 검출 알고리즘 기술을 따르는 것으로 족하며, 특정 알고리즘에 한정되는 것은 아니다.However, this is an example of the face detection method, and is not limited to such a method. That is, it is sufficient to follow known face detection algorithm technology capable of face detection in an image, and is not limited to a specific algorithm.

제어부(180)는 상기 획득된 영상(10) 및 그 주위의 확장 영역(21 내지 28)에 대하여 상기 얼굴 검출창(30)을 이동시키며 얼굴 특징이 나타나는지 여부를 판단할 수 있다. 예를 들어, 제어부(180)는 확장 영역(21)에 얼굴 검출창(30)을 위치시키고 우측으로 이동시키면서 얼굴 검출창(30) 내의 이미지에 얼굴 특징이 있는지를 판단할 수 있다.The control unit 180 moves the face detection window 30 with respect to the obtained image 10 and the surrounding extended regions 21 to 28 to determine whether or not the face feature is displayed. For example, the control unit 180 can determine whether there is a face feature in the image in the face detection window 30 by positioning the face detection window 30 in the extended area 21 and moving the face detection window 30 to the right.

얼굴 검출창(30)이 확장 영역(23)까지 이동된 경우, 제어부(180)는 일정 거리만큼 얼굴 검출창(30)을 내리고 다시 좌측으로 이동시키면서 얼굴 특징의 존재 여부를 판단할 수 있다. 이 후 이를 반복하면서, 제어부(180)는 상기 획득된 영상(10) 및 그 주위의 확장 영역(21 내지 28) 전체에 대하여 얼굴 특징의 존재 여부를 판단할 수 있다. When the face detection window 30 is moved to the extended area 23, the controller 180 can determine whether or not a face feature exists by moving the face detection window 30 downward by a predetermined distance and moving it to the left again. Thereafter, the control unit 180 may determine whether or not a face feature exists for the entire image 10 and the surrounding extended regions 21 to 28, while repeating the process.

다만, 이에 한정되는 것은 아니며, 상기 획득된 영상(10) 및 그 주위의 확장 영역(21 내지 28)에서 상기 얼굴 검출창(30)을 움직이는 시작 위치나 이동 방향 및 순서는 필요에 따라 달리 정해질 수 있다.However, the present invention is not limited thereto, and the starting position, the moving direction and the order of moving the face detection window 30 in the acquired image 10 and the surrounding extended regions 21 to 28 may be determined as necessary .

도 5의 (c)에 도시된 바와 같이, 얼굴 검출창(30)이 부분 얼굴(A) 및 그 대칭 부분 얼굴(B)로 이동하면, 제어부(180)는 사람의 눈, 코 또는 입의 위치에 따른 얼굴 특징이 존재하는 것으로 판단할 수 있다. 즉, 사람의 얼굴은 대칭의 형상을 가지므로, 대칭 이미지를 결합하는 것에 의해 눈, 코, 입이 이루는 특징이 원래 얼굴의 특징과 비슷하게 나타나게 되어, 제어부(180)는 얼굴로 판단할 수 있다.5 (c), when the face detection window 30 moves to the partial face A and the symmetrical partial face B, the control unit 180 controls the position of the person's eyes, nose or mouth It can be determined that the facial feature according to the present invention exists. That is, since the human face has a symmetrical shape, the features formed by the eyes, nose, and mouth are similar to those of the original face by combining the symmetric images, so that the control unit 180 can determine the face.

얼굴 검출창 내의 이미지에서 얼굴 특징이 존재하는 것으로 판단되는 경우, 제어부(180)는 얼굴 특징의 위치와 크기에 따라 이미지 내에서의 얼굴의 위치 및 크기를 획득할 수 있다. 다만, 이에 한정되는 것은 아니며, 얼굴을 검출하기 위하여 이용되는 얼굴 특징은 얼굴 검출 알고리즘에 따라 다른 특징이 적용될 수 있다.If it is determined that the face feature exists in the image in the face detection window, the controller 180 can obtain the position and size of the face in the image according to the position and size of the face feature. However, the present invention is not limited to this, and facial features used for detecting faces may be applied to other features according to the face detection algorithm.

이를 통하여 사용자는 카메라(121, 121')를 통하여 획득한 이미지에 부분 얼굴이 있는 경우에도, 공지의 얼굴 검출 방법에 의하여 이미지 내의 얼굴을 검출할 수 있다.Accordingly, even when the user has a partial face in the image obtained through the cameras 121 and 121 ', the user can detect the face in the image by the known face detection method.

도 6 내지 도 8은 본 발명의 일 실시예에 따른 이미지의 리사이징(resizing)을 이용한 부분 얼굴을 검출하는 것을 설명하기 위한 도면이다.6 to 8 are diagrams for explaining detection of a partial face using resizing of an image according to an embodiment of the present invention.

제어부(180)는 상기 획득된 이미지(10)를 소정의 비율로 축소시키는 리사이징(resizing)을 적어도 1회 이상 수행할 수 있다.The control unit 180 may perform resizing to reduce the obtained image 10 at a predetermined ratio at least once.

도 6의 (a)는 상기 획득된 이미지(10)이며, 도 6의 (b) 내지 (e)는 상기 획득된 이미지(10)를 리사이징한 이미지들이다. 도 6에서는 편의를 위하여 4개의 이미지만을 도시하였으나, 이에 한정되는 것은 아니다.6 (a) is the acquired image 10, and FIGS. 6 (b) to 6 (e) are images obtained by resizing the acquired image 10. FIG. In FIG. 6, only four images are shown for convenience, but the present invention is not limited thereto.

상기 리사이징은 이미지에 대하여 피라미드식으로 해상도를 축소하는 것을 의미할 수 있다. 피라미드식으로 해상도를 축소한다는 것은 이미지를 일정 비율로 축소하는 것을 반복하여 수행하는 것을 의미할 수 있다.The resizing may mean reducing the resolution in a pyramidal fashion on the image. Reducing the resolution in a pyramidal fashion may mean repeatedly reducing the image at a constant rate.

제어부(180)는 피라미드식으로 해상도를 축소한 이미지를 생성함으로써, 이미지에 포함된 다양한 크기의 얼굴을 정확하게 검출할 수 있다. 따라서, 상기 리사이징으로 생성되는 해상도가 축소된 이미지의 개수는 필요에 따라 설정될 수 있다. 다만, 이에 한정되는 것은 아니며, 필요에 따라서 상기 리사이징에는 해상도를 피라미드식으로 확대하는 것도 포함될 수 있다.The control unit 180 can accurately detect faces of various sizes contained in the image by generating an image in which the resolution is reduced by the pyramidal method. Therefore, the number of images with reduced resolution generated by the resizing can be set as needed. However, the present invention is not limited thereto, and if necessary, the resizing may include enlarging the resolution in a pyramidal manner.

이미지에서 다양한 크기의 얼굴을 검출하기 위하여 피라미드식으로 해상도를 축소하고, 얼굴 검출기를 생성된 피라미드 영상에 각각 적용하는 것은 공지의 기술에 따르며, 여기서는 더 이상 구체적인 설명을 생략하기로 한다.In order to detect faces of various sizes in an image, the resolution is reduced by a pyramid method, and the face detector is applied to the generated pyramid image, respectively, according to the known art, and a detailed description thereof will be omitted here.

도 7을 참조하면, 제어부(180)는 상기 리사이징된 이미지 각각에 대하여 상기한 미러링 방법에 의하여 확장 영역(21 내지 28)을 획득할 수 있다.Referring to FIG. 7, the control unit 180 may obtain the extended regions 21 to 28 for each of the resized images by the mirroring method described above.

일 예에 따라, 도 7의 (a) 내지 (d)의 확장 영역(21 내지 28)은 리사이징된 비율과는 무관하게 얼굴 검출창의 크기에 따라 동일한 폭으로 획득될 수 있다. 즉, 리사이징된 이미지들(60 내지 63)은 각각 크기가 다르므로, 각 이미지들(60 내지 63)에서 확장 영역(22)의 길이는 서로 다르지만, 확장 영역(22)의 높이는 모두 동일할 수 있다.According to one example, the extended areas 21 to 28 of FIGS. 7A to 7D can be obtained with the same width depending on the size of the face detection window regardless of the resized ratio. That is, since the sizes of the resized images 60 to 63 are different from each other, the lengths of the extended regions 22 in the respective images 60 to 63 are different, but the heights of the extended regions 22 may be all the same .

이는 각 이미지들(60 내지 63)의 확장 영역(24, 25, 27)에 대해서도 마찬가지일 수 있다. 또한, 리사이징된 이미지들(60 내지 63)의 확장 영역(21, 23, 26, 28)은 서로 동일한 크기를 갖게 될 수 있다.This may be the same for the extended areas 24, 25, 27 of the respective images 60 to 63. [ In addition, the extended areas 21, 23, 26, and 28 of the resized images 60 to 63 may have the same size as each other.

이는 제어부(180)가 각 리사이징된 이미지(60 내지 63)에 동일 크기의 얼굴 검출창을 적용하기 때문일 수 있다. 즉, 하나의 미러링 알고리즘이 적용되며, 얼굴 검출을 위하여도 하나의 알고리즘을 적용하기 위함일 수 있다. 다만, 이에 한정되는 것은 아니며, 필요에 따라서는 미러링 및 얼굴 검출 각각에 대해 복수의 알고리즘이 적용될 수 있다.This may be because the control unit 180 applies a face detection window of the same size to each of the resized images 60 to 63. [ That is, one mirroring algorithm is applied and one algorithm may be applied for face detection. However, the present invention is not limited thereto, and a plurality of algorithms may be applied to each of the mirroring and the face detection, if necessary.

도 8을 참조하면, 제어부(180)는 상기 리사이징된 이미지 및 상기 확장 영역에서 상기 얼굴 검출을 수행할 수 있다. 제어부(180)는 상기 리사이징된 이미지 및 그 주위의 상기 확장 영역 각각에 대하여 얼굴 검출창(30)을 이용하여 얼굴 특징이 존재하는지 여부를 판단할 수 있다.Referring to FIG. 8, the controller 180 may perform the face detection on the resized image and the extended area. The control unit 180 can determine whether or not a facial feature exists by using the face detection window 30 for each of the resized image and the surrounding extended area.

특정 크기의 리사이징된 이미지에 있는 얼굴이 얼굴 검출창(30)에 다 포함되지 않아 얼굴이 검출되지 않는 경우, 그보다 축소된 이미지에서 해당 얼굴이 검출될 수 있다.If a face in the resized image of a specific size is not included in the face detection window 30 and the face is not detected, the face can be detected in the reduced image.

이를 통하여, 사용자는 카메라를 통하여 획득된 이미지에서 다양한 크기의 부분 얼굴을 검출할 수 있다.Through this, the user can detect partial faces of various sizes in the image obtained through the camera.

도 9는 본 발명의 일 실시예에 따른 부분 얼굴의 검출을 설명하기 위한 도면이다.9 is a diagram for explaining detection of a partial face according to an embodiment of the present invention.

도 9의 (a)는 전체 얼굴의 4분의 1 정도가 획득된 이미지(70)에 나타난 경우를 도시한 것이다. 도 9의 (b)를 참조하면, 제어부(180)는 미러링을 통하여 부분 얼굴(C)의 오른쪽 대칭 부분 얼굴(D)을 획득할 수 있다.FIG. 9 (a) shows a case where about a quarter of the entire face appears in the acquired image 70. FIG. Referring to FIG. 9 (b), the controller 180 can obtain the right symmetrical partial face D of the partial face C through mirroring.

마찬가지로, 제어부(180)는 미러링을 통하여 부분 얼굴(C)의 아래쪽 대칭 부분 얼굴(E)을 획득할 수 있다. 또한, 제어부(180)는 미러링을 통하여 부분 얼굴(C)의 대각선 대칭 얼굴(F)을 획득할 수 있다.Similarly, the control unit 180 can acquire the lower symmetrical partial face E of the partial face C through mirroring. In addition, the control unit 180 can obtain the diagonal symmetric face F of the partial face C through mirroring.

이 후, 도 9의 (c)에 도시된 바와 같이, 제어부(180)는 얼굴 검출창을 획득된 이미지(70) 및 그 주위의 확장 영역(21 내지 28)에 대하여 순차적으로 적용하여 얼굴을 검출할 수 있다. 일 예에 따라, 제어부(180)는 부분 얼굴들(C 내지 F)의 조합에서 눈, 코, 눈으로 이루어진 얼굴 특징(80)을 추출할 수 있다.9 (c), the control unit 180 sequentially applies the face detection window to the acquired image 70 and the surrounding extended regions 21 to 28 to detect the face can do. According to an example, the control unit 180 may extract facial features 80 consisting of eyes, nose, and eyes from a combination of partial faces C to F. FIG.

전술한 바와 같이, 일 예에 따라, 얼굴 검출을 위해서 눈, 코, 입으로 이루어진 얼굴 특징이 이용될 수 있다. 도 9의 (c)에 도시된 얼굴 특징(80)은 눈, 코, 입으로 이루어진 것처럼 판단될 수 있다. 따라서 제어부(180)는 상기 얼굴 특징(80)을 추출하고 이를 얼굴로서 검출할 수 있다.As described above, according to one example, face features composed of eyes, nose, and mouth can be used for face detection. The facial feature 80 shown in FIG. 9 (c) can be judged as composed of eyes, nose, and mouth. Accordingly, the control unit 180 can extract the face feature 80 and detect it as a face.

이를 통하여, 사용자는 얼굴의 일부만 이미지에 나타난 경우에도, 얼굴 검출이 가능할 수 있다.In this way, the user can detect the face even if only a part of the face appears in the image.

도 10은 본 발명의 일 실시예에 따른 얼굴 검출창의 크기에 따라 확장 영역의 크기를 조절하는 것을 설명하기 위한 도면이다.10 is a diagram for explaining the adjustment of the size of the extended area according to the size of the face detection window according to the embodiment of the present invention.

제어부(180)는 상기 얼굴을 검출하기 위한 얼굴 검출창(30, 50)의 크기에 따라 상기 확장 영역(21 내지 28, 41 내지 48)의 크기를 조절할 수 있다. 제어부(180)는 얼굴 검출창의 크기가 정해지면 그에 따라 획득된 이미지(10)에서 미러링을 적용할 테두리 영역을 정할 수 있다.The control unit 180 may adjust the sizes of the extension regions 21 to 28 and 41 to 48 according to the sizes of the face detection windows 30 and 50 for detecting the face. When the size of the face detection window is determined, the control unit 180 can determine a border area to which the mirroring is applied in the image 10 acquired.

상기 얼굴 검출창(30, 50)의 크기는 필요에 따라 미리 정해질 수 있다. 다만, 이에 한정되는 것은 아니며, 제어부(180)는 얼굴 검출창의 크기에 관계없이 필요에 따라 확장 영역의 크기를 정할 수도 있다.The sizes of the face detection windows 30 and 50 can be predetermined according to need. However, the present invention is not limited thereto, and the controller 180 may determine the size of the extended area as needed, regardless of the size of the face detection window.

이를 통하여, 사용자는 얼굴 검출에 적용되는 얼굴 검출창의 크기에 따라 다양한 크기의 확장 영역 획득이 가능할 수 있다.Accordingly, the user can obtain extended areas of various sizes according to the size of the face detection window applied to face detection.

상기에서 설명한 본 발명에 의한 전자 기기의 제어 방법은, 컴퓨터에서 실행시키기 위한 프로그램으로 컴퓨터로 읽을 수 있는 기록매체에 기록하여 제공될 수 있다.The above-described method of controlling an electronic device according to the present invention can be provided by being recorded on a computer-readable recording medium as a program for execution on a computer.

본 발명에 의한 전자 기기의 제어 방법은 소프트웨어를 통해 실행될 수 있다. 소프트웨어로 실행될 때, 본 발명의 구성 수단들은 필요한 작업을 실행하는 코드 세그먼트들이다. 프로그램 또는 코드 세그먼트들은 프로세서 판독 가능 매체에 저장되거나 전송 매체 또는 통신망에서 반송파와 결합된 컴퓨터 데이터 신호에 의하여 전송될 수 있다.The control method of the electronic device according to the present invention can be executed through software. When executed in software, the constituent means of the present invention are code segments that perform the necessary tasks. The program or code segments may be stored in a processor readable medium or transmitted by a computer data signal coupled with a carrier wave in a transmission medium or a communication network.

컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 장치의 예로는, ROM, RAM, CD-ROM, DVD±ROM, DVD-RAM, 자기 테이프, 플로피 디스크, 하드 디스크(hard disk), 광데이터 저장장치 등이 있다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 장치에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.
A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored. Examples of the computer-readable recording device include a ROM, a RAM, a CD-ROM, a DVD 占 ROM, a DVD-RAM, a magnetic tape, a floppy disk, a hard disk, The computer-readable recording medium may also be distributed to networked computer devices so that computer readable code can be stored and executed in a distributed manner.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다. 또한, 본 문서에서 설명된 실시예들은 한정되게 적용될 수 있는 것이 아니라, 다양한 변형이 이루어질 수 있도록 각 실시예들의 전부 또는 일부가 선택적으로 조합되어 구성될 수도 있다.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. The present invention is not limited to the drawings. In addition, the embodiments described in this document may not be limitedly applied, but all or some of the embodiments may be selectively combined so that various modifications may be made.

100: 전자 기기 151: 디스플레이 모듈(터치스크린)100: Electronic device 151: Display module (touch screen)

Claims (5)

외부 이미지를 획득하는 카메라; 및
상기 획득된 이미지의 테두리 영역을 상기 획득된 이미지의 외부로 미러링(mirroring)하여 상기 테두리 영역의 주위에 미러 이미지(mirror image)로 이루어진 확장 영역을 획득하고, 상기 획득된 이미지와 상기 확장된 영역에서 얼굴을 검출하는 제어부;
를 포함하는 전자 기기.
A camera for acquiring an external image; And
Mirroring an edge region of the obtained image to the outside of the obtained image to obtain an extended region of a mirror image around the edge region, A control unit for detecting a face;
.
제 1 항에 있어서, 상기 제어부는
상기 획득된 이미지를 소정의 비율로 축소시키는 리사이징(resizing)을 적어도 1회 이상 수행하고, 상기 리사이징된 이미지 각각에 대하여 상기 확장 영역을 획득하고, 상기 얼굴 검출을 수행하는 것을 포함하는 전자 기기.
The apparatus of claim 1, wherein the control unit
Performing resizing to reduce the obtained image at a predetermined ratio at least once, acquiring the extended area for each of the resized images, and performing the face detection.
제 1 항에 있어서, 상기 제어부는
상기 얼굴을 검출하기 위한 얼굴 검출창의 크기에 따라 상기 확장 영역의 크기를 조절하는 것을 포함하는 전자 기기.
The apparatus of claim 1, wherein the control unit
And adjusting the size of the extended area according to the size of the face detection window for detecting the face.
외부 이미지를 획득하는 단계;
상기 획득된 이미지의 테두리 영역을 상기 획득된 이미지의 외부로 미러링하여 상기 테두리 영역의 주위에 미러 이미지로 이루어진 확장 영역을 획득하는 단계; 및
상기 획득된 이미지와 상기 확장된 영역에서 얼굴을 검출하는 단계;
를 포함하는 전자 기기의 제어 방법.
Acquiring an external image;
Acquiring an extended area of the mirror image around the edge area by mirroring the edge area of the obtained image to the outside of the obtained image; And
Detecting a face in the acquired image and the extended region;
And controlling the electronic device.
제 4 항에 있어서, 상기 확장 영역을 획득하는 단계는
상기 획득된 이미지를 소정의 비율로 축소시키는 리사이징을 적어도 1회 이상 수행하고, 상기 리사이징된 이미지 각각에 대하여 상기 확장 영역을 획득하는 것을 포함하는 전자 기기의 제어 방법.
5. The method of claim 4, wherein obtaining the extended region comprises:
Performing resizing to reduce the obtained image at a predetermined ratio at least once, and acquiring the extended area for each of the resized images.
KR1020130159194A 2013-12-19 2013-12-19 Electronic device and control method thereof KR20150072002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130159194A KR20150072002A (en) 2013-12-19 2013-12-19 Electronic device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130159194A KR20150072002A (en) 2013-12-19 2013-12-19 Electronic device and control method thereof

Publications (1)

Publication Number Publication Date
KR20150072002A true KR20150072002A (en) 2015-06-29

Family

ID=53518110

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130159194A KR20150072002A (en) 2013-12-19 2013-12-19 Electronic device and control method thereof

Country Status (1)

Country Link
KR (1) KR20150072002A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107730444A (en) * 2017-10-31 2018-02-23 广东欧珀移动通信有限公司 Image processing method, device, readable storage medium storing program for executing and computer equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107730444A (en) * 2017-10-31 2018-02-23 广东欧珀移动通信有限公司 Image processing method, device, readable storage medium storing program for executing and computer equipment
CN107730444B (en) * 2017-10-31 2022-02-01 Oppo广东移动通信有限公司 Image processing method, image processing device, readable storage medium and computer equipment

Similar Documents

Publication Publication Date Title
KR102018378B1 (en) Electronic Device And Method Of Controlling The Same
KR101858604B1 (en) Mobile terminal and control method thereof
KR20150007159A (en) Electronic device and control method thereof
KR20140113119A (en) Electronic device and control method therof
KR20150039355A (en) Mobile terminal and control method thereof
KR101725388B1 (en) Mobile terminal and control method therof
KR101716892B1 (en) Mobile terminal cradle and control method thereof
KR20140033704A (en) Mobile terminal and control method therof
KR20150045205A (en) Electronic device and control method thereof
KR101648509B1 (en) Mobile terminal and control method thereof
KR101967765B1 (en) Mobile terminal and method for controlling of the same
KR20140065048A (en) Mobile terminal and method for controlling of the same
KR20120076147A (en) Mobile terminal and method for controlling screen display thereof
KR20150068838A (en) Electronic device and method for controlling of the same
KR20140103525A (en) Mobile terminal and method for controlling of the same
KR20170045168A (en) Mobile terminal and control method therof
KR20150072002A (en) Electronic device and control method thereof
KR20150092624A (en) Electronic device and control method thereof
KR20150050052A (en) Mobile terminal and method for controlling of the same
KR20140068427A (en) Mobile terminal and control method therof
KR101689692B1 (en) Mobile terminal
KR101637389B1 (en) Mobile terminal and control method thereof
KR101060547B1 (en) Mobile terminal, and security method using the mobile terminal
KR20150048575A (en) Mobile terminal and method for controlling of the same
KR20150069210A (en) Electronic device and control method thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E601 Decision to refuse application