KR20100130670A - Apparatus and method for obtaining image using face detection in portable terminal - Google Patents
Apparatus and method for obtaining image using face detection in portable terminal Download PDFInfo
- Publication number
- KR20100130670A KR20100130670A KR1020090049303A KR20090049303A KR20100130670A KR 20100130670 A KR20100130670 A KR 20100130670A KR 1020090049303 A KR1020090049303 A KR 1020090049303A KR 20090049303 A KR20090049303 A KR 20090049303A KR 20100130670 A KR20100130670 A KR 20100130670A
- Authority
- KR
- South Korea
- Prior art keywords
- shot
- image
- face
- type
- head
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000001514 detection method Methods 0.000 title claims abstract description 20
- 238000004364 calculation method Methods 0.000 claims description 7
- 210000003127 knee Anatomy 0.000 claims description 6
- 238000013507 mapping Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 210000001097 facial muscle Anatomy 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G06T3/04—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/40—Analysis of texture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/179—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a scene or a shot
Abstract
Description
본 발명은 휴대용 단말기에서 얼굴 검출(face detection)을 이용한 영상 획득 방법 및 장치에 관한 것으로서, 특히 얼굴 검출을 통해 사용자가 원하는 크기의 영상을 획득하는 방법 및 장치에 관한 것이다.The present invention relates to an image acquisition method and apparatus using face detection in a portable terminal, and more particularly, to a method and apparatus for acquiring an image having a desired size through face detection.
최근 들어, 휴대용 단말기가 소형 경박화됨에 따라 휴대의 편리성이 증가되어 상기 휴대용 단말기의 수요가 점차 증가하고 있다. 이에 따라, 상기 휴대용 단말기에 탑재되는 부가 기능도 다양화되고 있다. 예를 들어, 상기 휴대용 단말기는 게임(game), 스케쥴러(scheduler), 모닝콜(morning call), MP 3(MPEG layer 3), 동영상 플레이어, 디지털 카메라(digital camera) 등의 다양한 부가 기능을 제공하고 있다.In recent years, as the portable terminal becomes smaller and thinner, the convenience of portable is increased, and the demand for the portable terminal is gradually increasing. Accordingly, the additional functions mounted on the portable terminal are also diversifying. For example, the portable terminal provides various additional functions such as a game, a scheduler, a morning call, an MP3 (MPEG layer 3), a video player, and a digital camera. .
특히, 상기 부가 기능 중 상기 디지털 카메라 기능은 최근 들어 사용자들에 게 필수 구성 요소로 인식됨에 따라 대부분의 휴대용 단말기에서 제공되고 있는 추세이다. 상기 휴대용 단말기에서 제공되는 디지털 카메라 기능은 단순한 사진 촬영 기능 이외에, 센서로부터 입력되는 영상에서 얼굴을 인식하여 사진을 촬영하는 기능을 제공하고 있다. 예를 들어, 최근에는 상기 얼굴 인식 기능을 통해 사용자의 웃는 얼굴을 감지하여 사진을 촬영하는 스마일 샷이라는 기능을 제공하고 있다. 상기 스마일 샷은 프리뷰 중에 센서로부터 입력되는 영상 신호에서 얼굴을 인식한 후, 얼굴의 근육 변화와 치아의 노출 등을 인식하여 웃는 순간을 감지하고, 상기 웃는 순간이 감지되면 자동으로 사진을 촬영하는 기법을 이용한다.In particular, the digital camera function among the additional functions is a trend that is provided in most portable terminals as it is recently recognized as an essential component to users. The digital camera function provided in the portable terminal provides a function of taking a picture by recognizing a face from an image input from a sensor, in addition to a simple picture taking function. For example, recently, the face recognition function provides a function called a smile shot that detects a smiley face of a user and takes a picture. The smile shot recognizes a face from an image signal input from a sensor during a preview, detects a facial muscle change and exposure of a tooth, detects a smiling moment, and automatically takes a picture when the smiling moment is detected. Use
하지만, 상기 스마일 샷은 단순히 얼굴의 웃는 순간만을 감지하여 사진을 자동으로 촬영하므로, 사용자가 원하지 않는 부분까지 촬영되거나 원하지 않는 구도로 촬영될 수 있는 문제점이 있다. 즉, 상기 스마일 샷은 피사체인 인물의 위치에 관계 없이 단순히 웃는 순간만을 포착하여 사진을 촬영하기 때문에 도 1의 (a) 내지 (c)에 도시된 바와 같이, 피사체가 영상의 한쪽에 치우쳐 있더라도 사진을 촬영하게 되는 문제점이 있다. However, the smile shot simply detects only the smile moment of the face and automatically photographs the picture. Therefore, the smile shot may be photographed up to a portion not desired by the user or may be photographed with an undesired composition. That is, the smile shot captures a photograph by simply capturing a smile, regardless of the position of the person who is the subject, as shown in FIGS. 1A to 1C, even if the subject is biased to one side of the image. There is a problem to shoot.
본 발명은 상술한 바와 같은 문제점을 해결하기 위해 도출된 것으로서, 본 발명의 목적은 휴대용 단말기에서 얼굴 검출을 이용한 영상 획득 방법 및 장치를 제공함에 있다.The present invention has been made to solve the above problems, and an object of the present invention is to provide a method and apparatus for image acquisition using face detection in a portable terminal.
본 발명의 다른 목적은 휴대용 단말기에서 얼굴 검출을 통해 사용자가 원하는 크기의 영상을 획득하는 방법 및 장치를 제공함에 있다.Another object of the present invention is to provide a method and apparatus for acquiring an image having a desired size through face detection in a portable terminal.
본 발명의 또 다른 목적은 휴대용 단말기에서 얼굴의 좌표 및 크기 정보와영상의 크기 정보를 이용하여 사진을 촬영하기 위한 방법 및 장치를 제공함에 있다.Another object of the present invention is to provide a method and an apparatus for capturing a picture using coordinate and size information of a face and size information of an image in a portable terminal.
본 발명의 또 다른 목적은 휴대용 단말기에서 얼굴의 좌표 및 크기 정보와 영상의 크기 정보에 따라 다양한 샷 종류를 제공하기 위한 방법 및 장치를 제공함에 있다.It is still another object of the present invention to provide a method and apparatus for providing various types of shots according to coordinates and size information of a face and size information of an image in a portable terminal.
본 발명의 또 다른 목적은 휴대용 단말기에서 얼굴의 좌표 및 크기 정보와 영상의 크기 정보를 이용하여 해당 영상을 편집하기 위한 방법 및 장치를 제공함에 있다.Another object of the present invention is to provide a method and apparatus for editing a corresponding image using coordinate and size information of a face and size information of an image in a portable terminal.
상술한 목적들을 달성하기 위한 본 발명의 제 1 견지에 따르면, 휴대용 단말기에서 얼굴 검출을 이용한 영상 획득 방법은, 얼굴 검출을 통해 영상에서 얼굴의 좌표 정보를 획득하는 과정과, 상기 좌표 정보를 이용하여 상기 영상에서 얼굴이 차지하는 비율을 계산하는 과정과, 상기 비율에 따라 샷 종류를 결정하는 과정과, 사용자에 의해 선택된 샷 종류에 대응되는 영역을 포함하는 영상을 획득하는 과정을 포함하는 것을 특징으로 한다.According to a first aspect of the present invention for achieving the above object, the image acquisition method using face detection in a portable terminal, the process of acquiring the coordinate information of the face in the image through the face detection, by using the coordinate information Calculating a proportion of the face in the image, determining a shot type according to the ratio, and acquiring an image including an area corresponding to the shot type selected by the user. .
상술한 목적들을 달성하기 위한 본 발명의 제 2 견지에 따르면, 휴대용 단말기에서 얼굴 검출을 이용한 영상 획득 장치는, 얼굴 검출을 통해 영상에서 얼굴의 좌표 정보를 획득하고, 상기 좌표 정보를 이용하여 상기 영상에서 얼굴이 차지하는 비율을 계산한 후, 상기 비율에 따라 샷 종류를 결정하며, 사용자에 의해 선택된 샷 종류에 대응되는 영역을 포함하는 영상을 획득하는 제어부를 포함하는 것을 특징으로 한다.According to a second aspect of the present invention for achieving the above objects, the image acquisition apparatus using face detection in a portable terminal, obtains the coordinate information of the face in the image through the face detection, and using the coordinate information And after calculating the ratio occupied by the face, determining a shot type according to the ratio, and obtaining a image including an area corresponding to the shot type selected by the user.
본 발명은 휴대용 단말기에서 영상 내에 존재하는 얼굴의 좌표 및 크기 정보와 영상의 크기 정보를 바탕으로 사용자에게 촬영 혹은 편집 가능한 다양한 샷 종류를 안내함으로써, 사용자가 한번의 선택으로 원하는 영상을 획득할 수 있도록 하며, 스마일 샷과 같은 자동 캡처 기능으로 인해 잘못 획득된 영상을 바르게 획득할 수 있도록 도울 수 있다. The present invention allows the user to acquire a desired image with a single selection by guiding the user with various types of shots that can be taken or edited based on the coordinate and size information of the face existing in the image and the size information of the image. In addition, an automatic capture function such as a smile shot can help to correctly acquire an incorrectly acquired image.
이하 본 발명의 바람직한 실시 예를 첨부된 도면을 참조하여 설명한다. 그리고, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명 이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings. In describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.
이하 본 발명에서는 휴대용 단말기에서 영상 내에 존재하는 얼굴의 좌표 정보와 영상의 크기 정보를 바탕으로 사용자에게 촬영 혹은 편집 가능한 다양한 샷 종류를 제공하여 영상을 획득하는 방법 및 장치에 관해 설명할 것이다. Hereinafter, a method and apparatus for acquiring an image by providing various types of shots that can be photographed or edited to a user based on coordinate information of a face and size information of a face existing in the image in the portable terminal will be described.
도 2는 본 발명에 따른 휴대용 단말기의 블록 구성을 도시하고 있다.2 shows a block configuration of a portable terminal according to the present invention.
상기 도 2를 참조하면, 상기 휴대용 단말기는 제어부(200), 카메라부(210), 영상처리부(220), 표시부(230), 입력부(240), 저장부(250)를 포함하여 구성되며, 상기 제어부(200)는 샷 관리부(202)를 포함하여 구성된다.Referring to FIG. 2, the portable terminal includes a control unit 200, a camera unit 210, an
상기 제어부(200)는 음성통화 및 데이터통신을 위한 처리 및 제어를 수행하고, 본 발명에 따라 상기 샷 관리부(202)를 포함함으로써 상기 영상 처리부(200)로부터 입력되는 영상 프레임 혹은 상기 저장부(250)에 저장된 영상에서 얼굴을 인식한 후, 상기 인식된 얼굴을 바탕으로 다양한 크기의 영상을 촬영 혹은 편집 하기 위한 기능을 제어 및 처리한다.The control unit 200 performs processing and control for voice call and data communication, and includes the shot managing unit 202 according to the present invention, so that the image frame or the storage unit 250 is input from the image processing unit 200. After recognizing the face in the image stored in the), and controls and processes a function for shooting or editing images of various sizes based on the recognized face.
즉, 상기 샷 관리부(202)는 해당 영상에서 얼굴의 좌표 정보를 획득한 후, 상기 획득된 얼굴의 좌표 정보와 상기 해당 영상의 크기 정보를 바탕으로 촬영 혹은 편집 가능한 샷 종류를 결정하고, 이를 사용자에게 알려 상기 사용자 설정에 따라 특정 샷에 해당하는 영상을 획득하기 위한 기능을 제어 및 처리한다. 여기서, 상기 샷 관리부(202)는 상기 해당 영상에서 상기 얼굴이 차지하는 비율을 계산하여 상기 촬영 혹은 편집 가능한 샷 종류를 결정할 수 있다. 상기 샷 종류는 도 5에 도시된 바와 같이, 전체 영상에서 인물의 얼굴을 중심으로 형성되는 다양한 크기의 영상 종류를 나타내는 것으로서, 상기 샷 종류로는 얼굴만을 포함하는 ECU(Extreme Close UP Shot), 머리와 얼굴만을 포함하는 CU(Close UP Shot), 머리부터 어깨까지 포함하는 CS(Close Shot), 머리부터 가슴까지 포함하는 BS(Bust Shot), 머리부터 허리까지 포함하는 WS(Waist Shot), 머리부터 무릎까지 포함하는 KS(Knee Shot), 머리부터 발끝까지 즉, 전신을 포함하는 FS(Full Shot)가 있다. 여기서, 상기 각 샷이 인물의 어느 부분을 포함하는 지는 설정에 따라 변경 가능하며, 상기 샷의 종류 역시 변경이 가능하다.That is, after the shot manager 202 acquires coordinate information of a face from the corresponding image, the shot manager 202 determines a shot type that can be taken or edited based on the acquired coordinate information of the face and size information of the corresponding image, and the user The controller controls and processes a function for acquiring an image corresponding to a specific shot according to the user setting. Here, the shot manager 202 may determine the type of shot that can be taken or edited by calculating a ratio of the face in the corresponding image. As shown in FIG. 5, the shot type represents various types of images formed around the face of the person in the entire image. The shot type includes an ECU (Extreme Close UP Shot) including only a face, and a head. CU (Close UP Shot) including face and face only, CS (Close Shot) from head to shoulder, Bust Shot (BS) from head to chest, WS (Waist Shot) from head to waist, Head to There are KS (Knee Shot) including the knee, and FS (Full Shot) including the whole body from head to toe. Here, which part of each person the shot includes may be changed according to a setting, and the type of the shot may also be changed.
상기 카메라부(210)는 영상 촬영시에 감지되는 광신호를 전기적 신호로 변환하는 카메라 센서와, 상기 카메라 센서로부터 촬영되는 아날로그 영상신호를 디지털 데이터로 변환하는 신호처리부를 구비한다. 여기서 상기 카메라 센서는 CCD(Charge Coupled Device) 센서로, 상기 신호처리부는 DSP(Digital Signal Processor)로 구현할 수 있다.The camera unit 210 includes a camera sensor for converting an optical signal detected at the time of image capturing into an electrical signal, and a signal processor for converting an analog image signal photographed from the camera sensor into digital data. The camera sensor may be a charge coupled device (CCD) sensor, and the signal processor may be a digital signal processor (DSP).
상기 영상처리부(220)는 상기 카메라부(210)에서 출력되는 영상신호를 프레임 단위로 처리하여 상기 표시부(230)의 특성 및 크기에 맞춰 출력한다. 또한, 상기 영상처리부(220)는 영상코덱을 구비하며, 상기 영상코덱은 영상신호를 설정된 방식으로 코딩하거나, 코딩된 프레임 영상데이터를 원래의 프레임 영상데이터로 디코딩하는 역할을 수행한다. The
상기 표시부(230)는 상기 휴대용 단말기의 동작 중에 발생되는 상태 정보, 제한된 숫자와 문자들을 디스플레이한다. 또한, 상기 표시부(230)는 상기 제어부(200)의 제어에 따라 촬영 혹은 편집 가능한 샷 종류를 디스플레이하고, 현재 디스플레이 중인 영상에서 각각의 샷이 포함하는 부분을 디스플레이한다. The display unit 230 displays state information, limited numbers and letters generated during the operation of the portable terminal. In addition, the display unit 230 displays the types of shots that can be taken or edited under the control of the controller 200, and displays a portion included in each shot in the currently displayed image.
상기 입력부(240)는 다수의 기능키들을 구비하여, 사용자가 누르는 키에 대응하는 키입력 데이터를 상기 제어부(200)에 제공한다. 특히, 상기 입력부(240)는 본 발명에 따라 사용자로부터 촬영 혹은 편집을 위한 샷 종류를 설정 받는다.The input unit 240 is provided with a plurality of function keys to provide the control unit 200 with key input data corresponding to a key pressed by the user. In particular, the input unit 240 receives a shot type for shooting or editing from the user according to the present invention.
상기 저장부(250)는 상기 휴대용 단말기의 전반적인 동작을 제어하기 위한 각종 프로그램 및 데이터를 저장한다. 특히, 상기 저장부(250)는 영상에서 얼굴이 차지하는 비율에 따라 촬영 혹은 편집 가능한 샷 종류를 나타내는 매핑테이블을 저장할 수도 있으며, 상기 얼굴 좌표 정보와 영상 크기 정보를 이용하여 상기 촬영 혹은 편집 가능한 샷 종류를 결정하는 계산 식을 저장할 수도 있다. 예를 들어 상기 저장부(250)는 하기 표 1과 같은 매핑테이블을 저장할 수 있다.The storage unit 250 stores various programs and data for controlling the overall operation of the portable terminal. In particular, the storage unit 250 may store a mapping table indicating the types of shots that can be taken or edited according to the ratio of faces in the image, and the types of shots that can be shot or edited using the face coordinate information and the image size information. You can also store a calculation that determines. For example, the storage unit 250 may store a mapping table as shown in Table 1 below.
상기 표 1은 영상 높이(image height)와 얼굴 높이(face height)의 비율에 따라 촬영 혹은 편집 가능한 샷 종류를 나타낸다.Table 1 shows the types of shots that can be taken or edited according to the ratio of the image height and the face height.
도 3은 본 발명의 실시 예에 따른 휴대용 단말기에서 영상을 촬영하는 절차를 도시하고 있다.3 illustrates a procedure of capturing an image in a portable terminal according to an exemplary embodiment of the present invention.
상기 도 3을 참조하면, 상기 단말은 301단계에서 카메라로부터 영상 신호가 입력되면, 303단계에서 상기 입력되는 영상 신호에서 얼굴을 인식하여 얼굴의 좌표 정보를 획득한다. 예를 들어, 상기 단말은 도 6(a)에 도시된 바와 같은 영상이 입력될 시, 도 6(b)에 도시된 바와 같이 얼굴 검출(face detection)을 수행하여 영상에서 얼굴을 검출해낸 후, 도 6(c)에 도시된 바와 같이 검출된 얼굴 영역의 좌표 정보를 획득한다. 여기서, 상기 좌표 정보는 (x, y, width, height)형태로 표현될 수 있다. 이때, 상기 x, y는 얼굴의 좌표 정보를 나타내기 위한 기준점이 되는 XY좌표이며, width는 상기 얼굴의 가로축 길이, height는 얼굴의 세로축 길이를 나타낸다. Referring to FIG. 3, when an image signal is input from the camera in
이후, 상기 단말은 305단계에서 상기 획득된 얼굴의 좌표 정보를 이용하여 전체 영상에서 상기 얼굴이 차지하는 비율을 계산한다. 즉, 상기 단말은 상기 얼굴의 좌표 정보를 이용하여 얼굴의 크기를 계산한 후, 상기 얼굴 크기와 전체 영상의 크기를 이용하여 상기 영상에서 상기 얼굴이 차지하는 비율을 계산한다. In
이후, 상기 단말은 307단계에서 상기 계산된 비율에 따라 촬영 가능한 샷 종류를 결정한다. 이때, 상기 단말은 상기 샷 종류 결정 시, 상기 비율에 따라 촬영 가능한 샷 종류를 나타내는 매핑테이블을 이용할 수도 있으며, 상기 비율에 따라 촬영 가능한 샷 종류를 결정하는 계산 식을 이용할 수도 있다. 또한, 상기 단말은 상기 샷 종류 결정 시, 상기 획득된 비율 대신 얼굴 좌표 정보와 영상 크기 정보를 이용하여 촬영 가능한 샷 종류를 결정하는 계산 식을 이용할 수도 있다. In
이후, 상기 단말은 309단계로 진행하여 상기 단말이 제공하는 샷 종류 중에서 상기 결정된 샷 종류만을 활성화 시킨다. 예를 들어, 상기 단말은 촬영 가능한 샷 종류가 ECU, CU, CS, VS 및 WS로 결정된 경우, 도 6(d)에 나타낸 바와 같이 상기 ECU, CU, CS, VS 및 WS는 사용자의 선택이 가능하도록 활성화 시키고, 촬영 가능하지 않은 샷 종류인 KS, FS는 사용자의 선택이 불가능하도록 비활성화시킨다. 여기서, 상기 단말은 상기 활성화된 샷 종류 각각에 대응되는 영역을 나타내는 선을 화면에 디스플레이할 수 있다. 이때, 상기 단말은 상기 활성화된 모든 샷에 대한 선을 화면에 디스플레이할 수도 있고, 사용자의 키 조작에 따라 포커스가 맞춰진 샷에 대응되는 선만을 나타낼 수 있다. 또한, 상기 단말은 상기 활성화된 모든 샷에 대한 선을 화면에 디스플레이하고, 상기 포커스가 맞춰진 샷에 대응되는 선의 굵기, 색상, 모양 등을 변경하여 디스플레이할 수도 있다.In
이후, 상기 단말은 311단계에서 상기 활성화된 촬영 가능한 샷 종류 중에서 상기 사용자에 의해 촬영할 샷 종류가 선택되는지 검사한다. 예를 들어, 상기 단말은 도 6(e)에 도시된 바와 같이, 촬영 가능한 샷들 중에서 CS 샷이 선택되는지 검사한다. 여기서, 상기 단말은 상기 촬영할 샷 종류가 선택되지 않을 시, 상기 303단계로 되돌아가 이하 단계를 재수행한다. 이는 사용자의 움직임에 의해 카메라로부터 입력되는 영상 신호가 변화될 수 있음을 반영하기 위함이다. In
상기 단말은 상기 촬영할 샷 종류가 선택될 시, 상기 단말은 313단계로 진행하여 스마일 샷 기능이 설정되었는지 여부를 검사한다. 만일, 상기 스마일 샷이 설정되지 않았을 경우 상기 단말은 317단계로 바로 진행하여 카메라로부터 입력되는 영상을 캡처하여 상기 선택된 샷 종류에 대응되는 크기의 영상을 획득 및 저장한다. 이때 상기 단말은 상기와 같이 영상 전체를 캡처한 후에 상기 선택된 샷 종류에 대응되는 크기의 영상을 획득할 수도 있으며, 상기 선택된 샷 종류에 대응되는 영역만을 캡처할 수도 있을 것이다. 예를 들어, 상기 단말은 상기 도 6(e)에 도시된 바와 같이 인물의 머리부터 어깨까지 포함하는 CS가 선택된 경우, 도 6(h)와 같이 상기 CS에 대응되는 영역만을 포함하는 영상을 촬영할 수 있다.When the type of shot to be photographed is selected, the terminal proceeds to step 313 to check whether the smile shot function is set. If the smile shot is not set, the terminal proceeds directly to step 317 to capture an image input from the camera to acquire and store an image having a size corresponding to the selected shot type. In this case, after capturing the entire image as described above, the terminal may acquire an image having a size corresponding to the selected shot type, or may capture only an area corresponding to the selected shot type. For example, when the CS including the head to the shoulder of the person is selected as shown in FIG. 6 (e), the terminal may capture an image including only the area corresponding to the CS as shown in FIG. 6 (h). Can be.
반면, 상기 스마일 샷이 설정되었을 경우 상기 단말은 315단계로 진행하여 얼굴의 근육 변화와 치아의 노출 등을 인식하여 스마일을 감지하고, 상기 스마일이 감지될 경우 하기 317단계로 진행하여 상기 스마일이 감지된 상태에서 카메라로부터 입력되는 영상을 캡처하여 상기 선택된 샷 종류에 대응되는 크기의 영상을 획득 및 저장한다. 여기서, 상기 스마일 감지는 기존 기법을 이용한다. 예를 들어, 상기 단말은 도 6(e)에 도시된 바와 같이 촬영할 샷 종류가 선택되면, 도 6(f)와 같이 촬영 대상의 스마일을 감지하고, 상기 스마일이 감지된 순간에 도 6(g)와 같이 영상을 캡처한 후 캡처된 영상에서 상기 선택된 샷 종류에 대응되는 영역만을 취함으로써, 도 6(h)와 같은 영상을 획득할 수 있다. On the other hand, when the smile shot is set, the terminal proceeds to step 315 and detects a smile by recognizing a muscle change of a face and exposure of a tooth, and when the smile is detected, proceeds to step 317 to detect the smile. In this state, the image input from the camera is captured to acquire and store an image having a size corresponding to the selected shot type. Here, the smile detection uses a conventional technique. For example, when the type of shot to be photographed is selected as shown in FIG. 6 (e), the terminal senses smile of the photographing target as shown in FIG. 6 (f), and at the moment when the smile is detected, FIG. After capturing an image as shown in FIG. 6, only an area corresponding to the selected shot type is taken from the captured image, thereby obtaining an image as shown in FIG. 6 (h).
이후, 상기 단말은 본 발명에 따른 알고리즘을 종료한다.Thereafter, the terminal terminates the algorithm according to the present invention.
도 4는 본 발명의 실시 예에 따른 휴대용 단말기에서 영상을 편집하는 절차를 도시하고 있다.4 illustrates a procedure of editing an image in a portable terminal according to an embodiment of the present invention.
상기 도 4를 참조하면, 상기 단말은 401단계에서 영상 편집 기능이 수행되면, 403단계로 진행하여 선택된 영상에서 얼굴을 인식하여 얼굴의 좌표 정보를 획득한다. 예를 들어, 상기 단말은 도 6(a)에 도시된 바와 같은 영상이 선택될 시, 도 6(b)에 도시된 바와 같이 얼굴 검출(face detection)을 수행하여 상기 영상에서 얼굴을 검출해낸 후, 도 6(c)에 도시된 바와 같이 검출된 얼굴 영역의 좌표 정보를 획득한다. 여기서, 상기 좌표 정보는 (x, y, width, height)형태로 표현될 수 있다. 이때, 상기 x, y는 얼굴의 좌표 정보를 나타내기 위한 기준점이 되는 XY좌표이며, width는 상기 얼굴의 가로축 길이, height는 얼굴의 세로축 길이를 나타낸다. Referring to FIG. 4, when the image editing function is performed in
이후, 상기 단말은 405단계에서 상기 획득된 얼굴의 좌표 정보를 이용하여 전체 영상에서 상기 얼굴이 차지하는 비율을 계산한다. 즉, 상기 단말은 상기 얼굴의 좌표 정보를 이용하여 얼굴의 크기를 계산한 후, 상기 얼굴 크기와 전체 영상의 크기를 이용하여 상기 영상에서 상기 얼굴이 차지하는 비율을 계산한다. In
이후, 상기 단말은 407단계에서 상기 계산된 비율에 따라 편집 가능한 샷 종류를 결정한다. 이때, 상기 단말은 상기 샷 종류 결정 시, 상기 비율에 따라 편집 가능한 샷 종류를 나타내는 매핑테이블을 이용할 수도 있으며, 상기 비율에 따라 편집 가능한 샷 종류를 결정하는 계산 식을 이용할 수도 있다. 또한, 상기 단말은 상기 샷 종류 결정 시, 상기 획득된 비율 대신 얼굴 좌표 정보와 영상 크기 정보를 이용하여 편집 가능한 샷 종류를 결정하는 계산 식을 이용할 수도 있다. In
이후, 상기 단말은 409단계로 진행하여 상기 단말이 제공하는 샷 종류 중에서 상기 결정된 샷 종류만을 활성화 시킨다. 예를 들어, 상기 단말은 편집 가능한 샷 종류가 ECU, CU, CS, VS 및 WS로 결정된 경우, 도 6(d)에 나타낸 바와 같이 상기 ECU, CU, CS, VS 및 WS는 사용자의 선택이 가능하도록 활성화 시키고, 편집 가능하지 않은 샷 종류인 KS, FS는 사용자의 선택이 불가능하도록 비활성화시킨다. 여기서, 상기 단말은 상기 활성화된 샷 종류 각각에 대응되는 영역을 나타내는 선을 화면에 디스플레이할 수 있다. 이때, 상기 단말은 상기 활성화된 모든 샷에 대한 선을 화면에 디스플레이할 수도 있고, 사용자의 키 조작에 따라 포커스가 맞춰진 샷에 대응되는 선만을 나타낼 수 있다. 또한, 상기 단말은 상기 활성화된 모든 샷에 대한 선을 화면에 디스플레이하고, 상기 포커스가 맞춰진 샷에 대응되는 선의 굵기, 색상, 모양 등을 변경하여 디스플레이할 수도 있다.In
이후, 상기 단말은 411단계에서 상기 활성화된 편집 가능한 샷 종류 중에서 상기 사용자에 의해 편집할 샷 종류가 선택되는지 검사한다. 예를 들어, 상기 단말은 도 6(e)에 도시된 바와 같이, 편집 가능한 샷들 중에서 CS 샷이 선택되는지 검사한다. In
상기 단말은 상기 편집할 샷 종류가 선택될 시, 상기 단말은 413단계로 진행하여 상기 영상에서 상기 선택된 샷 종류에 대응되는 크기의 영상을 획득 및 저장한다. 이때, 상기 단말은 상기 영상에서 상기 선택된 샷 종류에 대응되는 영역을 크롭(crop)함으로써, 상기 선택된 샷 종류에 대응되는 크기의 영상을 획득할 수 있다. 예를 들어, 상기 단말은 상기 도 6(e)에 도시된 바와 같이 인물의 머리부터 어깨까지 포함하는 CS가 선택된 경우, 상기 CS에 대응되는 영역만을 크롭하여 도 6(h)와 같은 영상을 획득할 수 있다. When the type of shot to be edited is selected, the terminal proceeds to step 413 to acquire and store an image having a size corresponding to the selected shot type in the image. In this case, the terminal may crop an area corresponding to the selected shot type in the image to acquire an image having a size corresponding to the selected shot type. For example, when the CS including the head to the shoulder of the person is selected as shown in FIG. 6 (e), the terminal crops only an area corresponding to the CS to acquire an image as shown in FIG. 6 (h). can do.
이후, 상기 단말은 본 발명에 따른 알고리즘을 종료한다.Thereafter, the terminal terminates the algorithm according to the present invention.
상술한 도 3 및 도 4에서, 획득된 영상이 상기 단말의 화면 크기보다 작은 경우, 상기 획득된 영상의 크기를 상기 단말의 화면 크기에 맞도록 조정(resizing)하거나 혹은 상기 획득된 영상을 회전시킬 수 있다. 3 and 4, when the acquired image is smaller than the screen size of the terminal, the size of the obtained image is adjusted to match the screen size of the terminal or the rotated image is rotated. Can be.
한편 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능하다. 그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 아니 되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the scope of the following claims, but also by the equivalents of the claims.
도 1은 종래 기술에 따른 휴대용 단말기에서 획득한 영상을 도시하는 도면,1 is a view showing an image obtained from a portable terminal according to the prior art;
도 2는 본 발명에 따른 휴대용 단말기의 블록 구성을 도시하는 도면,2 is a block diagram of a portable terminal according to the present invention;
도 3은 본 발명의 실시 예에 따른 휴대용 단말기에서 영상을 촬영하는 절차를 도시하는 도면,3 is a diagram illustrating a procedure of photographing an image in a portable terminal according to an embodiment of the present invention;
도 4는 본 발명의 실시 예에 따른 휴대용 단말기에서 영상을 편집하는 절차를 도시하는 도면, 4 is a diagram illustrating a procedure of editing an image in a portable terminal according to an embodiment of the present invention;
도 5는 본 발명의 실시 예에 따른 휴대용 단말기에서 샷 종류를 도시하는 도면, 및5 is a view showing a type of shot in a portable terminal according to an embodiment of the present invention, and
도 6은 본 발명의 실시 예에 따른 휴대용 단말기에서 영상을 획득하는 화면 구성을 도시하는 도면.6 is a diagram illustrating a screen configuration for acquiring an image in a portable terminal according to an embodiment of the present invention.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090049303A KR20100130670A (en) | 2009-06-04 | 2009-06-04 | Apparatus and method for obtaining image using face detection in portable terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090049303A KR20100130670A (en) | 2009-06-04 | 2009-06-04 | Apparatus and method for obtaining image using face detection in portable terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20100130670A true KR20100130670A (en) | 2010-12-14 |
Family
ID=43506886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090049303A KR20100130670A (en) | 2009-06-04 | 2009-06-04 | Apparatus and method for obtaining image using face detection in portable terminal |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20100130670A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101303017B1 (en) * | 2011-05-11 | 2013-09-03 | 엘지전자 주식회사 | Methof for resizing an image, method for transmitting an image, and electronic device thereof |
WO2019071550A1 (en) * | 2017-10-13 | 2019-04-18 | 深圳传音通讯有限公司 | Image processing method, mobile terminal, and computer-readable storage medium |
EP3826293A1 (en) * | 2019-11-21 | 2021-05-26 | Canon Kabushiki Kaisha | Detection of head and face separately and selection of result for use in detection of facial features |
CN112991160A (en) * | 2021-05-07 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Image processing method, image processing device, computer equipment and storage medium |
-
2009
- 2009-06-04 KR KR1020090049303A patent/KR20100130670A/en not_active Application Discontinuation
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101303017B1 (en) * | 2011-05-11 | 2013-09-03 | 엘지전자 주식회사 | Methof for resizing an image, method for transmitting an image, and electronic device thereof |
US9390465B2 (en) | 2011-05-11 | 2016-07-12 | Lg Electronics Inc. | Image resizing method, image transmission method, and electronic device |
WO2019071550A1 (en) * | 2017-10-13 | 2019-04-18 | 深圳传音通讯有限公司 | Image processing method, mobile terminal, and computer-readable storage medium |
EP3826293A1 (en) * | 2019-11-21 | 2021-05-26 | Canon Kabushiki Kaisha | Detection of head and face separately and selection of result for use in detection of facial features |
US11670112B2 (en) | 2019-11-21 | 2023-06-06 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and image capture apparatus |
CN112991160A (en) * | 2021-05-07 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Image processing method, image processing device, computer equipment and storage medium |
CN112991160B (en) * | 2021-05-07 | 2021-08-20 | 腾讯科技(深圳)有限公司 | Image processing method, image processing device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4254873B2 (en) | Image processing apparatus, image processing method, imaging apparatus, and computer program | |
KR101436839B1 (en) | Apparatus and mthod for self timer image capture by checking the number of person | |
US20170161553A1 (en) | Method and electronic device for capturing photo | |
IES20080161A2 (en) | Face detection in mid-shot digital images | |
JP5050465B2 (en) | Imaging apparatus, imaging control method, and program | |
JP2007274264A (en) | Camera, photographing method of best-shot image and program | |
JP2009284235A (en) | Imaging device | |
US20100188520A1 (en) | Imaging device and storage medium storing program | |
WO2017096861A1 (en) | Method and device for taking photographs | |
KR20100081049A (en) | Apparatus and method for photographing image in portable terminal | |
JP4802884B2 (en) | Imaging apparatus, captured image recording method, and program | |
JP2004023158A (en) | Picture imaging unit | |
US7864228B2 (en) | Image pickup apparatus for photographing desired area in image with high image quality and control method for controlling the apparatus | |
KR101325002B1 (en) | Image processing device, image processing metho and recording medium | |
JP2007249132A (en) | Imaging apparatus, automatic focusing method, and program | |
JP5880135B2 (en) | Detection apparatus, detection method, and program | |
JP5375846B2 (en) | Imaging apparatus, automatic focus adjustment method, and program | |
CN111654624A (en) | Shooting prompting method and device and electronic equipment | |
KR20100130670A (en) | Apparatus and method for obtaining image using face detection in portable terminal | |
US20150002701A1 (en) | Shooting apparatus and shooting method | |
JP5092961B2 (en) | Imaging apparatus, imaging method, and program | |
JP2010161547A (en) | Composition selecting device and program | |
JP2010252374A (en) | Camera, art of shooting great photographs, and programs | |
CN111726531B (en) | Image shooting method, processing method, device, electronic equipment and storage medium | |
JP5267645B2 (en) | Imaging apparatus, imaging control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid |