KR20160007251A - Electronic device and method for executing camera function thereof - Google Patents

Electronic device and method for executing camera function thereof Download PDF

Info

Publication number
KR20160007251A
KR20160007251A KR1020140087652A KR20140087652A KR20160007251A KR 20160007251 A KR20160007251 A KR 20160007251A KR 1020140087652 A KR1020140087652 A KR 1020140087652A KR 20140087652 A KR20140087652 A KR 20140087652A KR 20160007251 A KR20160007251 A KR 20160007251A
Authority
KR
South Korea
Prior art keywords
image
electronic device
camera
application
setting information
Prior art date
Application number
KR1020140087652A
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 KR1020140087652A priority Critical patent/KR20160007251A/en
Publication of KR20160007251A publication Critical patent/KR20160007251A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

According to an embodiment of the present invention, a camera photographing method comprises the following operations of: executing a specific application; receiving camera activation input during the execution of the application; determining whether image setup information related to the executing application exists if the camera activation input is received; executing a camera function based on the image setup information if the image setup information exists; and generating an image in response to photographing input of a user.

Description

전자 장치 및 카메라 동작 방법{Electronic device and method for executing camera function thereof}[0001] The present invention relates to an electronic device and a method for operating the camera,

본 발명의 다양한 실시예는 애플리케이션 및 카메라 모듈을 포함하는 전자 장치 및 전자 장치의 카메라 동작 방법에 관한 것이다.
Various embodiments of the present invention are directed to an electronic device including an application and a camera module and a method of operating the camera of the electronic device.

최근 사용되는 전자 장치는 음성 및 영상 통화를 수행할 수 있는 기능, 정보를 입출력할 수 있는 기능, 및 데이터를 저장할 수 있는 기능 등 복합적인 기능을 제공한다. 또한, 휴대용 단말기 등의 전자 장치는 디지털 카메라, 또는 카메라 기능을 포함하고 있는 경우가 많다.Recently, electronic devices provide a complex function such as a function of performing voice and video communication, a function of inputting and outputting information, and a function of storing data. In addition, electronic devices such as portable terminals often include a digital camera or a camera function.

카메라 기능을 포함하는 전자 장치들의 경우, 다양한 애플리케이션과 연동되어 카메라 기능을 수행할 수 있다. 예를 들어, 특정 애플리케이션을 실행 중에 촬영하여 생성한 이미지를 네트워크에 업로드(upload)할 수도 있으며, 특정 애플리케이션에서 사용되는 프로필 정보 등에 촬영한 이미지를 적용할 수도 있다.In the case of electronic devices including a camera function, a camera function can be performed in cooperation with various applications. For example, an image created by shooting a specific application while it is running may be uploaded to the network, or a captured image may be applied to profile information used in a specific application.

다만, 전자 장치가 다양한 애플리케이션을 포함하고 있는 경우, 각각의 애플리케이션들마다 요구하는 이미지의 특징이 다를 수 있다. 예를 들어, 각각의 애플리케이션마다 적용될 수 있는 이미지의 크기, 또는 용량, 이미지 포맷, 해상도, 파일 확장자 등이 상이할 수 있다.However, if the electronic device includes various applications, the characteristics of an image required for each of the applications may be different. For example, the size, capacity, image format, resolution, file extension, etc. of the image that can be applied to each application may be different.

이에 따라, 사용자는 각각의 애플리케이션에 촬영한 이미지를 적용시키고자 할 때, 기 생성한 이미지를 별도의 작업들을 통하여 편집하여야 하는 불편함이 있었다.
Accordingly, when the user wants to apply the photographed image to each application, there is an inconvenience that the previously generated image must be edited through separate operations.

본 발명의 다양한 실시예들은, 특정 애플리케이션이 실행 중인 경우에 실행 중인 애플리케이션에 대응되도록 카메라 기능의 설정값을 자동으로 변경하여 실행 중인애플리케이션에 최적화된 이미지를 생성 가능한 전자 장치 및 전자 장치의 카메라 동작 방법을 제공하고자 한다.
Various embodiments of the present invention are directed to an electronic device capable of generating an optimized image for a running application and a camera operating method of an electronic device that can automatically change settings of a camera function to correspond to an application running when a particular application is running .

본 발명의 다양한 실시예에 따른 전자 장치는, 피사체를 촬영하여 이미지를 생성하는 카메라 모듈, 상기 이미지를 표시하는 디스플레이, 상기 이미지 및 이미지 설정 정보를 저장하는 메모리, 및 특정 애플리케이션 실행 중 카메라 활성화 입력을 수신하면 상기 메모리에 실행 중인 애플리케이션과 연관된 이미지 설정 정보가 있는지 판단하고, 상기 이미지 설정 정보가 있는 경우 상기 이미지 정보에 기반하여 카메라 기능을 실행하는 프로세서를 포함할 수 있다.An electronic device according to various embodiments of the present invention includes a camera module for photographing a subject to produce an image, a display for displaying the image, a memory for storing the image and image setting information, and a camera activation input And a processor for executing the camera function based on the image information when the image setting information is present, when the image setting information is present.

본 발명의 다양한 실시예에 따른 전자 장치의 카메라 동작 방법은, 특정 애플리케이션을 실행하는 동작, 상기 애플리케이션 실행 중 카메라 활성화 입력을 수신하는 동작, 상기 카메라 활성화 입력을 수신하면 기 저장된 상기 실행 중인 애플리케이션과 연관된 이미지 설정 정보가 있는지 판단하는 동작, 상기 이미지 설정 정보가 있는 경우, 상기 이미지 설정 정보에 기반하여 카메라 기능을 실행하는 동작, 및 사용자의 촬영 입력에 응답하여 이미지를 생성하는 동작, 생성된 이미지를 실행 중인 어플리케이션에 적용하는 동작을 포함할 수 있다.
A method of operating a camera of an electronic device in accordance with various embodiments of the present invention includes the steps of: executing a specific application; receiving a camera activation input during execution of the application; An operation of executing a camera function based on the image setting information when the image setting information is present, an operation of generating an image in response to a shooting input of a user, an operation of executing a generated image Application to the application being processed.

본 발명의 다양한 실시예에 따른 전자 장치 및 카메라 동작 방법은 특정 애플리케이션 실행 중에 카메라 기능을 실행하는 경우, 실행 중인 애플리케이션에 대응되도록 카메라 기능의 설정을 자동으로 변경할 수 있다.The electronic device and camera operating method according to various embodiments of the present invention can automatically change the setting of the camera function to correspond to the running application when executing the camera function during execution of a specific application.

본 발명의 다양한 실시예에 따른 전자 장치 및 카메라 동작 방법은 실행 중인 애플리케이션에 최적화된 이미지를 생성할 수 있다.The electronic device and method of operating a camera in accordance with various embodiments of the present invention may produce an optimized image for a running application.

본 발명의 다양한 실시예에 따른 전자 장치 및 카메라 동작 방법은 실행 중인 애플리케이션에서 요구하는 설정대로 촬영하여 생성한 이미지를 수정할 수 있다.
The electronic device and method of operating a camera according to various embodiments of the present invention may modify an image created by photographing according to a setting required by a running application.

도 1은 본 발명의 다양한 실시예들에 따른 전자 장치의 블록도를 도시한다.
도 2는 본 발명의 다양한 실시예들에 따른 카메라 촬영 방법의 순서도를 도시한다.
도 3은 본 발명의 다양한 실시예들에 따른 카메라 촬영 방법 중 이미지 생성 동작의 일 예시의 순서도이다.
도 4a 내지 5c는본 발명의 다양한 실시예들에 따른 전자 장치 및 전자 장치의 카메라 촬영 방법의 동작을 설명하기 위한 도면이다.
Figure 1 shows a block diagram of an electronic device according to various embodiments of the present invention.
Figure 2 shows a flow chart of a camera shooting method according to various embodiments of the present invention.
3 is a flow chart of an example of an image generating operation of a camera imaging method according to various embodiments of the present invention.
Figs. 4A to 5C are diagrams for explaining the operation of a method of photographing a camera of an electronic device and an electronic device according to various embodiments of the present invention. Fig.

이하, 본 발명의 다양한 실시예가 첨부된 도면과 연관되어 기재된다. 본 발명의 다양한 실시예는 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들이 도면에 예시되고 관련된 상세한 설명이 기재되어 있다. 그러나, 이는 본 발명의 다양한 실시예를 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 다양한 실시예의 사상 및 기술 범위에 포함되는 모든 변경 및/또는 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용되었다.Best Mode for Carrying Out the Invention Various embodiments of the present invention will be described below with reference to the accompanying drawings. The various embodiments of the present invention are capable of various changes and may have various embodiments, and specific embodiments are illustrated in the drawings and the detailed description is described with reference to the drawings. It should be understood, however, that it is not intended to limit the various embodiments of the invention to the specific embodiments, but includes all changes and / or equivalents and alternatives falling within the spirit and scope of the various embodiments of the invention. In connection with the description of the drawings, like reference numerals have been used for like elements.

본 발명의 다양한 실시예에서 사용될 수 있는 "포함한다" 또는 "포함할 수 있다" 등의 표현은 개시(disclosure)된 해당 기능, 동작 또는 구성요소 등의 존재를 가리키며, 추가적인 하나 이상의 기능, 동작 또는 구성요소 등을 제한하지 않는다. 또한, 본 발명의 다양한 실시예에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. The use of "including" or "including" in various embodiments of the present invention can be used to refer to the presence of a corresponding function, operation or component, etc., which is disclosed, Components and the like. Also, in various embodiments of the invention, the terms "comprise" or "having" are intended to specify the presence of stated features, integers, steps, operations, components, parts or combinations thereof, But do not preclude the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.

본 발명의 다양한 실시예에서 "또는" 또는 "A 또는/및 B 중 적어도 하나" 등의 표현은 함께 나열된 단어들의 어떠한, 그리고 모든 조합을 포함한다. 예를 들어, "A 또는 B" 또는 "A 또는/및 B 중 적어도 하나" 각각은, A를 포함할 수도, B를 포함할 수도, 또는 A 와 B 모두를 포함할 수도 있다.The expression "or" or "at least one of A and / or B" in various embodiments of the present invention includes any and all combinations of words listed together. For example, each of "A or B" or "at least one of A and / or B" may comprise A, comprise B, or both A and B.

본 발명의 다양한 실시예에서 사용된 "제1", "제2", "첫째", 또는 "둘째" 등의 표현들은 다양한 실시예들의 다양한 구성요소들을 수식할 수 있지만, 해당 구성요소들을 한정하지 않는다.As used in various embodiments of the present invention, expressions such as " first, "" second," " first, "or" second, " and the like may denote various elements of various embodiments, Do not.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 새로운 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다.It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it is to be understood that the element may be directly connected or connected to the other element, It should be understood that there may be other new components between the different components.

본 발명의 다양한 실시예에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명의 다양한 실시예를 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다.The terminology used in the various embodiments of the present invention is used only to describe a specific embodiment and is not intended to limit the various embodiments of the present invention. The singular expressions include plural expressions unless the context clearly dictates otherwise.

본 발명의 다양한 실시예에 따른 전자 장치의 전술한 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성 요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 본 발명의 다양한 실시예에 따른 전자 장치는 전술한 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 본 발명의 다양한 실시예에 따른 전자 장치의 구성 요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성 요소들의 기능을 동일하게 수행할 수 있다.Each of the above-described components of the electronic device according to various embodiments of the present invention may be composed of one or more components, and the name of the component may be changed according to the type of the electronic device. The electronic device according to various embodiments of the present invention may be configured to include at least one of the above-described components, and some components may be omitted or further include other additional components. In addition, some of the components of the electronic device according to various embodiments of the present invention may be combined into one entity, so that the functions of the components before being combined can be performed in the same manner.

이하, 첨부된 도면을 참조하여 본 발명의 다양한 실시예들을 설명한다.
Various embodiments of the present invention will now be described with reference to the accompanying drawings.

도 1은 다양한 실시예들에 따른 전자 장치(100)의 블록도를 도시한다. 도 1을 참조하면, 전자 장치(100)는 하나 이상의 프로세서(예를 들면, 애플리케이션 프로세서(application processor, AP))(110), 통신 모듈(120), SIM(subscriber identification module) 카드(124), 메모리(130), 센서 모듈(140), 입력 장치(150), 디스플레이 (160), 인터페이스(170), 오디오 모듈(180), 카메라 모듈(191), 전력관리 모듈 (195), 배터리(196), 인디케이터(197) 및 모터(198)를 포함할 수 있다.Figure 1 shows a block diagram of an electronic device 100 in accordance with various embodiments. 1, an electronic device 100 includes one or more processors (e.g., an application processor (AP)) 110, a communication module 120, a subscriber identification module (SIM) card 124, A memory module 130, a sensor module 140, an input device 150, a display 160, an interface 170, an audio module 180, a camera module 191, a power management module 195, a battery 196, An indicator 197, and a motor 198. As shown in FIG.

프로세서(110)는 운영체제 또는 응용 프로그램을 구동하여 상기 프로세서(110)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 멀티미디어 데이터를 포함한 각종 데이터 처리 및 연산을 수행할 수 있다. 상기 프로세서(110)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시예에 따르면, 상기 프로세서(110)는 GPU(graphic processing unit, 미도시)를 더 포함할 수 있다.The processor 110 may operate an operating system or an application program to control a plurality of hardware or software components connected to the processor 110, and may perform various data processing and operations including multimedia data. The processor 110 may be implemented as a system on chip (SoC), for example. According to one embodiment, the processor 110 may further include a graphics processing unit (GPU) (not shown).

본 발명의 다양한 실시예들에 따르면, 프로세서(110)는 특정 애플리케이션 실행 중에 카메라 활성화 입력에 응답하여 실행 중인 애플리케이션과 연관된 이미지 설정 정보가 있는지 판단할 수 있다. 프로세서(110)는 메모리(130)에 기 저장된 애플리케이션과 관련된 이미지 설정 정보가 있는지 확인할 수 있다. 일 실시예에 따르면, 전자 장치(100)가 실행 중인 애플리케이션이 네트워크 통신을 수행하는 애플리케이션인 경우, 프로세서(110)는 연결된 네트워크로부터 애플리케이션과 연관된 이미지 설정 정보가 있는지 확인할 수 있다. 예를 들어, 프로세서(110)는 실행 중인 애플리케이션에 대응되는 외부 전자 장치(예를 들면, 외부 서버, 호스트 장치, 또는 클라이언트 장치)를 통해 상기 이미지 설정 정보가 있는지 확인하고, 상기 외부 서버로부터 상기 이미지 설정 정보를 수신할 수도 있다. 일 실시예에 따르면, 전자 장치(100)는 수신한 이미지 설정 정보를 저장할 수 있다. 이미지 설정 정보는 특정 애플리케이션에서 지원하는 이미지의 해상도, 파일 용량, 사이즈, 배경화면 정보, 얼굴 포함 여부, 및 파일 확장자 중 적어도 하나를 포함할 수 있다. 이미지의 사이즈는 이미지의 가로 및 세로 길이의 값일 수 있다. 배경화면 정보는 애플리케이션에서 요구하는 이미지의 배경화면의 유무, 또는 배경화면의 색상 등의 정보를 포함할 수 있다. 얼굴 포함 여부는 애플리케이션에서 사용자의 얼굴이 이미지에 포함될 것을 요구하는지 여부에 대한 정보일 수 있다. 예를 들어, 특정 애플리케이션에서 프로필 사진 등을 업로드하는 경우에, 사용자의 얼굴이 필수적으로 필요할 수 있다. 또는, 증명사진 또는 여권사진을 사용하는 애플리케이션의 경우, 이미지에 사용자의 얼굴이 포함될 것을 요구할 수 있다. 이 경우, 이미지 설정 정보는 얼굴 포함 여부에 관한 정보를 포함할 수 있다.According to various embodiments of the present invention, processor 110 may determine whether there is image configuration information associated with a running application in response to a camera activation input during execution of a particular application. The processor 110 can check whether the memory 130 has image setting information associated with the stored application. According to one embodiment, if the application in which the electronic device 100 is running is an application that performs network communications, the processor 110 may check whether there is image configuration information associated with the application from the connected network. For example, the processor 110 may check whether the image setting information is present through an external electronic device (e.g., an external server, a host device, or a client device) corresponding to a running application, And may receive setting information. According to one embodiment, the electronic device 100 may store the received image configuration information. The image setting information may include at least one of a resolution of an image supported by a specific application, a file size, a size, background information, whether or not a face is included, and a file extension. The size of the image may be a value of the horizontal and vertical length of the image. The background information may include information such as the presence or absence of a background image of an image requested by the application, or the color of the background image. Whether to include the face may be information on whether or not the application requires the user's face to be included in the image. For example, when uploading a profile picture or the like in a specific application, the user's face may be essential. Alternatively, for an application that uses an ID photo or passport photo, the image may require the user's face to be included. In this case, the image setting information may include information on whether or not the face is included.

본 발명의 일 실시예에 따르면, 프로세서(110)는 실행 중인 애플리케이션에서 이미지 첨부 또는, 이미지 업로드가 가능한 경우에 애플리케이션에서 첨부 또는 업로드 가능한 이미지의 정보를 확인할 수 있다. 예를 들어, 프로세서(110)는 특정 애플리케이션 실행 시에 기 저장된 애플리케이션에 관련된 이미지 설정 정보를 검색할 수 있다. 또는, 애플리케이션이 네트워크 통신을 사용하는 경우, 해당 애플리케이션의 관리 서버로부터 상기 애플리케이션이 요구하는 이미지 설정 정보를 수신할 수 있다.According to one embodiment of the present invention, the processor 110 can verify the information of an attached or uploadable image in an application, in the case where an image is attached or an image is uploadable in a running application. For example, the processor 110 may retrieve image configuration information associated with a pre-stored application upon execution of a particular application. Alternatively, when the application uses network communication, it can receive the image setting information requested by the application from the management server of the application.

프로세서(110)는 이미지 설정 정보가 없는 경우, 일반 카메라 기능을 실행할 수 있다. 예를 들면, 프로세서(110)는 전자 장치(100)가 기본적으로 지원하는 카메라 기능을 실행할 수 있다. 프로세서(110)는 기 설정된 카메라 기능의 기본 설정값으로 카메라 기능을 실행할 수 있다. 예를 들어, 카메라 기능의 기본 설정값은 일반적인 카메라 기능의 실행 시에 적용할 카메라의 해상도, 파일 용량, 사이즈, 및 파일 확장자 중 적어도 하나의 값을 포함할 수 있다. 프로세서(110)는 사용자로부터 카메라 기능의 기본 설정값을 입력 받아서 변경 및 저장할 수 있다.If the processor 110 does not have the image setting information, it can execute the general camera function. For example, the processor 110 may execute camera functions that the electronic device 100 basically supports. The processor 110 may execute the camera function with a default setting value of the predetermined camera function. For example, the default setting of the camera function may include at least one of a resolution, a file size, a size, and a file extension of a camera to be applied when executing a general camera function. Processor 110 may receive and modify and store basic set values of camera functions from a user.

프로세서(110)는 이미지 설정 정보가 존재하는 경우, 상기 이미지 설정 정보에 기반하여 카메라 기능을 실행할 수 있다. 프로세서(110)는 카메라 활성화 입력에 응답하여 카메라 기능을 실행할 수 있다. 이 후, 프로세서(110)는 카메라 실행과 동시에 이미지 설정 정보에 기반하여 카메라 기능의 설정을 변경할 수 있다. 예를 들어, 특정 애플리케이션에서 요구하는 이미지가 1Mbytes 미만의 용량, JPG 파일 형식, 3cm*4cm 이하의 크기를 요구하는 경우, 프로세서(110)는 이미지 설정 정보를 이용하여 상기 애플리케이션에서 요구하는 값들에 적합한 이미지를 생성하도록 카메라 기능의 설정을 자동으로 변경할 수 있다. 프로세서(110)는 이미지 설정 정보를 기반하여 특정 애플리케이션에서 요구하는 이미지에 최적화된 이미지가 생성되도록 카메라의 기능을 설정할 수 있다.The processor 110 may execute the camera function based on the image setting information when the image setting information exists. Processor 110 may execute the camera function in response to the camera activation input. Thereafter, the processor 110 may change the setting of the camera function based on the image setting information at the same time as the camera is executed. For example, when an image requested by a specific application requires a capacity of less than 1 Mbytes, a JPG file format, or a size of 3 cm * 4 cm or less, the processor 110 may use image setting information You can automatically change the settings of the camera functions to create an image. The processor 110 may set the functions of the camera so that an image optimized for the image required by the specific application is generated based on the image setting information.

프로세서(110)는 사용자의 촬영 입력에 응답하여 카메라 모듈(191)이 이미지를 생성하도록 제어할 수 있다. 프로세서(110)는 이미지 설정 정보에 기반하여 카메라 기능을 설정함으로써, 카메라 모듈(191)이 이미지 설정 정보에 대응되는 이미지를 생성하도록 제어할 수 있다.The processor 110 may control the camera module 191 to generate an image in response to the user's imaging input. The processor 110 may control the camera module 191 to generate an image corresponding to the image setting information by setting the camera function based on the image setting information.

본 발명의 일 실시예에 따르면, 프로세서(110)는 이미지 설정 정보를 기반하여 실행 중인 애플리케이션에서 사용자의 얼굴이 포함된 이미지를 요구하는지 판단할 수 있다. 프로세서(110)는 애플리케이션에서 사용자의 얼굴이 포함된 이미지를 요구하는 경우에 카메라 모듈(191)이 생성한 이미지에 사용자의 얼굴이 포함되어 있는지 판단할 수 있다. 예를 들어, 프로세서(110)는 생성한 이미지에 얼굴 인식 프로그램 또는 얼굴 인식 기능을 사용할 있다. 프로세서(110)는 생성한 이미지의 이미지 프로세싱(예를 들면, 이미지에서 얼굴 형태의 인식 또는 안구 인식 등) 작업을 통하여 사용자의 얼굴이 포함되었는지 여부를 판단할 수 있다. 프로세서(110)는 이미지에 사용자의 얼굴이 포함되지 않은 것으로 판단하면, 카메라 모듈(191)이 재촬영을 시도하여 새로운 이미지를 생성하도록 제어할 수 있다. 본 발명의 일 실시예에 따르면, 프로세서(110)는 이미지에 사용자의 얼굴이 포함되지 않은 것으로 판단하면 디스플레이(160)가 오류 메시지를 표시하도록 제어할 수 있다. 오류 메시지는 "얼굴이 인식되지 않음" "재촬영을 시도하세요" 등의 메시지를 포함할 수 있다.According to one embodiment of the present invention, the processor 110 may determine whether the user's face requires an embedded image in a running application based on the image setting information. The processor 110 may determine whether the user's face is included in the image generated by the camera module 191 when the application requests the image including the user's face. For example, the processor 110 may use a face recognition program or a face recognition function on the generated image. The processor 110 may determine whether the user's face is included through image processing of the generated image (e.g., facial recognition or eye recognition in the image). If the processor 110 determines that the user's face is not included in the image, the processor module 110 can control the camera module 191 to retake the image and generate a new image. According to one embodiment of the present invention, the processor 110 may control the display 160 to display an error message if it determines that the user's face is not included in the image. The error message may include a message such as "No face is recognized "," Try to retake the shot ".

본 발명의 일 실시예에 따르면, 프로세서(110)는 이미지 설정 정보에 포함된 배경화면 정보에 따라 생성한 이미지의 배경을 변경할 수 있다. 예를 들어, 특정 애플리케이션에서 사용되는 이미지가 흰색의 배경 또는 배경화면이 없을 것을 요구하는 경우, 배경화면 정보는 상기 정보를 포함할 수 있다. 프로세서(110)는 배경화면 정보에 따라 생성한 이미지의 배경을 확인할 수 있다. 프로세서(110)는 생성한 이미지의 배경이 상기 배경화면 정보와 상이한 경우, 생성한 이미지의 배경을 변경할 수 있다. 예를 들어, 생성한 이미지의 배경에 다른 물체 등이 포함된 경우, 프로세서(110)는 사용자의 신체 또는 얼굴 영역을 인식하여 이미지에서 사용자의 얼굴 외적인 부분을 흰색의 배경으로 변경할 수 있다. 본 발명의 다양한 실시예에 따르면, 프로세서(100)는 배경화면 정보에 따라 카메라 기능의 설정을 변경하여 카메라 모듈(191)이 이미지를 생성할 경우에, 처음부터 배경 화면 정보에 부합하는 이미지가 생성되도록 제어할 수도 있다.According to an embodiment of the present invention, the processor 110 may change the background of the image generated according to the background image information included in the image setting information. For example, if an image used in a particular application requires no white background or background, the background information may include the information. The processor 110 can confirm the background of the image generated according to the background image information. The processor 110 may change the background of the generated image if the background of the generated image is different from the background image information. For example, if the background of the generated image includes another object or the like, the processor 110 may recognize the user's body or face area and change the external part of the user's face to a white background in the image. According to various embodiments of the present invention, when the camera module 191 generates an image by changing the setting of the camera function according to the background image information, the processor 100 generates an image corresponding to the background image information from the beginning .

프로세서(110)는 카메라 기능이 종료되면, 카메라 기능의 설정을 기 설정된 기본 설정값으로 재설정할 수 있다. 프로세서(110)는 실행 중이던 애플리케이션이 종료되면, 카메라 기능의 설정을 기 설정된 또는 기본 설정 값으로 재설정할 수 있다. 프로세서(110)는 이미지 설정 정보에 따라 변경하였던 카메라 기능의 설정을 기존 또는 기본 설정값으로 재설정함으로써, 이후에 카메라 기능을 사용할 경우에 기본 또는 사용자의 기존 설정값에 따라 촬영이 가능하도록 할 수 있다.
When the camera function is terminated, the processor 110 can reset the setting of the camera function to a predetermined default setting value. The processor 110 can reset the setting of the camera function to a predetermined or default setting value when the application that is being executed is terminated. The processor 110 may re-set the camera function settings that have been changed in accordance with the image setting information to the existing or default setting values so that the camera 110 can enable shooting in accordance with the default or user's existing set values when the camera function is subsequently used .

상기 통신 모듈(120)은 전자 장치(100)와 네트워크를 통해 연결된 다른 전자 장치들 간의 통신에서 데이터 송수신을 수행할 수 있다. 한 실시예에 따르면, 상기 통신 모듈 (120)은 셀룰러 모듈 (121), Wifi 모듈 (123), BT 모듈 (125), GPS 모듈 (127), NFC 모듈 (128) 및 RF(radio frequency) 모듈 (129)를 포함할 수 있다.The communication module 120 may perform data transmission / reception in communication between the electronic device 100 and other electronic devices connected via a network. According to one embodiment, the communication module 120 includes a cellular module 121, a Wifi module 123, a BT module 125, a GPS module 127, an NFC module 128, and a radio frequency (RF) module 129).

상기 셀룰러 모듈 (121)은 통신망(예: LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro 또는 GSM 등)을 통해서 음성 통화, 영상 통화, 문자 서비스 또는 인터넷 서비스 등을 제공할 수 있다. 또한, 상기 셀룰러 모듈 (121)은, 예를 들면, 가입자 식별 모듈(예: SIM 카드 (124))을 이용하여 통신 네트워크 내에서 전자 장치의 구별 및 인증을 수행할 수 있다.The cellular module 121 may provide voice calls, video calls, text services, or Internet services over a communication network (e.g., LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro or GSM). The cellular module 121 may also perform identification and authentication of electronic devices within the communication network using, for example, a subscriber identity module (e.g., SIM card 124).

일 실시예에 따르면, 상기 프로세서(110) 또는 상기 셀룰러 모듈(121) 은 각각에 연결된 비휘발성 메모리 또는 다른 구성요소 중 적어도 하나로부터 수신한 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리할 수 있다. 또한, 상기 프로세서(110) 또는 상기 셀룰러 모듈 (121)은 다른 구성요소 중 적어도 하나로부터 수신하거나 다른 구성요소 중 적어도 하나에 의해 생성된 데이터를 비휘발성 메모리에 저장(store)할 수 있다.According to one embodiment, the processor 110 or the cellular module 121 can load and process commands or data received from at least one of the non-volatile memory or other components connected to each other in the volatile memory have. In addition, the processor 110 or the cellular module 121 may store data generated by at least one of the other components or received from at least one of the other components in the non-volatile memory.

상기 RF 모듈 (129)는 데이터의 송수신, 예를 들면, RF 신호의 송수신을 할 수 있다.The RF module 129 is capable of transmitting and receiving data, for example, transmitting and receiving an RF signal.

본 발명의 다양한 실시예들에 따르면, 통신 모듈(120)은 외부 전자 장치로부터 이미지 설정 정보를 수신할 수 있다. 통신 모듈(120) 실행 중인 애플리케이션과 연관된 외부 서버 또는 외부 네트워크로부터, 실행 중인 애플리케이션 또는 애플리케이션을 통해 연결된 웹 페이지와 연관된 이미지 설정 정보를 수신할 수 있다. 통신 모듈(120)은 수신한 이미지 설정 정보를 프로세서(110)에 전달할 수 있다. 통신 모듈(120)은 수신한 이미지 설정 정보를 메모리(130)에 전달할 수 있다.According to various embodiments of the present invention, communication module 120 may receive image configuration information from an external electronic device. The communication module 120 may receive image configuration information associated with a web page connected through an application or application running, from an external server or external network associated with the application running. The communication module 120 may transmit the received image setting information to the processor 110. [ The communication module 120 may transmit the received image setting information to the memory 130. [

상기 SIM 카드 (124)는 가입자 식별 모듈을 포함하는 카드일 수 있으며, 전자 장치의 특정 위치에 형성된 슬롯에 삽입될 수 있다. 상기 SIM 카드 (124)는 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다. The SIM card 124 may be a card including a subscriber identity module and may be inserted into a slot formed at a specific location of the electronic device. The SIM card 124 may include unique identification information (e.g., an integrated circuit card identifier (ICCID)) or subscriber information (e.g., international mobile subscriber identity (IMSI)).

상기 메모리 (130)는 내장 메모리 (132) 또는 외장 메모리 (134)를 포함할 수 있다. 상기 내장 메모리 (132)는, 예를 들면, 휘발성 메모리(예를 들면, DRAM(dynamic RAM), SRAM(static RAM), SDRAM(synchronous dynamic RAM) 등) 또는 비휘발성 메모리(non-volatile Memory, 예를 들면, OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, NAND flash memory, NOR flash memory 등) 중 적어도 하나를 포함할 수 있다. 한 실시예에 따르면, 상기 내장 메모리 (132)는 Solid State Drive (SSD)일 수 있다. 상기 외장 메모리 (134)는 flash drive, 예를 들면, CF(compact flash), SD(secure digital), Micro-SD(micro secure digital), Mini-SD(mini secure digital), xD(extreme digital) 또는 Memory Stick 등을 더 포함할 수 있다.The memory 130 may include an internal memory 132 or an external memory 134. The built-in memory 132 may be a nonvolatile memory such as a dynamic RAM (DRAM), a static RAM (SRAM), a synchronous dynamic RAM (SDRAM), or the like, For example, one time programmable ROM (OTPROM), programmable ROM (PROM), erasable and programmable ROM (EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM, flash ROM, NAND flash memory, And may include at least one. According to one embodiment, the internal memory 132 may be a solid state drive (SSD). The external memory 134 may be a flash drive such as a compact flash (CF), a secure digital (SD), a micro secure digital (SD), a mini secure digital (SD), an extreme digital A Memory Stick, and the like.

본 발명의 다양한 실시예들에 따르면, 메모리(130)는 이미지 설정 정보, 카메라 모듈(191)이 생성한 이미지, 또는 카메라 기능의 설정값(예를 들면, 이미지 설정 정보에 따른 카메라 기능의 설정값 또는 기 설정된 카메라 기능의 기본 설정값 등)을 저장할 수 있다.According to various embodiments of the present invention, the memory 130 may store image setting information, an image generated by the camera module 191, or a setting value of the camera function (e.g., a setting value of the camera function according to the image setting information Or default setting values of predetermined camera functions, etc.).

상기 센서 모듈(140)은 물리량을 계측하거나 전자 장치(100)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 상기 센서 모듈 (140)은, 예를 들면, 제스처 센서 (140A), 자이로 센서 (140B), 기압 센서 (140C), 마그네틱 센서 (140D), 가속도 센서 (140E), 그립 센서 (140F), 근접 센서 (140G), color 센서 (140H) (예: RGB(red, green, blue) 센서), 생체 센서 (140I), 온/습도 센서 (140J), 조도 센서 (140K) 또는 UV(ultra violet) 센서 (140M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로, 상기 센서 모듈 (140)은, 예를 들면, 후각 센서(E-nose sensor, 미도시), EMG 센서(electromyography sensor, 미도시), EEG 센서(electroencephalogram sensor, 미도시), ECG 센서(electrocardiogram sensor, 미도시), IR(infrared) 센서(미도시), 홍채 센서(미도시) 또는 지문 센서(미도시) 등을 포함할 수 있다. 상기 센서 모듈 (140)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다.The sensor module 140 may measure a physical quantity or sense an operating state of the electronic device 100 and convert the measured or sensed information into an electrical signal. The sensor module 140 includes a gesture sensor 140A, a gyro sensor 140B, an air pressure sensor 140C, a magnetic sensor 140D, an acceleration sensor 140E, a grip sensor 140F, A light sensor 140G, a color sensor 140H (e.g., an RGB (red, green, blue) sensor), a living body sensor 140I, a temperature / humidity sensor 140J, 140M). ≪ / RTI > Additionally or alternatively, the sensor module 140 may include, for example, an olfactory sensor (not shown), an electromyography sensor (not shown), an electroencephalogram sensor (not shown), an ECG An electrocardiogram sensor (not shown), an infrared (IR) sensor (not shown), an iris sensor (not shown), or a fingerprint sensor (not shown). The sensor module 140 may further include a control circuit for controlling at least one sensor included therein.

상기 입력 장치(150)은 터치 패널(touch panel)(152), (디지털) 펜 센서(pen sensor)(154), 키(key)(156) 또는 초음파(ultrasonic) 입력 장치 (158)를 포함할 수 있다. 상기 터치 패널 (152)은, 예를 들면, 정전식, 감압식, 적외선 방식 또는 초음파 방식 중 적어도 하나의 방식으로 터치 입력을 인식할 수 있다. 또한, 상기 터치 패널(152)은 제어 회로를 더 포함할 수도 있다. 정전식의 경우, 물리적 접촉 또는 근접 인식이 가능하다. 상기 터치 패널 (152)은 택타일레이어(tactile layer)를 더 포함할 수도 있다. 이 경우, 상기 터치 패널(152)은 사용자에게 촉각 반응을 제공할 수 있다.The input device 150 includes a touch panel 152, a (digital) pen sensor 154, a key 156, or an ultrasonic input device 158 . The touch panel 152 may recognize a touch input by at least one of an electrostatic type, a pressure sensitive type, an infrared type, and an ultrasonic type. In addition, the touch panel 152 may further include a control circuit. In electrostatic mode, physical contact or proximity recognition is possible. The touch panel 152 may further include a tactile layer. In this case, the touch panel 152 may provide a tactile response to the user.

상기 (디지털) 펜 센서(154)는, 예를 들면, 사용자의 터치 입력을 받는 것과 동일 또는 유사한 방법 또는 별도의 인식용 쉬트(sheet)를 이용하여 구현될 수 있다. 상기 키(156)는, 예를 들면, 물리적인 버튼, 광학식 키 또는 키패드를 포함할 수 있다. 상기 초음파(ultrasonic) 입력 장치(158)는 초음파 신호를 발생하는 입력 도구를 통해, 전자 장치(100)에서 마이크(예: 마이크(188))로 음파를 감지하여 데이터를 확인할 수 있는 장치로서, 무선 인식이 가능하다.The (digital) pen sensor 154 may be implemented using the same or similar method as receiving the touch input of the user, or using a separate recognizing sheet, for example. The key 156 may include, for example, a physical button, an optical key or a keypad. The ultrasonic input device 158 is an apparatus that can confirm data by sensing a sound wave from the electronic device 100 to a microphone (e.g., a microphone 188) through an input tool for generating an ultrasonic signal, Recognition is possible.

본 발명의 다양한 실시예들에 따르면, 입력 장치(150)는 사용자로부터 카메라 활성화 입력 또는 촬영 입력을 수신할 수 있다. 상기 카메라 활성화 입력 및 촬영 입력은 터치 패널(152)이 감지하는 터치 입력일 수 있다. 또는, 카메라 활성화 입력 또는 촬영 입력은 키(156)를 통한 물리적인 버튼의 입력일 수 있다. 입력 장치(150)는 수신한 입력을(예를 들면, 카메라 활성화 입력 또는 촬영 입력)을 프로세서(110)에 전달할 수 있다.According to various embodiments of the present invention, the input device 150 may receive a camera activation input or an imaging input from a user. The camera activation input and the shooting input may be a touch input sensed by the touch panel 152. Alternatively, the camera activation input or the shooting input may be an input of a physical button via the key 156. The input device 150 may communicate the received input (e.g., a camera activation input or a shooting input) to the processor 110.

상기 디스플레이(160)는 패널 (162), 홀로그램 장치 (164) 또는 프로젝터(166)을 포함할 수 있다. 상기 패널 (162)은, 예를 들면, LCD(liquid-crystal display) 또는 AM-OLED(active-matrix organic light-emitting diode) 등일 수 있다. 상기 패널(162)은, 예를 들면, 유연하게(flexible), 투명하게(transparent) 또는 착용할 수 있게(wearable) 구현될 수 있다. 상기 패널(162)은 상기 터치 패널(152)과 하나의 모듈로 구성될 수도 있다. 상기 홀로그램 장치 (164)은 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 상기 프로젝터(166)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 상기 스크린은, 예를 들면, 상기 전자 장치 (100)의 내부 또는 외부에 위치할 수 있다.The display 160 may include a panel 162, a hologram device 164, or a projector 166. The panel 162 may be, for example, a liquid-crystal display (LCD) or an active-matrix organic light-emitting diode (AM-OLED). The panel 162 may be embodied, for example, flexible, transparent or wearable. The panel 162 may be formed of one module with the touch panel 152. The hologram device 164 may display stereoscopic images in the air using interference of light. The projector 166 can display an image by projecting light onto a screen. The screen may be located, for example, inside or outside the electronic device 100.

본 발명의 당양한실시예들에 따르면, 디스플레이(160)는 카메라 모듈(191)이 촬영 중인 이미지(예를 들면, 촬영 시 생성될 것으로 예상되는 이미지)또는 생성한 이미지를 표시할 수 있다. 디스플레이(160)는 프로세서(110)의 제어에 따라 오류 메시지를 표시할 수 있다. 예를 들어, 카메라 모듈(191)이 이미지 설정 정보에 대응되는 이미지를 생성하지 못한 경우, 프로세서(110)의 제어에 따라 오류 메시지를 표시할 수 있다.According to one or more embodiments of the present invention, the display 160 may display an image (e.g., an image that is expected to be generated at the time of shooting) or an image that the camera module 191 is shooting. The display 160 may display an error message under the control of the processor 110. For example, if the camera module 191 fails to generate an image corresponding to the image setting information, the error message may be displayed under the control of the processor 110.

본 발명의 다양한 실시예들에 따르면, 상기 입력 장치(150) 및 상기 디스플레이(160)는 일체로 형성될 수 있다. 예를 들어, 전자 장치(100)는 터치 스크린을 포함할 수 있다. 터치 스크린은 터치 패널(152) 및 디스플레이(160)를 포함할 수 있다.According to various embodiments of the present invention, the input device 150 and the display 160 may be integrally formed. For example, the electronic device 100 may include a touch screen. The touch screen may include a touch panel 152 and a display 160.

상기 인터페이스 (170)는, 예를 들면, HDMI(high-definition multimedia interface) (172), USB(universal serial bus) (174), 광 인터페이스(optical interface) (176) 또는 D-sub(D-subminiature) (178)를 포함할 수 있다. 상기 인터페이스 (170)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD(secure Digital) 카드/MMC(multi-media card) 인터페이스 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다. The interface 170 may include a high-definition multimedia interface (HDMI) 172, a universal serial bus (USB) 174, an optical interface 176, or a D- ) ≪ / RTI > The interface 170 may include, for example, a mobile high-definition link (MHL) interface, a secure digital (SD) card / multi-media card (MMC) interface, or an infrared data association .

상기 오디오 모듈 (180)은 소리(sound)와 전기신호를 쌍방향으로 변환시킬 수 있다. 상기 오디오 모듈 (180)은, 예를 들면, 스피커 (182), 리시버 (184), 이어폰 (186) 또는 마이크 (188) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. The audio module 180 may convert both sound and electrical signals in both directions. The audio module 180 may process sound information input or output through, for example, a speaker 182, a receiver 184, an earphone 186, a microphone 188, or the like.

상기 카메라 모듈 (191)은 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈(미도시), ISP(image signal processor, 미도시) 또는 플래쉬 (flash, 미도시)(예: LED 또는 xenon lamp)를 포함할 수 있다.According to one embodiment, the camera module 191 may include at least one image sensor (e.g., a front sensor or a rear sensor), a lens (not shown), an image signal processor (ISP) (Not shown) or a flash (not shown), such as an LED or xenon lamp.

본 발명의 다양한 실시예들에 따르면, 카메라 모듈(191)은 프로세서(110)가 설정한 카메라 기능의 설정에 대응되는 이미지를 생성할 수 있다. 카메라 모듈(191)은 사용자의 촬영 입력에 응답하여 이미지를 생성할 수 있다. 카메라 모듈(191)은 피사체를 촬영하여 이미지를 생성할 수 있다. 카메라 모듈(191)은 프로세서(110)의 제어에 따라 이미지 설정 정보에 대응되는 이미지를 생성할 수 있다.According to various embodiments of the present invention, the camera module 191 may generate an image corresponding to the setting of the camera function set by the processor 110. [ The camera module 191 may generate an image in response to a user's shooting input. The camera module 191 can take an image of a subject and generate an image. The camera module 191 may generate an image corresponding to the image setting information under the control of the processor 110. [

상기 전력 관리 모듈 (195)은 상기 전자 장치 (100)의 전력을 관리할 수 있다. 상기 전력 관리 모듈(195)은 배터리(196)를 충전시킬 수 있으며, 충전기로부터의 과전압 또는 과전류 유입을 방지할 수 있다.The power management module 195 may manage the power of the electronic device 100. The power management module 195 can charge the battery 196 and prevent overvoltage or overcurrent from entering the charger.

상기 배터리(196)는 전기를 저장 또는 생성할 수 있고, 그 저장 또는 생성된 전기를 이용하여 상기 전자 장치(100)에 전원을 공급할 수 있다.The battery 196 may store or generate electricity and supply power to the electronic device 100 using the stored or generated electricity.

상기 인디케이터(197)는 상기 전자 장치(100) 혹은 그 일부(예: 상기 프로세서(110))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. The indicator 197 may indicate a particular state of the electronic device 100 or a portion thereof (e.g., the processor 110), such as a boot state, a message state, or a state of charge.

상기 모터 (198)는 전기적 신호를 기계적 진동으로 변환할 수 있다. 도시되지는 않았으나, 상기 전자 장치 (100)는 모바일 TV 지원을 위한 처리 장치(예: GPU)를 포함할 수 있다.
The motor 198 may convert an electrical signal to mechanical vibration. Although not shown, the electronic device 100 may include a processing unit (e.g., a GPU) for mobile TV support.

도 2는, 본 발명의 다양한 실시예들에 따른 전자 장치(100)의 카메라 촬영 방법의 순서도이다.2 is a flow chart of a camera shooting method of an electronic device 100 in accordance with various embodiments of the present invention.

210 동작에서, 전자 장치(100)는 특정 애플리케이션을 실행할 수 있다. 일 실시예에 따르면, 전자 장치(100)는 적어도 하나 이상의 애플리케이션을 포함할 수 있다. 전자 장치(100)는 네트워크 통신을 사용하는 애플리케이션을 포함할 수 있다. 예를 들어, 전자 장치(100)는 네트워크 통신을 사용하는 소셜 네트워크 또는 메신저 애플리케이션을 포함할 수 있다. 전자 장치(100)는 사용자의 입력에 따라 사용자가 원하는 애플리케이션을 실행할 수 있다.In operation 210, the electronic device 100 may execute a particular application. According to one embodiment, the electronic device 100 may include at least one or more applications. The electronic device 100 may include an application that uses network communications. For example, electronic device 100 may include a social network or messenger application that uses network communications. The electronic device 100 may execute the application desired by the user according to the input of the user.

220 동작에서, 전자 장치(100)는 카메라 활성화 입력을 수신할 수 있다. 카메라 활성화 입력은 터치 입력일 수 있다. 카메라 입력은 물리적인 버튼을 누르는 입력일 수 있다. 예를 들어, 전자 장치(100)는 실행 중인 애플리케이션에 이미지를 적용할 수 있다. 예를 들어, 전자 장치(100)는 특정 애플리케이션을 이용하여 이미지를 첨부한 메시지를 전송할 수 있다. 전자 장치(100)는 특정 애플리케이션을 이용하여 네트워크에 이미지를 전송하거나 업로드(upload)할 수 있다. 애플리케이션이 이미지를 적용 가능한 경우, 전자 장치(100)는 애플리케이션 실행 화면의 특정 아이콘, 또는 버튼을 통해 사용자의 카메라 활성화 입력(예를 들면, 터치 입력)을 수신할 수 있다.In operation 220, the electronic device 100 may receive a camera activation input. The camera activation input may be a touch input. The camera input may be an input that presses a physical button. For example, the electronic device 100 may apply an image to a running application. For example, the electronic device 100 may send a message with an image attached using a specific application. The electronic device 100 may transmit or upload an image to the network using a specific application. If the application is capable of applying an image, the electronic device 100 may receive a user's camera activation input (e.g., a touch input) via a specific icon on the application launch screen, or a button.

230 동작에서, 전자 장치(100)는 기 저장된 실행 중인 애플리케이션과 관련된 이미지 설정 정보가 존재하는지 판단할 수 있다. 이미지 설정 정보는 애플리케이션에서 지원하는 이미지의 해상도, 파일 용량, 사이즈, 배경화면 정보, 얼굴 포함 여부, 및 파일 확장자 중 적어도 하나를 포함할 수 있다. 이미지 설정 정보는 애플리케이션에서 지원하는 이미지와 관련된 정보라면 어떠한 정보라도 포함할 수 있다. 전자 장치(100)는, 예를 들어, 실행 중인 애플리케이션에 대한 기 저장된 정보 중에서 상기 이미지 설정 정보를 검색할 수 있다. 본 발명의 다양한 실시예들에 따르면, 전자 장치(100)는 실행 중인 애플리케이션이 네트워크 통신을 이용하는 경우, 외부 전자 장치로부터 상기 애플리케이션과 연관된 이미지 설정 정보를 수신할 수 있다. 전자 장치(100)는 실행 중인 애플리케이션이 네트워크 통신을 사용하는 경우에 상기 애플리케이션과 연관된 외부 서버 또는 네트워크로부터 이미지 설정 정보를 실시간으로 수신할 수도 있다. 전자 장치(100)는 실시간으로 수신한 이미지 설정 정보를 이용하여 카메라 기능을 실행할 수도 있다. 전자 장치(100)는 수신한 이미지 설정 정보를 저장할 수 있다.In operation 230, the electronic device 100 may determine whether there is image configuration information associated with the previously stored running application. The image setting information may include at least one of resolution, file capacity, size, background information, face inclusion, and file extension of an image supported by the application. The image setting information may include any information as long as it is information related to an image supported by the application. The electronic device 100 may retrieve the image configuration information from, for example, pre-stored information for a running application. According to various embodiments of the present invention, the electronic device 100 may receive image configuration information associated with the application from an external electronic device when the running application uses network communication. The electronic device 100 may receive image configuration information in real time from an external server or network associated with the application if the running application uses network communication. The electronic device 100 may execute the camera function using the image setting information received in real time. The electronic device 100 may store the received image setting information.

230 동작에서, 전자 장치(100)는 실행 중인 애플리케이션과 연관된 이미지 설정 정보가 존재하면 240 동작을 수행하고, 실행 중인 애플리케이션과 연관된 이미지 설정 정보가 존재하지 않는 경우에는 250 동작을 수행할 수 있다.In operation 230, the electronic device 100 may perform 240 operations if image configuration information associated with a running application is present, and 250 if image configuration information associated with a running application is not present.

240 동작에서, 전자 장치(100)는 이미지 설정 정보에 기반하여 카메라 기능을 실행할 수 있다. 본 발명의 일 실시예에 따르면, 전자 장치(100)는 사용자의 카메라 활성화 입력에 응답하여 카메라 기능을 활성화시킬 수 있다. 이후, 전자 장치(100)는 이미지 설정 정보에 따라 카메라 기능의 설정을 자동으로 변경할 수 있다. 예를 들어, 이미지 설정 정보에 지원하는 이미지의 사이즈, 해상도, 파일 용량, 또는 파일 확장자에 대한 정보가 포함된 경우, 전자 장치(100)는 해당 이미지 설정 정보에 부합하는 이미지가 생성하기 위하여 카메라 기능의 설정을 변경할 수 있다. 일 실시예에 따르면, 전자 장치(100)는 이미지 설정 정보에 기반하여 카메라 기능의 설정을 변경한 후에, 카메라 기능을 활성화시킬 수 있다.In operation 240, the electronic device 100 may execute camera functions based on the image setting information. According to one embodiment of the present invention, the electronic device 100 may activate the camera function in response to the user's camera activation input. Thereafter, the electronic device 100 can automatically change the setting of the camera function according to the image setting information. For example, when the image setting information includes information on the size, resolution, file size, or file extension of an image to be supported, the electronic device 100 displays the camera setting information Can be changed. According to one embodiment, the electronic device 100 may activate the camera function after changing the setting of the camera function based on the image setting information.

250 동작에서, 전자 장치(100)는 일반 카메라 기능을 실행할 수 있다. 전자 장치(100)는 기 설정된 카메라 기능의 기본 설정값에 따라 카메라 기능을 실행할 수 있다. 카메라 기능의 기본 설정값은 생성할 이미지의 사이즈, 촬영 모드, 해상도, 파일 확장자 등의 정보를 포함할 수 있다. 전자 장치(100)는 사용자의 설정 입력에 따라 카메라 기능의 기본 설정값을 변경할 수 있다.In operation 250, the electronic device 100 may perform general camera functions. The electronic device 100 can execute the camera function according to the default setting value of the predetermined camera function. The basic setting values of the camera function may include information such as the size of an image to be generated, a shooting mode, a resolution, and a file extension. The electronic device 100 can change the default setting value of the camera function according to the setting input of the user.

260 동작에서, 전자 장치(100)는 사용자의 촬영 입력에 응답하여 이미지를 생성할 수 있다. 사용자의 촬영 입력은 터치 입력일 수 있다. 예를 들어, 전자 장치(100)의 카메라 기능 실행 화면에 촬영 버튼(또는, 아이콘)이 표시된 경우, 전자 장치(100)는 상기 촬영 버튼을 통하여 사용자의 촬영 입력을 수신할 수 있다. 전자 장치(100)는 촬영 입력을 수신하면, 외부를 촬영하여 이미지를 생성할 수 있다. 본 발명의 다양한 실시예들에 따르면, 전자 장치(100)가 실행 중인 애플리케이션과 연관된 이미지 설정 정보에 따라 카메라 기능의 설정을 자동으로 변경함으로써, 별도의 편집 또는 설정 작업이 없이도 실행 중인 애플리케이션에서 요구된 사항에 부합하는 이미지를 생성할 수 있다. 예를 들어, 이미지 설정 정보에 이미지의 사이즈가 4cm*4cm이내일 것을 요구하는 정보가 포함된 경우, 전자 장치(100)는 별도의 설정 작업 없이도 사용자의 촬영 입력의 응답하여 4cm*4cm 사이즈의 이미지를 생성할 수 있다. 예를 들어, 이미지 설정 정보에 이미지의 파일 확장자가 jpg 파일일 것을 요구하는 정보가 포함된 경우, 전자 장치(100)는 별도의 설정 작업 없이도 jpg 파일 형식이 이미지를 생성할 수 있다.In operation 260, the electronic device 100 may generate an image in response to a user's imaging input. The user's shooting input may be a touch input. For example, when a photographing button (or icon) is displayed on the camera function execution screen of the electronic device 100, the electronic device 100 can receive the photographing input of the user through the photographing button. When the electronic device 100 receives the photographing input, it can photograph the outside and generate an image. According to various embodiments of the present invention, the electronic device 100 can automatically change the settings of the camera function according to the image setting information associated with the running application, Can generate an image that meets the requirements. For example, when the image setting information includes information requesting that the size of the image be within 4 cm * 4 cm, the electronic device 100 can respond to the user's shooting input without any additional setting operation, Lt; / RTI > For example, if the image setting information includes information requesting that the file extension of the image is a jpg file, the electronic device 100 can generate an image in the jpg file format without any additional setting operation.

본 발명의 다양한 실시예에 따르면, 전자 장치(100)는 상기 이미지 설정 정보에 대응되는 이미지를 생성한 경우, 기 설정된 카메라 기능의 기본 설정값에 대응되는 이미지를 추가로 생성할 수 있다. 즉, 전자 장치(100)는 특정 애플리케이션에 적합한 이미지 및 사용자가 일반적으로 사용하는 사항을 갖는 이미지를 함께 생성할 수 있다.According to various embodiments of the present invention, when the electronic device 100 generates an image corresponding to the image setting information, it may further generate an image corresponding to a predetermined setting value of the predetermined camera function. That is, the electronic device 100 may generate an image suitable for a specific application and an image having a matter that the user typically uses.

본 발명의 다양한 실시예들에 따르면, 전자 장치(100)는 이미지 설정 정보에 포함된 배경화면 정보에 따라 생성한 이미지의 배경을 변경할 수 있다. 예를 들어, 이미지 설정 정보에 이미지의 배경이 없을 것을 요구하는 정보가 포함된 경우에 전자 장치(100)는 생성한 이미지의 중심 객체(예를 들면, 이미지에 찍힌 사람)를 제외한 배경을 삭제할 수 있다. 전자 장치(100)는 얼굴 인식 기능 또는 안구 인식 기능, 또는 이미지 프로세싱 기법을 사용하여 이미지에서 사람의 얼굴 등을 판단할 수 있다. 전자 장치(100)는 이미지에 포함된 사람의 얼굴 외의 부분을 삭제할 수 있다. 또는, 전자 장치(100)는 이미지에 포함된 사람의 얼굴 외의 부분의 배경 색을 배경화면 정보에서 요구하는 색으로 변경할 수 있다. 일 실시예에 따르면, 전자 장치(100)는 배경화면 정보에 따라 생성한 이미지의 배경을 수정할 수도 있고, 이미지 생성 시부터 배경화면 정보에 대응되는 배경을 갖는 이미지를 생성할 수도 있다.According to various embodiments of the present invention, the electronic device 100 may change the background of the image generated according to background image information included in the image setting information. For example, in the case where the image setting information includes information requesting that there is no background of the image, the electronic device 100 can delete the background except for the center object (for example, a person imprinted on the image) of the generated image have. The electronic device 100 can determine the face of a person or the like in the image using a face recognition function, an eye recognition function, or an image processing technique. The electronic device 100 may delete portions of the image other than the face of the person included in the image. Alternatively, the electronic device 100 may change the background color of a part other than the face of the person included in the image to a color required in the background image information. According to one embodiment, the electronic device 100 may modify the background of the image generated according to the background information, or may generate an image having the background corresponding to the background information from the image.

270 동작에서,전자 장치(100)는생성한 이미지를 저장할 수 있다. 전자 장치(100)가 이미지 설정 정보에 대응되는 이미지 및 카메라 기능의 기본 설정에 대응되는 이미지를 생성한 경우, 전자 장치(100)는 이미지 설정 정보에 대응되는 이미지 및 카메라 기능의 기본 설정에 대응되는 이미지를 각각 다른 폴더 또는 다른 저장 위치에 저장할 수 있다. 전자 장치(100)는 이미지 설정 정보에 대응되는 이미지 및 카메라 기능의 기본 설정에 대응되는 이미지의 파일명을 다르게 하여 저장할 수 도 있다.In operation 270, the electronic device 100 may store the generated image. When the electronic device 100 generates an image corresponding to the image setting information and an image corresponding to the basic setting of the camera function, the electronic device 100 displays the image corresponding to the image setting information Images can be stored in different folders or in different storage locations. The electronic device 100 may store the file name of the image corresponding to the image setting information and the image name corresponding to the basic setting of the camera function differently.

본 발명의 일 실시예에 의하면, 전자 장치(100)는 이미지 저장 동작을 생략하고 280 동작을 수행할 수도 있다.According to one embodiment of the present invention, the electronic device 100 may omit the image storage operation and perform the 280 operation.

280 동작에서, 전자 장치(100)는실행 중인 애플리케이션에 이미지를 적용할 수 있다. 예를 들어, 전자 장치(100)는 실행 중인 애플리케이션이 메시지 애플리케이션인 경우, 생성한 이미지를 자동으로 첨부하여 메시지를 생성할 수 있다. 예를 들어, 전자 장치(100)가 소셜 네트워크 또는 특정 웹 페이지를 검색하는 애플리케이션인 경우, 전자 장치(100)는 애플리케이션을 통해 소셜 네트워크의 프로필 사진 또는 특정 웹 페이지의 프로필 사진을 업로드할 수 있다. 전자 장치(100)가 생성한 이미지는 실행 중인 애플리케이션에 최적화된 이미지이기 때문에, 전자 장치(100)는 별도의 편집 작업 또는 오류 없이 생성한 이미지를 즉각적으로 실행 중인 애플리케이션에 적용할 수 있다.In operation 280, the electronic device 100 may apply an image to a running application. For example, if the running application is a message application, the electronic device 100 can automatically generate a message by attaching the generated image. For example, if the electronic device 100 is an application that searches a social network or a particular web page, the electronic device 100 may upload a profile picture of the social network or a profile picture of a particular web page via the application. Since the image generated by the electronic device 100 is an image optimized for the running application, the electronic device 100 can apply the image generated without any additional editing or error to the immediately executing application.

본 발명의 일 실시예에 따르면, 280 동작에서, 전자 장치(100)는 이미지 설정 정보에 기반하여 변경한 카메라 기능의 설정을 계속 유지할 수 있다. 전자 장치(100)는 이미지 설정 정보에 기반하여 변경한 카메라 기능의 설정을 해당 애플리케이션의 종료 또는 카메라 기능의 종료 이후 기 설정된 카메라 기능의 기본 설정으로 되돌릴 수도 있다.
According to one embodiment of the present invention, at 280 operation, the electronic device 100 may continue to maintain the setting of the changed camera function based on the image setting information. The electronic device 100 may return the setting of the changed camera function based on the image setting information to the default setting of the predetermined camera function after the end of the corresponding application or the end of the camera function.

도 3은 본 발명의 다양한 실시예들에 따른 카메라 촬영 방법 중 이미지 생성 동작(260)의 일 예시의 순서도이다.3 is a flow diagram of one example of an image generation operation 260 of a camera imaging method according to various embodiments of the present invention.

310 동작에서, 전자 장치(100)는 이미지 설정 정보를 이용하여 실행 중인 애플리케이션에서 얼굴이 포함된 이미지를 요구하는지 판단할 수 있다. 예를 들어, 이미지 설정 정보에 포함된 얼굴 포함 여부의 정보는 해당 애플리케이션 에서 얼굴이 포함된 이미지를 요구하는지 여부를 나타낼 수 있다. 전자 장치(100)는 이미지 설정 정보에 따라 애플리케이션에서 얼굴이 포함된 이미지를 요구하지 않는 경우, 340 동작을 수행할 수 있다. 전자 장치(100)는 이미지 설정 정보에 따라 애플리케이션에서 얼굴이 포함된 이미지를 요구하는 경우, 320 동작을 수행할 수 있다.In operation 310, the electronic device 100 may use the image configuration information to determine whether a face requires an embedded image in a running application. For example, the information on the presence or absence of a face included in the image setting information may indicate whether or not the application requests an image including a face. The electronic device 100 may perform 340 operations if the application does not require an image containing a face in the application according to the image setting information. The electronic device 100 may perform the operation 320 if the application requests an image including a face in the application according to the image setting information.

320 동작에서, 전자 장치(100)는 피사체를 촬영하여 이미지를 생성할 수 있다. 일 실시예에 따르면, 전자 장치(100)는 얼굴 포함 여부를 제외한 이미지 설정 정보에 부합하는 이미지를 생성할 수 있다. 예를 들어, 전자 장치(100)는 이미지 설정 정보에 포함된 이미지의 사이즈, 용량, 해상도, 또는 파일 형식에 대응되는 이미지를 생성할 수 있다.In operation 320, the electronic device 100 may take an image of a subject to produce an image. According to one embodiment, the electronic device 100 may generate an image that conforms to image setting information, excluding whether or not the face is included. For example, the electronic device 100 may generate an image corresponding to the size, capacity, resolution, or file format of the image included in the image setting information.

330 동작에서, 전자 장치(100)는 생성한 이미지에 얼굴이 포함되었는지를 판단할 수 있다. 예를 들어, 전자 장치(100)는 얼굴 인식 작업 또는 안구 인식 작업을 통하여 생성한 이미지에 얼굴이 포함되었지 여부를 확인할 수 있다. 본 발명의 다양한 실시예들에 따르면, 전자 장치(100)는 공지된 이미지 프로세싱 기법(예를 들면, 안면 인식 프로그램 또는 안구 인식 프로그램을 포함함)을 사용하여 이미지에 사람의 얼굴이 포함되었는지 판단할 수 있다. 본 발명의 다양한 실시예들에 따르면, 전자 장치(100)는 생성한 이미지에 얼굴이 포함되지 않았다고 판단되면 촬영을 재시도할 수 있다. 330 동작에서 전자 장치(100)는 생성한 이미지에서 얼굴을 인식할 수 없으면 320 동작을 다시 수행할 수 있다. 전자 장치(100)는 생성한 이미지에서 얼굴이 인식되면(즉, 생성한 이미지에 얼굴이 포함되어 있으면) 270 동작을 수행할 수 있다.In operation 330, the electronic device 100 may determine whether a face is included in the generated image. For example, the electronic device 100 can check whether or not a face is included in an image generated through a face recognition operation or an eye recognition operation. According to various embodiments of the present invention, the electronic device 100 may use a known image processing technique (e.g., a facial recognition program or an eye recognition program) to determine whether a person's face is included in the image . According to various embodiments of the present invention, the electronic device 100 may retry the shot if it is determined that the generated image does not include a face. In operation 330, when the electronic device 100 can not recognize the face in the generated image, the operation 320 may be performed again. The electronic device 100 can perform the operation 270 when a face is recognized in the generated image (i.e., the face is included in the generated image).

본 발명의 다양한 실시예들에 따르면, 330 동작에서, 전자 장치(100)는 생성한 이미지에 사람의 얼굴이 포함되지 않은 경우에는 오류 메시지를 표시할 수 있다. 전자 장치(100)는 얼굴이 포함되지 않아서 재촬영이 요구된다는 점을 나타내는 오류 메시지를 표시할 수 있다.According to various embodiments of the present invention, in operation 330, the electronic device 100 may display an error message if the generated image does not include a human face. The electronic device 100 may display an error message indicating that the face is not included and re-photographing is required.

350 동작에서, 전자 장치(100)는 이미지 설정 정보에 부합하는 이미지를 생성할 수 있다. 전자 장치(100)는 이미지를 생성한 후 270 동작을 수행할 수 있다.
In operation 350, the electronic device 100 may generate an image that conforms to the image setting information. The electronic device 100 may perform an operation 270 after generating an image.

본 발명의 다양한 실시예들에 따른 컴퓨터로 읽을 수 있는 기록 매체는 전자 장치(100)의 카메라 동작 방법을 수행하도록 하는 명령어들을 포함하는 하나 이상의 프로그램이 기록될 수 있다. 이 경우, 상기 카메라 동작 방법은 특정 애플리케이션을 실행하는 동작, 상기 애플리케이션 실행 중 카메라 활성화 입력을 수신하는 동작, 상기 카메라 활성화 입력을 수신하면 상기 실행 중인 애플리케이션과 연관된 이미지 설정 정보가 있는지 판단하는 동작, 상기 이미지 설정 정보가 있는 경우, 상기 이미지 설정 정보에 기반하여 카메라 기능을 실행하는 동작, 및 사용자의 촬영 입력에 응답하여 이미지를 생성하는 동작을 포함할 수 있다.
The computer readable recording medium according to various embodiments of the present invention may be recorded with one or more programs including instructions for causing the method of operating the camera of the electronic device 100 to perform. In this case, the camera operation method may include: an operation to execute a specific application; an operation to receive a camera activation input during execution of the application; an operation to determine whether there is image setting information associated with the running application upon receiving the camera activation input; If the image setting information is present, executing the camera function based on the image setting information, and generating an image in response to the shooting input of the user.

도 4a 내지 4c는 본 발명의 일 실시예에 따른 전자 장치(100) 및 전자 장치(100)의 카메라 촬영 방법의 동작을 설명하기 위한 도면이다.4A to 4C are views for explaining the operation of the electronic device 100 and the camera shooting method of the electronic device 100 according to an embodiment of the present invention.

도 4a는 특정 애플리케이션 실행 중에 카메라 활성화 입력을 받는 동작을 나타낸다. 전자 장치(100)는 애플리케이션 실행 중에 카메라 활성화 입력을 받기 위한 팝업 창(410)을 표시할 수 있다. 예를 들어, 실행 중인 애플리케이션이 이미지를 활용할 수 있는 경우에, 전자 장치(100)는 애플리케이션 실행 화면에 표시된 이미지 관련 아이콘에 사용자의 터치 입력이 수신되는지 감지할 수 있다. 전자 장치(100)는 사용자의 터치 입력에 응답하여 전자 장치(100)는 카메라 활성화 입력을 받기 위한 팝업 창(410)을 표시할 수 있다. 예를 들어, 카메라 활성화 입력을 받기 위한 팝업 창(410)은 전자 장치(100)에 기 저장된 이미지를 불러오기 위한 항목, 새로운 이미지를 생성하기 위한 카메라 활성화 항목(420), 기 저장된 이미지를 삭제하기 위한 항목을 포함할 수 있다. 본 발명의 다양한 실시예들에 따르면, 전자 장치(100)는 애플리케이션 실행 중에 특정 팝업 창(410)의 표시 없이 바로 사용자의 터치 입력을 카메라 활성화 입력으로 판단할 수도 있다.전자 장치(100)는 카메라 활성화 입력을 감지하면, 실행 중인 애플리케이션과 연관되는 이미지 설정 정보의 유무를 판단할 수 있다. 전자 장치(100)는 이미지 설정 정보의 유무에 따라 카메라 기능을 실행할 수 있다. 예를 들어, 전자 장치(100)는 이미지 설정 정보가 존재하면, 카메라 기능을 실행 후, 이미지 설정 정보에 기반하여 카메라 기능의 설정을 자동으로 변경할 수 있다.4A shows an operation for receiving a camera activation input during execution of a specific application. The electronic device 100 may display a pop-up window 410 for receiving camera activation input during application execution. For example, when a running application can utilize an image, the electronic device 100 may detect whether a user's touch input is received on the image related icon displayed on the application execution screen. The electronic device 100 may respond to the user's touch input and cause the electronic device 100 to display a pop-up window 410 for receiving a camera activation input. For example, a pop-up window 410 for receiving a camera activation input may include items for loading an image previously stored in the electronic device 100, a camera activation item 420 for creating a new image, ≪ / RTI > According to various embodiments of the present invention, the electronic device 100 may determine the user's touch input as a camera activation input immediately without displaying a specific pop-up window 410 during execution of the application. Upon detecting the activation input, it is possible to determine the presence or absence of the image setting information associated with the running application. The electronic device 100 can execute the camera function depending on the presence or absence of the image setting information. For example, when the image setting information exists, the electronic device 100 can automatically change the setting of the camera function based on the image setting information after executing the camera function.

도 4b는 카메라 기능 실행 화면을 나타낸다. 전자 장치(100)는 이미지 설정 정보를 기반하여 카메라 기능을 실행함으로써, 별도로 사용자의 설정 변경 없이 실행 중인 애플리케이션에 최적화된 이미지를 생성할 수 있다. 본 발명의 다양한 실시예들에 따르면, 각각의 애플리케이션마다 요구하는 이미지의 상태가 상이하더라도 사용자는 촬영 입력만으로 통하여 실행 중인 애플리케이션에 대응되는 이미지를 생성할 수 있다. 즉, 전자 장치(100)는 별도의 편집 작업 없이 즉각적으로 실행 중인 애플리케이션에 대응되는 이미지를 생성 및 적용할 수 있다. 본 발명의 다양한 실시예에 따르면, 카메라 기능 실행 화면은 상단의 이미지를 표시하는 영역과 하단의 카메라 기능 제어 영역을 포함할 수 있다. 카메라 기능 실행 화면은 카메라 촬영 모드를 변경하기 위한 아이콘(430), 촬영 입력을 수신하기 위한 아이콘(440), 또는 동영상 촬영 모드로 전환하기 위한 아이콘(450)을 포함할 수 있다. 예를 들어, 상기 촬영 입력을 수신하기 위한 아이콘(440)에 사용자의 터치 입력(촬영 입력)(401)이 감지되면, 전자 장치(100)는 현재 표시되고 있는 이미지와 동일한 이미지를 생성할 수 있다.4B shows a camera function execution screen. The electronic device 100 can generate an image optimized for a running application without separately changing the settings of the user by executing the camera function based on the image setting information. According to various embodiments of the present invention, even if the state of the image required for each application is different, the user can generate an image corresponding to the running application through only the shooting input. That is, the electronic device 100 can generate and apply an image corresponding to an application that is immediately executing without a separate editing operation. According to various embodiments of the present invention, the camera function execution screen may include an area for displaying an image at the upper end and a camera function control area at the lower end. The camera function execution screen may include an icon 430 for changing a camera shooting mode, an icon 440 for receiving a shooting input, or an icon 450 for switching to a moving image shooting mode. For example, when the user's touch input (photographing input) 401 is detected on the icon 440 for receiving the photographing input, the electronic device 100 can generate the same image as the image currently being displayed .

도 4c는 전자 장치(100)가 생성한 이미지를 애플리케이션에 적용한 상태를 나타낸다. 전자 장치(100)는 생성한 이미지(450)를 바로 애플리케이션에 적용할 수 있다. 또는, 전자 장치(100)는 생성한 이미지(450)를 메모리에 저장할 수 있다. 본 발명의 다양한 실시예들에 따르면, 전자 장치(100)가 이미지 설정 정보를 기반하여 애플리케이션에 적합한 이미지를 생성하였기 때문에 별도의 편집 작업 또는 오류 없이 바로 애플리케이션에 이미지(450)를 첨부 또는 업로드할 수 있다.
4C shows a state in which an image generated by the electronic device 100 is applied to an application. The electronic device 100 can directly apply the generated image 450 to the application. Alternatively, the electronic device 100 may store the generated image 450 in a memory. According to various embodiments of the present invention, since the electronic device 100 has created an image suitable for the application based on the image setting information, it is possible to attach or upload the image 450 directly to the application without additional editing or error have.

도 5a 내지 5c는 본 발명의 다른 실시예에 따른 전자 장치(100) 및 전자 장치(100)의 카메라 촬영 방법의 동작을 설명하기 위한 도면이다. 도 5a 내지 도 5c에서는 이미지에 사용자의 얼굴이 포함될 것을 요구하는 경우에 대하여 설명한다.5A to 5C are diagrams for explaining the operation of the electronic device 100 and the camera shooting method of the electronic device 100 according to another embodiment of the present invention. 5A to 5C, a description will be given of a case where an image requires a user's face to be included.

도 5a는 본 발명의 다양한 실시예들에 따라 특정 애플리케이션 실행 중에 카메라 활성화 입력을 받는 동작을 나타낸다. 예를 들어, 전자 장치는 특정 애플리케이션을 통해 웹사이트에 접속할 수 있다. 전자 장치가 실행 중인 애플리케이션 또는 접속한 웹사이트에서는 사용자의 프로필 입력 등을 위하여 사용자의 얼굴이 포함된 이미지를 요구할 수 있다. 예를 들어, 전자 장치가 상기 웹사이트에서 사용자의 개인 정보를 입력하는 경우, 개인 정보 등록 화면은 사용자의 얼굴이 포함된 이미지를 첨부할 영역(502) 및 이미지를 첨부하기 위한 아이콘(또는 버튼)(503)을 포함할 수 있다. 이 경우, 전자 장치는 사용자의 터치 입력(501)(예를 들면, 카메라 활성화 입력)을 수신할 수 있다. 전자 장치는 화면에 표시된 아이콘(503)을 통하여 사용자로부터 카메라 활성화 입력(501)을 수신할 수 있다.5A illustrates the operation of receiving a camera activation input during execution of a particular application in accordance with various embodiments of the present invention. For example, an electronic device can access a web site through a specific application. An application in which an electronic device is running or a connected web site may request an image including a user's face for inputting a profile of a user or the like. For example, when the electronic device inputs personal information of a user on the web site, the personal information registration screen includes an area 502 to which an image including the user's face is to be attached and an icon (or button) (503). In this case, the electronic device may receive the user's touch input 501 (e.g., a camera activation input). The electronic device may receive a camera activation input 501 from a user via an icon 503 displayed on the screen.

도 5b는 본 발명의 다양한 실시예들에 다른 카메라 기능 실행 화면을 나타낸다. 전자 장치(100)는 카메라 활성화 입력에 응답하여 카메라 기능을 실행할 수 있다. 전자 장치(100)는 이미지 설정 정보에 기반하여 카메라 기능을 실행할 수 있다. 예를 들어, 전자 장치(100)는 카메라 기능을 실행 후, 이미지 설정 정보에 기반하여 카메라 기능의 설정을 자동으로 변경할 수 있다.FIG. 5B shows another camera function execution screen according to various embodiments of the present invention. The electronic device 100 may execute the camera function in response to the camera activation input. The electronic device 100 may execute the camera function based on the image setting information. For example, after executing the camera function, the electronic device 100 can automatically change the setting of the camera function based on the image setting information.

카메라 기능 실행 화면은 생성될 이미지의 미리보기 화면 영역(560), 설정 변경을 위한 아이콘(510), 또는 카메라 기능을 조작하기 위한 아이콘들(모드 변경 아이콘(530), 촬영 입력 아이콘(540), 또는 동영상 모드 전환 아이콘(550))을 포함할 수 있다. 본 발명의 다양한 실시예들에 따르면, 전자 장치(100)는 촬영 입력에 응답하여 이미지를 생성할 수 있다. 전자 장치(100)는 촬영 입력 아이콘(540) 상의 터치 입력을 촬영 입력으로 판단할 수 있다. 전자 장치(100)가 실행 중인 애플리케이션 등에서 사용자의 얼굴이 포함된 이미지를 요구하는 경우에, 전자 장치(100)는 얼굴이 포함되지 않은 이미지가 생성되면 재촬영을 시도할 수 있다. 본 발명의 다양한 실시예들에 따르면, 전자 장치(100)는 얼굴이 포함되지 않은 이미지가 생성된 경우 오류 메시지(520)를 표시할 수 있다. 오류 메시지는 사람 얼굴이 인식되지 않아 재촬영이 요구된다는 메시지를 포함할 수 있다. 본 발명의 다양한 실시예들에 따르면, 전자 장치(100)는 실행 중인 애플리케이션에서 사람 얼굴이 포함된 이미지를 요구하는 경우, 사람 얼굴이 포함된 이미지를 생성할 때까지 촬영을 재시도할 수 있다.The camera function execution screen includes a preview screen area 560 of an image to be created, an icon 510 for setting change, or icons (a mode change icon 530, a shooting input icon 540, Or a video mode switching icon 550). According to various embodiments of the present invention, electronic device 100 may generate an image in response to an imaging input. The electronic device 100 may determine that the touch input on the shooting input icon 540 is a shooting input. In a case where the electronic device 100 requires an image including a user's face in an application or the like to be executed, the electronic device 100 can attempt to resume the image when the face-free image is generated. According to various embodiments of the present invention, the electronic device 100 may display an error message 520 when an image without a face is generated. The error message may include a message that a human face is not recognized and a retake is required. According to various embodiments of the present invention, when the electronic device 100 requests an image containing a human face in a running application, it may retry shooting until an image containing the human face is created.

도 5c는 전자 장치(100)가 생성한 이미지를 애플리케이션에 적용한 상태를 나타낸다. 도 5c는 디스플레이(160)에 표시된 화면에서 사용자의 프로필 이미지(502)가 적용된 상태를 나타낸다. 본 발명의 다양한 실시예들에 따르면, 특정 애플리케이션 상에서 사람의 얼굴이 포함된 이미지를 요구하는 경우, 전자 장치(100)는 얼굴이 포함된 이미지를 선별하여 애플리케이션에 적용할 수 있다.
5C shows a state in which an image generated by the electronic device 100 is applied to an application. FIG. 5C shows a state in which the user's profile image 502 is applied on the screen displayed on the display 160. FIG. According to various embodiments of the present invention, when an image containing a face of a person is requested on a specific application, the electronic device 100 can selectively apply the image containing the face to the application.

100: 전자 장치
110: 프로세서(애플리케이션 프로세서(AP))
120: 통신 모듈 130: 메모리
140: 센서 모듈 150: 입력 장치
160: 디스플레이 170: 인터페이스
180: 오디오 모듈 191: 카메라 모듈
100: Electronic device
110: Processor (application processor (AP))
120: communication module 130: memory
140: Sensor module 150: Input device
160: Display 170: Interface
180: audio module 191: camera module

Claims (19)

전자 장치의 동작 방법에 있어서,
특정 애플리케이션을 실행하는 단계;
상기 애플리케이션 실행 중 카메라 활성화 입력을 수신하는 단계;
상기 카메라 활성화 입력을 수신하면 기 저장된 상기 실행 중인 애플리케이션과 연관된 이미지 설정 정보가 있는지 판단하는 단계;
상기 이미지 설정 정보가 있는 경우, 상기 이미지 설정 정보에 기반하여 카메라 기능을 실행하는 단계; 및
사용자의 촬영 입력에 응답하여 이미지를 생성하는 단계를 포함하는 방법.
A method of operating an electronic device,
Executing a specific application;
Receiving a camera activation input during execution of the application;
Upon receipt of the camera activation input, determining whether there is image setting information associated with the previously stored running application;
Executing the camera function based on the image setting information when the image setting information is present; And
And generating an image in response to the user's shot input.
제1항에 있어서, 상기 이미지 설정 정보는
상기 애플리케이션에서 지원하는 이미지의 해상도, 파일 용량, 사이즈, 배경화면 정보, 얼굴 포함 여부, 및 파일 확장자 중 적어도 하나를 포함하는 방법.
2. The image processing method according to claim 1,
A file size, a wallpaper information, a face inclusion, and a file extension of an image supported by the application.
제1항에 있어서, 상기 이미지 설정 정보가 있는지 판단하는 단계는
상기 실행 중인 애플리케이션이 네트워크 통신을 이용하는 경우, 외부 전자 장치로부터 상기 애플리케이션과 연관된 이미지 설정 정보를 수신하여 저장하는 동작을 더 포함하는 방법.
2. The method of claim 1, wherein determining whether the image setting information is present comprises:
And receiving and storing image configuration information associated with the application from an external electronic device when the running application is using network communication.
제1항에 있어서, 상기 카메라 기능을 실행하는 단계는
카메라 기능을 활성화시키는 동작; 및
상기 이미지 설정 정보에 기반하여 카메라 기능의 설정을 변경하는 동작을 포함하는 방법.
The method of claim 1, wherein performing the camera function comprises:
Activating the camera function; And
And changing the setting of the camera function based on the image setting information.
제1항에 있어서, 상기 이미지를 생성하는 단계는
상기 이미지 설정 정보에 대응되는 이미지를 생성한 경우, 기 설정된 카메라 기능의 기본 설정 값에 대응되는 이미지를 추가로 생성하는 방법.
2. The method of claim 1, wherein generating the image comprises:
And generating an image corresponding to the image setting information, wherein the image corresponding to the default setting value of the predetermined camera function is generated.
제1항에 있어서,
상기 생성한 이미지를 상기 애플리케이션에 적용하는 동작을 더 포함하는 방법.
The method according to claim 1,
And applying the generated image to the application.
제1항에 있어서, 상기 이미지를 생성하는 단계는
상기 이미지 설정 정보를 기반하여 실행 중인 애플리케이션에서 사람의 얼굴이 포함된 이미지를 요구하는지 판단하는 동작;
피사체를 촬영하여 이미지를 생성하는 동작;
사람의 얼굴이 포함된 이미지가 요구되는 경우, 상기 생성한 이미지에 얼굴이 포함되었는지 판단하는 동작; 및
상기 생성한 이미지에 얼굴이 포함되지 않은 경우, 촬영을 재시도하는 동작을 포함하는 방법.
2. The method of claim 1, wherein generating the image comprises:
Determining whether a running application requires an image containing a human face based on the image setting information;
Capturing a subject and generating an image;
Determining whether a face is included in the generated image when an image including a face of a person is requested; And
And if the generated image does not include a face, retrying the shooting.
제7항에 있어서, 상기 촬영을 재시도하는 동작은
상기 생성한 이미지에 사람의 얼굴이 포함되지 않는 경우, 오류 메시지를 표시하는 동작을 더 포함하는 방법.
8. The method of claim 7, wherein the retrying operation
Further comprising displaying an error message if the generated image does not include a person's face.
제1항에 있어서,
상기 이미지 설정 정보에 포함된 배경화면 정보에 기반하여 상기 생성한 이미지의 배경을 변경하는 동작을 더 포함하는 방법.
The method according to claim 1,
And changing the background of the generated image based on the background information included in the image setting information.
제1항에 있어서,
카메라 기능 종료 후, 카메라 기능을 사용자의 기존 또는 카메라 기본 설정 값으로 재설정하는 동작을 더 포함하는 방법.
The method according to claim 1,
And after the camera function is terminated, resetting the camera function to the user's existing or camera default settings.
전자 장치에 있어서
피사체를 촬영하여 이미지를 생성하는 카메라 모듈;
상기 이미지를 표시하는 디스플레이;
사용자로부터 입력을 수신하는 입력 장치;
상기 이미지 및 이미지 설정 정보를 저장하는 메모리; 및
특정 애플리케이션 실행 중 사용자로부터 입력된 카메라 활성화 입력에 응답하여 상기 메모리에 실행 중인 애플리케이션과 연관된 이미지 설정 정보가 있는지 판단하고, 상기 이미지 설정 정보가 있는 경우 상기 이미지 정보에 기반하여 카메라 기능을 실행하는 프로세서를 포함하는 전자 장치.
In an electronic device
A camera module for photographing a subject to generate an image;
A display for displaying the image;
An input device for receiving input from a user;
A memory for storing the image and image setting information; And
A processor for executing a camera function based on the image information when the image setting information is present, in response to a camera activation input from a user during execution of a specific application, ≪ / RTI >
제11항에 있어서, 상기 프로세서는
카메라 기능을 활성화한 후, 상기 이미지 설정 정보에 기반하여 카메라 기능의 설정을 변경하는 것을 특징으로 하는 전자 장치.
12. The system of claim 11, wherein the processor
And changes the setting of the camera function based on the image setting information after activating the camera function.
제11항에 있어서, 상기 카메라 모듈은
상기 이미지 설정 정보에 대응되는 이미지를 생성한 경우, 사용자에 의해 기 설정된 카메라 설정 값에 대응되는 이미지를 추가로 생성하는 것을 특징으로 하는 전자 장치.
The camera module according to claim 11, wherein the camera module
And generates an image corresponding to the camera setting value preset by the user when the image corresponding to the image setting information is generated.
제11항에 있어서,
실행 중인 애플리케이션이 네트워크 통신을 이용하는 경우, 외부 전자 장치로부터 상기 애플리케이션과 연관된 이미지 설정 정보를 수신하는 것을 특징으로 하는 전자 장치.
12. The method of claim 11,
And receives image setting information associated with the application from an external electronic device when the running application uses network communication.
제11항에 있어서, 상기 프로세서는
상기 생성한 이미지를 상기 애플리케이션에 적용하는 전자 장치.
12. The system of claim 11, wherein the processor
And applies the generated image to the application.
제11항에 있어서, 상기 프로세서는
상기 이미지 설정 정보를 기반하여 실행 중인 애플리케이션에서 사람의 얼굴이 포함된 이미지를 요구하는지 판단하고, 사람의 얼굴이 포함된 이미지가 요구되는 경우, 생성한 이미지에 얼굴이 포함되지 않은 경우에는 상기 카메라 모듈이 촬영을 재시도하도록 제어하는 전자 장치.
12. The system of claim 11, wherein the processor
Determining whether an application including a face of the user requests an image including a face of a user based on the image setting information; if an image including a face of a person is requested, if the generated image does not include a face, Thereby to retry the photographing.
제11항에 있어서, 상기 프로세서는
상기 생성한 이미지에 사람의 얼굴이 포함되지 않는 경우, 상기 디스플레이가 오류 메시지를 표시하도록 제어하는 전자 장치.
12. The system of claim 11, wherein the processor
And controls the display to display an error message when a face of the person is not included in the generated image.
제11항에 있어서, 상기 프로세서는
상기 이미지 설정 정보에 배경화면 정보가 포함된 경우, 상기 배경화면 정보에 기반하여 상기 생성한 이미지의 배경을 변경하는 전자 장치.
12. The system of claim 11, wherein the processor
And changes the background of the generated image based on the background information when the background information is included in the image setting information.
제11항에 있어서, 상기 프로세서는
카메라 기능 종료 후, 카메라 기능의 설정을 사용자의 기존 또는 카메라 기본 설정 값으로 재설정하는 전자 장치.
12. The system of claim 11, wherein the processor
An electronic device that resets the settings of the camera function to the user's existing or camera default settings after the camera function is terminated.
KR1020140087652A 2014-07-11 2014-07-11 Electronic device and method for executing camera function thereof KR20160007251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140087652A KR20160007251A (en) 2014-07-11 2014-07-11 Electronic device and method for executing camera function thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140087652A KR20160007251A (en) 2014-07-11 2014-07-11 Electronic device and method for executing camera function thereof

Publications (1)

Publication Number Publication Date
KR20160007251A true KR20160007251A (en) 2016-01-20

Family

ID=55307962

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140087652A KR20160007251A (en) 2014-07-11 2014-07-11 Electronic device and method for executing camera function thereof

Country Status (1)

Country Link
KR (1) KR20160007251A (en)

Similar Documents

Publication Publication Date Title
US11350033B2 (en) Method for controlling camera and electronic device therefor
US11455738B2 (en) Electronic device and method for applying image effect to images obtained using image sensor
US11997382B2 (en) Method for providing different indicator for image based on shooting mode and electronic device thereof
KR102444085B1 (en) Portable communication apparatus and method for displaying images thereof
KR102220443B1 (en) Apparatas and method for using a depth information in an electronic device
KR102230691B1 (en) Method and device for recognizing biometric information
KR102327779B1 (en) Method for processing image data and apparatus for the same
EP3105919B1 (en) Photographing method of an electronic device and the electronic device thereof
EP3110134B1 (en) Electronic device and method for processing image
KR102547104B1 (en) Electronic device and method for processing plural images
KR102326275B1 (en) Image displaying method and apparatus
KR20160051390A (en) Electronic device and method for providing filter n electronic device
KR102187227B1 (en) Method for creating a content and an electronic device thereof
EP3131302A2 (en) Method and device for generating video content
WO2020107463A1 (en) Electronic device control method and electronic device
KR102246645B1 (en) Apparatus and method for obtaining image
CN115756270B (en) Content sharing method, device and system
KR102317624B1 (en) Electronic device and method for processing image of the same
KR102391490B1 (en) Method for tracking an object in an image and electronic device thereof
KR20160007251A (en) Electronic device and method for executing camera function thereof

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