KR20190141866A - Electronic device and method for identifying photographing intention of user - Google Patents

Electronic device and method for identifying photographing intention of user Download PDF

Info

Publication number
KR20190141866A
KR20190141866A KR1020180068595A KR20180068595A KR20190141866A KR 20190141866 A KR20190141866 A KR 20190141866A KR 1020180068595 A KR1020180068595 A KR 1020180068595A KR 20180068595 A KR20180068595 A KR 20180068595A KR 20190141866 A KR20190141866 A KR 20190141866A
Authority
KR
South Korea
Prior art keywords
electronic device
state
camera
face
posture
Prior art date
Application number
KR1020180068595A
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 KR1020180068595A priority Critical patent/KR20190141866A/en
Priority to PCT/KR2019/007167 priority patent/WO2019240520A1/en
Publication of KR20190141866A publication Critical patent/KR20190141866A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • H04N5/23219
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N5/2258
    • H04N5/23216
    • H04N5/23293

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

According to various embodiments of the present invention, an electronic device comprises: a housing; a display exposed through at least a portion of a first surface of the housing; a first camera exposed through at least another portion of the first surface of the housing; a second camera exposed through at least a portion of a second surface of the housing opposite to the first surface of the housing; a memory for storing instructions and disposed in the housing; a sensor module disposed in the housing; and at least one processor disposed in the housing. The processor may be set to monitor a posture of the electronic device using the sensor module when executing the instructions, to identify that the posture of the electronic device is changed to a designated posture, to identify whether a user face faces the first surface using the first camera in response to the identification, to convert a state of the second camera into an active state in response to the identification that the user face faces the first surface, and to control the display to display a preview image for an image obtained through the second camera in the active state in the user interface of a camera application.

Description

사용자의 사진 촬영 의도를 식별하기 위한 전자 장치 및 방법{ELECTRONIC DEVICE AND METHOD FOR IDENTIFYING PHOTOGRAPHING INTENTION OF USER}ELECTRONIC DEVICE AND METHOD FOR IDENTIFYING PHOTOGRAPHING INTENTION OF USER}

다양한 실시 예들은 사용자의 사진 촬영 의도를 식별하는 방법 및 전자 장치에 관한 것이다. Various embodiments of the present disclosure relate to a method and an electronic device for identifying a photographing intention of a user.

디지털 기술의 발달과 함께, 이동 통신 단말기, 스마트폰, 태블릿(tablet) PC(personal computer), 또는 웨어러블 디바이스(wearable device) 등의 다양한 전자 장치들이 보급되고 있다. 다양한 전자 장치들은 카메라를 포함할 수 있고, 카메라를 이용하여 정지 영상 및 동영상을 촬영할 수 있다. 전자 장치는, 사용자 입력에 응답하여 카메라 어플리케이션을 실행할 수 있다. 예를 들면, 전자 장치는, 전자 장치의 외부에 부착된 물리 키 또는 하드웨어 키를 누르는 사용자의 입력에 응답하여 카메라 어플리케이션을 실행할 수 있다. 다른 예를 들면, 전자 장치는, 전자 장치의 화면에 표시된 아이콘 소프트웨어 키를 터치하는 사용자의 입력에 응답하여 카메라 어플리케이션을 실행할 수 있다. With the development of digital technology, various electronic devices such as mobile communication terminals, smart phones, tablet personal computers (PCs), or wearable devices have become popular. Various electronic devices may include a camera and capture still images and videos by using the camera. The electronic device may execute the camera application in response to the user input. For example, the electronic device may execute a camera application in response to a user's input of pressing a physical key or hardware key attached to the outside of the electronic device. For another example, the electronic device may execute a camera application in response to a user's input of touching an icon software key displayed on the screen of the electronic device.

카메라 어플리케이션을 실행하기 위하여 사용자가 전자 장치에 포함된 물리 키 또는 아이콘에 대하여 별도의 입력을 행하는 경우, 카메라 어플리케이션에 진입하기 위해 시간이 소요될 수 있으며, 사용자는 사진을 찍고 싶은 순간을 놓칠 수 있다. 따라서, 카메라 어플리케이션을 실행하기 위해 사용자 입력(또는 인터랙션)을 최소화하기 위한 방안이 요구될 수 있다. When the user separately inputs a physical key or an icon included in the electronic device to execute the camera application, it may take time to enter the camera application, and the user may miss a moment to take a picture. Therefore, a method for minimizing user input (or interaction) may be required to execute a camera application.

다양한 실시 예들은, 사용자의 사진 촬영 의도를 탐지함으로써, 카메라 어플리케이션을 실행하기 위해 사용자 입력을 최소화하기 위한 전자 장치 및 방법을 제공할 수 있다. Various embodiments may provide an electronic device and a method for minimizing a user input to execute a camera application by detecting a user's intention to take a picture.

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

다양한 실시 예들에 따른 전자 장치는, 하우징, 상기 하우징의 제1 면의 적어도 일부를 통해 노출된 디스플레이, 상기 하우징의 상기 제1 면의 적어도 다른 일부를 통해 노출된 제1 카메라, 상기 하우징의 상기 제1 면의 반대인(opposite to) 상기 하우징의 제2 면의 적어도 일부를 통해 노출된 제2 카메라, 명령어들을 저장하고 상기 하우징 내에 배치되는 메모리, 상기 하우징 내에 배치되는 센서 모듈, 및 상기 하우징 내에 배치되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 명령어들을 실행할 시(when executing the instructions), 상기 센서 모듈을 이용하여 상기 전자 장치의 자세(posture)를 모니터링하고, 상기 전자 장치의 자세가 지정된 자세로 변경됨을 식별하고, 상기 식별에 응답하여, 상기 제1 카메라를 이용하여 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하고, 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 활성 상태로 전환하고, 상기 활성 상태에 있는 상기 제2 카메라를 통해 획득되는 이미지에 대한 프리뷰 이미지를 카메라 어플리케이션의 사용자 인터페이스 안에서 표시하도록 상기 디스플레이를 제어하도록 설정될 수 있다.According to various embodiments of the present disclosure, an electronic device may include a housing, a display exposed through at least a portion of the first surface of the housing, a first camera exposed through at least another portion of the first surface of the housing, and the first portion of the housing. A second camera exposed through at least a portion of the second side of the housing opposite to one side, a memory for storing instructions and disposed within the housing, a sensor module disposed within the housing, and disposed within the housing And at least one processor configured to monitor posture of the electronic device using the sensor module when executing the instructions. Identify a posture is changed to a specified posture, and in response to the identification, a face of the user using the first camera Identify a state facing the first side, change the state of the second camera to an active state in response to identifying the face of the user facing the first side, and the second state in the active state The display may be set to control the display to display a preview image of an image acquired through the camera within a user interface of the camera application.

다양한 실시 예들에 따른 전자 장치의 방법은, 상기 전자 장치의 센서 모듈을 이용하여 상기 전자 장치의 자세(posture)를 모니터링하는 동작과, 상기 전자 장치의 자세가 지정된 자세로 변경됨을 식별하는 동작과, 상기 식별에 응답하여, 상기 전자 장치의 제1 면의 적어도 일부를 통해 노출된 제1 카메라를 이용하여 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하는 동작과, 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 제1 면의 반대인(opposite to) 상기 전자 장치의 제2 면의 적어도 일부를 통해 노출된 제2 카메라의 상태를 활성 상태로 전환하는 동작과, 상기 활성 상태에 있는 상기 제2 카메라를 통해 획득되는 이미지에 대한 프리뷰 이미지를 카메라 어플리케이션의 사용자 인터페이스 안에서 표시하는 동작을 포함할 수 있다. An electronic device method according to various embodiments of the present disclosure may include: monitoring a posture of the electronic device using a sensor module of the electronic device; and identifying that the posture of the electronic device is changed to a specified posture; In response to the identification, identifying whether a user's face faces the first surface using a first camera exposed through at least a portion of the first surface of the electronic device, and wherein the user's face is Transitioning a state of the second camera exposed through at least a portion of the second side of the electronic device to the active state in response to identifying the facing to the first side; Displaying a preview image of an image acquired through the second camera in the active state in a user interface of a camera application. Can be.

다양한 실시 예들에 따른 장치 및 방법은, 사용자의 사진 촬영 의도를 탐지함으로써, 카메라 어플리케이션에 진입하기 위한 시간 및 사용자 입력을 최소화할 수 있다. Apparatus and method according to various embodiments of the present disclosure may minimize user input and time for entering a camera application by detecting a user's intention to take a picture.

본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.Effects obtained in the present disclosure are not limited to the above-mentioned effects, and other effects not mentioned above may be clearly understood by those skilled in the art from the following description. will be.

도 1은 다양한 실시 예들에 따른, 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 다양한 실시예들에 따른, 카메라 모듈을 예시하는 블럭도이다.
도 3은 다양한 실시 예들에 따른 전자 장치의 기능적 구성의 예를 도시한다.
도 4는 다양한 실시 예들에 따른 전자 장치의 자세(posture)의 예를 도시한다.
도 5는 다양한 실시 예들에 따른 전자 장치의 동작의 예를 도시한다.
도 6은 다양한 실시 예들에 따른 전자 장치의 설정 화면의 예를 도시한다.
도 7은 다양한 실시 예들에 따른 전자 장치의 동작이 수행되는 상황의 예를 도시한다.
1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure.
2 is a block diagram illustrating a camera module, in accordance with various embodiments.
3 is a diagram illustrating a functional configuration of an electronic device according to various embodiments of the present disclosure.
4 illustrates an example of a posture of an electronic device according to various embodiments of the present disclosure.
5 illustrates an example of an operation of an electronic device according to various embodiments of the present disclosure.
6 illustrates an example of a setting screen of an electronic device according to various embodiments of the present disclosure.
7 illustrates an example in which an operation of an electronic device is performed according to various embodiments of the present disclosure.

본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments of the present disclosure may be various types of devices. The electronic device may include, for example, a portable communication device (eg, a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. An electronic device according to an embodiment of the present disclosure is not limited to the above-described devices.

본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of the present disclosure and terms used herein are not intended to limit the technical features described in the present disclosure to specific embodiments, and it should be understood to include various changes, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the items, unless the context clearly indicates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A And phrases such as "at least one of B, or C" may include all possible combinations of items listed together in the corresponding one of the phrases. Terms such as "first", "second", or "first" or "second" may simply be used to distinguish a component from other corresponding components, and the components may be referred to other aspects (e.g. Order). Some (eg, first) component may be referred to as "coupled" or "connected" to another (eg, second) component, with or without the term "functionally" or "communicatively". When mentioned, it means that any component can be connected directly to the other component (eg, by wire), wirelessly, or via a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used herein, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. The module may be an integral part or a minimum unit or part of the component, which performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시 예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document may include one or more instructions stored on a storage medium (eg, internal memory 136 or external memory 138) that can be read by a machine (eg, electronic device 101). It may be implemented as software (eg, program 140) including the. For example, a processor (eg, the processor 120) of the device (eg, the electronic device 101) may call and execute at least one command among one or more instructions stored from the storage medium. This enables the device to be operated to perform at least one function in accordance with the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' means only that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), which is the case when data is stored semi-permanently on the storage medium. It does not distinguish cases where it is temporarily stored.

일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment of the present disclosure, a method according to various embodiments of the present disclosure may be included in a computer program product. The computer program product may be traded between the seller and the buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play StoreTM) or two user devices ( Example: smartphones) can be distributed (eg downloaded or uploaded) directly or online. In the case of on-line distribution, at least a portion of the computer program product may be stored at least temporarily on a device-readable storage medium such as a server of a manufacturer, a server of an application store, or a relay server, or may be temporarily created.

다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments of the present disclosure, each component (eg, a module or a program) of the above-described components may include a singular or plural object. According to various embodiments of the present disclosure, one or more components or operations of the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of the component of each of the plurality of components the same as or similar to that performed by the corresponding component of the plurality of components before the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, or may be omitted. Or one or more other operations may be added.

도 1은, 다양한 실시 예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블럭도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시 예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1, in the network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short range wireless communication network), or the second network 199. The electronic device 104 may communicate with the server 108 through a long range wireless communication network. According to an embodiment of the present disclosure, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, and a sensor module. 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197. ) May be included. In some embodiments, at least one of the components (for example, the display device 160 or the camera module 180) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components may be implemented in one integrated circuit. For example, the sensor module 176 (eg, fingerprint sensor, iris sensor, or illuminance sensor) may be implemented embedded in the display device 160 (eg, display).

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)은 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to execute at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to one embodiment, as at least part of the data processing or operation, the processor 120 may transmit the command or data received from another component (eg, the sensor module 176 or the communication module 190) to the volatile memory 132. Can be loaded into, processed in a command or data stored in volatile memory 132, and stored in the non-volatile memory (134). According to an embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor), and a coprocessor 123 (eg, a graphics processing unit, an image signal processor) that may be operated independently or together. , Sensor hub processor, or communication processor). Additionally or alternatively, the coprocessor 123 may be set to use lower power than the main processor 121 or to be specialized for its designated function. The coprocessor 123 may be implemented separately from or as part of the main processor 121.

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다.  The coprocessor 123 may, for example, replace the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 may be active (eg, execute an application). At least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) together with the main processor 121 while in the) state. Control at least some of the functions or states associated with the. According to one embodiment, the coprocessor 123 (eg, an image signal processor or communication processor) may be implemented as part of other functionally related components (eg, camera module 180 or communication module 190). have.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101. The data may include, for example, software (eg, the program 140) and input data or output data for a command related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile memory 134.

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130, and may include, for example, an operating system 142, middleware 144, or an application 146.

입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)은, 예를 들면, 마이크, 마우스, 또는 키보드를 포함할 수 있다. The input device 150 may receive a command or data to be used for a component (for example, the processor 120) of the electronic device 101 from the outside (for example, a user) of the electronic device 101. The input device 150 may include, for example, a microphone, a mouse, or a keyboard.

음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output a sound signal to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes such as multimedia playback or recording playback, and the receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of a speaker.

표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. The display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101. The display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device. According to an embodiment of the present disclosure, the display device 160 may include touch circuitry configured to sense a touch, or a sensor circuit (eg, a pressure sensor) set to measure the strength of the force generated by the touch. have.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)) (예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment of the present disclosure, the audio module 170 may acquire sound through the input device 150, or may output an external electronic device (for example, a sound output device 155 or directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (eg, a speaker or a headphone).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101, or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do. According to an embodiment of the present disclosure, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)이 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used for the electronic device 101 to be directly or wirelessly connected to an external electronic device (for example, the electronic device 102). According to an embodiment of the present disclosure, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(178)은, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that can be perceived by the user through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and videos. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(388)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101. According to one embodiment, the power management module 388 may be implemented, for example, as at least part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시 예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. The communication module 190 may establish a direct (eg wired) communication channel or wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establish and perform communication over established communication channels. The communication module 190 may operate independently of the processor 120 (eg, an application processor) and include one or more communication processors supporting direct (eg, wired) or wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (eg, a cellular communication module, a near field communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, It may include a local area network (LAN) communication module, or a power line communication module. The corresponding communication module of these communication modules may be a first network 198 (e.g., a short range communication network such as Bluetooth, WiFi direct, or an infrared data association (IrDA)) or a second network 199 (e.g., a cellular network, the Internet, or Communicate with external electronic devices via a telecommunications network, such as a computer network (eg, LAN or WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented by a plurality of components (eg, a plurality of chips) separate from each other. The wireless communication module 192 uses subscriber information (e.g., international mobile subscriber identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 may be checked and authenticated.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 하나 이상의 안테나들을 포함할 수 있고, 이로부터, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다.The antenna module 197 may transmit or receive a signal or power to an external (eg, an external electronic device) or from the outside. According to an embodiment, the antenna module 197 may include one or more antennas, from which at least one suitable for a communication scheme used in a communication network, such as the first network 198 or the second network 199. Antenna may be selected by the communication module 190, for example. The signal or power may be transmitted or received between the communication module 190 and the external electronic device through the at least one selected antenna.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other and connected to each other through a communication method between peripheral devices (eg, a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)). For example, commands or data).

일 실시 예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시 예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, or 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. According to an embodiment of the present disclosure, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199. Each of the electronic devices 102 and 104 may be a device of the same or different type as the electronic device 101. According to an embodiment of the present disclosure, all or some of the operations executed in the electronic device 101 may be executed in one or more external devices among the external electronic devices 102, 104, or 108. For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service itself. In addition to or in addition, one or more external electronic devices may be requested to perform at least a part of the function or the service. The one or more external electronic devices that receive the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101. The electronic device 101 may process the result as it is or additionally and provide it as at least part of a response to the request. To this end, for example, cloud computing, distributed computing, or client-server computing technology may be used.

도 2는, 다양한 실시예들에 따른, 카메라 모듈(180)을 예시하는 블럭도(200)이다. 도 2를 참조하면, 카메라 모듈(180)은 렌즈 어셈블리(210), 플래쉬(220), 이미지 센서(230), 이미지 스태빌라이저(240), 메모리(250)(예: 버퍼 메모리), 또는 이미지 시그널 프로세서(260)를 포함할 수 있다. 렌즈 어셈블리(210)는 이미지 촬영의 대상인 피사체로부터 방출되는 빛을 수집할 수 있다. 렌즈 어셈블리(210)는 하나 또는 그 이상의 렌즈들을 포함할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 복수의 렌즈 어셈블리(210)들을 포함할 수 있다. 이런 경우, 카메라 모듈(180)은, 예를 들면, 듀얼 카메라, 360도 카메라, 또는 구형 카메라(spherical camera)를 형성할 수 있다. 복수의 렌즈 어셈블리(210)들 중 일부는 동일한 렌즈 속성(예: 화각, 초점 거리, 자동 초점, f 넘버(f number), 또는 광학 줌)을 갖거나, 또는 적어도 하나의 렌즈 어셈블리는 다른 렌즈 어셈블리의 렌즈 속성들과 다른 하나 이상의 렌즈 속성들을 가질 수 있다. 렌즈 어셈블리(210)는, 예를 들면, 광각 렌즈 또는 망원 렌즈를 포함할 수 있다. 2 is a block diagram 200 illustrating a camera module 180, in accordance with various embodiments. Referring to FIG. 2, the camera module 180 may include a lens assembly 210, a flash 220, an image sensor 230, an image stabilizer 240, a memory 250 (eg, a buffer memory), or an image signal processor. 260 may include. The lens assembly 210 may collect light emitted from a subject that is a target of image capturing. The lens assembly 210 may include one or more lenses. According to an embodiment, the camera module 180 may include a plurality of lens assemblies 210. In this case, the camera module 180 may form, for example, a dual camera, a 360 degree camera, or a spherical camera. Some of the plurality of lens assemblies 210 have the same lens properties (eg, angle of view, focal length, auto focus, f number, or optical zoom), or at least one lens assembly is a different lens assembly. It may have one or more lens properties different from the lens properties of. The lens assembly 210 may include, for example, a wide angle lens or a telephoto lens.

플래쉬(220)는 피사체로부터 방출 또는 반사되는 빛을 강화하기 위하여 사용되는 빛을 방출할 수 있다. 일 실시 예에 따르면, 플래쉬(220)는 하나 이상의 발광 다이오드들(예: RGB(red-green-blue) LED, white LED, infrared LED, 또는 ultraviolet LED), 또는 xenon lamp를 포함할 수 있다. 이미지 센서(230)는 피사체로부터 방출 또는 반사되어 렌즈 어셈블리(210)를 통해 전달된 빛을 전기적인 신호로 변환함으로써, 상기 피사체에 대응하는 이미지를 획득할 수 있다. 일 실시 예에 따르면, 이미지 센서(230)는, 예를 들면, RGB 센서, BW(black and white) 센서, IR 센서, 또는 UV 센서와 같이 속성이 다른 이미지 센서들 중 선택된 하나의 이미지 센서, 동일한 속성을 갖는 복수의 이미지 센서들, 또는 다른 속성을 갖는 복수의 이미지 센서들을 포함할 수 있다. 이미지 센서(230)에 포함된 각각의 이미지 센서는, 예를 들면, CCD(charged coupled device) 센서 또는 CMOS(complementary metal oxide semiconductor) 센서를 이용하여 구현될 수 있다.The flash 220 may emit light used to enhance the light emitted or reflected from the subject. According to an embodiment, the flash 220 may include one or more light emitting diodes (eg, red-green-blue (RGB) LEDs, white LEDs, infrared LEDs, or ultraviolet LEDs), or xenon lamps. The image sensor 230 may acquire an image corresponding to the subject by converting light emitted from or reflected from the subject and transmitted through the lens assembly 210 into an electrical signal. According to an embodiment of the present disclosure, the image sensor 230 may include, for example, an image sensor selected from among image sensors having different properties, such as an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor. A plurality of image sensors having a property, or a plurality of image sensors having another property. Each image sensor included in the image sensor 230 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.

이미지 스태빌라이저(240)는 카메라 모듈(180) 또는 이를 포함하는 전자 장치(101)의 움직임에 반응하여, 렌즈 어셈블리(210)에 포함된 적어도 하나의 렌즈 또는 이미지 센서(230)를 특정한 방향으로 움직이거나 이미지 센서(230)의 동작 특성을 제어(예: 리드 아웃(read-out) 타이밍을 조정 등)할 수 있다. 이는 촬영되는 이미지에 대한 상기 움직임에 의한 부정적인 영향의 적어도 일부를 보상하게 해 준다. 일 실시 예에 따르면, 이미지 스태빌라이저(240)는, 일 실시 예에 따르면, 이미지 스태빌라이저(240)은 카메라 모듈(180)의 내부 또는 외부에 배치된 자이로 센서(미도시) 또는 가속도 센서(미도시)를 이용하여 카메라 모듈(180) 또는 전자 장치(101)의 그런 움직임을 감지할 수 있다. 일 실시 예에 따르면, 이미지 스태빌라이저(240)는, 예를 들면, 광학식 이미지 스태빌라이저로 구현될 수 있다. 메모리(250)는 이미지 센서(230)을 통하여 획득된 이미지의 적어도 일부를 다음 이미지 처리 작업을 위하여 적어도 일시 저장할 수 있다. 예를 들어, 셔터에 따른 이미지 획득이 지연되거나, 또는 복수의 이미지들이 고속으로 획득되는 경우, 획득된 원본 이미지(예: Bayer-patterned 이미지 또는 높은 해상도의 이미지)는 메모리(250)에 저장이 되고, 그에 대응하는 사본 이미지(예: 낮은 해상도의 이미지)는 표시 장치(160)을 통하여 프리뷰될 수 있다. 이후, 지정된 조건이 만족되면(예: 사용자 입력 또는 시스템 명령) 메모리(250)에 저장되었던 원본 이미지의 적어도 일부가, 예를 들면, 이미지 시그널 프로세서(260)에 의해 획득되어 처리될 수 있다. 일 실시 예에 따르면, 메모리(250)는 메모리(130)의 적어도 일부로, 또는 이와는 독립적으로 운영되는 별도의 메모리로 구성될 수 있다.The image stabilizer 240 moves the at least one lens or the image sensor 230 included in the lens assembly 210 in a specific direction in response to the movement of the camera module 180 or the electronic device 101 including the same. An operating characteristic of the image sensor 230 may be controlled (eg, read-out timing may be adjusted). This allows to compensate for at least some of the negative effects of the movement on the image taken. According to one embodiment, the image stabilizer 240, according to one embodiment, the image stabilizer 240 is a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180. Such movement of the camera module 180 or the electronic device 101 can be detected by using the C-type. According to an embodiment, the image stabilizer 240 may be implemented as, for example, an optical image stabilizer. The memory 250 may at least temporarily store at least a portion of the image acquired through the image sensor 230 for the next image processing task. For example, if the image acquisition according to the shutter is delayed or a plurality of images are obtained at high speed, the obtained original image (eg, Bayer-patterned image or high resolution image) is stored in the memory 250. The corresponding copy image (eg, a low resolution image) may be previewed through the display device 160. Thereafter, if a specified condition is satisfied (eg, a user input or a system command), at least a part of the original image stored in the memory 250 may be acquired and processed by, for example, the image signal processor 260. According to an embodiment of the present disclosure, the memory 250 may be configured as a separate memory operated as at least a part of the memory 130 or independently of the memory 130.

이미지 시그널 프로세서(260)는 이미지 센서(230)을 통하여 획득된 이미지 또는 메모리(250)에 저장된 이미지에 대하여 하나 이상의 이미지 처리들을 수행할 수 있다. 상기 하나 이상의 이미지 처리들은, 예를 들면, 깊이 지도(depth map) 생성, 3차원 모델링, 파노라마 생성, 특징점 추출, 이미지 합성, 또는 이미지 보상(예: 노이즈 감소, 해상도 조정, 밝기 조정, 블러링(blurring), 샤프닝(sharpening), 또는 소프트닝(softening)을 포함할 수 있다. 추가적으로 또는 대체적으로, 이미지 시그널 프로세서(260)는 카메라 모듈(180)에 포함된 구성 요소들 중 적어도 하나(예: 이미지 센서(230))에 대한 제어(예: 노출 시간 제어, 또는 리드 아웃 타이밍 제어 등)를 수행할 수 있다. 이미지 시그널 프로세서(260)에 의해 처리된 이미지는 추가 처리를 위하여 메모리(250)에 다시 저장 되거나 카메라 모듈(180)의 외부 구성 요소(예: 메모리(130), 표시 장치(160), 전자 장치(102), 전자 장치(104), 또는 서버(108))로 제공될 수 있다. 일 실시 예에 따르면, 이미지 시그널 프로세서(260)는 프로세서(120)의 적어도 일부로 구성되거나, 프로세서(120)와 독립적으로 운영되는 별도의 프로세서로 구성될 수 있다. 이미지 시그널 프로세서(260)이 프로세서(120)과 별도의 프로세서로 구성된 경우, 이미지 시그널 프로세서(260)에 의해 처리된 적어도 하나의 이미지는 프로세서(120)에 의하여 그대로 또는 추가의 이미지 처리를 거친 후 표시 장치(160)를 통해 표시될 수 있다.The image signal processor 260 may perform one or more image processes on the image obtained through the image sensor 230 or the image stored in the memory 250. The one or more image processes may include, for example, depth map generation, three-dimensional modeling, panorama generation, feature point extraction, image synthesis, or image compensation (eg, noise reduction, resolution adjustment, brightness adjustment, blurring) may include blurring, sharpening, or softening In addition or alternatively, the image signal processor 260 may include at least one of components included in the camera module 180 (eg, an image sensor). Control (eg, exposure time control, read-out timing control, etc.) for the image 230. An image processed by the image signal processor 260 is stored back in the memory 250 for further processing. Or as an external component of the camera module 180 (eg, the memory 130, the display device 160, the electronic device 102, the electronic device 104, or the server 108). According to an example, The group processor 260 may be configured as at least a part of the processor 120, or may be configured as a separate processor operating independently of the processor 120. The image signal processor 260 may be a separate processor from the processor 120. When configured, the at least one image processed by the image signal processor 260 may be displayed through the display device 160 as it is or after additional image processing by the processor 120.

일 실시 예에 따르면, 전자 장치(101)는 각각 다른 속성 또는 기능을 가진 복수의 카메라 모듈(180)들을 포함할 수 있다. 이런 경우, 예를 들면, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 광각 카메라이고, 적어도 다른 하나는 망원 카메라일 수 있다. 유사하게, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 전면 카메라이고, 적어도 다른 하나는 후면 카메라일 수 있다. According to an embodiment of the present disclosure, the electronic device 101 may include a plurality of camera modules 180 having different properties or functions. In this case, for example, at least one of the plurality of camera modules 180 may be a wide angle camera, and at least another may be a telephoto camera. Similarly, at least one of the plurality of camera modules 180 may be a front camera, and at least another may be a rear camera.

도 3은 다양한 실시 예들에 따른 전자 장치의 기능적 구성의 예를 도시한다. 도 4는 다양한 실시 예들에 따른 전자 장치의 자세(posture)의 예를 도시한다. 도 3 및 도 4에 도시된 전자 장치는 도 1의 전자 장치(101)에 상응할 수 있다.3 is a diagram illustrating a functional configuration of an electronic device according to various embodiments of the present disclosure. 4 illustrates an example of a posture of an electronic device according to various embodiments of the present disclosure. The electronic device illustrated in FIGS. 3 and 4 may correspond to the electronic device 101 of FIG. 1.

도 3을 참조하면, 전자 장치(101)는, 센서 모듈(176), 카메라 모듈(180), 프로세서(120), 디스플레이(360), 및 메모리(130)를 포함할 수 있다. Referring to FIG. 3, the electronic device 101 may include a sensor module 176, a camera module 180, a processor 120, a display 360, and a memory 130.

센서 모듈(176)은, 전자 장치(101)의 자세(posture) 또는 자세의 변화를 검출(detect)할 수 있다. 예를 들면, 센서 모듈(176)은, 물리량을 계측하여 전기 신호로 변환하거나 데이터 값을 생성할 수 있다. 센서 모듈(176)은, 상기 전기 신호 또는 데이터 값을 이용하여, 전자 장치(101)의 자세(posture) 또는 자세의 변화를 검출할 수 있다. 센서 모듈(176)은, 자이로 센서(gyro sensor)(301)(또는 자이로스코프(gyroscope)), 중력 센서(302), 또는 가속도 센서(acceleration sensor)(303) 중 적어도 하나를 포함할 수 있다. 자이로 센서(301), 중력 센서(302), 가속도 센서(303), 또는 이들 중 둘 이상의 결합은, 전자 장치(101)의 회전(rotation), 전자 장치(101)의 방향(orientation)의 변화, 또는 전자 장치(101)의 기울기 등을 감지(sense)함으로써, 다양한 실시 예들에 따른 센서 모듈(176)의 동작들을 수행할 수 있다. The sensor module 176 may detect a posture or a change in posture of the electronic device 101. For example, the sensor module 176 may measure a physical quantity and convert it into an electrical signal or generate a data value. The sensor module 176 may detect a posture or a change in posture of the electronic device 101 by using the electrical signal or data value. The sensor module 176 may include at least one of a gyro sensor 301 (or a gyroscope), a gravity sensor 302, or an acceleration sensor 303. The gyro sensor 301, the gravity sensor 302, the acceleration sensor 303, or a combination of two or more thereof may include rotation of the electronic device 101, change in orientation of the electronic device 101, Alternatively, by sensing the tilt of the electronic device 101, the operations of the sensor module 176 according to various embodiments of the present disclosure may be performed.

도 4를 참조하면, 센서 모듈(176)은, 전자 장치(101)가 제1 자세(410)인지 또는 제2 자세(420)인지 여부를 검출할 수 있다. 제1 자세(410)는, 세로 모드(portrait mode)를 나타낼 수 있다. 제2 자세(420)는, 가로 모드(landscape mode)를 나타낼 수 있다. 가로 모드와 세로 모드에서의 전자 장치(101)의 화면 구성은 서로 상이할 수 있다. 가로 모드와 세로 모드에서 전자 장치(101)의 화면에 표시된 객체들은 서로 다르게 배치될 수 있다. 가로 모드와 세로 모드에서 전자 장치(101)의 화면에 표시된 객체들은 서로 다른 종횡비를 가질 수 있다. 제1 자세(410)는, 전자 장치(101)의 하우징의 긴 변과 중력 가속도 방향(gravitational acceleration direction)이 이루는 각도가 0도 내지 45도인 경우일 수 있다. 제2 자세(420)는, 전자 장치(101)의 하우징의 긴 변과 중력 가속도 방향(gravitational acceleration direction)이 이루는 각도가 45도 내지 90도인 경우일 수 있다. 센서 모듈(176)(예: 자이로 센서(301), 중력 센서(302), 또는 가속도 센서(303) 등)은, 전자 장치(101)의 자세를 제1 자세(410) 또는 제2 자세(420) 중 하나로 검출할 수 있다. Referring to FIG. 4, the sensor module 176 may detect whether the electronic device 101 is the first posture 410 or the second posture 420. The first posture 410 may indicate a portrait mode. The second posture 420 may indicate a landscape mode. The screen configurations of the electronic device 101 in the landscape mode and the portrait mode may be different from each other. Objects displayed on the screen of the electronic device 101 in a landscape mode and a portrait mode may be differently disposed. Objects displayed on the screen of the electronic device 101 in the landscape mode and the portrait mode may have different aspect ratios. The first posture 410 may be a case where an angle formed between the long side of the housing of the electronic device 101 and the gravitational acceleration direction is 0 to 45 degrees. The second posture 420 may be a case where an angle formed between the long side of the housing of the electronic device 101 and the gravitational acceleration direction is 45 degrees to 90 degrees. The sensor module 176 (eg, the gyro sensor 301, the gravity sensor 302, the acceleration sensor 303, etc.) may set the posture of the electronic device 101 in the first posture 410 or the second posture 420. Can be detected by one of

일부 실시 예들에서, 전자 장치(101)는, 프로세서(120)의 일부로서 또는 별도로, 센서 모듈(176)을 제어하도록 구성된 보조 프로세서(auxiliary processor)(123)(예: 센서 허브 프로세서)를 더 포함할 수 있다. 센서 모듈(176)은 메인 프로세서(121)가 비활성(inactive)(예: 슬립(sleep)) 상태에 있는 동안에도, 보조 프로세서(123)(예: 센서 허브 프로세서)에 의해 제어될 수 있다. 센서 모듈(176)은, 메인 프로세서(121)가 활성(active)(예: 어플리케이션 실행) 상태에 있는 동안, 보조 프로세서(123) 및/또는 메인 프로세서(121)에 의해 제어될 수 있다. In some embodiments, the electronic device 101 further includes an auxiliary processor 123 (eg, a sensor hub processor) configured to control the sensor module 176 as part of or separately from the processor 120. can do. The sensor module 176 may be controlled by the coprocessor 123 (eg, sensor hub processor) while the main processor 121 is in an inactive (eg, sleep) state. The sensor module 176 may be controlled by the coprocessor 123 and / or the main processor 121 while the main processor 121 is in an active (eg, application execution) state.

카메라 모듈(180)은, 영상을 촬영할 수 있는 장치로서, 전면 카메라(front camera) 또는 후면 카메라(rear camera)를 포함할 수 있다. 카메라 모듈(180)의 이미지 센서(230)는, 외부 객체 또는 피사체에 대응하는 이미지를 획득할 수 있다. 카메라 모듈(180)의 이미지 시그널 프로세서(260)는, 이미지 센서(230)를 통하여 획득된 이미지로부터 특징점을 추출할 수 있다. 상기 특징점 추출 동작은, 전자 장치(101)의 사용자가 전자 장치(101)의 전면(front side)을 바라보는지(gaze) 여부를 식별하기 위해 수행될 수 있다. 상기 전자 장치(101)의 전면은, 디스플레이(360) 또는 전면 카메라가 배치된 면을 나타낼 수 있다. 카메라 모듈(180)은, 예를 들면, 전면 카메라를 통해 이미지를 획득할 수 있고, 획득된 이미지를 분석함으로써 사용자의 얼굴(face) 또는 눈(eye)이 전자 장치(101)의 전면을 향하는지 여부를 검출할 수 있다. 상술한 바와 같은 카메라 모듈(180)(또는 이미지 시그널 프로세서(260)) 동작의 적어도 일부는 프로세서(120)(예: 메인 프로세서(121) 또는 보조 프로세서(123))에 의해 수행될 수도 있다. The camera module 180 is a device capable of capturing an image and may include a front camera or a rear camera. The image sensor 230 of the camera module 180 may acquire an image corresponding to an external object or a subject. The image signal processor 260 of the camera module 180 may extract a feature point from an image obtained through the image sensor 230. The feature point extraction operation may be performed to identify whether a user of the electronic device 101 looks at the front side of the electronic device 101. The front surface of the electronic device 101 may represent a surface on which the display 360 or the front camera is disposed. The camera module 180 may acquire an image through, for example, a front camera, and analyze the acquired image to determine whether a user's face or eye faces the front of the electronic device 101. It can be detected. At least a part of the operation of the camera module 180 (or the image signal processor 260) as described above may be performed by the processor 120 (eg, the main processor 121 or the coprocessor 123).

프로세서(120)는, 전자 장치(101)의 전반적인 동작을 제어할 수 있다. 프로세서(120)는, 다른 구성 요소들(예: 센서 모듈(176), 카메라 모듈(180), 디스플레이(360), 및 메모리(130) 등)의 명령을 수신할 수 있고, 수신된 명령을 해석할 수 있으며, 해석된 명령에 따라서 계산을 수행하거나 데이터를 처리할 수 있다. 프로세서(120)는, 소프트웨어로 구현될 수도 있고, 칩(chip), 회로(circuitry) 등과 같은 하드웨어로 구현될 수도 있으며, 소프트웨어 및 하드웨어의 집합체로 구현될 수도 있다. 프로세서(120)는, 하나일 수도 있고, 복수의 프로세서들의 집합체일 수도 있다. The processor 120 may control overall operations of the electronic device 101. The processor 120 may receive commands from other components (eg, sensor module 176, camera module 180, display 360, memory 130, etc.) and interpret the received commands. You can do calculations or process data according to the interpreted instructions. The processor 120 may be implemented in software, may be implemented in hardware such as a chip, a circuit, or the like, or may be implemented in a collection of software and hardware. The processor 120 may be one or a collection of a plurality of processors.

프로세서(120)는, 전자 장치(101)의 자세(posture)를 모니터링 및 식별(identify)할 수 있다. 프로세서(120)는, 센서 모듈(176)을 이용하여 전자 장치(101)의 자세를 모니터링할 수 있다. 예를 들면, 프로세서(120)는, 자이로 센서(301)(또는 자이로스코프(gyroscope)), 중력 센서(302), 또는 가속도 센서(303) 중 적어도 하나를 이용하여, 전자 장치(101)의 회전(rotation) 또는 전자 장치(101)의 방향(orientation)의 변화를 모니터링할 수 있다. 도 4를 참조하면, 프로세서(120)는, 센서 모듈(176)을 이용하여, 전자 장치(101)가 제1 자세(410)(또는 세로 모드(portrait mode))인지 또는 제2 자세(420)(또는 가로 모드(landscape mode))인지 여부를 식별할 수 있다. 프로세서(120)는, 센서 모듈(176)을 이용하여, 전자 장치(101)의 자세가 제1 자세(410)로부터 제2 자세(420)로 변경되는 것 또는 제2 자세(420)로부터 제1 자세(410)로 변경되는 것을 식별할 수 있다. 상술한 바와 같은 모니터링 및 식별 동작은, 메인 프로세서(121) 또는 보조 프로세서(123)(예: 센서 허브 프로세서)에 의해 수행될 수 있다. 예를 들면, 전자 장치(101)의 화면이 꺼져있거나 전자 장치(101)가 잠금 상태인 경우에도, 보조 프로세서(123)(예: 센서 허브 프로세서)는, 전자 장치(101)의 자세의 변화를 모니터링하고, 전자 장치(101)의 자세를 제1 자세(410) 또는 제2 자세(420) 중 하나로 식별할 수 있다. The processor 120 may monitor and identify a posture of the electronic device 101. The processor 120 may monitor the posture of the electronic device 101 using the sensor module 176. For example, the processor 120 may rotate the electronic device 101 using at least one of a gyro sensor 301 (or a gyroscope), a gravity sensor 302, or an acceleration sensor 303. The rotation or a change in orientation of the electronic device 101 may be monitored. Referring to FIG. 4, the processor 120 uses the sensor module 176 to determine whether the electronic device 101 is in a first posture 410 (or a portrait mode) or a second posture 420. (Or landscape mode) can be identified. The processor 120 uses the sensor module 176 to change the posture of the electronic device 101 from the first posture 410 to the second posture 420 or from the second posture 420 to the first. The change to the posture 410 may be identified. The monitoring and identification operation as described above may be performed by the main processor 121 or the coprocessor 123 (eg, a sensor hub processor). For example, even when the screen of the electronic device 101 is turned off or the electronic device 101 is locked, the coprocessor 123 (for example, the sensor hub processor) may change the posture of the electronic device 101. The electronic device 101 may be monitored and identified as one of the first posture 410 or the second posture 420.

프로세서(120)는, 전자 장치(101)의 사용자가 전자 장치(101)의 전면(front side)(또는 디스플레이(360))을 바라보는지(gaze) 여부를 식별할 수 있다. 예를 들면, 프로세서(120)는, 전자 장치(101)의 자세가 변화하여 지정된 자세(예: 제2 자세(420) 또는 제1 자세(420))로 되는 것 또는 머무는 것을 식별하는 것에 응답하여, 전면 카메라를 활성화하여 사용자가 전자 장치(101)의 전면을 바라보는지(gaze) 여부를 식별할 수 있다. 전자 장치(101)의 자세가 지정된 자세(예: 제2 자세(420) 또는 제1 자세(410))로 변화하는 것을 식별하고 사용자가 전자 장치(101)의 전면을 바라보는 것을 식별하는 것에 기반하여, 사용자의 사진 촬영 의도가 탐지될 수 있다. 상술한 바와 같은 자동적인 탐지를 수행함으로써, 카메라 어플리케이션을 실행하기 위한 사용자의 입력을 우회(bypass)할 수 있다.The processor 120 may identify whether the user of the electronic device 101 looks at the front side (or the display 360) of the electronic device 101. For example, the processor 120 may respond to identifying that the posture of the electronic device 101 changes to become a designated posture (eg, the second posture 420 or the first posture 420) or stays. The front camera may be activated to identify whether the user gazes at the front of the electronic device 101. Based on identifying that the posture of the electronic device 101 changes to a specified posture (eg, the second posture 420 or the first posture 410) and identifying the user looking at the front of the electronic device 101. Thus, the photographing intention of the user can be detected. By performing the automatic detection as described above, it is possible to bypass the user's input for running the camera application.

다양한 실시 예들에서, 프로세서(120)는, 전면 카메라(front camera)를 활성화하고, 전면 카메라를 통해 이미지를 획득하고, 획득된 이미지를 분석함으로써, 사용자의 얼굴(face) 또는 눈(eye)이 전자 장치(101)의 전면을 향하는지 여부를 식별할 수 있다. 프로세서(120)는, 상기 이미지 획득, 분석, 및 시선(gaze) 식별 동작을 수행하는 동안, 상기 동작들과 관련된 화면(예: 카메라 어플리케이션에 관한 화면)을 디스플레이(360)을 통해 표시하지 않을 수 있다. 예를 들면, 프로세서(120)는, 전면 카메라를 통해 이미지를 획득하는 동안, 획득되는 이미지(예: 프리뷰 이미지)를 디스플레이(360)를 통해 표시하지 않을 수 있다. In various embodiments, the processor 120 activates the front camera, acquires an image through the front camera, and analyzes the acquired image so that the user's face or eye is electronically present. It may be identified whether it faces the front of the device 101. The processor 120 may not display a screen (eg, a screen related to a camera application) related to the operations through the display 360 while performing the image acquisition, analysis, and gaze identification operations. have. For example, the processor 120 may not display the acquired image (eg, the preview image) on the display 360 while acquiring the image through the front camera.

일부 실시 예들에서, 프로세서(120)는, 임의의 어플리케이션(예: 메시지 어플리케이션 등)에 관한 화면을 표시하는 동안 심리스하게(seamlessly) 상기 이미지 획득, 분석, 및 시선(gaze) 식별 동작을 수행할 수 있다. 다른 일부 실시 예들에서, 메인 프로세서(121)가 비활성(inactive)(예: 슬립(sleep)) 상태인 동안에도, 보조 프로세서(123)(예: 이미지 시그널 프로세서)에 의해 상기 이미지 획득, 분석, 및 시선(gaze) 식별 동작이 수행될 수 있다. 예를 들면, 전자 장치(101)의 화면이 꺼져있거나 전자 장치(101)가 잠금 상태인 동안에도, 보조 프로세서(123)(예: 이미지 시그널 프로세서)는, 전면 카메라를 활성화하여 사용자가 전자 장치(101)의 전면을 바라보는지 여부를 식별할 수 있다. In some embodiments, processor 120 may perform the image acquisition, analysis, and gaze identification operations seamlessly while displaying a screen relating to any application (eg, a message application, etc.). have. In some other embodiments, while the main processor 121 is in an inactive (eg, sleep) state, the image acquisition, analysis, and, by the coprocessor 123 (eg, an image signal processor), and A gaze identification operation may be performed. For example, even while the screen of the electronic device 101 is turned off or the electronic device 101 is locked, the coprocessor 123 (eg, an image signal processor) activates the front camera so that the user may activate the electronic device ( It is possible to identify whether or not to look at the front of 101).

프로세서(120)는, 전자 장치(101)의 자세가 지정된 자세(예: 제2 자세(420) 또는 제1 자세(410))로 변화하고 사용자가 전자 장치(101)의 전면을 바라보는 것을 식별하는 것에 기반하여, 사용자의 사진 촬영 의도를 식별(또는 결정)할 수 있다. 프로세서(120)는, 전자 장치(101)의 자세가 지정된 자세(예: 제2 자세(420) 또는 제1 자세(410))로 변화하고 사용자가 전자 장치(101)의 전면을 바라보는 것을 식별하는 것에 응답하여, 카메라 어플리케이션을 실행할 수 있다. 예를 들면, 프로세서(120)는, 상기 식별에 응답하여, 후면 카메라를 활성화하고, 후면 카메라를 통해 획득되는 이미지에 대한 프리뷰 이미지를 디스플레이(360)를 통해 표시할 수 있다. 다만 이에 한정되지 않으며, 프로세서(120)는, 상기 식별에 응답하여, 전면 카메라를 활성화하고, 전면 카메라를 통해 획득되는 이미지에 대한 프리뷰 이미지를 디스플레이(360)를 통해 표시할 수도 있다. 예를 들면, 전자 장치(101) 또는 디스플레이(360)의 유휴(idle) 상태(예: 화면이 꺼져 있는(turn off) 상태 또는 AOD(always on display)가 표시된 상태 등)에서, 사용자의 사진 촬영 의도를 식별하는 것에 응답하여, 프로세서(120)는, 자동으로 디스플레이(360)을 활성화하고(예: turn on), 카메라 어플리케이션 실행 화면을 표시할 수 있다.The processor 120 identifies that the posture of the electronic device 101 changes to a designated posture (for example, the second posture 420 or the first posture 410) and that the user looks at the front of the electronic device 101. Based on the user's intent to identify (or determine) the user's photography intent. The processor 120 identifies that the posture of the electronic device 101 changes to a designated posture (for example, the second posture 420 or the first posture 410) and that the user looks at the front of the electronic device 101. In response, the camera application can be executed. For example, in response to the identification, the processor 120 may activate the rear camera and display a preview image on the display 360 for an image acquired through the rear camera. However, the present disclosure is not limited thereto, and in response to the identification, the processor 120 may activate the front camera and display a preview image of the image acquired through the front camera on the display 360. For example, taking a picture of a user in an idle state of the electronic device 101 or the display 360 (for example, when the screen is turned off or always on display is displayed). In response to identifying the intent, processor 120 may automatically activate (eg, turn on) display 360 and display a camera application execution screen.

디스플레이(360)는, 전자 장치(101)의 화면을 표시할 수 있다. 디스플레이(360)는, 다양한 종류의 정보를 표시할 수 있다. 디스플레이(360)는, 임의의 어플리케이션과 관련된 사용자 인터페이스를 표시할 수 있다. 디스플레이(360)는, 카메라 어플리케이션과 관련된 사용자 인터페이스를 표시하고, 상기 사용자 인터페이스를 통해, 카메라 모듈(180)을 통해 획득되는 프리뷰 이미지를 표시할 수 있다. 디스플레이(360)은, 도 1의 표시 장치(160)에 상응할 수 있다. The display 360 may display a screen of the electronic device 101. The display 360 may display various kinds of information. The display 360 can display a user interface associated with any application. The display 360 may display a user interface related to a camera application, and may display a preview image acquired through the camera module 180 through the user interface. The display 360 may correspond to the display device 160 of FIG. 1.

메모리(130)는, 하나 이상의 메모리 집합을 의미할 수 있다. 메모리(130)는, 프로세서(120)와의 시그널링에 기반하여 메모리(130)에 저장된 명령어들을 실행할 수 있다. 메모리(130)은, 다른 구성 요소들(예: 센서 모듈(176), 카메라 모듈(180), 디스플레이(360), 또는 프로세서(120))로부터 수신되거나 다른 구성 요소들에 의해 생성된 데이터 및/또는 명령을 저장할 수 있다. 다양한 실시 예들에서, 메모리(130)는, 카메라 모듈(180)의 이미지 센서(230)를 통해 획득된 이미지를 저장(또는 임시적으로(temporarily) 저장)할 수 있다. 예를 들면, 메모리(130)는, 사용자가 전자 장치(101)의 전면(front side)을 바라보는지(gaze) 여부를 식별하기 위해 전면 카메라를 통해 획득된 이미지를 임시적으로 저장할 수 있다. The memory 130 may mean one or more memory sets. The memory 130 may execute instructions stored in the memory 130 based on signaling with the processor 120. Memory 130 may include data received from or generated by other components (eg, sensor module 176, camera module 180, display 360, or processor 120) and / or Or you can save the command. In various embodiments, the memory 130 may store (or temporarily store) an image acquired through the image sensor 230 of the camera module 180. For example, the memory 130 may temporarily store an image obtained through the front camera to identify whether the user gazes at the front side of the electronic device 101.

상술한 바와 같은 다양한 실시 예들에 따른 전자 장치(예: 전자 장치(101))는, 하우징, 상기 하우징의 제1 면(예: 전면)의 적어도 일부를 통해 노출된 디스플레이(예: 디스플레이(360), 표시 장치(160)), 상기 하우징의 상기 제1 면의 적어도 다른 일부를 통해 노출된 제1 카메라(예: 전면 카메라, 카메라 모듈(180)), 상기 하우징의 상기 제1 면의 반대인(opposite to) 상기 하우징의 제2 면(예: 후면)의 적어도 일부를 통해 노출된 제2 카메라(예: 후면 카메라, 카메라 모듈(180)), 명령어들을 저장하고 상기 하우징 내에 배치되는 메모리(예: 메모리(130)), 상기 하우징 내에 배치되는 센서 모듈(예: 센서 모듈(176), 자이로 센서(301), 중력 센서(302), 또는 가속도 센서(303)), 및 상기 하우징 내에 배치되는 적어도 하나의 프로세서(예: 프로세서(120))를 포함하고, 상기 적어도 하나의 프로세서는, 상기 명령어들을 실행할 시(when executing the instructions), 상기 센서 모듈을 이용하여 상기 전자 장치의 자세(posture)를 모니터링하고, 상기 전자 장치의 자세가 지정된 자세로 변경됨을 식별하고, 상기 식별에 응답하여, 상기 제1 카메라를 이용하여 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하고, 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 활성 상태로 전환하고, 상기 활성 상태에 있는 상기 제2 카메라를 통해 획득되는 이미지에 대한 프리뷰 이미지를 카메라 어플리케이션의 사용자 인터페이스 안에서 표시하도록 상기 디스플레이를 제어하도록 설정될 수 있다. As described above, the electronic device (eg, the electronic device 101) according to various embodiments of the present disclosure may include a display (eg, the display 360) exposed through at least a portion of the housing and the first surface (eg, the front surface) of the housing. , A first camera (eg, a front camera, a camera module 180) exposed through at least another portion of the first surface of the housing, the display device 160 being opposite to the first surface of the housing ( opposite to) a second camera (eg rear camera, camera module 180) exposed through at least a portion of a second side (eg rear) of the housing, a memory (e.g., placed in the housing) that stores instructions Memory 130, a sensor module (eg, sensor module 176, gyro sensor 301, gravity sensor 302, or acceleration sensor 303) disposed within the housing, and at least one disposed within the housing. A processor (eg, processor 120), wherein the at least one The processor, when executing the instructions, monitors the posture of the electronic device using the sensor module, identifies that the posture of the electronic device is changed to a specified posture, and identifies the identification. In response, identifying whether the face of the user faces the first face using the first camera, and recognizing the state of the second camera in response to identifying the face of the user facing the first face. Switch to an active state, and control the display to display a preview image for an image acquired through the second camera in the active state within a user interface of a camera application.

다양한 실시 예들에서, 상기 프로세서는, 상기 명령어들을 실행할 시(when executing the instructions), 상기 사용자의 얼굴이 상기 제1 면을 향하지 않음을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 비활성 상태로 유지하도록 더 설정될 수 있다. In various embodiments, the processor, when executing the instructions, maintains the state of the second camera in an inactive state in response to identifying that the face of the user does not face the first face. It can be further set to.

다양한 실시 예들에서, 상기 프로세서는, 상기 명령어들을 실행할 시, 상기 사용자의 얼굴이 상기 제1 면을 향하지 않음을 식별하는 것에 응답하여 상기 디스플레이 상에서 제공되고 있는(being provided) 화면의 표시를 유지하도록 더 설정될 수 있다. In various embodiments, the processor is further configured to, when executing the instructions, maintain a display of a screen provided on the display in response to identifying that the user's face is not facing the first side. Can be set.

다양한 실시 예들에서, 상기 프로세서는, 상기 명령어들을 실행할 시, 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 전자 장치가 제1 지정된 상태인지 여부를 식별하고, 상기 전자 장치가 상기 제1 지정된 상태임을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 상기 활성 상태로 전환하도록 더 설정될 수 있다. 예를 들면, 상기 제1 지정된 상태는, 상기가 전자 장치가 홈 화면을 표시하는 상태, 상기 전자 장치가 잠금 화면을 표시하는 상태, 상기 전자 장치의 화면이 꺼져있는 상태, 상기 전자 장치의 아이들(idle) 상태, 또는 상기 전자 장치에 AOD(always on display)가 표시된 상태 중 적어도 하나를 포함할 수 있다. In various embodiments of the present disclosure, when executing the instructions, the processor identifies whether the electronic device is in a first designated state in response to identifying that the face of the user faces the first surface, And in response to identifying the first designated state, the state of the second camera may be set to the active state. For example, the first designated state may include a state in which the electronic device displays a home screen, a state in which the electronic device displays a lock screen, a state in which the screen of the electronic device is turned off, and an idle state of the electronic device. or at least one of an idle state or an AOD (always on display) displayed on the electronic device.

다양한 실시 예들에서, 상기 프로세서는, 상기 명령어들을 실행할 시, 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 전자 장치가 제2 지정된 상태인지 여부를 식별하고, 상기 전자 장치가 상기 제2 지정된 상태임을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 비활성 상태로 유지하도록 더 설정될 수 있다. 예를 들면, 상기 제2 지정된 상태는, 상기 전자 장치가 동영상을 재생하는 상태, 상기 전자 장치가 게임 어플리케이션을 전면으로(in a foreground) 실행하는 상태, 상기 전자 장치가 내비게이션 어플리케이션을 전면으로 실행하는 상태, 또는 상기 전자 장치가 웹 브라우저를 전면으로 실행하는 상태 중 적어도 하나를 포함할 수 있다. In various embodiments of the present disclosure, when executing the instructions, the processor identifies whether the electronic device is in a second designated state in response to identifying that the face of the user faces the first surface, And in response to identifying the second specified state, maintain the state of the second camera in an inactive state. For example, the second specified state may include a state in which the electronic device plays a video, a state in which the electronic device executes a game application in a foreground, and the electronic device executes a navigation application in the foreground. A state, or a state in which the electronic device executes a web browser to the front.

다양한 실시 예들에서, 상기 프로세서는, 상기 명령어들을 실행할 시, 상기 전자 장치가 메신저 어플리케이션 또는 메시지 어플리케이션을 전면으로 실행하는 동안 상기 전자 장치의 자세가 상기 지정된 자세로 변경되고 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여, 상기 제2 카메라의 상태를 상기 활성 상태로 전환하고, 상기 제2 카메라를 통해 획득되는 이미지를 촬영하는 것에 응답하여, 사용자 입력에 기반하여 상기 메신저 어플리케이션 또는 메시지 어플리케이션을 통해 상기 촬영된 이미지를 첨부하도록 설정될 수 있다. In various embodiments of the present disclosure, when executing the instructions, the processor may change the posture of the electronic device to the designated posture while the electronic device executes a messenger application or a message application to the front, and the face of the user may be changed to the first posture. In response to identifying the face facing, switching the state of the second camera to the active state, and in response to photographing an image obtained through the second camera, the messenger application or message based on a user input. The application may be set to attach the photographed image.

다양한 실시 예들에서, 상기 지정된 자세는, 상기 전자 장치가 가로 모드인 자세 또는 상기 제1 면이 중력 가속도 방향으로부터 지정된 범위 이내의 각도를 이루는 자세 중 적어도 하나를 포함할 수 있다. According to various embodiments of the present disclosure, the specified posture may include at least one of a posture in which the electronic device is in a landscape mode or a posture in which the first surface forms an angle within a specified range from a gravity acceleration direction.

다양한 실시 예들에서, 상기 전자 장치는 자이로 센서(예: 자이로 센서(301))를 더 포함하고, 상기 프로세서는, 상기 명령어들을 실행할 시, 상기 자이로 센서를 이용하여 상기 전자 장치의 방향 또는 상기 전자 장치의 기울기가 변화하는 것을 식별하고, 상기 식별에 응답하여, 상기 전자 장치가 상기 지정된 자세로 지정된 시간 동안 유지됨을 식별하는 것에 응답하여, 상기 제1 카메라를 이용하여 상기 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하도록 설정될 수 있다. In various embodiments of the present disclosure, the electronic device further includes a gyro sensor (for example, a gyro sensor 301), and when the processor executes the instructions, the electronic device uses the gyro sensor to orient the electronic device. In response to identifying that the slope of e < ' > changes and in response to identifying that the electronic device is held for the designated time in the designated posture, the face of the user is displayed on the first surface using the first camera. It may be set to identify whether or not.

다양한 실시 예들에서, 상기 프로세서는, 상기 명령어들을 실행할 시, 상기 제1 카메라를 이용하여 상기 사용자의 얼굴이 지정된 시간 동안 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 활성 상태로 전환하도록 더 설정될 수 있다. In various embodiments, the processor, when executing the instructions, activates the state of the second camera in response to identifying, using the first camera, that the face of the user faces the first face for a specified time. It may be further set to switch to a state.

다양한 실시 예들에서, 상기 프로세서는, 상기 명령어들을 실행할 시, 상기 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하기 위해, 상기 제1 카메라를 이용하여 획득된 이미지에 대하여 시선 추적(eye tracking) 또는 얼굴 구성 요소 추출을 수행하도록 더 설정될 수 있다. In various embodiments, the processor may, when executing the instructions, eye tracking the image obtained using the first camera to identify whether the face of the user faces the first surface. Or may be further set to perform facial component extraction.

도 5는 다양한 실시 예들에 따른 전자 장치의 동작의 예를 도시한다. 도 5에 도시된 동작들은, 전자 장치(101)(예: 프로세서(120)))에 의해 수행될 수 있다. 5 illustrates an example of an operation of an electronic device according to various embodiments of the present disclosure. The operations shown in FIG. 5 may be performed by the electronic device 101 (eg, the processor 120).

도 5를 참조하면, 동작 501에서, 프로세서(120)는, 센서 모듈(176)을 이용하여 전자 장치(101)의 자세(posture)를 모니터링할 수 있다. 예를 들면, 프로세서(120)는, 자이로 센서(301), 중력 센서(302), 또는 가속도 센서(303) 중 적어도 하나를 이용하여, 전자 장치(101)의 회전(rotation), 전자 장치(101)의 방향(orientation)의 변화, 또는 전자 장치(101)의 기울기를 모니터링함으로써, 전자 장치(101)의 자세의 변화를 식별할 수 있다. Referring to FIG. 5, in operation 501, the processor 120 may monitor a posture of the electronic device 101 using the sensor module 176. For example, the processor 120 uses at least one of the gyro sensor 301, the gravity sensor 302, or the acceleration sensor 303 to rotate the electronic device 101 and the electronic device 101. The change in the attitude of the electronic device 101 can be identified by monitoring the change in the orientation of) or the inclination of the electronic device 101.

프로세서(120)는, 활성 상태이거나 비활성 상태인 경우에도, 전자 장치(101)의 자세의 변화를 모니터링할 수 있다. 예를 들면, 메인 프로세서(121)가 비활성(inactive)(예: 슬립(sleep)) 상태에 있는 동안에도, 보조 프로세서(123)(예: 센서 허브 프로세서)는, 전자 장치(101)의 자세의 변화를 검출하도록 센서 모듈(176)을 제어할 수 있다. 프로세서(120)는, 임의의 어플리케이션(예: 메시지 어플리케이션 등)을 실행하는 활성 상태에 있는 동안, 전자 장치(101)의 자세의 변화를 검출하도록 센서 모듈(176)을 제어할 수 있다. The processor 120 may monitor a change in the posture of the electronic device 101 even when the processor 120 is in an active state or an inactive state. For example, while the main processor 121 is in an inactive (eg, sleep) state, the coprocessor 123 (eg, a sensor hub processor) may be in a position of the electronic device 101. The sensor module 176 can be controlled to detect a change. The processor 120 may control the sensor module 176 to detect a change in posture of the electronic device 101 while in the active state of executing any application (eg, a message application).

일부 실시 예들에서, 프로세서(120)는, 전자 장치(101)가 지정된 상태인 경우에만 전자 장치(101)의 자세의 변화를 모니터링할 수 있다. 예를 들면, 프로세서(120)는, 전자 장치(101)가 홈 화면을 표시하는 동안, 전자 장치(101)가 잠금 화면을 표시하는 동안, 전자 장치(101)의 화면이 꺼져 있는 동안(예: 아이들(idle) 상태 또는 AOD(always on display) 상태), 또는 지정된 어플리케이션(예: 메신저 어플리케이션, 메시지 어플리케이션 등)을 전면으로(in a foreground) 실행하는 동안 중 하나인 경우에 전자 장치(101)의 자세의 변화를 모니터링할 수 있다. 다만 이에 한정되지 않는다. In some embodiments, the processor 120 may monitor a change in posture of the electronic device 101 only when the electronic device 101 is in a designated state. For example, the processor 120 may display the electronic device 101 while the electronic device 101 displays the home screen, while the electronic device 101 displays the lock screen, and while the screen of the electronic device 101 is turned off (eg, The electronic device 101 in the idle state or always on display (AOD) state, or during execution of a specified application (e.g., a messenger application, a message application, etc.) in the foreground. You can monitor your posture changes. However, the present invention is not limited thereto.

동작 502에서, 프로세서(120)는, 전자 장치(101)의 자세가 변경됨을 식별할 수 있다. 예를 들면, 프로세서(120)는, 센서 모듈(176)(예: 자이로 센서(301)(또는 자이로스코프(gyroscope)))을 통해, 전자 장치(101)의 방향(orientation)이 변화하는 것을 식별할 수 있다. In operation 502, the processor 120 may identify that the posture of the electronic device 101 is changed. For example, the processor 120 identifies that the orientation of the electronic device 101 changes via a sensor module 176 (eg, a gyro sensor 301 (or a gyroscope)). can do.

동작 503에서, 프로세서(120)는, 전자 장치의 자세가 지정된 자세로 변경되었는지 여부를 식별할 수 있다. 지정된 자세는, 사용자의 사진 촬영 의도를 탐지(또는 식별)하기 위한 자세일 수 있다. 예를 들면, 지정된 자세는, 제2 자세(420)(또는 가로 모드(landscape mode))일 수 있다. 다른 예를 들면, 지정된 자세는, 전자 장치(101)가 가로 모드이면서 동시에 전자 장치(101)의 전면(front side)이 아래나 위를 바라보지 않는 상태를 나타낼 수도 있다. 또 다른 예를 들면, 지정된 자세는, 전자 장치(101)의 전면이, 중력 가속도 방향으로부터 지정된 범위 이내의 각도를 이루는 경우(즉, 전자 장치(101)가 누워져 있지 않고 세워져 있는 경우)를 나타낼 수도 있다. 다만 이에 한정되지 않으며, 지정된 자세는, 제1 자세(410)(또는 세로 모드(portrait mode))일 수도 있으며, 사용자의 사진 촬영 의도를 탐지하기 위한 전자 장치(101)의 어떠한 자세도 포함할 수 있다. In operation 503, the processor 120 may identify whether the posture of the electronic device is changed to the designated posture. The designated posture may be a posture for detecting (or identifying) a photographing intention of the user. For example, the designated posture may be the second posture 420 (or landscape mode). For another example, the designated posture may indicate a state in which the electronic device 101 is in a landscape mode and at the same time, the front side of the electronic device 101 does not look downward or upward. As another example, the designated posture indicates a case in which the front surface of the electronic device 101 forms an angle within a specified range from the gravity acceleration direction (that is, when the electronic device 101 is not lying down and is standing up). It may be. However, the present invention is not limited thereto, and the designated posture may be the first posture 410 (or a portrait mode), and may include any posture of the electronic device 101 for detecting a photographing intention of the user. have.

일부 실시 예들에서, 프로세서(120)는, 전자 장치(101)의 자세가 제1 자세(410)(또는 세로 모드(portrait) 모드)로부터 제2 자세(420)(또는 가로 모드(landscape) 모드)로 변경되는 것을 식별할 수 있다. 다만, 이에 한정되지 않는다. 다른 일부 실시 예들에서, 프로세서(120)는, 전자 장치(101)의 전면이 아래나 위를 바라보다가, 이후 전자 장치(101)가 세워지는 것(또는 세워지면서 동시에 가로 모드인 것)을 식별할 수도 있다. 또 다른 일부 실시 예들에서, 프로세서(120)는, 전자 장치(101)의 방향이 변화하거나 전자 장치(101)의 기울기가 변화하는 것을 식별한 뒤, 전자 장치(101)가 지정된 자세(예: 제2 자세(420) 등)로 머무는 것을 식별할 수도 있다. 예를 들면, 반드시 세로 모드로부터 가로 모드로의 변경이 요구되지 않으며, 가로 모드로부터 전자 장치의 기울기가 변화한 뒤, 가로 모드로 유지되더라도, 사용자의 사진 촬영 의도를 나타내기 위한 자세로 식별될 수 있다. 예를 들어, 사용자가 전자 장치(101)를 (예를 들면, 책상에) 눕힌 상태로 가로 모드로 사용하다가, 사진을 촬영하기 위해 전자 장치(101)를 들어 (즉, 전자 장치(101)의 기울기를 변화시켜) 가로 모드를 유지하더라도, 전자 장치(101)는 사용자의 사진 촬영 의도를 식별할 수 있다. 또 다른 일부 실시 예들에서, 프로세서(120)는, 전자 장치(101)의 자세가 제2 자세(420)(또는 가로(landscape) 모드)로부터 제1 자세(410)(또는 세로(portrait) 모드)로 변경되는 것에 기반하여 사용자의 사진 촬영 의도를 식별할 수도 있다.In some embodiments, the processor 120 is configured such that the posture of the electronic device 101 is changed from the first posture 410 (or the portrait mode) to the second posture 420 (or the landscape mode). It can be identified that changes to. However, the present invention is not limited thereto. In some other embodiments, the processor 120 identifies that the front of the electronic device 101 faces down or up, and then the electronic device 101 stands up (or stands up and in landscape mode at the same time). You may. In some other embodiments, the processor 120 identifies that the direction of the electronic device 101 changes or the tilt of the electronic device 101 changes, and then the electronic device 101 has a designated posture (for example, Two postures 420, etc.). For example, the change from the portrait mode to the landscape mode is not necessarily required, and even after the inclination of the electronic device is changed from the landscape mode to the landscape mode, it may be identified as a posture for indicating the user's intention to take a picture. have. For example, when the user uses the electronic device 101 in a horizontal mode while lying down (for example, on a desk), the user lifts the electronic device 101 to take a picture (that is, the electronic device 101 of the device 101). Even if the landscape mode is maintained by changing the inclination, the electronic device 101 can identify the user's intention to take a picture. In some other embodiments, the processor 120 may display the electronic device 101 in a position from the second pose 420 (or landscape mode) to the first pose 410 (or portrait mode). The intention of photographing a user may be identified based on being changed to.

동작 503에서 전자 장치(101)가 지정된 자세(즉, 사진을 촬영하기 위한 지정된 자세)로 변경된 경우, 프로세서(120)는, 동작 504로 진행하여 사용자가 전자 장치(101)를 바라보는지 여부를 식별하기 위해, 제1 카메라(예: 전면 카메라(front camera))를 활성화할 수 있다. If the electronic device 101 is changed to a designated posture (that is, a designated posture for taking a picture) in operation 503, the processor 120 proceeds to operation 504 to identify whether the user looks at the electronic device 101. In order to do so, a first camera (eg, a front camera) may be activated.

동작 504에서, 프로세서(120)는, 제1 카메라를 이용하여 사용자의 얼굴이 전자 장치의 제1 면을 향하는지 여부를 식별할 수 있다. 제1 카메라는 전면 카메라를 나타낼 수 있으며, 제1 면은 전자 장치(101)의 전면을 나타낼 수 있다. 전자 장치(101)의 전면은, 디스플레이(360)이 배치된 면 또는 전면 카메라가 노출된 면을 나타낼 수 있다. 프로세서(120)는, 전자 장치(101)의 자세가 지정된 자세로 변경됨을 식별하는 것에 응답하여, 제1 카메라를 활성화하고, 제1 카메라를 통해 획득된 이미지를 분석함으로써, 사용자의 눈(eye) 또는 얼굴(face)이 전자 장치(101)를 바라보는지(gazing) 여부를 식별할 수 있다. 예를 들면, 프로세서(120)는, 시선 추적(eye tracking) 또는 얼굴 구성 요소의 추출을 통해, 사용자의 얼굴(face) 또는 눈(eye)이 전자 장치(101)의 제1 면을 향하는지 여부를 식별할 수 있다. In operation 504, the processor 120 may identify whether the face of the user faces the first surface of the electronic device using the first camera. The first camera may represent a front camera, and the first surface may represent a front surface of the electronic device 101. The front surface of the electronic device 101 may represent a surface on which the display 360 is disposed or a surface on which the front camera is exposed. The processor 120 activates the first camera and analyzes an image obtained through the first camera in response to identifying that the posture of the electronic device 101 changes to a specified posture, thereby causing an eye of the user. Alternatively, it may be identified whether a face looks at the electronic device 101. For example, the processor 120 may determine whether a user's face or eye faces the first surface of the electronic device 101 through eye tracking or extraction of facial components. Can be identified.

동작 505에서 사용자의 얼굴이 전자 장치(101)의 제1 면을 향함을 식별하는 것에 응답하여, 프로세서(120)는, 사용자가 사진을 촬영할 의도임을 식별하고 동작 506으로 진행하여 카메라 어플리케이션을 실행할 수 있다. 예를 들면, 프로세서(120)는, 사용자의 얼굴(또는 시선)이 지정된 시간(예: 0.1초, 0.5초, 1초 등) 동안 전자 장치(101)의 전면을 향하는 것을 식별하는 것에 응답하여, 카메라 어플리케이션을 실행할 수 있다. 예를 들면, 프로세서(120)는, 전자 장치(101)의 자세가 지정된 자세이고 사용자가 전자 장치(101)의 전면을 바라보는 상태가, 지정된 시간 동안 유지되는 것을 식별하는 것에 응답하여, 카메라 어플리케이션을 실행할 수 있다. In response to identifying that the user's face faces the first side of the electronic device 101 in operation 505, the processor 120 may identify that the user intends to take a picture and proceed to operation 506 to execute the camera application. have. For example, the processor 120, in response to identifying that the user's face (or gaze) faces the front of the electronic device 101 for a specified time (eg, 0.1 second, 0.5 second, 1 second, etc.), You can run the camera application. For example, the processor 120 may respond to identifying that the posture of the electronic device 101 is a specified posture and that the state in which the user looks at the front of the electronic device 101 is maintained for a specified time. You can run

동작 506에서, 프로세서(120)는, 제2 카메라를 활성화할 수 있다. 제2 카메라는 후면 카메라(rear)를 나타낼 수 있다. In operation 506, the processor 120 may activate the second camera. The second camera may represent a rear camera.

동작 507에서, 프로세서(120)는, 제2 카메라를 통해 획득되는 이미지를, 카메라 어플리케이션의 사용자 인터페이스 안에서, 프리뷰 이미지로써 표시할 수 있다. 다만 이에 한정되지 않으며, 프로세서(120)는, 제1 카메라(또는 전면 카메라)를 통해 획득되는 이미지를, 카메라 어플리케이션의 사용자 인터페이스 안에서, 프리뷰 이미지로써 표시할 수도 있다. In operation 507, the processor 120 may display an image acquired through the second camera as a preview image in a user interface of the camera application. However, the present invention is not limited thereto, and the processor 120 may display an image acquired through the first camera (or the front camera) as a preview image in the user interface of the camera application.

일부 실시 예들에서, 상술한 바와 같은 동작들은, 전자 장치(101)가 제1 지정된 상태인 경우에만 수행될 수 있다. 예를 들면, 동작 501 내지 동작 507 중 적어도 하나는, 전자 장치(101)가 홈 화면을 표시하는 동안, 전자 장치(101)가 잠금 화면을 표시하는 동안, 전자 장치(101)의 화면이 꺼져 있는 동안(예: 아이들(idle) 상태 또는 AOD(always on display) 상태), 또는 지정된 어플리케이션(예: 메신저 어플리케이션, 메시지 어플리케이션 등)을 전면으로(in a foreground) 실행하는 동안 중 하나인 경우에만 수행될 수 있다. In some embodiments, the above-described operations may be performed only when the electronic device 101 is in the first designated state. For example, at least one of operations 501 to 507 may indicate that the screen of the electronic device 101 is turned off while the electronic device 101 displays the lock screen while the electronic device 101 displays the home screen. Only during the execution of an application (eg, idle state or always on display), or a specified application (eg messenger application, message application, etc.) in the foreground. Can be.

다른 일부 실시 예들에서, 상술한 바와 같은 동작들은, 전자 장치(101)가 제2 지정된 상태인 경우에는 수행되지 않을(또는 비활성화될) 수 있다. 제2 지정된 상태는, 현재 디스플레이(360)에 표시되는 화면을 유지할 필요가 있는 경우(또는 전면으로 실행 중인 어플리케이션을 유지할 필요가 있는 경우)일 수 있다. 예를 들면, 제2 지정된 상태는, 동영상을 재생하는 상태, 게임 어플리케이션을 전면으로 실행하는 상태, 내비게이션 어플리케이션을 전면으로 실행하는 상태, 또는 웹 브라우저를 전면으로 실행하는 상태 중 적어도 하나를 포함할 수 있다. 예를 들면, 동작 501 내지 동작 507 중 적어도 하나는, 전자 장치(101)가 동영상을 재생하는 동안, 게임 어플리케이션을 전면으로 실행하는 동안, 내비게이션 어플리케이션을 전면으로 실행하는 동안, 또는 웹 브라우저를 전면으로 실행하는 동안에는 수행되지 않을 수 있다. 예를 들면, 프로세서(120)는, 제2 지정된 상태인 경우, 전자 장치(101)의 자세가 지정된 자세로 변경되는 것을 식별하지 않거나, 또는, 사용자의 얼굴이 전자 장치(101)의 제1 면을 향하는지 여부를 식별하지 않을 수 있다. In some embodiments, the above-described operations may not be performed (or deactivated) when the electronic device 101 is in the second specified state. The second designated state may be when it is necessary to maintain a screen currently displayed on the display 360 (or when it is necessary to maintain an application running in front). For example, the second specified state may include at least one of a state of playing a video, a state of running a game application in front, a state of running a navigation application in front, or a state of running a web browser in front. have. For example, at least one of operations 501 to 507 may include: while the electronic device 101 plays a video, while executing a game application to the front, while executing a navigation application to the front, or when the web browser is displayed to the front. It may not be performed during execution. For example, when the second state is specified, the processor 120 does not identify that the posture of the electronic device 101 changes to the designated posture, or the user's face is the first surface of the electronic device 101. It may not identify whether it is facing.

상술한 바와 같이, 프로세서(120)는, 전자 장치(101)의 자세가 지정된 자세로 변경되고 사용자의 시선이 전자 장치(101)의 화면을 향하는 것을 식별하는 것에 기반하여, 사용자의 사진 촬영 의도를 탐지할 수 있고, 사용자의 입력 없이 심리스하게(seamlessly) 카메라 어플리케이션을 실행할 수 있다. As described above, the processor 120 changes the posture of the electronic device 101 to the designated posture and identifies the user's intention to take a picture based on identifying that the user's gaze faces the screen of the electronic device 101. It can detect and execute camera applications seamlessly without user input.

도 6은 다양한 실시 예들에 따른 전자 장치의 설정 화면의 예를 도시한다. 도 6에 도시된 화면은, 전자 장치(101)의 디스플레이(360)을 통해 표시될 수 있다. 6 illustrates an example of a setting screen of an electronic device according to various embodiments of the present disclosure. The screen illustrated in FIG. 6 may be displayed through the display 360 of the electronic device 101.

도 6을 참조하면, 전자 장치(101)는 사용자 입력에 기반하여 설정 화면(600)에 진입할 수 있다. 전자 장치(101)는, 설정 화면(600)을 통해, 다양한 실시 예들에 따른 사용자의 촬영 의도를 자동으로 탐지(detect)하기 위한 기능을 켜거나 끌 수 있다. 예를 들면, 전자 장치(101)는, 설정 화면(600) 내에 표시된 객체(605)에 대한 사용자 입력에 기반하여, 다양한 실시 예들에 따른 사용자의 촬영 의도를 탐지(detect)하기 위한 기능을 켜거나 끌 수 있다. 상기 기능이 비활성화된 경우, 전자 장치(101)의 자세가 지정된 자세로 변경되고 사용자의 시선이 전자 장치(101)의 화면을 향하더라도, 자동으로 카메라 어플리케이션이 실행되지 않을 수 있다. Referring to FIG. 6, the electronic device 101 may enter the setting screen 600 based on a user input. The electronic device 101 may turn on or off a function for automatically detecting a shooting intention of the user according to various embodiments through the setting screen 600. For example, the electronic device 101 may turn on or off a function for detecting a shooting intention of the user according to various embodiments, based on a user input for the object 605 displayed in the setting screen 600. Can be turned off. When the function is deactivated, the camera application may not be automatically executed even when the posture of the electronic device 101 is changed to a specified posture and the user's eyes are directed to the screen of the electronic device 101.

도 7은 다양한 실시 예들에 따른 전자 장치의 동작이 수행되는 상황의 예를 도시한다. 도 7에 도시된 전자 장치는, 전자 장치(101)에 상응할 수 있다. 7 illustrates an example in which an operation of an electronic device is performed according to various embodiments of the present disclosure. The electronic device illustrated in FIG. 7 may correspond to the electronic device 101.

도 7을 참조하면, 전자 장치(101)는, 상황 710에서, 상대방(즉, 다른 전자 장치의 사용자)과 메시지를 주고 받기 위한 화면(711)을 표시할 수 있다. 화면(711)은, 예를 들면, 메시지 어플리케이션 또는 메신저 어플리케이션의 사용자 인터페이스를 나타낼 수 있다. 전자 장치(101)는, 화면(711)을 표시한 상태에서 전자 장치(101)의 자세가 지정된 자세(예: 가로 모드)로 변경되고 사용자가 전자 장치(101)의 전면을 바라보는 것을 식별하는 것에 응답하여, 화면(711)로부터 전환된 화면(722)를 표시할 수 있다(상황 720). 화면(722)는 카메라 어플리케이션의 사용자 인터페이스를 나타낼 수 있다. 예를 들면, 화면(722)에서 캡쳐된(captured) 사진은, 상황 730과 같이 첨부되어 상대방에게 전송될 수 있다. 다른 예를 들면, 화면(722)에서 캡쳐된 사진은, 메모리(130)에 저장되고, 전자 장치(101)의 사진첩 어플리케이션을 통해 열람될 수도 있다. Referring to FIG. 7, in operation 710, the electronic device 101 may display a screen 711 for exchanging a message with a counterpart (ie, a user of another electronic device). The screen 711 may represent, for example, a user interface of a message application or a messenger application. The electronic device 101 changes the posture of the electronic device 101 to a specified posture (for example, a landscape mode) while displaying the screen 711 and identifies that the user looks at the front of the electronic device 101. In response, the screen 722 switched from the screen 711 may be displayed (situation 720). The screen 722 may represent a user interface of the camera application. For example, the picture captured on the screen 722 may be attached and transmitted to the counterpart as in situation 730. For another example, the photo captured on the screen 722 may be stored in the memory 130 and viewed through the photo album application of the electronic device 101.

구체적으로, 전자 장치(101)는 상황 710에서, 화면(711)을 표시한 상태에서 전자 장치(101)의 자세가 지정된 자세로 변경되는 것을 식별할 수 있다. 예를 들면, 전자 장치(101)의 자세가 제1 자세(410)(또는 세로 모드)로부터 제2 자세(420)(또는 가로 모드)로 변경되는 것을 식별할 수 있다. 전자 장치(101)는, 상기 식별에 기반하여, 전자 장치(101)의 사용자가 전자 장치(101)의 전면(또는 디스플레이(360))을 바라보는 것을 식별할 수 있다. 예를 들면, 전자 장치(101)는, 전자 장치(101)의 자세가 지정된 자세로 변경되는 것을 식별하는 것에 응답하여, 전면 카메라를 활성화할 수 있다. 전자 장치(101)는, 전면 카메라를 통해 획득된 이미지에 대하여, 얼굴 검출(face detection) 또는 시선 추적(eye tracking)을 수행함으로써, 사용자의 얼굴(face) 또는 눈(eye)이 전자 장치(101)의 전면을 향하는 것을 식별할 수 있다. 예를 들면, 전자 장치(101)는, 전자 장치(101)의 자세가 지정된 자세(예: 가로 모드)로 변경되고 사용자가 전자 장치(101)의 전면을 바라보는 것이 지정된 시간 동안 유지되는 것을 식별할 수 있다. 상기 식별에 응답하여, 전자 장치(101)는, 상황 720과 같이, 화면(711)로부터 전환된 화면(722)를 표시할 수 있다. 전자 장치(101)는, 상황 720에서 촬영된 사진을, 메신저 어플리케이션(또는 메시지 어플리케이션)을 통해 첨부하거나(상황 730), 메모리(130)에 저장할 수 있다. In detail, in step 710, the electronic device 101 may identify that the posture of the electronic device 101 changes to a specified posture while the screen 711 is displayed. For example, it may be identified that the posture of the electronic device 101 is changed from the first posture 410 (or the portrait mode) to the second posture 420 (or the horizontal mode). The electronic device 101 may identify that the user of the electronic device 101 looks at the front side (or the display 360) of the electronic device 101 based on the identification. For example, the electronic device 101 may activate the front camera in response to identifying that the posture of the electronic device 101 changes to a specified posture. The electronic device 101 performs face detection or eye tracking on an image acquired through the front camera, so that the user's face or eye is removed from the electronic device 101. Can be pointed to the front of the). For example, the electronic device 101 identifies that the posture of the electronic device 101 is changed to a specified posture (for example, a landscape mode) and that the user is looking at the front of the electronic device 101 for a predetermined time. can do. In response to the identification, the electronic device 101 may display the screen 722 switched from the screen 711 as in situation 720. The electronic device 101 may attach the picture taken in the situation 720 through the messenger application (or the message application) (situation 730) or store it in the memory 130.

상술한 바와 같은 다양한 실시 예들에 따른 전자 장치(예: 전자 장치(101))의 방법은, 상기 전자 장치의 센서 모듈(예: 센서 모듈(176), 자이로 센서(301), 중력 센서(302), 또는 가속도 센서(303))을 이용하여 상기 전자 장치의 자세(posture)를 모니터링하는 동작과, 상기 전자 장치의 자세가 지정된 자세로 변경됨을 식별하는 동작과, 상기 식별에 응답하여, 상기 전자 장치의 제1 면(예: 전면)의 적어도 일부를 통해 노출된 제1 카메라(예: 카메라 모듈(180), 전면 카메라)를 이용하여 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하는 동작과, 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 제1 면의 반대인(opposite to) 상기 전자 장치의 제2 면의 적어도 일부를 통해 노출된 제2 카메라(예: 카메라 모듈(180), 후면 카메라)의 상태를 활성 상태로 전환하는 동작과, 상기 활성 상태에 있는 상기 제2 카메라를 통해 획득되는 이미지에 대한 프리뷰 이미지를 카메라 어플리케이션의 사용자 인터페이스 안에서 표시하는 동작을 포함할 수 있다. A method of an electronic device (eg, the electronic device 101) according to various embodiments as described above may include a sensor module (eg, a sensor module 176, a gyro sensor 301, and a gravity sensor 302) of the electronic device. Or monitoring the posture of the electronic device using the acceleration sensor 303, identifying that the posture of the electronic device is changed to a specified posture, and in response to the identification, the electronic device. Identifying whether a user's face is facing the first surface using a first camera (eg, camera module 180, front camera) exposed through at least a portion of the first surface (eg, front) of the camera. And a second camera (eg, exposed through at least a portion of the second side of the electronic device that is opposite to the first side in response to identifying that the face of the user faces the first side). Activate the state of the camera module 180, rear camera) A preview image on the operation of state transition, the image obtained via the second camera in the active state may include an operation of displaying in the user interface for the camera application.

다양한 실시 예들에서, 상기 방법은, 상기 사용자의 얼굴이 상기 제1 면을 향하지 않음을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 비활성 상태로 유지하는 동작을 더 포함할 수 있다. In various embodiments, the method may further include maintaining the state of the second camera in an inactive state in response to identifying that the face of the user does not face the first face.

다양한 실시 예들에서, 상기 방법은, 상기 사용자의 얼굴이 상기 제1 면을 향하지 않음을 식별하는 것에 응답하여 상기 전자 장치의 디스플레이(예: 디스플레이(360), 표시 장치(160)) 상에서 제공되고 있는(being provided) 화면의 표시를 유지하는 동작을 더 포함할 수 있다. In various embodiments, the method is being provided on a display (eg, display 360, display device 160) of the electronic device in response to identifying that the user's face is not facing the first side. The method may further include maintaining a display of the screen.

다양한 실시 예들에서, 상기 방법은, 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 전자 장치가 제1 지정된 상태인지 여부를 식별하는 동작과, 상기 전자 장치가 상기 제1 지정된 상태임을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 상기 활성 상태로 전환하는 동작을 더 포함할 수 있다. 예를 들면, 상기 제1 지정된 상태는, 상기가 전자 장치가 홈 화면을 표시하는 상태, 상기 전자 장치가 잠금 화면을 표시하는 상태, 상기 전자 장치의 화면이 꺼져있는 상태, 상기 전자 장치의 아이들(idle) 상태, 또는 상기 전자 장치에 AOD(always on display)가 표시된 상태 중 적어도 하나를 포함할 수 있다. In various embodiments of the present disclosure, the method may further include identifying whether the electronic device is in a first designated state in response to identifying that the face of the user faces the first surface, and wherein the electronic device is assigned the first specified state. And in response to identifying the state, switching the state of the second camera to the active state. For example, the first designated state may include a state in which the electronic device displays a home screen, a state in which the electronic device displays a lock screen, a state in which the screen of the electronic device is turned off, and an idle state of the electronic device. or at least one of an idle state or an AOD (always on display) displayed on the electronic device.

다양한 실시 예들에서, 상기 방법은, 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 전자 장치가 제2 지정된 상태인지 여부를 식별하는 동작과, 상기 전자 장치가 상기 제2 지정된 상태임을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 비활성 상태로 유지하는 동작을 더 포함할 수 있다. 예를 들면, 상기 제2 지정된 상태는, 상기 전자 장치가 동영상을 재생하는 상태, 상기 전자 장치가 게임 어플리케이션을 전면으로(in a foreground) 실행하는 상태, 상기 전자 장치가 내비게이션 어플리케이션을 전면으로 실행하는 상태, 또는 상기 전자 장치가 웹 브라우저를 전면으로 실행하는 상태 중 적어도 하나를 포함할 수 있다. According to various embodiments of the present disclosure, the method may further include identifying whether the electronic device is in a second designated state in response to identifying that the face of the user faces the first surface, and wherein the electronic device is assigned to the second designated state. And in response to identifying the state, maintaining the state of the second camera in an inactive state. For example, the second specified state may include a state in which the electronic device plays a video, a state in which the electronic device executes a game application in a foreground, and the electronic device executes a navigation application in the foreground. A state, or a state in which the electronic device executes a web browser to the front.

다양한 실시 예들에서, 상기 방법은, 상기 전자 장치가 메신저 어플리케이션 또는 메시지 어플리케이션을 전면으로 실행하는 동안 상기 전자 장치의 자세가 상기 지정된 자세로 변경되고 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여, 상기 제2 카메라의 상태를 상기 활성 상태로 전환하는 동작과, 상기 제2 카메라를 통해 획득되는 이미지를 촬영하는 것에 응답하여, 사용자 입력에 기반하여 상기 메신저 어플리케이션 또는 메시지 어플리케이션을 통해 상기 촬영된 이미지를 첨부하는 동작을 더 포함할 수 있다. In various embodiments of the present disclosure, the method may further include identifying that the posture of the electronic device is changed to the designated posture and the face of the user faces the first surface while the electronic device executes a messenger application or a message application in front. In response to switching the state of the second camera to the active state, and in response to capturing an image acquired through the second camera, via the messenger application or the message application based on a user input. The method may further include attaching the captured image.

다양한 실시 예들에서, 상기 지정된 자세는, 상기 전자 장치가 가로 모드인 자세 또는 상기 제1 면이 중력 가속도 방향으로부터 지정된 범위 이내의 각도를 이루는 자세 중 적어도 하나를 포함할 수 있다. According to various embodiments of the present disclosure, the specified posture may include at least one of a posture in which the electronic device is in a landscape mode or a posture in which the first surface forms an angle within a specified range from a gravity acceleration direction.

다양한 실시 예들에서, 상기 방법은, 상기 센서 모듈의 자이로 센서(예: 자이로 센서(301))를 이용하여 상기 전자 장치의 방향 또는 상기 전자 장치의 기울기가 변화하는 것을 식별하는 동작과, 상기 식별에 응답하여, 상기 전자 장치가 상기 지정된 자세로 지정된 시간 동안 유지됨을 식별하는 것에 응답하여, 상기 제1 카메라를 이용하여 상기 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하는 동작을 더 포함할 수 있다. In various embodiments of the present disclosure, the method may further include identifying a change in a direction of the electronic device or a tilt of the electronic device using a gyro sensor (eg, a gyro sensor 301) of the sensor module. In response, in response to identifying that the electronic device is maintained for the designated time in the designated posture, identifying whether the face of the user faces the first surface using the first camera. Can be.

다양한 실시 예들에서, 상기 제2 카메라의 상태를 상기 활성 상태로 전환하는 동작은, 상기 제1 카메라를 이용하여 상기 사용자의 얼굴이 지정된 시간 동안 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 활성 상태로 전환하는 동작을 포함할 수 있다. In various embodiments of the present disclosure, the switching of the state of the second camera to the active state may include using the first camera in response to identifying that the face of the user faces the first surface for a predetermined time. 2 may include an operation of switching a state of the camera to an active state.

다양한 실시 예들에서, 상기 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하는 동작은, 상기 제1 카메라를 이용하여 획득된 이미지에 대하여 시선 추적(eye tracking) 또는 얼굴 구성 요소 추출을 수행하는 동작을 포함할 수 있다.In various embodiments of the present disclosure, identifying whether the face of the user faces the first surface may include performing eye tracking or facial component extraction on an image obtained using the first camera. May include an action.

한편, 본 개시의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 개시의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 개시의 범위는 설명된 실시 예에 국한되어 정해져서는 아니 되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다. Meanwhile, in the detailed description of the present disclosure, specific embodiments have been described. However, various modifications may be made without departing from the scope of the present disclosure. Therefore, the scope of the present disclosure 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.

Claims (20)

전자 장치에 있어서,
하우징;
상기 하우징의 제1 면의 적어도 일부를 통해 노출된 디스플레이;
상기 하우징의 상기 제1 면의 적어도 다른 일부를 통해 노출된 제1 카메라;
상기 하우징의 상기 제1 면의 반대인(opposite to) 상기 하우징의 제2 면의 적어도 일부를 통해 노출된 제2 카메라;
명령어들을 저장하고 상기 하우징 내에 배치되는 메모리;
상기 하우징 내에 배치되는 센서 모듈; 및
상기 하우징 내에 배치되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 명령어들을 실행할 시(when executing the instructions),
상기 센서 모듈을 이용하여 상기 전자 장치의 자세(posture)를 모니터링하고,
상기 전자 장치의 자세가 지정된 자세로 변경됨을 식별하고,
상기 식별에 응답하여, 상기 제1 카메라를 이용하여 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하고,
상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 활성 상태로 전환하고,
상기 활성 상태에 있는 상기 제2 카메라를 통해 획득되는 이미지에 대한 프리뷰 이미지를 카메라 어플리케이션의 사용자 인터페이스 안에서 표시하도록 상기 디스플레이를 제어하도록 설정된 전자 장치.
In an electronic device,
housing;
A display exposed through at least a portion of the first side of the housing;
A first camera exposed through at least another portion of the first face of the housing;
A second camera exposed through at least a portion of a second side of the housing opposite to the first side of the housing;
A memory storing instructions and disposed within the housing;
A sensor module disposed in the housing; And
At least one processor disposed in the housing, wherein the at least one processor executes the instructions when executing the instructions;
Monitor the posture of the electronic device using the sensor module;
Identify the posture of the electronic device is changed to a specified posture,
In response to the identification, identifying whether the face of the user faces the first face using the first camera,
In response to identifying that the face of the user faces the first face, transitions the state of the second camera to an active state,
And control the display to display a preview image for an image acquired through the second camera in the active state within a user interface of a camera application.
청구항 1에 있어서, 상기 프로세서는, 상기 명령어들을 실행할 시(when executing the instructions),
상기 사용자의 얼굴이 상기 제1 면을 향하지 않음을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 비활성 상태로 유지하도록 더 설정된 전자 장치.
The processor of claim 1, wherein the processor is further configured to: when executing the instructions,
And further maintain the state of the second camera in an inactive state in response to identifying that the face of the user does not face the first face.
청구항 2에 있어서, 상기 프로세서는, 상기 명령어들을 실행할 시,
상기 사용자의 얼굴이 상기 제1 면을 향하지 않음을 식별하는 것에 응답하여 상기 디스플레이 상에서 제공되고 있는(being provided) 화면의 표시를 유지하도록 더 설정된 전자 장치.
The processor of claim 2, wherein the processor is further configured to execute the instructions.
And further maintain a display of a screen being provided on the display in response to identifying that the face of the user is not facing the first side.
청구항 1에 있어서, 상기 프로세서는, 상기 명령어들을 실행할 시,
상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 전자 장치가 제1 지정된 상태인지 여부를 식별하고,
상기 전자 장치가 상기 제1 지정된 상태임을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 상기 활성 상태로 전환하도록 더 설정되고,
상기 제1 지정된 상태는,
상기가 전자 장치가 홈 화면을 표시하는 상태, 상기 전자 장치가 잠금 화면을 표시하는 상태, 상기 전자 장치의 화면이 꺼져있는 상태, 상기 전자 장치의 아이들(idle) 상태, 또는 상기 전자 장치에 AOD(always on display)가 표시된 상태 중 적어도 하나를 포함하는 전자 장치.
The method of claim 1, wherein the processor is further configured to execute the instructions.
In response to identifying that the face of the user faces the first surface, identify whether the electronic device is in a first specified state,
In response to identifying that the electronic device is the first designated state, set the state of the second camera to the active state;
The first specified state is,
The electronic device may display a home screen, the electronic device may display a lock screen, the screen of the electronic device may be turned off, an idle state of the electronic device, or an AOD may be applied to the electronic device. An electronic device comprising at least one of the states (always on display) displayed.
청구항 1에 있어서, 상기 프로세서는, 상기 명령어들을 실행할 시,
상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 전자 장치가 제2 지정된 상태인지 여부를 식별하고,
상기 전자 장치가 상기 제2 지정된 상태임을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 비활성 상태로 유지하도록 더 설정되고,
상기 제2 지정된 상태는,
상기 전자 장치가 동영상을 재생하는 상태, 상기 전자 장치가 게임 어플리케이션을 전면으로(in a foreground) 실행하는 상태, 상기 전자 장치가 내비게이션 어플리케이션을 전면으로 실행하는 상태, 또는 상기 전자 장치가 웹 브라우저를 전면으로 실행하는 상태 중 적어도 하나를 포함하는 전자 장치.
The method of claim 1, wherein the processor is further configured to execute the instructions.
Identify whether the electronic device is in a second specified state in response to identifying that the face of the user faces the first surface,
Is further configured to maintain a state of the second camera in an inactive state in response to identifying the electronic device as the second specified state;
The second specified state is,
A state in which the electronic device plays a video, a state in which the electronic device executes a game application in a foreground, a state in which the electronic device executes a navigation application in front, or the electronic device in front of a web browser An electronic device comprising at least one of a state running.
청구항 1에 있어서, 상기 프로세서는, 상기 명령어들을 실행할 시,
상기 전자 장치가 메신저 어플리케이션 또는 메시지 어플리케이션을 전면으로 실행하는 동안 상기 전자 장치의 자세가 상기 지정된 자세로 변경되고 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여, 상기 제2 카메라의 상태를 상기 활성 상태로 전환하고,
상기 제2 카메라를 통해 획득되는 이미지를 촬영하는 것에 응답하여, 사용자 입력에 기반하여 상기 메신저 어플리케이션 또는 메시지 어플리케이션을 통해 상기 촬영된 이미지를 첨부하도록 설정된 전자 장치.
The method of claim 1, wherein the processor is further configured to execute the instructions.
In response to identifying that the posture of the electronic device is changed to the designated posture and the face of the user faces the first side while the electronic device executes a messenger application or a message application in front of the second camera; Switch the state to the active state,
And in response to capturing an image acquired by the second camera, attach the photographed image through the messenger application or the message application based on a user input.
청구항 1에 있어서, 상기 지정된 자세는,
상기 전자 장치가 가로 모드인 자세 또는 상기 제1 면이 중력 가속도 방향으로부터 지정된 범위 이내의 각도를 이루는 자세 중 적어도 하나를 포함하는 전자 장치.
The method according to claim 1, wherein the designated posture,
And at least one of a posture in which the electronic device is in a landscape mode or a posture in which the first surface forms an angle within a specified range from a gravitational acceleration direction.
청구항 1에 있어서, 자이로 센서를 더 포함하고,
상기 프로세서는, 상기 명령어들을 실행할 시,
상기 자이로 센서를 이용하여 상기 전자 장치의 방향 또는 상기 전자 장치의 기울기가 변화하는 것을 식별하고,
상기 식별에 응답하여, 상기 전자 장치가 상기 지정된 자세로 지정된 시간 동안 유지됨을 식별하는 것에 응답하여, 상기 제1 카메라를 이용하여 상기 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하도록 설정된 전자 장치.
The method of claim 1, further comprising a gyro sensor,
The processor, when executing the instructions,
Identify the change in the direction of the electronic device or the inclination of the electronic device using the gyro sensor,
In response to identifying that the electronic device is held for the designated time in the designated posture in response to the identification, an electronic device configured to identify whether the face of the user faces the first surface using the first camera. Device.
청구항 1에 있어서, 상기 프로세서는, 상기 명령어들을 실행할 시,
상기 제1 카메라를 이용하여 상기 사용자의 얼굴이 지정된 시간 동안 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 활성 상태로 전환하도록 더 설정된 전자 장치.
The method of claim 1, wherein the processor is further configured to execute the instructions.
And change the state of the second camera to an active state in response to identifying that the face of the user faces the first face for a specified time using the first camera.
청구항 1에 있어서, 상기 프로세서는, 상기 명령어들을 실행할 시,
상기 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하기 위해, 상기 제1 카메라를 이용하여 획득된 이미지에 대하여 시선 추적(eye tracking) 또는 얼굴 구성 요소 추출을 수행하도록 더 설정된 전자 장치.
The method of claim 1, wherein the processor is further configured to execute the instructions.
The electronic device is further configured to perform eye tracking or facial component extraction on an image obtained using the first camera to identify whether the face of the user faces the first surface.
전자 장치의 방법에 있어서,
상기 전자 장치의 센서 모듈을 이용하여 상기 전자 장치의 자세(posture)를 모니터링하는 동작과,
상기 전자 장치의 자세가 지정된 자세로 변경됨을 식별하는 동작과,
상기 식별에 응답하여, 상기 전자 장치의 제1 면의 적어도 일부를 통해 노출된 제1 카메라를 이용하여 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하는 동작과,
상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 제1 면의 반대인(opposite to) 상기 전자 장치의 제2 면의 적어도 일부를 통해 노출된 제2 카메라의 상태를 활성 상태로 전환하는 동작과,
상기 활성 상태에 있는 상기 제2 카메라를 통해 획득되는 이미지에 대한 프리뷰 이미지를 카메라 어플리케이션의 사용자 인터페이스 안에서 표시하는 동작을 포함하는 방법.
In the method of an electronic device,
Monitoring a posture of the electronic device using the sensor module of the electronic device;
Identifying that the posture of the electronic device is changed to a specified posture;
In response to the identification, identifying whether a user's face faces the first surface using a first camera exposed through at least a portion of the first surface of the electronic device;
Activate a state of a second camera exposed through at least a portion of a second side of the electronic device that is opposite to the first side in response to identifying the face of the user facing the first side Switch to,
Displaying in the user interface of a camera application a preview image for an image acquired through the second camera in the active state.
청구항 11에 있어서,
상기 사용자의 얼굴이 상기 제1 면을 향하지 않음을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 비활성 상태로 유지하는 동작을 더 포함하는 방법.
The method according to claim 11,
Maintaining the state of the second camera in an inactive state in response to identifying that the face of the user does not face the first face.
청구항 12에 있어서,
상기 사용자의 얼굴이 상기 제1 면을 향하지 않음을 식별하는 것에 응답하여 상기 전자 장치의 디스플레이 상에서 제공되고 있는(being provided) 화면의 표시를 유지하는 동작을 더 포함하는 방법.
The method according to claim 12,
Maintaining the display of a screen being provided on a display of the electronic device in response to identifying that the face of the user is not facing the first face.
청구항 11에 있어서,
상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 전자 장치가 제1 지정된 상태인지 여부를 식별하는 동작과,
상기 전자 장치가 상기 제1 지정된 상태임을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 상기 활성 상태로 전환하는 동작을 더 포함하고,
상기 제1 지정된 상태는,
상기가 전자 장치가 홈 화면을 표시하는 상태, 상기 전자 장치가 잠금 화면을 표시하는 상태, 상기 전자 장치의 화면이 꺼져있는 상태, 상기 전자 장치의 아이들(idle) 상태, 또는 상기 전자 장치에 AOD(always on display)가 표시된 상태 중 적어도 하나를 포함하는 방법.
The method according to claim 11,
Identifying whether the electronic device is in a first designated state in response to identifying that the face of the user faces the first surface;
In response to identifying that the electronic device is the first designated state, switching the state of the second camera to the active state;
The first specified state is,
The electronic device may display a home screen, the electronic device may display a lock screen, the screen of the electronic device may be turned off, an idle state of the electronic device, or an AOD may be applied to the electronic device. always on display).
청구항 11에 있어서,
상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 전자 장치가 제2 지정된 상태인지 여부를 식별하는 동작과,
상기 전자 장치가 상기 제2 지정된 상태임을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 비활성 상태로 유지하는 동작을 더 포함하고,
상기 제2 지정된 상태는,
상기 전자 장치가 동영상을 재생하는 상태, 상기 전자 장치가 게임 어플리케이션을 전면으로 실행하는 상태, 상기 전자 장치가 내비게이션 어플리케이션을 전면으로 실행하는 상태, 또는 상기 전자 장치가 웹 브라우저를 전면으로 실행하는 상태 중 적어도 하나를 포함하는 방법.
The method according to claim 11,
Identifying whether the electronic device is in a second specified state in response to identifying that the face of the user faces the first surface;
Maintaining the state of the second camera in an inactive state in response to identifying that the electronic device is the second specified state;
The second specified state is,
A state in which the electronic device plays a video, a state in which the electronic device runs the game application to the front, a state in which the electronic device executes the navigation application in the front, or a state in which the electronic device runs the web browser in the front At least one method.
청구항 11에 있어서,
상기 전자 장치가 메신저 어플리케이션 또는 메시지 어플리케이션을 전면으로 실행하는 동안 상기 전자 장치의 자세가 상기 지정된 자세로 변경되고 상기 사용자의 얼굴이 상기 제1 면을 향함을 식별하는 것에 응답하여, 상기 제2 카메라의 상태를 상기 활성 상태로 전환하는 동작과,
상기 제2 카메라를 통해 획득되는 이미지를 촬영하는 것에 응답하여, 사용자 입력에 기반하여 상기 메신저 어플리케이션 또는 메시지 어플리케이션을 통해 상기 촬영된 이미지를 첨부하는 동작을 더 포함하는 방법.
The method according to claim 11,
In response to identifying that the posture of the electronic device is changed to the designated posture and the face of the user faces the first side while the electronic device executes a messenger application or a message application in front of the second camera; Switching a state to the active state,
And in response to capturing an image obtained through the second camera, attaching the photographed image via the messenger application or the message application based on a user input.
청구항 11에 있어서, 상기 지정된 자세는,
상기 전자 장치가 가로 모드인 자세 또는 상기 제1 면이 중력 가속도 방향으로부터 지정된 범위 이내의 각도를 이루는 자세 중 적어도 하나를 포함하는 방법.
The method according to claim 11, wherein the designated posture,
And at least one of a posture in which the electronic device is in a landscape mode or a posture in which the first surface forms an angle within a specified range from the direction of gravity acceleration.
청구항 11에 있어서,
상기 센서 모듈의 자이로 센서를 이용하여 상기 전자 장치의 방향 또는 상기 전자 장치의 기울기가 변화하는 것을 식별하는 동작과,
상기 식별에 응답하여, 상기 전자 장치가 상기 지정된 자세로 지정된 시간 동안 유지됨을 식별하는 것에 응답하여, 상기 제1 카메라를 이용하여 상기 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하는 동작을 더 포함하는 방법.
The method according to claim 11,
Identifying that the direction of the electronic device or the inclination of the electronic device changes by using a gyro sensor of the sensor module;
In response to identifying that the electronic device is held for the designated time in the designated posture in response to the identification, identifying whether the face of the user faces the first surface using the first camera. How to include more.
청구항 11에 있어서,
상기 제2 카메라의 상태를 상기 활성 상태로 전환하는 동작은,
상기 제1 카메라를 이용하여 상기 사용자의 얼굴이 지정된 시간 동안 상기 제1 면을 향함을 식별하는 것에 응답하여 상기 제2 카메라의 상태를 활성 상태로 전환하는 동작을 포함하는 방법.
The method according to claim 11,
Switching the state of the second camera to the active state,
Switching the state of the second camera to an active state in response to identifying that the face of the user faces the first face for a specified time using the first camera.
청구항 11에 있어서,
상기 사용자의 얼굴이 상기 제1 면을 향하는지 여부를 식별하는 동작은,
상기 제1 카메라를 이용하여 획득된 이미지에 대하여 시선 추적(eye tracking) 또는 얼굴 구성 요소 추출을 수행하는 동작을 포함하는 방법.
The method according to claim 11,
Identifying whether the face of the user is facing the first surface,
Performing eye tracking or facial component extraction on the image obtained using the first camera.
KR1020180068595A 2018-06-15 2018-06-15 Electronic device and method for identifying photographing intention of user KR20190141866A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020180068595A KR20190141866A (en) 2018-06-15 2018-06-15 Electronic device and method for identifying photographing intention of user
PCT/KR2019/007167 WO2019240520A1 (en) 2018-06-15 2019-06-14 Electronic device and method for identifying picture capturing intention of user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180068595A KR20190141866A (en) 2018-06-15 2018-06-15 Electronic device and method for identifying photographing intention of user

Publications (1)

Publication Number Publication Date
KR20190141866A true KR20190141866A (en) 2019-12-26

Family

ID=68843515

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180068595A KR20190141866A (en) 2018-06-15 2018-06-15 Electronic device and method for identifying photographing intention of user

Country Status (2)

Country Link
KR (1) KR20190141866A (en)
WO (1) WO2019240520A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438432A (en) * 2020-03-23 2021-09-24 三星电子株式会社 Display apparatus and control method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011193281A (en) * 2010-03-15 2011-09-29 Nikon Corp Portable device
KR101794350B1 (en) * 2011-02-08 2017-12-04 삼성전자주식회사 Method for capturing picture in a portable terminal
KR102076771B1 (en) * 2013-02-21 2020-02-12 삼성전자주식회사 Image capturing using multiple screen sections
KR102182398B1 (en) * 2013-07-10 2020-11-24 엘지전자 주식회사 Electronic device and control method thereof
KR20160065920A (en) * 2013-11-29 2016-06-09 인텔 코포레이션 Controlling a camera with face detection

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438432A (en) * 2020-03-23 2021-09-24 三星电子株式会社 Display apparatus and control method thereof
WO2021194030A1 (en) * 2020-03-23 2021-09-30 Samsung Electronics Co., Ltd. Display apparatus and control method thereof
US11644928B2 (en) 2020-03-23 2023-05-09 Samsung Electronics Co., Ltd. Display apparatus and control method thereof

Also Published As

Publication number Publication date
WO2019240520A1 (en) 2019-12-19

Similar Documents

Publication Publication Date Title
US10924677B2 (en) Electronic device and method for providing notification related to image displayed through display and image stored in memory based on image analysis
KR102488410B1 (en) Electronic device for recording image using a plurality of cameras and method of operating the same
CN111586286A (en) Electronic device and method for changing image magnification by using multiple cameras
KR102597518B1 (en) An electronic dievice applying bokeh effect to image and controlling method thereof
US11582391B2 (en) Electronic device capable of controlling image display effect, and method for displaying image
KR20200129584A (en) Foldable apparatus and method for controlling photographing using a plurality of cameras
KR102661614B1 (en) Screen providing method and electronic device supporting the same
EP3641294B1 (en) Electronic device and method for obtaining images
US11997378B2 (en) Electronic device including camera and method of operating the same
KR20210010148A (en) Foldable electronic device and method for photographing picture using a plurality of cameras in the foldable electronic device
KR102512839B1 (en) Electronic device and method obtaining image using cameras through adjustment of position of external device
KR20190096189A (en) Method for detecting region of interest based on line of sight and electronic device thereof
KR20200067027A (en) Electronic device for acquiring depth information using at least one of cameras or depth sensor
KR20190085787A (en) Electronic device and method for processing image of the same
KR102544709B1 (en) Electronic Device which operates a plurality of cameras based on Outside illuminance
US20230133394A1 (en) Method for processing photographed image and electronic device therefor
KR20190107901A (en) Electronic device for executing various functions based on a signal recevied from an electric pen
KR20210101713A (en) Electronic device comprising a camera and method of operation thereof
KR20190141866A (en) Electronic device and method for identifying photographing intention of user
EP4068043A1 (en) Foldable electronic device comprising camera
KR20210058363A (en) Electronic device for using depth information and operating method thereof
KR20200092762A (en) Electronic device and method for recognizing occlusion of camera thereof
KR20200093760A (en) Electronic device having a plurality of lens and controlling method thereof
CN111886853B (en) Image data processing method and apparatus thereof
KR102668233B1 (en) Electronic device for obtaining images by controlling frame rate for external object moving through point ofinterest and operating method thereof