WO2022169085A1 - Electronic device and method for maintaining imaging composition in electronic device - Google Patents

Electronic device and method for maintaining imaging composition in electronic device Download PDF

Info

Publication number
WO2022169085A1
WO2022169085A1 PCT/KR2021/018361 KR2021018361W WO2022169085A1 WO 2022169085 A1 WO2022169085 A1 WO 2022169085A1 KR 2021018361 W KR2021018361 W KR 2021018361W WO 2022169085 A1 WO2022169085 A1 WO 2022169085A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
image
external electronic
photographing
subject
Prior art date
Application number
PCT/KR2021/018361
Other languages
French (fr)
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 삼성전자 주식회사
Publication of WO2022169085A1 publication Critical patent/WO2022169085A1/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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • 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/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet

Definitions

  • Various embodiments relate to an electronic device capable of maintaining a photographing composition designated by a user, and a method for maintaining a photographing composition in the electronic device.
  • the electronic device may recognize a subject included in an image captured by the camera, or detect a movement of the subject and photograph the subject .
  • Various embodiments may provide an electronic device capable of maintaining a photographing composition designated by a user and a method of maintaining a photographing composition in the electronic device.
  • a method for maintaining the shooting composition may be provided.
  • An electronic device includes a first communication module, a second communication module, a camera module, and a processor, wherein the processor displays an image including a subject received through the camera module in a camera interface while checking the photographing composition for the image based on the ratio of the first photographing area designated by the user among the entire photographing area for the image and the subject included in the first photographing area, and through the first communication module
  • the processor displays an image including a subject received through the camera module in a camera interface while checking the photographing composition for the image based on the ratio of the first photographing area designated by the user among the entire photographing area for the image and the subject included in the first photographing area, and through the first communication module
  • an enlargement function or a reduction function is performed on the image to correspond to the distance change, and the image is included in the first photographing area. It may be set to maintain the proportion of the subject.
  • a first method designated by a user among the entire photographing area for the image an operation of confirming a photographing composition for the image based on a ratio of a photographing area and a subject included in the first photographing area, and a first external electron of the subject included in the first photographing area through a first communication module
  • an operation of maintaining a ratio of the subject included in the first photographing area by performing an enlargement function or a reduction function on the image corresponding to the distance change may be included.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure
  • FIG. 2 is a diagram for explaining an operation of maintaining a photographing composition of an electronic device according to various embodiments of the present disclosure
  • FIG. 3 is a block diagram of an electronic device according to various embodiments of the present disclosure.
  • 4A, 4B, 4C, 4D, and 4E are diagrams for explaining an operation of setting a photographing composition in an electronic device according to various embodiments of the present disclosure.
  • FIG. 5 is a diagram for describing an operation of measuring a range of a first photographing area in an electronic device according to various embodiments of the present disclosure
  • 6A and 6B are diagrams for explaining an operation of maintaining a photographing composition according to a change in distance of a first external electronic device in an electronic device according to various embodiments of the present disclosure
  • FIG. 7 is a flowchart illustrating an operation of setting a photographing composition in an electronic device according to various embodiments of the present disclosure
  • FIG. 8 is a flowchart illustrating an operation of maintaining a photographing composition in an electronic device according to various embodiments of the present disclosure
  • 9A, 9B, and 9C are diagrams for explaining an operation of maintaining a photographing composition in an electronic device according to various embodiments of the present disclosure
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • a second network 199 e.g., a second network 199
  • the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 may be included.
  • at least one of these components eg, the connection terminal 178
  • may be omitted or one or more other components may be added to the electronic device 101 .
  • some of these components are integrated into one component (eg, display module 160 ). can be
  • the processor 120 for example, executes software (eg, a program 140) to execute at least one other component (eg, a 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 data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • software eg, a program 140
  • the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 .
  • the volatile memory 132 may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a
  • the secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the coprocessor 123 eg, an image signal processor or a communication processor
  • may be implemented as part of another functionally related component eg, the camera module 180 or the communication module 190 ). have.
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example.
  • the artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
  • 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, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • 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 .
  • the input module 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device.
  • the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 .
  • the electronic device 102) eg, a speaker or headphones
  • the electronic device 102 may output a sound.
  • 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 sensed state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ).
  • 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.
  • the connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ).
  • 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).
  • the haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a 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). It can support establishment and communication performance through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range 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).
  • a wireless communication module 192 eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, : It may include a local area network (LAN) communication module, or a power line communication module.
  • a corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a first network 198 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • a second network 199 eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a telecommunication network
  • the wireless communication module 192 uses subscriber information (eg, 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 .
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR).
  • NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) in order to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • the wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ).
  • the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) may be supported.
  • a peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC)
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • 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 external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • One or more external electronic devices that have received 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 a part of a response to the request.
  • cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an Internet of things (IoT) device.
  • the server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or the server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • FIG. 2 is a diagram 200 for explaining an operation of maintaining a photographing composition of an electronic device according to various embodiments of the present disclosure.
  • an electronic device 201 may display (eg, the display module 160 of FIG. 1 ) through a camera module. While displaying a received image, if a first shooting area including a subject included in the image among the entire shooting area of the image is designated by the user, the image is added to the image based on the first shooting area including the subject. It is possible to check a photographing composition for the image, and to maintain the photographing composition for the image even when the position of the subject is changed.
  • the electronic device 201 checks the photographing composition of the image based on the position and ratio of the subject included in the first photographing area in the entire photographing area of the image, and Even if the location is changed, the photographing composition for the image may be maintained.
  • the electronic device 201 may detect the first external electronic device 202 of the subject included in the image through a first communication module, for example, a UWB communication module.
  • a first communication module for example, a UWB communication module.
  • the electronic device 201 checks a change in the distance of the subject to the first external electronic device 202 through a first communication module, for example, a UWB communication module, By performing an enlargement function or a reduction function to maintain and display a constant ratio of the subject in the entire photographing area of the image, it is possible to maintain the photographing composition of the image.
  • a first communication module for example, a UWB communication module
  • the photographing direction of the camera module By changing to display the subject included in the first photographing area in the entire photographing area of the image, it is possible to maintain the photographing composition of the image.
  • the electronic device 201 may be attached to an external accessory 210 (eg, a tripod) capable of automatically moving the electronic device 201 up and down, left and right, and rotates back and forth.
  • an external accessory 210 eg, a tripod
  • the electronic device 201 acquires distance information and direction information of the first external electronic device 202 through the first communication (eg, UWB communication), the first external When the electronic device 202 moves, distance information and direction information of the first external electronic device 202 may be reflected in real time to maintain automatic focus on the subject of the first external electronic device 202 .
  • the first communication eg, UWB communication
  • the electronic device 201 provides information on the first external electronic device 202 from the first external electronic device 202 through a second communication (eg, BT communication or BLE communication).
  • a second communication eg, BT communication or BLE communication.
  • a signal capable of controlling shooting of the image displayed on the display module may be received.
  • the first external electronic device 202 communicates with the electronic device through a first communication (eg, UWB communication) for a UWB signal.
  • a first communication eg, UWB communication
  • UWB signal can send and receive
  • the first external electronic device 202 receives information of the electronic device from the electronic device 201 through a second communication (eg, BT communication or BLE communication), and the electronic device A signal capable of controlling the camera shooting of 201 may be transmitted.
  • a second communication eg, BT communication or BLE communication
  • FIG. 3 is a block diagram 300 of an electronic device according to various embodiments of the present disclosure.
  • an electronic device 301 (eg, the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2 ) includes a processor 320 , a memory 330 , a display 360 , It may include a camera module 380 and/or a communication module 390 .
  • the processor 320 may control the overall operation of the electronic device 301 , and may be the same as the processor 120 of FIG. 1 , or at least one It can perform a function or action.
  • the processor 320 while displaying an image including a subject received through the camera module 380 in the camera interface, the processor 320 includes a first capturing area designated by a user among the entire capturing area for the image and The photographing composition information of the image may be checked based on the ratio of the subject included in the first photographing area.
  • the processor 320 may include a camera interface activated according to execution of a camera application. In (eg, preview mode), the image received through the camera module 380 may be displayed on the display 360 .
  • the processor 320 may set the entire shooting composition for the entire shooting area of the image according to a user's setting while the image is displayed on the display 360 .
  • the processor 320 displays the image received through the camera module 380 on the display 360, a function of magnifying the image by a user's selection (eg, zoom in)
  • a zoom out function is executed, the entire photographing composition for the entire photographing of the image can be set by changing the size of the background and the subject included in the image to correspond to the enlargement function or the reduction functions. have.
  • the processor 320 transmits and receives a UWB signal to and from the first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) through the first communication module 391 . Based on this, distance information and direction information of the first external electronic device may be calculated and obtained.
  • the processor 320 transmits a UWB signal (eg, a ranging request message) between the electronic device 301 and the first external electronic device through an ultra wide band (UWB) communication module that is a first communication module 391 . and a time for transmitting and receiving a ranging response message) may be calculated to determine distance information (eg, ranging information) between the electronic device 301 and the first external electronic device.
  • UWB signal eg, a ranging request message
  • UWB ultra wide band
  • a time for transmitting and receiving a ranging response message may be calculated to determine distance information (eg, ranging information) between the electronic device 301 and the first external electronic device.
  • the processor 320 receives a ranging response signal from the first external electronic device through a plurality of antennas for transmitting and receiving UWB signals provided in the electronic device, and receives the ranging response signal through a first antenna among the plurality of antennas
  • the direction information of the first external electronic device eg, AOA ( AOA) arrival of angle
  • the processor 320 displays the image received through the camera module 380 in the camera interface on the display 360, the communication module 390 by the user's selection.
  • the first communication module 391 may be activated, and distance information and direction information about at least one external electronic device located in the vicinity may be detected through the first communication module 391 .
  • the processor 320 is configured to: a first external electronic device ( Example: The first external electronic device 202 of FIG. 2 ) may be identified.
  • the processor 320 is configured to set the first external electronic device to a second object related to the subject included in the image received through the camera module 380 based on distance information and direction information of the first external electronic device. 1 It can be checked with an external electronic device.
  • the processor 320 while displaying the image including the subject on the display 360 in the camera interface, is an indicator associated with the first external electronic device of the subject at a position near or partially overlapping the subject. For example, an indicator indicating the first external electronic device may be displayed.
  • the processor 320 may display an example of an indicator associated with the subject and a first external electronic device of the subject (eg, the first external electronic device of FIG. 2 ) on the display 360 in the camera interface. For example, while displaying the image including the indicator indicating the first external electronic device, if the user confirms designation of the first photographing area including the subject among the entire photographing area of the image, the first The range of the photographing area and the position of the first photographing area may be measured, and photographing composition information of the image may be confirmed based on the range of the first photographing area and the position of the first photographing area.
  • the processor 320 may display an indicator associated with the first external electronic device of the subject included in the first photographing area in the image, for example, an indicator indicating the first external electronic device.
  • the range of the first photographing area may be measured.
  • the processor 320 determines the range of the first photographing area based on the indicator. can be measured
  • the processor 320 determines an average location of the location information of the first external electronic device for a specified time as an indicator, and measures the range of the first photographing area based on the indicator.
  • the processor 320 is configured to obtain coordinate information from the indicator indicating the first external electronic device to the upper side of the first photographing area and coordinate information from the indicator indicating the first external electronic device to the lower side of the first photographing area. can be used to measure vertical distance information (eg, y-axis distance information).
  • the processor 320 is configured to obtain coordinate information from the indicator indicating the first external electronic device to the left side of the first photographing area and coordinate information from the indicator indicating the first external electronic device to the right side of the first photographing area. can be used to measure horizontal distance information (eg, x-axis distance information).
  • the processor 220 measures the range of the first imaging area using the vertical distance information (eg, y-axis distance information) and the horizontal distance information (eg, x-axis distance information), and performs the first imaging As the range of the area is measured, the ratio of the subject included in the first photographing area may be checked.
  • the vertical distance information eg, y-axis distance information
  • the horizontal distance information eg, x-axis distance information
  • the processor 320 obtains location information of the first capturing area based on user input information (eg, touch information) for designating the first capturing area among the entire area of the image. By measuring and measuring the position of the first photographing area, the position of the subject included in the first photographing area among the entire photographing area of the image may be confirmed.
  • the photographing area may include a partial photographing area of the entire photographing area of the image.
  • the processor 320 may be configured to, based on the range of the first photographing area in which the ratio of the subject can be checked and the position of the first photographing area in which the location of the subject can be checked, the second 1 You can check the shooting composition information of the shooting area. For example, while the processor 320 displays the image received through the camera module 380 in the camera interface, the user selects the subject from among the background and subjects (eg, people) included in the image. When a first capturing area including You can check the shooting composition.
  • the processor 320 identifies a subject associated with the first external electronic device, and captures a range of a first capturing area including the subject and a position of the first capturing area among the entire capturing area. You can check the composition information.
  • the processor 320 may check the ratio or position of the subject in the entire photographing area or the range of the first photographing area.
  • the processor 320 when the processor 320 detects a change in the distance of the first external electronic device of the subject included in the first photographing area through the first communication module 391 , to maintain the photographing composition for the image
  • an enlargement function or a reduction function may be performed on the image to correspond to the distance change.
  • the processor 320 may change the distance between the electronic device 301 and a first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) through the first communication module. is confirmed, the zoom function or reduction function is performed on the image to correspond to the distance change, and the subject included in the first photographing area among the entire photographing area of the image is maintained at a rate determined by the photographing composition of the image. can be displayed.
  • the processor 320 maintains and displays the subject included in the first photographing area at a ratio determined by the photographing composition of the image even when a change in the distance of the object to the first external electronic device is detected and displayed. You can automatically maintain the shooting composition for the image.
  • the processor 320 detects a change in the direction of the first external electronic device of the subject included in the first photographing area through the first communication module 391, maintain the photographing composition for the image.
  • the shooting direction of the camera module 380 may be changed to correspond to the direction change.
  • the processor 320 when the processor 320 checks a change in direction information for the first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) through the first communication module, , by changing the photographing direction of the camera module 380 to correspond to the change in direction, the subject may be displayed in the first photographing area.
  • the processor 320 may automatically maintain the photographing composition for the image by displaying the object in the first photographing area even when a change in direction of the object with respect to the first external electronic device is detected. .
  • the processor 320 when the camera module 380 is attached to a detachable external accessory (eg, the external accessory 210 of FIG. 2), the camera module 380 up and down, Direction adjustment information corresponding to the direction change may be transmitted to the external accessory capable of adjusting the photographing direction by turning left and right or forward and backward.
  • a detachable external accessory eg, the external accessory 210 of FIG. 2
  • the processor 320 may communicate with a first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) using the second communication module 393 ,
  • the information of the first external electronic device may be received through the second communication module 393 , and the information of the electronic device may be transmitted to the first external electronic device.
  • the processor 320 may receive a signal capable of controlling a camera interface through the camera module 380 from the first external electronic device through the second communication module 393 .
  • the signal capable of controlling the camera interface may include a signal for taking a picture or a start signal and an end signal for taking a video.
  • the processor 320 may communicate with a first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) using the first communication module 391 , The information of the first external electronic device may be received through the first communication module 391 , and the information of the electronic device may be transmitted to the first external electronic device.
  • the processor 320 may transmit/receive a signal for taking a picture or a video, or a signal related to a camera interface.
  • the processor 320 may communicate with a second external electronic device (eg, the external accessory 210 of FIG. 2 ) using the second communication module 393 , and the second communication Information of the second external electronic device may be transmitted/received through the module 393 .
  • the processor 320 may transmit information to the second external electronic device to control a photographing direction of the camera module.
  • the memory 330 may be implemented substantially the same as or similar to the memory 130 of FIG. 1 .
  • the memory 330 may store information on a photographing composition of an image displayed on a camera interface.
  • the display 360 may be implemented substantially the same as or similar to the display module 160 of FIG. 1 .
  • the display 360 may display a UI such that a first capturing area among all capturing areas of the image may be designated by a user while displaying an image received through the camera module 380 in the camera interface. can be displayed.
  • the display 360 may display a UI for activating or deactivating the first communication module while displaying an image received through the camera module 380 in the camera interface.
  • the camera module 380 may be implemented substantially the same as or similar to the camera module 180 of FIG. 1 , and may include at least one camera located at the front and at least one camera located at the rear. can
  • the communication module 390 may be implemented substantially the same as or similar to the communication module 190 of FIG. 1 , and a plurality of communication modules using different communication technologies including the communication module 290 . circuit may be included.
  • the communication module 390 may include a first communication module 391 and a second communication module 393 .
  • the first communication module 391 uses a UWB communication module capable of transmitting and receiving UWB signals to and from an external electronic device using a plurality of antennas for UWB communication and/or an external electronic device using an RF antenna. and an RF communication module capable of transmitting and receiving an RF signal.
  • the second communication module 393 may include at least one of a wireless LAN module (not shown) and a short-range communication module (not shown), and a Wi- It may include a Fi communication module, an NFC communication module, a Bluetooth legacy communication module and/or a BLE communication module.
  • 4A, 4B, 4C, 4D, and 4E are diagrams 400a, 400b, 400c, 400d, and 400e for explaining an operation of setting a photographing composition in an electronic device according to various embodiments of the present disclosure.
  • an electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) has a camera interface (eg, a preview). mode), an image 403 received through a camera module (eg, the camera module 380 of FIG. 3 ) may be displayed on a display (eg, the display 360 of FIG. 3 ).
  • the electronic device 401 while displaying the image 403 on the camera interface, considers a background screen and a plurality of subjects 403a to 403c included in the image 403 and a user setting (eg, enlargement). function or reduction function), the entire photographing composition for the entire photographing area 410 of the image may be set.
  • the electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) includes a first communication module (eg, the electronic device 301 of FIG. 3 ). : The first communication module 391 of FIG. 3) For example. In order to activate the UWB communication module, the first communication module may provide a UI 430 that can be selected by the user. The electronic device 401 may display the UI to be distinguished according to an activated state or an inactive state of the first communication module.
  • an electronic device 401 may include an example of the first communication module.
  • the first external electronic device of the first subject 403a among the plurality of subjects 403a to 403c included in the image is detected through the first communication module, and the In the image 403 , an indicator associated with the first external electronic device, for example, an indicator 450 indicating the first external electronic device, may be displayed by being superimposed on the first subject 403a.
  • an indicator associated with the first external electronic device for example, an indicator 450 indicating the first external electronic device
  • a pop-up window for confirming whether the external electronic device is correct is displayed, and when a user's confirmation is received through the pop-up window, an indicator 450 indicating the first external electronic device is displayed to overlap the first subject 403a can keep doing
  • the electronic device 401 receives the user's cancellation or modification through the pop-up window, the electronic device 401 re-executes the search for an external electronic device through the first communication module, for example, the UWB communication module, or selects the user By this, the indicator 450 may be moved to another subject and displayed.
  • the electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) is displayed in the image 403 .
  • the indicator 450 may display a basic first photographing area 470 having a predetermined range as a center.
  • the electronic device 401 checks the signal of the first external electronic device using the first communication module 391 and determines the first photographing area 470 based on the signal.
  • indicator can be determined.
  • the electronic device 401 may display the indicator 450 on the image 403 in the camera interface.
  • the electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) is displayed in the image 403 .
  • the basic first photographing area 470 is adjusted by the user to view all of the plurality of subjects 403a to 403c .
  • the included first photographing area 490 may be checked.
  • the electronic device captures the entire capturing area including the first capturing area 410 for the image.
  • the composition may be checked and the photographing composition of the image may be maintained even if the position of the first subject 403a is changed.
  • FIG. 5 is a diagram 500 for explaining an operation of measuring a range of a first photographing area in an electronic device according to various embodiments of the present disclosure.
  • an electronic device 401 may display a user in an image 403 .
  • the range of the first photographing area 490 may be measured based on the indicator 450 indicating the electronic device.
  • the electronic device 401 includes coordinate information from the indicator 450 indicating the first external electronic device to the upper side of the first photographing area 490 and the indicator 450 to the first external electronic device indicating the first external electronic device.
  • Vertical distance information (eg, Y_Up distance information and Y_Down distance information) may be measured by using coordinate information up to the lower side of the photographing area.
  • the electronic device 401 includes coordinate information from the indicator 450 indicating the first external electronic device to the left side of the first photographing area 490 and the indicator 460 to the first external electronic device indicating the first external electronic device.
  • Horizontal distance information (eg, X_Left distance information and X_Right distance information) may be measured using the coordinate information to the right of the photographing area 490.
  • the electronic device 401 may measure the vertical distance information (eg, Y_Up).
  • the first photographing area 490 A ratio of the plurality of subjects 403a to 403c or the first subject 403a included in 490 may be checked in the image 403 .
  • FIGS. 6A and 6B are diagrams 600a and 600b for explaining an operation of maintaining a photographing composition according to a change in a distance of a first external electronic device in an electronic device according to various embodiments of the present disclosure
  • an electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) includes a first subject 403a
  • the first external electronic device 450a of The first distance information [A]z of the first external electronic device 450a may be checked.
  • the electronic device 401 may be configured with the first communication module, for example, a UWB communication module.
  • the second distance information ([B]z) between the electronic device 401 and the first external electronic device 450a of the first subject 403a may be checked using .
  • the electronic device 401 includes the first subject 403a to correspond to a distance variation a1 between the first distance information [A]z and the second distance information [B]z). By performing an enlargement function on the image 403 , the ratio of the first subject 403a included and displayed in the first photographing area 490 may be maintained.
  • the first external electronic device 450a of the first subject 403a moves to a first position (“ A")
  • upper and lower distance information eg, [A]Y_Up distance information and [A]Y_Down
  • the first external electronic device 450a of Distance information and [B]Y_Down distance information may be kept constant without change.
  • the electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) includes a first subject 403a
  • the first external electronic device 450a of The first distance information [A]z of the first external electronic device 450a may be checked.
  • the electronic device 401 may be configured with the first communication module, for example, a UWB communication module.
  • the second distance information [B]z between the electronic device 401 and the first external electronic device 450a of the first subject 403a may be checked using .
  • the electronic device 401 includes the first subject 403a to correspond to a distance variation a1 between the first distance information [A]z and the second distance information [B]z). By performing an enlargement function on the image 403 , the ratio of the first subject 403a included and displayed in the first photographing area 490 may be maintained.
  • the first external electronic device 450a of the first subject 403a moves to a first position (“ A"), left and right distance information (eg, [A]X_Left distance information and [A]X_Right) of the first subject 403a included in the first photographing area 490 and the When the first external electronic device 450a is in the second position (“B”), upper and lower distance information (eg, [B] X_Left distance) of the first subject 403a included in the first photographing area 490 . information and [B] X_Right distance information) may be kept constant without change.
  • the electronic device may include a first communication module (eg, the first communication module 391 of FIG. 3 ). , a second communication module (eg, the second communication module 393 of FIG. 2 ), a camera module (eg, the camera module 380 of FIG. 3 , and a processor (eg, the processor 320 of FIG.
  • a first communication module eg, the first communication module 391 of FIG. 3
  • a second communication module eg, the second communication module 393 of FIG. 2
  • a camera module eg, the camera module 380 of FIG. 3
  • a processor eg, the processor 320 of FIG.
  • the processor while displaying the image including the subject received through the camera module in the camera interface, a first shooting area designated by the user among the entire shooting area for the image and included in the first shooting area If the photographing composition of the image is checked based on the ratio of the object, and a change in the distance of the object included in the first photographing area with respect to the first external electronic device is detected through the first communication module, the distance change It may be set to maintain a ratio of the subject included in the first photographing area by performing an enlargement function or a reduction function on the image correspondingly.
  • the processor may be configured to calculate distance information and direction information of the first external electronic device using a signal transmitted and received with the external electronic device through the first communication module.
  • the processor detects at least one external electronic device through the first communication module while displaying the image received through the camera module in the camera interface,
  • a first external electronic device located within a camera field of view among the at least one electronic device is identified based on distance information and direction information between the camera module and the at least one external electronic device, and It may be configured to determine the first external electronic device as the first external electronic device of the subject included in the image based on the distance information and direction information.
  • the processor when the first communication module is activated while displaying the image received through the camera module in the camera interface, the processor is configured to perform the at least one external electronic device through the first communication module. It can be configured to detect devices.
  • the first capturing area may represent a partial capturing area designated by a user among the entire capturing area for the image displayed on the camera interface.
  • the processor while displaying the image on the camera interface, is located near or partially overlapping with the subject in the image, the first outside of the subject detected through the first communication module Display an indicator indicating the electronic device, measure the range of the first photographing area based on the indicator indicating the first external electronic device, and check the ratio of the subject included in the first photographing area can be
  • the processor measures a position of the first capturing range based on user input information for designating the first capturing area among the entire capturing area of the image, and It may be set to check the location of the subject included in the first shooting range based on the location.
  • the camera module corresponds to the change in direction. may be set so that the subject is included in the first photographing area by adjusting the photographing direction.
  • the processor may be set to transmit direction adjustment information corresponding to the direction change to an external accessory that is attached to the camera module through the second communication module and can adjust the photographing direction of the camera module.
  • the processor may be configured to receive a signal for controlling the camera interface from the first external electronic device through the first communication module.
  • the operation of setting the photographing composition may include operations 701 to 707. According to an embodiment, at least one of operations 701 to 707 may be omitted, the order of some operations may be changed, or another operation may be added.
  • the electronic device may activate a camera interface.
  • the electronic device may activate a camera interface (eg, a preview mode) according to execution of a camera application.
  • a camera interface eg, a preview mode
  • the electronic device receives a camera module (eg, the electronic device 301 of FIG. 3 ) in a camera interface.
  • a camera module eg, the electronic device 301 of FIG. 3
  • An image including a subject photographed through the camera module 380 may be displayed.
  • the electronic device displays the image captured through the camera module on a display (eg, the display 360 of FIG. 3 ),
  • the entire photographing composition of the entire photographing area of the image may be set according to a user's setting (eg, a zoom function (eg, zoom in) or a reduction function (zoom out)).
  • a zoom function eg, zoom in
  • a reduction function e.g., zoom out
  • a first communication module (eg, the first communication module 391 of FIG. 3 ) Distance information and direction information about at least one external electronic device located nearby may be detected through the .
  • the electronic device may include a first external electronic device (eg, FIG. 2 ) located within a camera field of view range of the at least one external electronic device based on distance information and direction information of the at least one external electronic device. of the first external electronic device 202).
  • the electronic device may identify the first external electronic device as the first external electronic device related to the subject included in the image based on distance information and direction information of the first external electronic device.
  • the electronic device may include an indicator associated with the first external electronic device of the subject, for example, at a position near or partially overlapping the subject while displaying the image including the subject on the display in the camera interface. 1 An indicator indicating an external electronic device may be displayed.
  • the electronic device selects a subject designated by the user in the entire photographing area of the image.
  • the first photographing area including
  • the electronic device displays a subject and a first external electronic device (eg, the first external electronic device of FIG. 2 ) on a display (eg, the display 360 of FIG. 3 ) in a camera interface. While the image including the indicator is displayed, the designation of the first photographing area including the subject by the user among the entire photographing area of the image may be confirmed.
  • a first external electronic device eg, the first external electronic device of FIG. 2
  • a display eg, the display 360 of FIG. 3
  • the electronic device detects the object included in the first photographing area in the image. You can check the shooting composition of the image based on the location and the ratio of the subject.
  • the electronic device measures a range of the first photographing area including a subject designated by a user among the entire photographing area of the image and a position of the first photographing area, and the first photographing area Based on the range of and the position of the first photographing area, it is possible to check photographing composition information for the image corresponding to the entire photographing area including the first photographing area.
  • the electronic device may include an indicator related to the first external electronic device of the subject included in the first photographing area in the image, for example, based on an indicator indicating the first external electronic device.
  • the range of the first photographing area is measured, and as the range of the first photographing area is measured, the current ratio of the subject included in the first photographing area may be confirmed.
  • the electronic device measures the location information of the first capturing area based on user input information (eg, touch information) for designating the first capturing area among the entire area of the image, , as the position of the first photographing area is measured, the position of the subject included in the first photographing area among the entire photographing area of the image may be confirmed.
  • user input information eg, touch information
  • FIG. 8 is a flowchart 800 for explaining an operation of maintaining a photographing composition in an electronic device according to various embodiments of the present disclosure.
  • the operation of maintaining the photographing composition may include operations 801 to 803 .
  • at least one of operations 801 to 803 may be omitted, the order of some operations may be changed, or another operation may be added.
  • the electronic device changes the distance of the subject to the first external electronic device If you check , you can perform an enlargement or reduction function on the image corresponding to the change in distance.
  • the electronic device starts shooting an image received through a camera module (eg, the camera module 380 of FIG. 3 ) in the camera interface (eg, input a photo shooting button or input a video shooting start) is detected, the photographing composition of the image (eg, the position of the subject included in the first photographing area and the ratio of the object) may be confirmed at the time of detecting the start of the photographing.
  • a camera module eg, the camera module 380 of FIG. 3
  • the camera interface eg, input a photo shooting button or input a video shooting start
  • the photographing composition of the image eg, the position of the subject included in the first photographing area and the ratio of the object
  • the electronic device through a first communication module (eg, the first communication module 391 of FIG. 3 ), in the entire photographing area of the image, a first outside of the subject included in the first photographing area Upon detecting a change in the distance of the electronic device, an enlargement function or a reduction function may be performed on the image to correspond to the distance change. Even if the distance of the first external electronic device is changed according to the movement of the subject, the electronic device performs an enlargement function or a reduction function on the image to correspond to the distance change, so as to be included in the first photographing area. As the ratio of the subject is constantly displayed without change, the photographing composition for the image may be automatically maintained.
  • a first communication module eg, the first communication module 391 of FIG. 3
  • the electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) changes the direction of the subject with respect to the first external electronic device If you check , you can change the shooting direction of the camera shooting module to correspond to the direction change.
  • the electronic device through a first communication module (eg, the first communication module 391 ), includes a first object included in a first photographing area designated by a user in the entire photographing area of the image.
  • a first communication module eg, the first communication module 391
  • the photographing direction of the camera module eg, the camera module 380 of FIG. 3
  • the electronic device changes the shooting direction of the camera module to correspond to the direction change and displays the subject including the subject in the first shooting area Accordingly, the shooting composition for the image may be automatically maintained.
  • the electronic device when the camera module is attached to a detachable external accessory (eg, the external accessory 210 of FIG. 2 ), the electronic device includes a second communication module (eg, the second communication module of FIG. 2 ). Through (393)), direction adjustment information corresponding to the direction change may be transmitted to the external accessory capable of adjusting the shooting direction by moving the camera module up/down, left/right rotation, or forward/backward rotation.
  • a detachable external accessory eg, the external accessory 210 of FIG. 2
  • the electronic device includes a second communication module (eg, the second communication module of FIG. 2 ).
  • direction adjustment information corresponding to the direction change may be transmitted to the external accessory capable of adjusting the shooting direction by moving the camera module up/down, left/right rotation, or forward/backward rotation.
  • 9A, 9B, and 9C are diagrams 900a, 900b, and 900c for explaining an operation of maintaining a photographing composition in an electronic device according to various embodiments of the present disclosure.
  • the electronic device 901 eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3
  • the first subject 903a and the second subject 903b possessing the first external electronic device 950a eg, a wearable electronic device located in the An image 913 may be displayed.
  • the electronic device identifies a first photographing area 990 designated by the user among the entire photographing area 910 of an image 913, and the first photographing area ( 990) based on the position and ratio of the first subject 903a possessing the first external electronic device among the first subject 903a and the second subject 903b included in the image 910; can check
  • the photographing direction of the camera module of the electronic device 901 may be changed to correspond to the direction change.
  • the electronic device 901 changes the photographing direction of the camera module of the electronic device 901 so that the first of the entire photographing area 910 of the image 913 is changed.
  • a first subject 903a and a second subject 903b moving together with the first subject may be displayed in the photographing area 990 .
  • a first subject 903a possessing the first external electronic device 950a moves from a first position A to a second position B, and
  • an enlargement function or a reduction function is performed corresponding to the distance change,
  • the photographing direction of the camera module of the electronic device 901 may be changed to correspond to the direction change.
  • the electronic device performs an enlargement or reduction function on the image 913 corresponding to the distance change, and the electronic device 901 corresponds to the direction change.
  • the photographing direction of the camera module of While 903b is included, the first subject 903a and the second subject 903b may be displayed in the same proportion as that of the first screen A1 of FIG. 9C .
  • the photographing direction of the camera module of the electronic device may be changed to correspond to the direction change.
  • the electronic device 901 changes the photographing direction of the camera module of the electronic device to a first photographing area ( 910 ) of the image 913 . 990), including the first subject 903 and the second subject 903b moving together with the first subject.
  • a first subject 903a possessing the first external electronic device 950a moves from a second position B to a third position C, so that the electronic device 901 .
  • an enlargement function or a reduction function is performed corresponding to the distance change,
  • the photographing direction of the camera module of the electronic device 901 may be changed to correspond to the direction change.
  • the electronic device performs an enlargement or reduction function on the image 913 in response to the change in distance, and the electronic device 901 in response to the change in direction
  • the photographing direction of the camera module of The first subject and the second subject 903b may be displayed in the same proportion as the first screen A1 of FIG. 9C and the second screen B1 of FIG. 9C while including 903b.
  • the method in the method of maintaining a photographing composition in an electronic device, while displaying an image including a subject received through a camera module in a camera interface, a first photographing area designated by a user among all photographing areas for the image and checking a photographing composition for the image based on the ratio of the subject included in the first photographing area, and to the first external electronic device of the object included in the first photographing area through a first communication module
  • the method may include an operation of maintaining a ratio of the subject included in the first photographing area by performing an enlargement function or a reduction function on the image corresponding to the change in the distance.
  • the method may further include calculating distance information and direction information of the first external electronic device using a signal transmitted and received with the external electronic device through the first communication module.
  • the method may further include determining, based on the first external electronic device, as the first external electronic device of the subject included in the image.
  • the at least one external electronic device when the first communication module is activated while the image received through the camera module is displayed in the camera interface, the at least one external electronic device is detected through the first communication module. It may further include an action.
  • the first capturing area may represent a partial capturing area designated by a user among the entire capturing area for the image displayed on the camera interface.
  • the first external electronic device of the subject detected through the first communication module is displayed at a position near or partially overlapping the subject in the image.
  • An operation of displaying an indicator and an operation of measuring a range of the first photographing area based on an indicator indicating the first external electronic device and checking a ratio of the subject included in the first photographing area are further performed.
  • the operation of measuring the position of the first shooting range based on user input information for designating the first shooting area among the entire shooting area of the image, and the location of the first shooting range may further include an operation of confirming the position of the subject included in the first photographing range based on the first photographing range.
  • the photographing direction of the camera module is changed to correspond to the change in direction.
  • the method may further include an operation of adjusting the subject to be included in the first photographing area.
  • the operation of transmitting direction adjustment information corresponding to the direction change to an external accessory attached to the camera module through the second communication module of the electronic device and capable of adjusting the photographing direction of the camera module is further performed.
  • the method may further include receiving a signal for controlling the camera interface from the first external electronic device through the first communication module.
  • the electronic device may have various types of devices.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a wearable device e.g., a smart bracelet
  • a home appliance device e.g., a home appliance
  • first”, “second”, or “first” or “second” may simply be used to distinguish an element from other such elements, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101).
  • a storage medium eg, internal memory 136 or external memory 138
  • the processor eg, the processor 120
  • the device eg, the electronic device 101
  • 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.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided as included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly or online between smartphones (eg: smartphones).
  • a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component eg, a module or a program of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have.
  • one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

An electronic device according to various embodiments comprises a first communication module, a second communication module, a camera module, and a processor. The processor can be configured to: identify the imaging composition of an image, which is received through the camera module and includes a subject, while the image is being displayed in a camera interface, the imaging composition being identified on the basis of the ratio, with respect to a user-designated first imaging area in the overall imaging area of the image, of the subject included in the first imaging area; and when a change in the distance of the subject included in the first imaging area with respect to a first external electronic device is detected through the first communication module, maintain the ratio of the subject included in the first imaging area by performing an enlargement function or a reduction function on the image according to the change in distance. Various other embodiments may be provided.

Description

전자 장치 및 전자 장치에서 촬영 구도 유지 방법Electronic Devices and Methods of Composing Shots on Electronic Devices
다양한 실시 예들은, 사용자에 의해 지정된 촬영 구도를 유지할 수 있는 전자 장치 및 전자 장치에서 촬영 구도 유지 방법에 관한 것이다.Various embodiments relate to an electronic device capable of maintaining a photographing composition designated by a user, and a method for maintaining a photographing composition in the electronic device.
전자 장치에 포함된 카메라를 통해 이미지를 촬영할 때, 상기 전자 장치는 상기 카메라를 통해 촬영된 이미지에 포함된 피사체를 인식할 수 있고, 또는 상기 피사체의 움직임을 감지할 수 있으며 상기 피사체를 촬영할 수 있다. When capturing an image through a camera included in the electronic device, the electronic device may recognize a subject included in an image captured by the camera, or detect a movement of the subject and photograph the subject .
전자 장치에 포함된 카메라를 통해 이미지를 촬영할 때, 상기 전자 장치는 상기 카메라를 통해 촬영된 이미지에 포함된 피사체의 움직임에 따라, 상기 피사체를 촬영이 어려울 수 있다. 다양한 실시 예들은, 사용자에 의해 지정된 촬영 구도를 유지할 수 있는 전자 장치 및 전자 장치에서 촬영 구도 유지 방법을 제공할 수 있다. When capturing an image through the camera included in the electronic device, it may be difficult for the electronic device to photograph the subject according to the movement of the subject included in the image captured by the camera. Various embodiments may provide an electronic device capable of maintaining a photographing composition designated by a user and a method of maintaining a photographing composition in the electronic device.
다양한 실시 예들은, 전자 장치에 포함된 상기 카메라를 통해 획득한 촬영 이미지 또는 외부 전자 장치의 신호에 기반하여 피사체를 확인하고, 이를 기반으로 상기 카메라 촬영 구도를 제어할 수 있는 전자 장치 및 전자 장치에서 촬영 구도 유지 방법을 제공할 수 있다. According to various embodiments, in an electronic device and an electronic device capable of identifying a subject based on a captured image acquired through the camera included in the electronic device or a signal of an external electronic device, and controlling the camera shooting composition based on this, A method for maintaining the shooting composition may be provided.
다양한 실시 예들에 따른 전자 장치는, 제1 통신 모듈, 제2 통신 모듈, 카메라 모듈, 및 프로세서를 포함하고, 상기 프로세서는, 카메라 인터페이스에서 상기 카메라 모듈을 통해 수신되는 피사체를 포함하는 이미지를 표시하는 동안, 상기 이미지에 대한 전체 촬영 영역 중 사용자에 의해 지정된 제1 촬영 영역과 상기 제1 촬영 영역에 포함된 피사체의 비율을 기반하여 상기 이미지에 대한 촬영 구도를 확인하고, 상기 제1 통신 모듈을 통해 상기 제1 촬영 영역에 포함된 상기 피사체의 제1외부 전자 장치에 대한 거리 변화를 검출하면, 상기 거리 변화에 대응되게 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행하여 상기 제1 촬영 영역에 포함된 상기 피사체의 비율을 유지하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes a first communication module, a second communication module, a camera module, and a processor, wherein the processor displays an image including a subject received through the camera module in a camera interface while checking the photographing composition for the image based on the ratio of the first photographing area designated by the user among the entire photographing area for the image and the subject included in the first photographing area, and through the first communication module When a change in the distance of the subject included in the first photographing area with respect to the first external electronic device is detected, an enlargement function or a reduction function is performed on the image to correspond to the distance change, and the image is included in the first photographing area. It may be set to maintain the proportion of the subject.
다양한 실시 예들에 따르면, 전자 장치에서 촬영 구도를 유지하는 방법은, 카메라 인터페이스에서 카메라 모듈을 통해 수신되는 피사체를 포함하는 이미지를 표시하는 동안, 상기 이미지에 대한 전체 촬영 영역 중 사용자에 의해 지정된 제1 촬영 영역과 상기 제1 촬영 영역에 포함된 피사체의 비율을 기반하여 상기 이미지에 대한 촬영 구도를 확인하는 동작, 및 제1 통신 모듈을 통해 상기 제1 촬영 영역에 포함된 상기 피사체의 제1외부 전자 장치에 대한 거리 변화를 검출하면, 상기 거리 변화에 대응되게 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행하여 상기 제1 촬영 영역에 포함된 상기 피사체의 비율을 유지하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, in a method of maintaining a photographing composition in an electronic device, while displaying an image including a subject received through a camera module in a camera interface, a first method designated by a user among the entire photographing area for the image an operation of confirming a photographing composition for the image based on a ratio of a photographing area and a subject included in the first photographing area, and a first external electron of the subject included in the first photographing area through a first communication module When a change in the distance to the device is detected, an operation of maintaining a ratio of the subject included in the first photographing area by performing an enlargement function or a reduction function on the image corresponding to the distance change may be included.
다양한 실시 예들에 따르면, 카메라 모듈을 통해 촬영되는 피사체가 이동되어도 사용자에 의해 지정된 촬영 구도를 유지하며 촬영함에 따라 촬영의 편의성과 촬영 영상의 품질을 높일 수 있다.According to various embodiments of the present disclosure, even when a subject to be photographed through the camera module is moved, it is possible to improve the convenience of photographing and the quality of the photographed image by maintaining the photographing composition specified by the user.
도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도 이다. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
도 2는 다양한 실시 예들에 따른 전자 장치의 촬영 구도를 유지하는 동작을 설명하기 위한 도면 이다.2 is a diagram for explaining an operation of maintaining a photographing composition of an electronic device according to various embodiments of the present disclosure;
도 3은 다양한 실시 예들에 따른 전자 장치의 블록도 이다. 3 is a block diagram of an electronic device according to various embodiments of the present disclosure;
도 4a, 도 4b, 도 4c, 도 4d 및 도 4e는 다양한 실시 예들에 따른 전자 장치에서 촬영 구도를 설정하는 동작을 설명하기 위한 도면들 이다.4A, 4B, 4C, 4D, and 4E are diagrams for explaining an operation of setting a photographing composition in an electronic device according to various embodiments of the present disclosure.
도 5는 다양한 실시 예들에 따른 전자 장치에서 제1 촬영 영역의 범위를 측정하는 동작을 설명하기 위한 도면 이다.5 is a diagram for describing an operation of measuring a range of a first photographing area in an electronic device according to various embodiments of the present disclosure;
도 6a 및 도 6b는 다양한 실시 예들에 따른 전자 장치에서 제1 외부 전자 장치의 거리 변화에 따른 촬영 구도를 유지하는 동작을 설명하기 위한 도면들 이다.6A and 6B are diagrams for explaining an operation of maintaining a photographing composition according to a change in distance of a first external electronic device in an electronic device according to various embodiments of the present disclosure;
도 7은 다양한 실시 예들에 따른 전자 장치에서 촬영 구도를 설정하는 동작을 설명하기 위한 흐름도 이다.7 is a flowchart illustrating an operation of setting a photographing composition in an electronic device according to various embodiments of the present disclosure;
도 8은 다양한 실시 예들에 따른 전자 장치에서 촬영 구도를 유지하는 동작을 설명하기 위한 흐름도 이다.8 is a flowchart illustrating an operation of maintaining a photographing composition in an electronic device according to various embodiments of the present disclosure;
도 9a, 도 9b 및 도 9c는 다양한 실시 예들에 따른 전자 장치에서 촬영 구도를 유지하는 동작을 설명하기 위한 도면들 이다.9A, 9B, and 9C are diagrams for explaining an operation of maintaining a photographing composition in an electronic device according to various embodiments of the present disclosure;
도 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), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(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 a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 may be included. In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a 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 data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 uses less power than the main processor 121 or is set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190 ). have. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
메모리(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, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile 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 module 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 . The electronic device 102) (eg, a speaker or headphones) may output a sound.
센서 모듈(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 sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (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 specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, 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 can 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 the user can perceive through tactile or kinesthetic sense. According to an 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 moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a 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 one embodiment, 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(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a 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). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range 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). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses subscriber information (eg, 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 identified or authenticated.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) in order to achieve a high data rate, for example. The wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) may be supported.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, 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 external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more 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 other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received 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 a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. The server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
도 2는 다양한 실시 예들에 따른 전자 장치의 촬영 구도를 유지하는 동작을 설명하기 위한 도면(200)이다.FIG. 2 is a diagram 200 for explaining an operation of maintaining a photographing composition of an electronic device according to various embodiments of the present disclosure.
상기 도 2를 참조하면, 다양한 실시 예에 따르면, 전자 장치(201)(예: 도 1의 전자 장치(101))는, 디스플레이(예: 도 1의 디스플레이 모듈(160)) 에서 카메라 모듈을 통해 수신되는 이미지를 표시하는 동안, 상기 이미지의 전체 촬영 영역 중 상기 이미지에 포함된 피사체를 포함하는 제1 촬영 영역이 사용자에 의해 지정되면, 상기 피사체를 포함하는 제1 촬영 영역을 기반으로 상기 이미지에 대한 촬영 구도를 확인하고, 상기 피사체의 위치가 변경되어도 상기 이미지에 대한 촬영 구도를 유지할 수 있다.Referring to FIG. 2 , according to various embodiments of the present disclosure, an electronic device 201 (eg, the electronic device 101 of FIG. 1 ) may display (eg, the display module 160 of FIG. 1 ) through a camera module. While displaying a received image, if a first shooting area including a subject included in the image among the entire shooting area of the image is designated by the user, the image is added to the image based on the first shooting area including the subject. It is possible to check a photographing composition for the image, and to maintain the photographing composition for the image even when the position of the subject is changed.
일 실시 예에 따르면, 상기 전자 장치(201)는, 상기 이미지의 전체 촬영 영역에서 상기 제1 촬영 영역에 포함되는 피사체의 위치와 비율을 기반으로 상기 이미지에 대한 촬영 구도를 확인하고, 상기 피사체의 위치가 변경되어도 상기 이미지에 대한 촬영 구도를 유지할 수 있다.According to an embodiment, the electronic device 201 checks the photographing composition of the image based on the position and ratio of the subject included in the first photographing area in the entire photographing area of the image, and Even if the location is changed, the photographing composition for the image may be maintained.
일 실시 예에 따르면, 상기 전자 장치(201)는, 제1 통신 모듈 예를 들어, UWB통신 모듈을 통해 상기 이미지에 포함된 상기 피사체의 제1 외부 전자 장치(202)을 검출할 수 있다.According to an embodiment, the electronic device 201 may detect the first external electronic device 202 of the subject included in the image through a first communication module, for example, a UWB communication module.
일 실시 예에 따르면, 상기 전자 장치(201)는, 제1 통신 모듈 예를 들어, UWB통신 모듈을 통해 상기 피사체의 제1 외부 전자 장치(202)에 대한 거리 변화를 확인하면, 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행하여 상기 이미지의 전체 촬영 영역에서 상기 피사체에 대한 비율을 일정하게 유지하여 표시 함으로서, 상기 이미지에 대한 촬영 구도를 유지할 수 있다.According to an embodiment, when the electronic device 201 checks a change in the distance of the subject to the first external electronic device 202 through a first communication module, for example, a UWB communication module, By performing an enlargement function or a reduction function to maintain and display a constant ratio of the subject in the entire photographing area of the image, it is possible to maintain the photographing composition of the image.
일 실시 예에 따르면, 상기 전자 장치(201)는, 제1 통신(예: UWB통신) 을 통해 상기 피사체의 제1 외부 전자 장치(202)에 대한 방향 변화를 확인하면, 상기 카메라 모듈의 촬영 방향을 변경하여 상기 이미지의 전체 촬영 영역에서 상기 피사체가 상기 제1 촬영 영역에 포함되어 표시하게 함으로서, 상기 이미지에 대한 촬영 구도를 유지할 수 있다.According to an embodiment, when the electronic device 201 confirms a change in the direction of the subject with respect to the first external electronic device 202 through the first communication (eg, UWB communication), the photographing direction of the camera module By changing to display the subject included in the first photographing area in the entire photographing area of the image, it is possible to maintain the photographing composition of the image.
일 실시 예에 따르면, 상기 전자 장치(201)는, 상기 전자 장치(201)를 자동으로 상하 이동, 좌우 회전 및 앞뒤 회전시킬 수 있는 외부 액세서리(210)(예: 삼각대)에 부착될 수 있다.According to an embodiment, the electronic device 201 may be attached to an external accessory 210 (eg, a tripod) capable of automatically moving the electronic device 201 up and down, left and right, and rotates back and forth.
일 실시 예에 따르면, 상기 전자 장치(201)는, 상기 제1 통신(예: UWB통신)을 통해, 상기 제1 외부 전자 장치(202)의 거리 정보와 방향 정보를 획득함에 따라 상기 제1 외부 전자 장치(202)가 이동하는 경우 실시간으로 제1 외부 전자 장치(202)의 거리 정보와 방향 정보를 반영하여 상기 제1 외부 전자 장치(202)의 피사체에 대한 자동 포커스를 유지할 수 있다.According to an embodiment, as the electronic device 201 acquires distance information and direction information of the first external electronic device 202 through the first communication (eg, UWB communication), the first external When the electronic device 202 moves, distance information and direction information of the first external electronic device 202 may be reflected in real time to maintain automatic focus on the subject of the first external electronic device 202 .
일 실시 예에 따르면, 상기 전자 장치(201)는, 제2 통신(예: BT 통신 또는 BLE통신)을 통해 상기 제1 외부 전자 장치(202)로부터 상기 제1 외부 전자 장치(202)에 대한 정보 또는 상기 디스플레이 모듈에서 표시되는 상기 이미지에 대한 촬영을 제어할 수 있는 신호를 수신할 수 있다.According to an embodiment, the electronic device 201 provides information on the first external electronic device 202 from the first external electronic device 202 through a second communication (eg, BT communication or BLE communication). Alternatively, a signal capable of controlling shooting of the image displayed on the display module may be received.
다양한 실시 예에 따르면, 제1 외부 전자 장치(202)(예: 도 1의 전자 장치(102), 또는 웨어러블 전자 장치)는, 제1 통신(예: UWB통신)을 통해 상기 전자 장치와 UWB신호를 송수신할 수 있다.According to various embodiments, the first external electronic device 202 (eg, the electronic device 102 of FIG. 1 , or the wearable electronic device) communicates with the electronic device through a first communication (eg, UWB communication) for a UWB signal. can send and receive
일 실시 예에 따르면, 상기 제1 외부 전자 장치(202)는, 제2 통신(예: BT통신 또는 BLE통신)을 통해 상기 전자 장치(201)로부터 상기 전자 장치의 정보를 수신하고, 상기 전자 장치(201)의 카메라 촬영을 제어할 수 있는 신호를 전송할 수 있다.According to an embodiment, the first external electronic device 202 receives information of the electronic device from the electronic device 201 through a second communication (eg, BT communication or BLE communication), and the electronic device A signal capable of controlling the camera shooting of 201 may be transmitted.
도 3은 다양한 실시 예들에 따른 전자 장치의 블록도(300)이다. 3 is a block diagram 300 of an electronic device according to various embodiments of the present disclosure.
상기 도 3을 참조하면, 전자 장치(301)(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(201))는, 프로세서(320), 메모리(330), 디스플레이(360), 카메라 모듈(380) 및/또는 통신 모듈(390)을 포함할 수 있다.Referring to FIG. 3 , an electronic device 301 (eg, the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2 ) includes a processor 320 , a memory 330 , a display 360 , It may include a camera module 380 and/or a communication module 390 .
다양한 실시 예들에 따르면, 프로세서(320)는, 전자 장치(301)의 전반적인 동작을 제어할 수 있으며, 도 1의 프로세서(120)와 동일할 수 있거나, 상기 프로세서(120)에서 수행되는 적어도 하나의 기능 또는 동작을 수행할 수 있다.According to various embodiments, the processor 320 may control the overall operation of the electronic device 301 , and may be the same as the processor 120 of FIG. 1 , or at least one It can perform a function or action.
다양한 실시 예들에 따르면, 프로세서(320)는, 카메라 인터페이스에서 카메라 모듈(380)을 통해 수신되는 피사체 포함하는 이미지를 표시하는 동안, 상기 이미지에 대한 전체 촬영 영역 중 사용자에 의해 지정된 제1 촬영 영역과 상기 제1 촬영 영역에 포함된 상기 피사체의 비율을 기반으로 상기 이미지에 대한 촬영 구도 정보를 확인할 수 있다.일 실시 예에 따르면, 상기 프로세서(320)는, 카메라 어플리케이션의 실행에 따라 활성화된 카메라 인터페이스(예: 프리뷰 모드)에서 상기 카메라 모듈(380)을 통해 수신되는 상기 이미지를 디스플레이(360)에 표시할 수 있다. 상기 프로세서(320)는, 상기 디스플레이(360)에 상기 이미지를 표시하는 동안 사용자의 설정에 의해 상기 이미지의 전체 촬영 영역에 대한 전체 촬영 구도를 설정할 수 있다. 예를 들어 상기 프로세서(320)는, 상기 카메라 모듈(380)을 통해 수신되는 상기 이미지를 상기 디스플레이(360)에 표시하는 동안, 사용자의 선택에 의해 상기 이미지에 대한 확대 기능(예: zoom in) 또는 축소 기능(zoom out) 등이 실행되면, 상기 확대 기능 또는 상기 축소 기능들에 대응되게 상기 이미지에 포함된 배경 및 피사체에 대한 크기를 변경함에 따라 상기 이미지의 전체 촬영 대한 전체 촬영 구도를 설정할 수 있다.According to various embodiments of the present disclosure, while displaying an image including a subject received through the camera module 380 in the camera interface, the processor 320 includes a first capturing area designated by a user among the entire capturing area for the image and The photographing composition information of the image may be checked based on the ratio of the subject included in the first photographing area. According to an embodiment, the processor 320 may include a camera interface activated according to execution of a camera application. In (eg, preview mode), the image received through the camera module 380 may be displayed on the display 360 . The processor 320 may set the entire shooting composition for the entire shooting area of the image according to a user's setting while the image is displayed on the display 360 . For example, while the processor 320 displays the image received through the camera module 380 on the display 360, a function of magnifying the image by a user's selection (eg, zoom in) Alternatively, when a zoom out function is executed, the entire photographing composition for the entire photographing of the image can be set by changing the size of the background and the subject included in the image to correspond to the enlargement function or the reduction functions. have.
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 제1 통신 모듈(391)을 통해 상기 제1 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(202))와 송수신하는 UWB신호를 기반으로, 상기 제1 외부 전자 장치의 거리 정보와 방향 정보를 계산하여 획득할 수 있다. 상기 프로세서(320)는 제1 통신 모듈(391)인 초 광대 역(UWB: ultra wide band)통신 모듈을 통해 상기 전자 장치(301)와 상기 제1 외부 전자 장치 간에 UWB신호(예: Ranging 요청 메시지 및 Ranging 응답 메시지)를 송수신하는 시간을 계산하여 상기 전자 장치(301)와 상기 제1 외부 전자 장치간의 거리 정보(예: Ranging 정보)를 결정할 수 있다. 상기 프로세서(320)는, 상기 전자 장치에 구비된 UWB신호를 송수신하기 위한 복수의 안테나들을 통해 상기 제1 외부 전자 장치로부터 Ranging 응답 신호를 수신하고, 상기 복수의 안테나들 중 제1 안테나를 통해 수신된 Ranging 응답 신호의 제1 수신 시간과 상기 복수의 안테나들 중 제2 안테나를 통해 수신된 Ranging 응답 신호의 제2 수신 시간 간의 차이를 이용하여 상기 제1 외부 전자 장치의 방향 정보(예: AOA(arrival of angle))를 결정할 수 있다.According to an embodiment, the processor 320 transmits and receives a UWB signal to and from the first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) through the first communication module 391 . Based on this, distance information and direction information of the first external electronic device may be calculated and obtained. The processor 320 transmits a UWB signal (eg, a ranging request message) between the electronic device 301 and the first external electronic device through an ultra wide band (UWB) communication module that is a first communication module 391 . and a time for transmitting and receiving a ranging response message) may be calculated to determine distance information (eg, ranging information) between the electronic device 301 and the first external electronic device. The processor 320 receives a ranging response signal from the first external electronic device through a plurality of antennas for transmitting and receiving UWB signals provided in the electronic device, and receives the ranging response signal through a first antenna among the plurality of antennas The direction information of the first external electronic device (eg, AOA ( AOA) arrival of angle)).
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 카메라 인터페이스에서 상기 카메라 모듈(380)을 통해 수신되는 상기 이미지를 상기 디스플레이(360)에 표시하는 동안, 사용자의 선택에 의해 통신 모듈(390) 중 제1 통신 모듈(391)을 활성화 시키고, 상기 제1 통신 모듈(391)을 통해 주변에 위치된 적어도 하나의 외부 전자 장치에 대한 거리 정보 및 방향 정보를 검출할 수 있다. 상기 프로세서(320)는, 상기 적어도 하나의 외부 전자 장치의 거리 정보 및 방향 정보를 기반으로, 상기 적어도 하나의 외부 전자 장치 중 상기 전자 장치(301)의 카메라 화각 범위 내에 위치한 제1 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(202))를 확인할 수 있다. 상기 프로세서(320)는, 상기 제1 외부 전자 장치의 거리 정보 및 방향 정보를 기반으로, 상기 제1 외부 전자 장치를 상기 카메라 모듈(380)을 통해 수신되는 상기 이미지에 포함된 상기 피사체와 관련된 제1 외부 전자 장치로 확인할 수 있다. 상기 프로세서(320)는, 상기 카메라 인터페이스에서 상기 디스플레이(360)에 상기 피사체를 포함하는 이미지를 표시하는 동안 상기 피사체의 근처 또는 일부 중첩되는 위치에 상기 피사체의 상기 제1 외부 전자 장치와 연관된 인디케이터 예를 들어, 상기 제1 외부 전자 장치를 나타내는 인디케이터를 표시할 수 있다.According to an embodiment, the processor 320 displays the image received through the camera module 380 in the camera interface on the display 360, the communication module 390 by the user's selection. Among them, the first communication module 391 may be activated, and distance information and direction information about at least one external electronic device located in the vicinity may be detected through the first communication module 391 . The processor 320 is configured to: a first external electronic device ( Example: The first external electronic device 202 of FIG. 2 ) may be identified. The processor 320 is configured to set the first external electronic device to a second object related to the subject included in the image received through the camera module 380 based on distance information and direction information of the first external electronic device. 1 It can be checked with an external electronic device. The processor 320, while displaying the image including the subject on the display 360 in the camera interface, is an indicator associated with the first external electronic device of the subject at a position near or partially overlapping the subject. For example, an indicator indicating the first external electronic device may be displayed.
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 카메라 인터페이스에서 상기 디스플레이(360)에 상기 피사체 및 상기 피사체의 제1 외부 전자 장치(예: 도 2의 제1 외부 전자 장치)와 연관된 인디케이터 예를 들어, 상기 제1 외부 전자 장치를 나타내는 인디케이터를 포함하는 상기 이미지를 표시하는 동안, 상기 이미지의 전체 촬영 영역 중 사용자에 의해 상기 피사체를 포함하는 제1 촬영 영역의 지정을 확인하면, 상기 제1 촬영 영역의 범위와 상기 제1 촬영 영역의 위치를 측정하고, 상기 제1 촬영 영역의 범위와 상기 제1 촬영 영역의 위치를 기반으로 상기 이미지에 대한 촬영 구도 정보를 확인할 수 있다.According to an embodiment, the processor 320 may display an example of an indicator associated with the subject and a first external electronic device of the subject (eg, the first external electronic device of FIG. 2 ) on the display 360 in the camera interface. For example, while displaying the image including the indicator indicating the first external electronic device, if the user confirms designation of the first photographing area including the subject among the entire photographing area of the image, the first The range of the photographing area and the position of the first photographing area may be measured, and photographing composition information of the image may be confirmed based on the range of the first photographing area and the position of the first photographing area.
다양한 실시 예에 따르면, 상기 프로세서(320)는, 상기 이미지에서 상기 제1 촬영 영역에 포함된 상기 피사체의 상기 제1 외부 전자 장치와 연관된 인디케이터, 예를 들어 상기 제1 외부 전자 장치를 나타내는 인디케이터를 기준으로 상기 제1 촬영 영역의 범위를 측정할 수 있다. 일 실시예에 따르면, 상기 프로세서(320)는, 상기 피사체의 상기 제1 외부 전자 장치를 나타내는 인디케이터가 현재 위치에서 지정된 시간 이상을 유지하는 경우, 상기 인디케이터를 기준으로 상기 제1 촬영 영역의 범위를 측정할 수 있다. According to various embodiments, the processor 320 may display an indicator associated with the first external electronic device of the subject included in the first photographing area in the image, for example, an indicator indicating the first external electronic device. As a reference, the range of the first photographing area may be measured. According to an embodiment, when the indicator indicating the first external electronic device of the subject maintains a specified time or longer at the current location, the processor 320 determines the range of the first photographing area based on the indicator. can be measured
일 실시예에 따르면, 상기 프로세서(320)는, 상기 제1 외부 전자 장치의 위치 정보를 지정된 시간 동안의 평균 위치를 인디케이터로 결정하고, 상기 인디케이터를 기준으로 상기 제1 촬영 영역의 범위를 측정할 수 있다.According to an embodiment, the processor 320 determines an average location of the location information of the first external electronic device for a specified time as an indicator, and measures the range of the first photographing area based on the indicator. can
상기 프로세서(320)는, 상기 제1 외부 전자 장치를 나타내는 인디케이터부터 상기 제1 촬영 영역의 상측까지 좌표 정보와 상기 제1 외부 전자 장치를 나타내는 인디케이터부터 상기 제1 촬영 영역의 하측까지의 좌표 정보를 이용하여 세로 거리 정보(예: y축 거리 정보)를 측정할 수 있다. 상기 프로세서(320)는, 상기 제1 외부 전자 장치를 나타내는 인디케이터부터 상기 제1 촬영 영역의 좌측까지 좌표 정보와 상기 제1 외부 전자 장치를 나타내는 인디케이터부터 상기 제1 촬영 영역의 우측까지의 좌표 정보를 이용하여 가로 거리 정보(예: x축 거리 정보)를 측정할 수 있다. 상기 프로세서(220)는, 상기 세로 거리 정보(예: y축 거리 정보)와 상기 가로 거리 정보(예: x축 거리 정보)을 이용하여 상기 제1 촬영 영역의 범위를 측정하고, 상기 제1 촬영 영역의 범위를 측정함에 따라 상기 제1 촬영 영역에 포함된 상기 피사체의 비율을 확인할 수 있다.The processor 320 is configured to obtain coordinate information from the indicator indicating the first external electronic device to the upper side of the first photographing area and coordinate information from the indicator indicating the first external electronic device to the lower side of the first photographing area. can be used to measure vertical distance information (eg, y-axis distance information). The processor 320 is configured to obtain coordinate information from the indicator indicating the first external electronic device to the left side of the first photographing area and coordinate information from the indicator indicating the first external electronic device to the right side of the first photographing area. can be used to measure horizontal distance information (eg, x-axis distance information). The processor 220 measures the range of the first imaging area using the vertical distance information (eg, y-axis distance information) and the horizontal distance information (eg, x-axis distance information), and performs the first imaging As the range of the area is measured, the ratio of the subject included in the first photographing area may be checked.
다양한 실시 예에 따르면, 상기 프로세서(320)는, 상기 이미지의 전체 영역 중 상기 제1 촬영 영역을 지정하기 위한 사용자의 입력 정보(예: 터치 정보)를 기반으로 상기 제1 촬영 영역의 위치 정보를 측정하고, 상기 제1 촬영 영역의 위치를 측정함에 따라 상기 이미지의 전체 촬영 영역 중 상기 제1 촬영 영역에 포함된 상기 피사체의 위치를 확인할 수 있다. 상기 촬영 영역은 상기 이미지의 전체 촬영 영역 중 일부 촬영 영역을 포함할 수 있다.According to various embodiments of the present disclosure, the processor 320 obtains location information of the first capturing area based on user input information (eg, touch information) for designating the first capturing area among the entire area of the image. By measuring and measuring the position of the first photographing area, the position of the subject included in the first photographing area among the entire photographing area of the image may be confirmed. The photographing area may include a partial photographing area of the entire photographing area of the image.
다양한 실시 예에 따르면, 상기 프로세서(320)는, 상기 피사체의 비율을 확인할 수 있는 상기 제1 촬영 영역의 범위와 상기 피사체의 위치를 확인할 수 있는 상기 제1 촬영 영역의 위치를 기반으로, 상기 제1 촬영 영역의 촬영 구도 정보를 확인할 수 있다. 예를 들어, 상기 프로세서(320)는, 상기 카메라 인터페이스에서 상기 카메라 모듈(380)을 통해 수신된 이미지를 표시하는 동안, 상기 이미지에 포함된 배경과 피사체(예: 사람) 중 사용자에 의해 상기 피사체를 포함하는 제1 촬영 영역이 설정되면, 상기 이미지의 전체 촬영 영역 중 제1 촬영 영역의 위치에 포함되어 표시되는 피사체의 비율과 상기 제1 촬영 영역에 포함된 상기 피사체의 위치를 상기 이미지에 대한 촬영 구도로 확인할 수 있다.According to various embodiments of the present disclosure, the processor 320 may be configured to, based on the range of the first photographing area in which the ratio of the subject can be checked and the position of the first photographing area in which the location of the subject can be checked, the second 1 You can check the shooting composition information of the shooting area. For example, while the processor 320 displays the image received through the camera module 380 in the camera interface, the user selects the subject from among the background and subjects (eg, people) included in the image. When a first capturing area including You can check the shooting composition.
다양한 실시 예에 따르면, 상기 프로세서(320)는, 제1 외부 전자 장치와 연관된 피사체를 확인하고, 전체 촬영 영역 중 상기 피사체가 포함되는 제1 촬영 영역의 범위 및 제1 촬영 영역의 위치와 관련된 촬영 구도 정보를 확인할 수 있다. 상기 프로세서(320)은 전체 촬영 영역 또는 제1 촬영 영역의 범위에서 피사체의 비율 또는 위치를 확인 할 수 있다. According to various embodiments of the present disclosure, the processor 320 identifies a subject associated with the first external electronic device, and captures a range of a first capturing area including the subject and a position of the first capturing area among the entire capturing area. You can check the composition information. The processor 320 may check the ratio or position of the subject in the entire photographing area or the range of the first photographing area.
다양한 실시 예들에 따르면, 프로세서(320)는 제1 통신 모듈(391)을 통해 제1 촬영 영역에 포함된 피사체의 제1 외부 전자 장치의 거리 변화를 검출하면, 상기 이미지에 대한 촬영 구도를 유지하기 위해 상기 거리 변화에 대응되게 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행할 수 있다.According to various embodiments of the present disclosure, when the processor 320 detects a change in the distance of the first external electronic device of the subject included in the first photographing area through the first communication module 391 , to maintain the photographing composition for the image For this purpose, an enlargement function or a reduction function may be performed on the image to correspond to the distance change.
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 제1 통신 모듈을 통해 상기 전자 장치(301)와 제1 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(202))간의 거리 변화를 확인하면, 상기 거리 변화에 대응되게 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행하여, 상기 이미지의 전체 촬영 영역 중 상기 제1 촬영 영역에 포함된 상기 피사체를 상기 이미지의 촬영 구도로 확인한 비율로 유지하여 표시할 수 있다. 상기 프로세서(320)는, 상기 피사체의 상기 제1 외부 전자 장치에 대한 거리 변화가 검출되어도 상기 제1 촬영 영역에 포함된 상기 피사체를 상기 이미지의 촬영 구도로 확인한 비율로 일정하게 유지하며 표시함에 따라 상기 이미지에 대한 촬영 구도를 자동으로 유지시킬 수 있다.According to an embodiment, the processor 320 may change the distance between the electronic device 301 and a first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) through the first communication module. is confirmed, the zoom function or reduction function is performed on the image to correspond to the distance change, and the subject included in the first photographing area among the entire photographing area of the image is maintained at a rate determined by the photographing composition of the image. can be displayed. The processor 320 maintains and displays the subject included in the first photographing area at a ratio determined by the photographing composition of the image even when a change in the distance of the object to the first external electronic device is detected and displayed. You can automatically maintain the shooting composition for the image.
다양한 실시 예들에 따르면, 프로세서(320)는, 제1 통신 모듈(391)을 통해 제1 촬영 영역에 포함된 피사체의 제1 외부 전자 장치의 방향 변화를 검출하면, 상기 이미지에 대한 촬영 구도를 유지하기 위해 상기 방향 변화에 대응되게 상기 카메라 모듈(380)의 촬영 방향을 변경할 수 있다.According to various embodiments of the present disclosure, if the processor 320 detects a change in the direction of the first external electronic device of the subject included in the first photographing area through the first communication module 391, maintain the photographing composition for the image. In order to do this, the shooting direction of the camera module 380 may be changed to correspond to the direction change.
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 제1 통신 모듈을 통해 상기 제1 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(202))에 대한 방향 정보의 변화를 확인하면, 상기 방향 변화에 대응되게 상기 카메라 모듈(380)의 촬영 방향을 변경하여, 상기 피사체를 상기 제1 촬영 영역에 포함하여 표시할 수 있다. 상기 프로세서(320)는, 상기 피사체의 상기 제1 외부 전자 장치에 대한 방향 변화가 검출되어도 상기 제1 촬영 영역에 상기 피사체를 포함하여 표시함에 따라 상기 이미지에 대한 촬영 구도를 자동으로 유지시킬 수 있다.According to an embodiment, when the processor 320 checks a change in direction information for the first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) through the first communication module, , by changing the photographing direction of the camera module 380 to correspond to the change in direction, the subject may be displayed in the first photographing area. The processor 320 may automatically maintain the photographing composition for the image by displaying the object in the first photographing area even when a change in direction of the object with respect to the first external electronic device is detected. .
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 카메라 모듈(380)이 탈부착 가능한 외부 액세서리(예: 도 2의 외부 액세서리(210))에 부착되어 있으면, 상기 카메라 모듈(380)을 상하, 좌우 회전 또는 앞뒤 회전으로 촬영 방향을 조정할 수 있는 상기 외부 액세서리로 상기 방향 변화에 대응되는 방향 조정 정보를 전송할 수 있다.According to one embodiment, the processor 320, when the camera module 380 is attached to a detachable external accessory (eg, the external accessory 210 of FIG. 2), the camera module 380 up and down, Direction adjustment information corresponding to the direction change may be transmitted to the external accessory capable of adjusting the photographing direction by turning left and right or forward and backward.
다양한 실시 예들에 따르면, 프로세서(320)는, 제2 통신 모듈(393)을 이용하여 제1 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(202))와 통신을 할 수 있으며, 상기 제2 통신 모듈(393)을 통해 상기 제1 외부 전자 장치의 정보를 수신하고, 상기 전자 장치의 정보를 상기 제1 외부 전자 장치로 전송할 수 있다.According to various embodiments, the processor 320 may communicate with a first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) using the second communication module 393 , The information of the first external electronic device may be received through the second communication module 393 , and the information of the electronic device may be transmitted to the first external electronic device.
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 제2 통신 모듈(393)을 통해 상기 제1 외부 전자 장치로부터 상기 카메라 모듈(380)을 통해 카메라 인터페이스를 제어할 수 이 있는 신호를 수신할 수 있다. 예를 들어 상기 카메라 인터페이스를 제어할 수 이 있는 신호는 사진 촬영을 위한 신호 또는 동영상 촬영의 시작 신호와 종료 신호를 포함할 수 있다.According to an embodiment, the processor 320 may receive a signal capable of controlling a camera interface through the camera module 380 from the first external electronic device through the second communication module 393 . can For example, the signal capable of controlling the camera interface may include a signal for taking a picture or a start signal and an end signal for taking a video.
다양한 실시 예들에 따르면, 프로세서(320)는, 제1 통신 모듈(391)을 이용하여 제1 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(202))와 통신을 할 수 있으며, 상기 제1 통신 모듈(391)을 통해 상기 제1 외부 전자 장치의 정보를 수신하고, 상기 전자 장치의 정보를 상기 제1 외부 전자 장치로 전송할 수 있다. 상기 프로세서(320)은 사진 또는 동영상 촬영을 위한 신호, 또는 카메라 인터페이스와 관련된 신호를 송수신 할 수 있다.According to various embodiments, the processor 320 may communicate with a first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) using the first communication module 391 , The information of the first external electronic device may be received through the first communication module 391 , and the information of the electronic device may be transmitted to the first external electronic device. The processor 320 may transmit/receive a signal for taking a picture or a video, or a signal related to a camera interface.
다양한 실시 예들에 따르면, 프로세서(320)는, 제2 통신 모듈(393)을 이용하여 제2 외부 전자 장치(예: 도 2의 외부 액세서리(210))와 통신을 할 수 있으며, 상기 제2 통신 모듈(393)을 통해 상기 제2 외부 전자 장치의 정보를 송수신 할 수 있다. 상기 프로세서(320)는 상기 제2 외부 전자 장치로 정보를 전송하여, 카메라 모듈의 촬영 방향을 조정하도록 제어할 수 있다.According to various embodiments, the processor 320 may communicate with a second external electronic device (eg, the external accessory 210 of FIG. 2 ) using the second communication module 393 , and the second communication Information of the second external electronic device may be transmitted/received through the module 393 . The processor 320 may transmit information to the second external electronic device to control a photographing direction of the camera module.
다양한 실시 예들에 따르면, 메모리(330)는 도 1의 메모리(130)와 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the memory 330 may be implemented substantially the same as or similar to the memory 130 of FIG. 1 .
일 실시 예에 따르면, 상기 메모리(330)는, 카메라 인터페이스에서 표시되는 이미지에 대한 촬영 구도에 대한 정보를 저장할 수 있다.According to an embodiment, the memory 330 may store information on a photographing composition of an image displayed on a camera interface.
다양한 실시 예들에 따르면, 디스플레이(360)는 도 1의 디스플레이 모듈(160)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the display 360 may be implemented substantially the same as or similar to the display module 160 of FIG. 1 .
일 실시 예에 따르면, 상기 디스플레이(360)는, 카메라 인터페이스에서 카메라 모듈(380)을 통해 수신되는 이미지를 표시하는 동안 상기 이미지의 전제 촬영 영역 중 제1 촬영 영역이 사용자에 의해 지정될 수 있도록 UI를 표시할 수 있다.According to an embodiment, the display 360 may display a UI such that a first capturing area among all capturing areas of the image may be designated by a user while displaying an image received through the camera module 380 in the camera interface. can be displayed.
일 실시 예에 따르면, 상기 디스플레이(360)는, 상기 카메라 인터페이스에서 카메라 모듈(380)을 통해 수신되는 이미지를 표시하는 동안 제1 통신 모듈을 활성화 또는 비활성화 시킬 수 있는 UI를 표시할 수 있다.According to an embodiment, the display 360 may display a UI for activating or deactivating the first communication module while displaying an image received through the camera module 380 in the camera interface.
다양한 실시 예들에 따르면, 카메라 모듈(380)은 도 1의 카메라 모듈(180)과 실질적으로 동일하거나 유사하게 구현될 수 있으며, 전면에 위치된 적어도 하나의 카메라와 후면에 위치된 적어도 카메라를 포함할 수 있다.According to various embodiments, the camera module 380 may be implemented substantially the same as or similar to the camera module 180 of FIG. 1 , and may include at least one camera located at the front and at least one camera located at the rear. can
다양한 실시 예들에 따르면, 통신 모듈(390)은 도 1의 통신 모듈(190)과 실질적으로 동일하거나 유사하게 구현될 수 있으며, 통신 모듈(290)을 포함하여 서로 다른 통신 기술을 사용하는 복수의 통신 회로를 포함할 수 있다. According to various embodiments, the communication module 390 may be implemented substantially the same as or similar to the communication module 190 of FIG. 1 , and a plurality of communication modules using different communication technologies including the communication module 290 . circuit may be included.
일 실시 예에 따르면, 통신 모듈(390)은, 제1 통신 모듈(391) 및, 제2 통신 모듈(393)을 포함할 수 있다.According to an embodiment, the communication module 390 may include a first communication module 391 and a second communication module 393 .
일 실시 예에 따르면, 제1 통신 모듈(391)은, UWB통신을 위한 복수의 안테나들을 이용하여 외부 전자 장치와 UWB 신호를 송수신할 수 있는 UWB 통신 모듈 및/또는 RF안테나를 이용하여 외부 전자 장치와 RF신호를 송수신할 수 있는 RF 통신 모듈을 포함할 수 있다.According to an embodiment, the first communication module 391 uses a UWB communication module capable of transmitting and receiving UWB signals to and from an external electronic device using a plurality of antennas for UWB communication and/or an external electronic device using an RF antenna. and an RF communication module capable of transmitting and receiving an RF signal.
일 실시 예에 따르면, 제2 통신 모듈(393)은, 무선랜 모듈(미도시)과 근거리통신 모듈(미도시) 중 적어도 하나를 포함할 수 있으며, 상기 근거리통신 모듈(미도시)로 Wi-Fi 통신 모듈, NFC 통신 모듈, 블루투스 레거시(Legacy) 통신 모듈 및/또는 BLE통신 모듈을 포함할 수 있다.According to an embodiment, the second communication module 393 may include at least one of a wireless LAN module (not shown) and a short-range communication module (not shown), and a Wi- It may include a Fi communication module, an NFC communication module, a Bluetooth legacy communication module and/or a BLE communication module.
도 4a, 도 4b, 도 4c, 도 4d 및 도 4e는 다양한 실시 예들에 따른 전자 장치에서 촬영 구도를 설정하는 동작을 설명하기 위한 도면들(400a, 400b, 400c, 400d 및 400e)이다.4A, 4B, 4C, 4D, and 4E are diagrams 400a, 400b, 400c, 400d, and 400e for explaining an operation of setting a photographing composition in an electronic device according to various embodiments of the present disclosure.
상기 도 4a를 참조하면, 전자 장치(401)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 카메라 인터페이스(예: 프리뷰 모드)에서 카메라 모듈(예: 도 3의 카메라 모듈(380))을 통해 수신되는 이미지(403)를 디스플레이(예: 도 3의 디스플레이(360))에 표시할 수 있다. 상기 전자 장치(401)는, 상기 카메라 인터페이스에서 상기 이미지(403)를 표시하는 동안 상기 이미지(403)에 포함된 배경 화면 및 복수의 피사체들(403a 내지 403c)를 고려한 사용자의 설정(예: 확대 기능 또는 축소 기능)에 의해 상기 이미지의 전체 촬영 영역(410)에 대한 전체 촬영 구도를 설정경할 수 있다.Referring to FIG. 4A , an electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) has a camera interface (eg, a preview). mode), an image 403 received through a camera module (eg, the camera module 380 of FIG. 3 ) may be displayed on a display (eg, the display 360 of FIG. 3 ). The electronic device 401, while displaying the image 403 on the camera interface, considers a background screen and a plurality of subjects 403a to 403c included in the image 403 and a user setting (eg, enlargement). function or reduction function), the entire photographing composition for the entire photographing area 410 of the image may be set.
상기 도 4b를 참조하면, 전자 장치(401)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 제1 통신 모듈(예: 도 3의 제1 통신 모듈(391)) 예를 들어. UWB통신 모듈의 활성화를 위해 상기 제1 통신 모듈이 사용자에 의해 선택될 수 있는 UI(430)를 제공할 수 있다. 상기 전자 장치(401)는, 상기 제1 통신 모듈의 활성화 상태 또는 비활성화 상태에 따라 상기 UI을 구분되게 표시할 수 있다.Referring to FIG. 4B , the electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) includes a first communication module (eg, the electronic device 301 of FIG. 3 ). : The first communication module 391 of FIG. 3) For example. In order to activate the UWB communication module, the first communication module may provide a UI 430 that can be selected by the user. The electronic device 401 may display the UI to be distinguished according to an activated state or an inactive state of the first communication module.
상기 도 4c를 참조하면, 전자 장치(401)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 상기 제1 통신 모듈 예를 들어, UWB통신 모듈의 활성화에 따라, 상기 제1 통신 모듈을 통해 상기 이미지에 포함된 복수의 피사체들(403a 내지 403c) 중 제1 피사체(403a)의 제1 외부 전자 장치를 검출하고, 상기 이미지(403)에서 상기 제1 외부 전자 장치와 연관된 인디케이터 예를 들어, 상기 제1 외부 전자 장치를 나타내는 인디케이터(450)을 상기 제1 피사체(403a)에 중첩하여 표시할 수 있다.Referring to FIG. 4C , an electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) may include an example of the first communication module. For example, according to the activation of the UWB communication module, the first external electronic device of the first subject 403a among the plurality of subjects 403a to 403c included in the image is detected through the first communication module, and the In the image 403 , an indicator associated with the first external electronic device, for example, an indicator 450 indicating the first external electronic device, may be displayed by being superimposed on the first subject 403a.
다양한 실시 예에 따르면, 상기 전자 장치(401)는, 상기 제1 외부 전자 장치와 연관된 인디케이터 예를 들어, 상기 제1 외부 전자 장치를 나타내는 인디케이터(450)가 상기 제1 피사체(403a)의 제1 외부 전자 장치가 맞는지 확인하는 팝 업 창을 표시하고, 상기 팝 업 창을 통해 사용자의 확인을 수신하면 상기 제1 외부 전자 장치를 나타내는 인디케이터(450)가 상기 제1 피사체(403a)에 중첩되게 표시하는 것을 유지할 수 있다. 상기 전자 장치(401)는 상기 팝 업 창을 통해 사용자의 취소 또는 수정을 수신하면, 상기 제1 통신 모듈 예를 들어, UWB통신 모듈을 통한 외부 전자 장치의 검색을 다시 실행하거나, 또는 사용자에 선택에 의해 상기 인디케이터(450)를 다른 피사체로 이동하여 표시할 수 있다.According to various embodiments of the present disclosure, in the electronic device 401 , an indicator associated with the first external electronic device, for example, an indicator 450 indicating the first external electronic device, is the first of the first subject 403a. A pop-up window for confirming whether the external electronic device is correct is displayed, and when a user's confirmation is received through the pop-up window, an indicator 450 indicating the first external electronic device is displayed to overlap the first subject 403a can keep doing When the electronic device 401 receives the user's cancellation or modification through the pop-up window, the electronic device 401 re-executes the search for an external electronic device through the first communication module, for example, the UWB communication module, or selects the user By this, the indicator 450 may be moved to another subject and displayed.
상기 도 4d를 참조하면, 전자 장치(401)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 상기 이미지(403)에서 상기 제1 피사체(403a)에 중첩되게 상기 제1 피사체(403a)의 제1 외부 전자 장치를 나타내는 인디케이터(450)를 표시하는 동안, 상기 인디케이터(450)가 사용자에 의해 선택되면, 상기 인디케이터(450)를 중심으로 일정 범위를 가지는 기본 제1 촬영 영역(470)을 표시할 수 있다.Referring to FIG. 4D , the electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) is displayed in the image 403 . When the indicator 450 is selected by the user while the indicator 450 indicating the first external electronic device of the first subject 403a is displayed to overlap the first subject 403a, the indicator 450 ) may display a basic first photographing area 470 having a predetermined range as a center.
다양한 실시예에 따르면, 전자 장치(401)은 제 1 통신 모듈(391)을 이용하여 제1 외부 전자 장치의 신호를 확인하고, 상기 신호에 기반하여 제1 촬영 영역(470)을 결정하는 요소인 인디케이터를 결정할 수 있다. 전자 장치(401)은 카메라 인터페이스에서 이미지(403)에 인디케이터(450)를 표시할 수 있다.According to various embodiments, the electronic device 401 checks the signal of the first external electronic device using the first communication module 391 and determines the first photographing area 470 based on the signal. indicator can be determined. The electronic device 401 may display the indicator 450 on the image 403 in the camera interface.
상기 도 4e를 참조하면, 전자 장치(401)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 상기 이미지(403)에서 상기 인디케이터(450)를 중심으로 일정 범위를 가지는 기본 제1 촬영 영역(470)을 표시하는 동안, 사용자에 의해 기본 제1 촬영 영역(470)이 조절되어 복수의 피사체들(403a 내지 403c)을 모두 포함하는 제1 촬영 영역(490)을 확인할 수 있다. 상기 전자 장치는, 이미지(403)의 전체 촬영 영역(410) 중 사용자에 의해 제1 촬영 영역(490)이 지정되면, 상기 제1 촬영 영역(410)을 포함하는 전체 촬영 영역을 이미지에 대한 촬영 구도를 확인하고, 상기 제1피사체(403a)의 위치가 변경되어도 상기 이미지에 대한 촬영 구도를 유지할 수 있다.Referring to FIG. 4E , the electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) is displayed in the image 403 . While displaying the basic first photographing area 470 having a predetermined range centered on the indicator 450 , the basic first photographing area 470 is adjusted by the user to view all of the plurality of subjects 403a to 403c . The included first photographing area 490 may be checked. When the first capturing area 490 is designated by the user among the entire capturing area 410 of the image 403 , the electronic device captures the entire capturing area including the first capturing area 410 for the image. The composition may be checked and the photographing composition of the image may be maintained even if the position of the first subject 403a is changed.
도 5는 다양한 실시 예들에 따른 전자 장치에서 제1 촬영 영역의 범위를 측정하는 동작을 설명하기 위한 도면(500)이다.FIG. 5 is a diagram 500 for explaining an operation of measuring a range of a first photographing area in an electronic device according to various embodiments of the present disclosure.
상기 도 5를 참조하면, 전자 장치(401)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 이미지(403)에서 사용자에 의해 지정된 제1 촬영 영역(490)에 포함된 복수의 피사체들(403a 내지 403c)) 중 제1 피사체(403a)의 제1 외부 전자 장치와 연관된 인터게이터(450), 예를 들어 제1 외부 전자 장치를 나타내는 인디케이터(450)를 기준으로 상기 제1 촬영 영역(490)의 범위를 측정할 수 있다. 상기 전자 장치(401)는, 상기 제1 외부 전자 장치를 나타내는 인디케이터(450)부터 상기 제1 촬영 영역(490)의 상측까지 좌표 정보와 상기 제1 외부 전자 장치를 나타내는 인디케이터(450)부터 상기 제1 촬영 영역의 하측까지의 좌표 정보를 이용하여 세로 거리 정보(예: Y_Up 거리 정보와 Y_Down 거리 정보)를 측정할 수 있다. 상기 전자 장치(401)는, 상기 제1 외부 전자 장치를 나타내는 인디케이터(450)부터 상기 제1 촬영 영역(490)의 좌측까지 좌표 정보와 상기 제1 외부 전자 장치를 나타내는 인디케이터(460부터 상기 제1 촬영 영역(490)의 우측까지의 좌표 정보를 이용하여 가로 거리 정보(예: X_Left 거리 정보와 X_Right 거리 정보)를 측정할 수 있다. 상기 전자 장치(401)는, 상기 세로 거리 정보(예: Y_Up 거리 정보와 Y_Down 거리 정보)와 상기 가로 거리 정보(예: X_Left 거리 정보와 X_Right 거리 정보)을 이용하여 상기 제1 촬영 영역(490)의 범위를 측정할 수 있는 상기 제1 촬영 영역(490)의 4개의 모서리 지점들(a1 내지 a4) 각각의 위치 정보를 측정할 수 있다. 상기 전자 장치(401)는 사용자에 의해 지정된 상기 제1 촬영 영역(490)의 범위를 확인하면, 상기 제1 촬영 영역(490)에 포함된 복수의 피사체들(403a 내지 403c) 또는 제1 피사체(403a)가 상기 이미지(403)에 표시되는 비율을 확인할 수 있다.Referring to FIG. 5 , an electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) may display a user in an image 403 . The intergator 450 associated with the first external electronic device of the first subject 403a among the plurality of subjects 403a to 403c included in the first photographing area 490 designated by , for example, the first external The range of the first photographing area 490 may be measured based on the indicator 450 indicating the electronic device. The electronic device 401 includes coordinate information from the indicator 450 indicating the first external electronic device to the upper side of the first photographing area 490 and the indicator 450 to the first external electronic device indicating the first external electronic device. 1 Vertical distance information (eg, Y_Up distance information and Y_Down distance information) may be measured by using coordinate information up to the lower side of the photographing area. The electronic device 401 includes coordinate information from the indicator 450 indicating the first external electronic device to the left side of the first photographing area 490 and the indicator 460 to the first external electronic device indicating the first external electronic device. Horizontal distance information (eg, X_Left distance information and X_Right distance information) may be measured using the coordinate information to the right of the photographing area 490. The electronic device 401 may measure the vertical distance information (eg, Y_Up). Distance information and Y_Down distance information) and the horizontal distance information (eg, X_Left distance information and X_Right distance information) of the first photographing area 490 in which the range of the first photographing area 490 can be measured It is possible to measure the location information of each of the four corner points a1 to a4 When the electronic device 401 identifies the range of the first photographing area 490 designated by the user, the first photographing area A ratio of the plurality of subjects 403a to 403c or the first subject 403a included in 490 may be checked in the image 403 .
도 6a 및 도 6b는 다양한 실시 예들에 따른 전자 장치에서 제1 외부 전자 장치의 거리 변화에 따른 촬영 구도를 유지하는 동작을 설명하기 위한 도면들(600a 및 도600b)이다.6A and 6B are diagrams 600a and 600b for explaining an operation of maintaining a photographing composition according to a change in a distance of a first external electronic device in an electronic device according to various embodiments of the present disclosure;
상기 도 6a을 참조하면, 전자 장치(401)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 제1 피사체(403a)의 제1 외부 전자 장치(450a)가 제1 위치("A")에 있을 때, 제1 통신 모듈 예를 들어, UWB통신 모듈을 이용하여 상기 전자 장치(401)와 제1 피사체(403a)의 제1 외부 전자 장치(450a)의 제1 거리 정보([A]z)를 확인할 수 있다. 이후 상기 전자 장치(401)는, 상기 제1 피사체(403a)의 제1 외부 전자 장치(450a)가 제2 위치("B")에 있을 때, 상기 제1 통신 모듈 예를 들어, UWB통신 모듈을 이용하여 상기 전자 장치(401)와 제1 피사체(403a)의 제1 외부 전자 장치(450a)의 제2 거리 정보([B]z)을 확인할 수 있다. 상기 전자 장치(401)는, 상기 제1 거리 정보([A]z)와 상기 제2 거리 정보([B]z)간의 거리 변화 량(a1)에 대응되게 상기 제1 피사체(403a)를 포함하는 상기 이미지(403)에 대한 확대 기능을 수행하여, 제1 촬영 영역(490)에 포함되어 표시되는 제1 피사체(403a)의 비율을 유지할 수 있다. 상기 전자 장치(401)와 상기 제1 외부 전자 장치(450a)간의 거리(예: z 방향) 변화임으로, 상기 제1 피사체(403a)의 상기 제1 외부 전자 장치(450a)가 제1 위치("A")에 있을 때 제1 촬영 영역(490)에 포함되는 제1 피사체(403a)의 상하측 거리 정보(예: [A]Y_Up거리 정보와 [A]Y_Down)와 상기 제1 피사체(403a)의 상기 제1 외부 전자 장치(450a)가 제2 위치("B")에 있을 때 제1 촬영 영역(490)에 포함되는 제1 피사체(403a)의 상하측 거리 정보(예: [B]Y_Up거리 정보와 [B]Y_Down 거리 정보)는 변경 없이 일정하게 유지될 수 있다.Referring to FIG. 6A , an electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) includes a first subject 403a When the first external electronic device 450a of The first distance information [A]z of the first external electronic device 450a may be checked. Thereafter, when the first external electronic device 450a of the first subject 403a is in the second position (“B”), the electronic device 401 may be configured with the first communication module, for example, a UWB communication module. The second distance information ([B]z) between the electronic device 401 and the first external electronic device 450a of the first subject 403a may be checked using . The electronic device 401 includes the first subject 403a to correspond to a distance variation a1 between the first distance information [A]z and the second distance information [B]z). By performing an enlargement function on the image 403 , the ratio of the first subject 403a included and displayed in the first photographing area 490 may be maintained. As the distance (eg, z direction) between the electronic device 401 and the first external electronic device 450a changes, the first external electronic device 450a of the first subject 403a moves to a first position (“ A"), upper and lower distance information (eg, [A]Y_Up distance information and [A]Y_Down) of the first subject 403a included in the first photographing area 490 and the first subject 403a When the first external electronic device 450a of Distance information and [B]Y_Down distance information) may be kept constant without change.
상기 도 6b를 참조하면, 전자 장치(401)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 제1 피사체(403a)의 제1 외부 전자 장치(450a)가 제1 위치("A")에 있을 때, 제1 통신 모듈 예를 들어, UWB통신 모듈을 이용하여 상기 전자 장치(401)와 제1 피사체(403a)의 제1 외부 전자 장치(450a)의 제1 거리 정보([A]z)를 확인할 수 있다. 이후 상기 전자 장치(401)는, 상기 제1 피사체(403a)의 제1 외부 전자 장치(450a)가 제2 위치("B")에 있을 때, 상기 제1 통신 모듈 예를 들어, UWB통신 모듈을 이용하여 상기 전자 장치(401)와 제1 피사체(403a)의 제1 외부 전자 장치(450a)의 제2 거리 정보([B]z)을 확인할 수 있다. 상기 전자 장치(401)는, 상기 제1 거리 정보([A]z)와 상기 제2 거리 정보([B]z)간의 거리 변화 량(a1)에 대응되게 상기 제1 피사체(403a)를 포함하는 상기 이미지(403)에 대한 확대 기능을 수행하여, 제1 촬영 영역(490)에 포함되어 표시되는 제1 피사체(403a)의 비율을 유지할 수 있다. 상기 전자 장치(401)와 상기 제1 외부 전자 장치(450a)간의 거리(예: z 방향) 변화임으로, 상기 제1 피사체(403a)의 상기 제1 외부 전자 장치(450a)가 제1 위치("A")에 있을 때 제1 촬영 영역(490)에 포함되는 제1 피사체(403a)의 좌우측 거리 정보(예: [A]X_Left거리 정보와 [A]X_Right)와 상기 제1 피사체(403a)의 상기 제1 외부 전자 장치(450a)가 제2 위치("B")에 있을 때 제1 촬영 영역(490)에 포함되는 제1 피사체(403a)의 상하측 거리 정보(예: [B] X_Left거리 정보와 [B] X_Right 거리 정보)는 변경 없이 일정하게 유지될 수 있다.Referring to FIG. 6B , the electronic device 401 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) includes a first subject 403a When the first external electronic device 450a of The first distance information [A]z of the first external electronic device 450a may be checked. Thereafter, when the first external electronic device 450a of the first subject 403a is in the second position (“B”), the electronic device 401 may be configured with the first communication module, for example, a UWB communication module. The second distance information [B]z between the electronic device 401 and the first external electronic device 450a of the first subject 403a may be checked using . The electronic device 401 includes the first subject 403a to correspond to a distance variation a1 between the first distance information [A]z and the second distance information [B]z). By performing an enlargement function on the image 403 , the ratio of the first subject 403a included and displayed in the first photographing area 490 may be maintained. As the distance (eg, z-direction) between the electronic device 401 and the first external electronic device 450a changes, the first external electronic device 450a of the first subject 403a moves to a first position (“ A"), left and right distance information (eg, [A]X_Left distance information and [A]X_Right) of the first subject 403a included in the first photographing area 490 and the When the first external electronic device 450a is in the second position (“B”), upper and lower distance information (eg, [B] X_Left distance) of the first subject 403a included in the first photographing area 490 . information and [B] X_Right distance information) may be kept constant without change.
다양한 실시 예들에 따르면, 전자 장치(예: 도 1의 전자 장치(101), 또는 도 2의 전자 장치(201))는, 제1 통신 모듈(예: 도 3의 제 1 통신 모듈(391)), 제2 통신 모듈(예: 도 2의 제2 통신 모듈(393)), 카메라 모듈(예: 도 3의 카메라 모듈 (380), 및 프로세서(예: 도 3의 프로세서(320))를 포함하고, 상기 프로세서는, 카메라 인터페이스에서 상기 카메라 모듈을 통해 수신되는 피사체를 포함하는 이미지를 표시하는 동안, 상기 이미지에 대한 전체 촬영 영역 중 사용자에 의해 지정된 제1 촬영 영역과 상기 제1 촬영 영역에 포함된 피사체의 비율을 기반하여 상기 이미지에 대한 촬영 구도를 확인하고, 상기 제1 통신 모듈을 통해 상기 제1 촬영 영역에 포함된 상기 피사체의 제1외부 전자 장치에 대한 거리 변화를 검출하면, 상기 거리 변화에 대응되게 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행하여 상기 제1 촬영 영역에 포함된 상기 피사체의 비율을 유지하도록 설정될 수 있다.According to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1 , or the electronic device 201 of FIG. 2 ) may include a first communication module (eg, the first communication module 391 of FIG. 3 ). , a second communication module (eg, the second communication module 393 of FIG. 2 ), a camera module (eg, the camera module 380 of FIG. 3 , and a processor (eg, the processor 320 of FIG. 3 )) , the processor, while displaying the image including the subject received through the camera module in the camera interface, a first shooting area designated by the user among the entire shooting area for the image and included in the first shooting area If the photographing composition of the image is checked based on the ratio of the object, and a change in the distance of the object included in the first photographing area with respect to the first external electronic device is detected through the first communication module, the distance change It may be set to maintain a ratio of the subject included in the first photographing area by performing an enlargement function or a reduction function on the image correspondingly.
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 제1 통신 모듈을 통해 상기 외부 전자 장치와 송수신되는 신호를 이용하여 상기 제1 외부 전자 장치의 거리 정보와 방향 정보를 계산하도록 설정될 수 있다.According to various embodiments, the processor may be configured to calculate distance information and direction information of the first external electronic device using a signal transmitted and received with the external electronic device through the first communication module.
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 카메라 인터페이스에서 상기 카메라 모듈을 통해 수신되는 상기 이미지를 표시하는 동안, 상기 제1 통신 모듈을 통해 적어도 하나의 외부 전자 장치를 검출하고,According to various embodiments, the processor detects at least one external electronic device through the first communication module while displaying the image received through the camera module in the camera interface,
상기 카메라 모듈과 상기 적어도 하나의 외부 전자 장치 간의 거리 정보 및 방향 정보를 기반으로, 상기 적어도 하나의 전자 장치 중 카메라 화각 범위 내에 위치하는 제1 외부 전자 장치를 확인하며, 상기 제1 외부 전자 장치의 거리 정보 및 방향 정보를 기반으로, 상기 제1 외부 전자 장치를 상기 이미지에 포함된 상기 피사체의 제1 외부 전자 장치로 결정하도록 설정될 수 있다.A first external electronic device located within a camera field of view among the at least one electronic device is identified based on distance information and direction information between the camera module and the at least one external electronic device, and It may be configured to determine the first external electronic device as the first external electronic device of the subject included in the image based on the distance information and direction information.
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 카메라 인터페이스에서 상기 카메라 모듈을 통해 수신되는 상기 이미지를 표시하는 동안, 상기 제1 통신 모듈이 활성화되면, 상기 제1 통신 모듈을 통해 상기 적어도 하나의 외부 전자 장치를 검출하도록 설정될 수 있다.According to various embodiments, when the first communication module is activated while displaying the image received through the camera module in the camera interface, the processor is configured to perform the at least one external electronic device through the first communication module. It can be configured to detect devices.
다양한 실시 예들에 따르면, 상기 제1 촬영 영역은 상기 카메라 인터페이스에서 표시되는 상기 이미지에 대한 전체 촬영 영역 중 사용자에 의해 지정된 일부 촬영 영역을 나타낼 수 있다.According to various embodiments of the present disclosure, the first capturing area may represent a partial capturing area designated by a user among the entire capturing area for the image displayed on the camera interface.
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 카메라 인터페이스에서 상기 이미지를 표시하는 동안, 상기 이미지에서 상기 피사체의 근처 또는 일부 중첩되는 위치에 상기 제1 통신 모듈을 통해 검출한 상기 피사체의 상기 제1 외부 전자 장치를 나타내는 인디케이터를 표시하고, 상기 제1 외부 전자 장치를 나타내는 인디케이터를 기준으로, 상기 제1 촬영 영역의 범위를 측정하고, 상기 제1 촬영 영역에 포함된 상기 피사체에 대한 비율을 확인하도록 설정될 수 있다.According to various embodiments, the processor, while displaying the image on the camera interface, is located near or partially overlapping with the subject in the image, the first outside of the subject detected through the first communication module Display an indicator indicating the electronic device, measure the range of the first photographing area based on the indicator indicating the first external electronic device, and check the ratio of the subject included in the first photographing area can be
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 이미지의 전체 촬영 영역 중 상기 제1 촬영 영역을 지정하기 위한 사용자의 입력 정보를 기반으로 상기 제1 촬영 범위의 위치를 측정하고, 상기 제1 촬영 범위의 위치를 기반으로 상기 제1 촬영 범위에 포함된 상기 피사체의 위치를 확인하도록 설정될 수 있다.According to various embodiments, the processor measures a position of the first capturing range based on user input information for designating the first capturing area among the entire capturing area of the image, and It may be set to check the location of the subject included in the first shooting range based on the location.
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 제1 통신 모듈을 통해 상기 제1 촬영 영역에 포함된 상기 피사체의 제1외부 전자 장치에 대한 방향 변화를 검출하면, 상기 방향 변화에 대응되게 상기 카메라 모듈의 촬영 방향을 조정하여 상기 제1 촬영 영역에 상기 피사체가 포함되도록 설정될 수 있다.According to various embodiments of the present disclosure, when the processor detects a change in direction of the subject included in the first photographing area with respect to the first external electronic device through the first communication module, the camera module corresponds to the change in direction. may be set so that the subject is included in the first photographing area by adjusting the photographing direction.
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 제2 통신 모듈을 통해 상기 카메라 모듈에 부착되어 상기 카메라 모듈의 촬영 방향을 조정할 수 있는 외부 액세서리로 상기 방향 변화에 대응되는 방향 조정 정보를 전송하도록 설정될 수 있다.According to various embodiments, the processor may be set to transmit direction adjustment information corresponding to the direction change to an external accessory that is attached to the camera module through the second communication module and can adjust the photographing direction of the camera module. can
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 제1 통신 모듈을 통해 상기 제1 외부 전자 장치로부터 상기 카메라 인터페이스를 제어할 수 있는 신호를 수신할 수 있도록 설정될 수 있다.According to various embodiments, the processor may be configured to receive a signal for controlling the camera interface from the first external electronic device through the first communication module.
도 7은 다양한 실시 예들에 따른 전자 장치에서 촬영 구도를 설정하는 동작을 설명하기 위한 흐름도(700)이다. 상기 촬영 구도를 설정하는 동작은 701동작 내지 707동작들을 포함할 수 있다. 일 실시 예에 따르면, 701동작 내지 707 동작 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다. 7 is a flowchart 700 for explaining an operation of setting a photographing composition in an electronic device according to various embodiments of the present disclosure. The operation of setting the photographing composition may include operations 701 to 707. According to an embodiment, at least one of operations 701 to 707 may be omitted, the order of some operations may be changed, or another operation may be added.
701동작에서, 전자 장치는(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 카메라 인터페이스를 활성화 시킬 수 있다.In operation 701 , the electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) may activate a camera interface.
일 실시 예에 따르면, 상기 전자 장치는, 카메라 어플리케이션의 실행에 따라 카메라 인터페이스(예: 프리뷰 모드)를 활성화 시킬 수 있다.According to an embodiment, the electronic device may activate a camera interface (eg, a preview mode) according to execution of a camera application.
703동작에서, 전자 장치는(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 카메라 인터페이스에서 카메라 모듈(예: 도 3의 카메라 모듈(380))을 통해 촬영된 피사체를 포함하는 이미지를 표시할 수 있다.In operation 703 , the electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) receives a camera module (eg, the electronic device 301 of FIG. 3 ) in a camera interface. An image including a subject photographed through the camera module 380 may be displayed.
일 실시 예에 따르면, 상기 전자 장치는, 상기 카메라 모듈을 통해 촬영된 이미지를 디스플레이(예: 도 3의 디스플레이(360))에 표시하는 동안, According to an embodiment, while the electronic device displays the image captured through the camera module on a display (eg, the display 360 of FIG. 3 ),
사용자의 설정(예: 확대 기능(예: zoom in) 또는 축소 기능(zoom out))에 의해 상기 이미지의 전체 촬영 영역에 대한 전체 촬영 구도를 설정경할 수 있다. The entire photographing composition of the entire photographing area of the image may be set according to a user's setting (eg, a zoom function (eg, zoom in) or a reduction function (zoom out)).
일 실시 예에 따르면, 상기 전자 장치는, 상기 카메라 인터페이스에서 상기 카메라 모듈을 통해 수신되는 상기 이미지를 상기 디스플레이에 표시하는 동안, 제1 통신 모듈(예: 도 3의 제1 통신 모듈(391))을 통해 주변에 위치된 적어도 하나의 외부 전자 장치에 대한 거리 정보 및 방향 정보를 검출할 수 있다. 상기 전자 장치는, 상기 적어도 하나의 외부 전자 장치의 거리 정보 및 방향 정보를 기반으로, 상기 적어도 하나의 외부 전자 장치 중 상기 전자 장치)의 카메라 화각 범위 내에 위치한 제1 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(202))를 확인할 수 있다. 상기 전자 장치는, 상기 제1 외부 전자 장치의 거리 정보 및 방향 정보를 기반으로 상기 제1 외부 전자 장치를 상기 이미지에 포함된 상기 피사체와 관련된 제1 외부 전자 장치로 확인할 수 있다. 상기 전자 장치는, 상기 카메라 인터페이스에서 상기 디스플레이에 상기 피사체를 포함하는 이미지를 표시하는 동안 상기 피사체의 근처 또는 일부 중첩되는 위치에 상기 피사체의 상기 제1 외부 전자 장치와 연관된 인디케이터, 예를 들어 상기 제1 외부 전자 장치를 나타내는 인디케이터를 표시할 수 있다.According to an embodiment, while the electronic device displays the image received through the camera module in the camera interface on the display, a first communication module (eg, the first communication module 391 of FIG. 3 ) Distance information and direction information about at least one external electronic device located nearby may be detected through the . The electronic device may include a first external electronic device (eg, FIG. 2 ) located within a camera field of view range of the at least one external electronic device based on distance information and direction information of the at least one external electronic device. of the first external electronic device 202). The electronic device may identify the first external electronic device as the first external electronic device related to the subject included in the image based on distance information and direction information of the first external electronic device. The electronic device may include an indicator associated with the first external electronic device of the subject, for example, at a position near or partially overlapping the subject while displaying the image including the subject on the display in the camera interface. 1 An indicator indicating an external electronic device may be displayed.
705동작에서, 전자 장치는(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 이미지의 전체 촬영 영역에서 사용자에 의해 지정된 피사체를 포함하는 제1 촬영 영역 확인할 수 있다.In operation 705 , the electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) selects a subject designated by the user in the entire photographing area of the image. The first photographing area including
일 실시 예에 따르면, 상기 전자 장치는, 카메라 인터페이스에서 디스플레이(예: 도 3의 디스플레이(360))에 피사체 및 피사체의 제1 외부 전자 장치(예: 도 2의 제1 외부 전자 장치)를 나타내는 인디케이터를 포함하는 이미지를 표시하는 동안, 상기 이미지의 전체 촬영 영역 중 사용자에 의해 상기 피사체를 포함하는 제1 촬영 영역의 지정을 확인할 수 있다.According to an embodiment, the electronic device displays a subject and a first external electronic device (eg, the first external electronic device of FIG. 2 ) on a display (eg, the display 360 of FIG. 3 ) in a camera interface. While the image including the indicator is displayed, the designation of the first photographing area including the subject by the user among the entire photographing area of the image may be confirmed.
707동작에서, 전자 장치는(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 이미지에서 제1 촬영 영역에 포함된 피사체의 위치 및 피사체의 비율을 기반으로 이미지의 촬영 구도 확인할 수 있다.In operation 707 , the electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) detects the object included in the first photographing area in the image. You can check the shooting composition of the image based on the location and the ratio of the subject.
일 실시 예에 따르면, 상기 전자 장치는, 상기 이미지의 전체 촬영 영역 중 사용자에 의해 지정된 피사체를 포함하는 상기 제1 촬영 영역의 범위와 상기 제1 촬영 영역의 위치를 측정하고, 상기 제1 촬영 영역의 범위와 상기 제1 촬영 영역의 위치를 기반으로 상기 제1 촬영 영역을 포함하는 전제 촬영 영역에 대응되는 상기 이미지에 대한 촬영 구도 정보를 확인할 수 있다.According to an embodiment, the electronic device measures a range of the first photographing area including a subject designated by a user among the entire photographing area of the image and a position of the first photographing area, and the first photographing area Based on the range of and the position of the first photographing area, it is possible to check photographing composition information for the image corresponding to the entire photographing area including the first photographing area.
일 실시 예에 따르면, 상기 전자 장치는, 상기 이미지에서 상기 제1 촬영 영역에 포함된 상기 피사체의 상기 제1 외부 전자 장치와 연관된 인디케이터 예를 들어 상기 제1 외부 전자 장치를 나타내는 인디케이터를 기준으로 상기 제1 촬영 영역의 범위를 측정하고, 상기 제1 촬영 영역의 범위를 측정함에 따라 상기 제1 촬영 영역에 포함된 상기 피사체의 현재 비율을 확인할 수 있다.According to an embodiment, the electronic device may include an indicator related to the first external electronic device of the subject included in the first photographing area in the image, for example, based on an indicator indicating the first external electronic device. The range of the first photographing area is measured, and as the range of the first photographing area is measured, the current ratio of the subject included in the first photographing area may be confirmed.
일 실시 예에 따르면, 상기 전자 장치는, 상기 이미지의 전체 영역 중 상기 제1 촬영 영역을 지정하기 위한 사용자의 입력 정보(예: 터치 정보)를 기반으로 상기 제1 촬영 영역의 위치 정보를 측정하고, 상기 제1 촬영 영역의 위치를 측정함에 따라 상기 이미지의 전체 촬영 영역 중 상기 제1 촬영 영역에 포함된 상기 피사체의 위치를 확인할 수 있다.According to an embodiment, the electronic device measures the location information of the first capturing area based on user input information (eg, touch information) for designating the first capturing area among the entire area of the image, , as the position of the first photographing area is measured, the position of the subject included in the first photographing area among the entire photographing area of the image may be confirmed.
도 8은 다양한 실시 예들에 따른 전자 장치에서 촬영 구도를 유지하는 동작을 설명하기 위한 흐름도(800)이다. 상기 촬영 구도를 유지하는 동작은 801동작 내지 803 동작들을 포함할 수 있다. 일 실시 예에 따르면, 801동작 내지 803 동작 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다. 8 is a flowchart 800 for explaining an operation of maintaining a photographing composition in an electronic device according to various embodiments of the present disclosure. The operation of maintaining the photographing composition may include operations 801 to 803 . According to an embodiment, at least one of operations 801 to 803 may be omitted, the order of some operations may be changed, or another operation may be added.
801동작에서, 전자 장치는(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 피사체의 제1 외부 전자 장치에 대한 거리 변화를 확인하면 거리 변화에 대응되게 이미지에 대한 확대 기능 또는 축소 기능수행 할 수 있다.In operation 801 , the electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) changes the distance of the subject to the first external electronic device If you check , you can perform an enlargement or reduction function on the image corresponding to the change in distance.
일 실시 예에 따르면, 상기 전자 장치는, 카메라 인터페이스에서 카메라 모듈(예: 도 3의 카메라 모듈(380))을 통해 수신하는 이미지에서 대한 촬영 시작(예: 사진 촬영 버튼 입력 또는 동영상 촬영 시작 입력)을 검출하면, 상기 촬영 시작을 검출하는 시점에 상기 이미지의 촬영 구도(예: 제1 촬영 영역에 포함된 피사체의 위치 및 피사체의 비율)를 확인할 수 있다.According to an embodiment, the electronic device starts shooting an image received through a camera module (eg, the camera module 380 of FIG. 3 ) in the camera interface (eg, input a photo shooting button or input a video shooting start) is detected, the photographing composition of the image (eg, the position of the subject included in the first photographing area and the ratio of the object) may be confirmed at the time of detecting the start of the photographing.
일 실시 예에 따르면, 상기 전자 장치는, 제1 통신 모듈(예: 도 3의 제1 통신 모듈(391))을 통해 상기 이미지의 전체 촬영 영역에서 제1 촬영 영역에 포함된 피사체의 제1 외부 전자 장치의 거리 변화를 검출하면, 상기 거리 변화에 대응되게 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행할 수 있다. 상기 전자 장치는, 상기 피사체의 이동에 따라 상기 제1 외부 전자 장치의 거리가 변경되어도, 상기 거리 변화에 대응되게 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행하여 상기 제1 촬영 영역에 포함된 상기 피사체의 비율을 변화 없이 일정 하게 표시함에 따라 상기 이미지에 대한 촬영 구도를 자동 유지할 수 있다.According to an embodiment of the present disclosure, the electronic device, through a first communication module (eg, the first communication module 391 of FIG. 3 ), in the entire photographing area of the image, a first outside of the subject included in the first photographing area Upon detecting a change in the distance of the electronic device, an enlargement function or a reduction function may be performed on the image to correspond to the distance change. Even if the distance of the first external electronic device is changed according to the movement of the subject, the electronic device performs an enlargement function or a reduction function on the image to correspond to the distance change, so as to be included in the first photographing area. As the ratio of the subject is constantly displayed without change, the photographing composition for the image may be automatically maintained.
803동작에서, 전자 장치는(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 피사체의 제1 외부 전자 장치에 대한 방향 변화를 확인하면 방향 변화에 대응되게 카메라 촬영 모듈의 촬영 방향을 변경할 수 있다.In operation 803 , the electronic device (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) changes the direction of the subject with respect to the first external electronic device If you check , you can change the shooting direction of the camera shooting module to correspond to the direction change.
일 실시 예에 따르면, 상기 전자 장치는, 제1 통신 모듈(예: 제1 통신 모듈(391))을 통해, 이미지의 전체 촬영 영역에서 사용자에 의해 지정된 제1 촬영 영역에 포함된 피사체의 제1 외부 전자 장치의 방향 변화를 검출하면, 상기 방향 변화에 대응되게 카메라 모듈(예: 도 3의 카메라 모듈(380))의 촬영 방향을 변경할 수 있다. 상기 전자 장치는, 상기 피사체의 이동에 따라 상기 제1 외부 전자 장치의 방향이 변경되어도, 상기 방향 변화에 대응되게 상기 카메라 모듈의 촬영 방향 변경하여 상기 제1 촬영 영역에 상기 피사체를 포함하여 표시함에 따라 상기 이미지에 대한 촬영 구도를 자동 유지할 수 있다.According to an embodiment, the electronic device, through a first communication module (eg, the first communication module 391 ), includes a first object included in a first photographing area designated by a user in the entire photographing area of the image. When a change in the direction of the external electronic device is detected, the photographing direction of the camera module (eg, the camera module 380 of FIG. 3 ) may be changed to correspond to the change in direction. Even if the direction of the first external electronic device is changed according to the movement of the subject, the electronic device changes the shooting direction of the camera module to correspond to the direction change and displays the subject including the subject in the first shooting area Accordingly, the shooting composition for the image may be automatically maintained.
일 실시 예에 따르면, 상기 전자 장치는, 상기 카메라 모듈이 탈부착 가능한 외부 액세서리(예: 도 2의 외부 액세서리(210))에 부착되어 있으면, 제2 통신 모듈(예: 도 2의 제2 통신 모듈(393))을 통해 상기 카메라 모듈을 상하 이동, 좌우 회전 또는 앞뒤 회전으로 촬영 방향을 조정할 수 있는 상기 외부 액세서리로 상기 방향 변화에 대응되는 방향 조정 정보를 전송할 수 있다.According to an embodiment, when the camera module is attached to a detachable external accessory (eg, the external accessory 210 of FIG. 2 ), the electronic device includes a second communication module (eg, the second communication module of FIG. 2 ). Through (393)), direction adjustment information corresponding to the direction change may be transmitted to the external accessory capable of adjusting the shooting direction by moving the camera module up/down, left/right rotation, or forward/backward rotation.
도 9a, 도 9b 및 도 9c는 다양한 실시 예들에 따른 전자 장치에서 촬영 구도를 유지하는 동작을 설명하기 위한 도면들(900a, 900b 및 900c)이다.9A, 9B, and 9C are diagrams 900a, 900b, and 900c for explaining an operation of maintaining a photographing composition in an electronic device according to various embodiments of the present disclosure.
도 9a 및 도 9b와 같이, 전자 장치(901)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201) 또는 도 3의 전자 장치(301))는, 제1 위치(A)에 위치하는 제1 외부 전자 장치(950a)(예: 웨어러블 전자 장치)를 소유하는 제1 피사체(903a)와 제2 피사체(903b)를 촬영하는 경우, 제1 피사체와 제2 피사체를 포함하는 이미지(913)를 표시할 수 있다. 9A and 9B , the electronic device 901 (eg, the electronic device 101 of FIG. 1 , the electronic device 201 of FIG. 2 , or the electronic device 301 of FIG. 3 ) is positioned at a first position A ), the first subject 903a and the second subject 903b possessing the first external electronic device 950a (eg, a wearable electronic device) located in the An image 913 may be displayed.
도 9c의 제1 화면(A1)와 같이, 상기 전자 장치는, 이미지(913)의 전체 촬영 영역(910) 중 사용자에 의해 지정된 제1 촬영 영역(990)을 확인하고, 상기 제1 촬영 영역(990)에 포함된 제1 피사체(903a)와 제2 피사체(903b) 중 제1 외부 전자 장치를 소유하고 있는 제1 피사체(903a)의 위치와 비율을 기반으로 상기 이미지(910)의 촬영 구도를 확인 할 수 있다.As shown in the first screen A1 of FIG. 9C , the electronic device identifies a first photographing area 990 designated by the user among the entire photographing area 910 of an image 913, and the first photographing area ( 990) based on the position and ratio of the first subject 903a possessing the first external electronic device among the first subject 903a and the second subject 903b included in the image 910; can check
도 9a와 같이, 상기 전자 장치(901)는, 상기 제1 외부 전자 장치(950a)를 소유하는 제1 피사체(903a)가 제1 위치(A)에서 제2 위치(B)로 이동하는 경우, 상기 전자 장치(901)와 상기 제1 외부 전자 장치(950a)간의 거리 변화 없이 방향만 변경되는 경우, 상기 방향 변경에 대응되게 상기 전자 장치(901)의 카메라 모듈의 촬영 방향을 변경할 수 있다. As shown in FIG. 9A , when the first subject 903a possessing the first external electronic device 950a moves from a first position A to a second position B, When only the direction is changed without changing the distance between the electronic device 901 and the first external electronic device 950a, the photographing direction of the camera module of the electronic device 901 may be changed to correspond to the direction change.
도 9c의 제2 화면(B1)과 같이, 상기 전자 장치(901)는, 상기 전자 장치(901)의 카메라 모듈의 촬영 방향을 변경함에 따라 이미지(913)의 전제 촬영 영역(910) 중 제1 촬영 영역(990)에 제1 피사체(903a)와 상기 제1 피사체와 함께 이동한 제2 피사체(903b)를 포함하여 표시할 수 있다.As shown in the second screen B1 of FIG. 9C , the electronic device 901 changes the photographing direction of the camera module of the electronic device 901 so that the first of the entire photographing area 910 of the image 913 is changed. A first subject 903a and a second subject 903b moving together with the first subject may be displayed in the photographing area 990 .
도 9b와 같이, 상기 전자 장치(901)는, 상기 제1 외부 전자 장치(950a)를 소유하는 제1 피사체(903a)가 제1 위치(A)에서 제2 위치(B)로 이동하여 상기 전자 장치(901)와 상기 제1 외부 전자 장치(950a)간의 거리 변화와 상기 제1 외부 전자 장치(950a)의 방향 변화를 검출하는 경우, 상기 거리 변화에 대응되게 확대 기능 또는 축소 기능을 수행하고, 상기 방향 변경에 대응되게 상기 전자 장치(901)의 카메라 모듈의 촬영 방향을 변경할 수 있다. As shown in FIG. 9B , in the electronic device 901 , a first subject 903a possessing the first external electronic device 950a moves from a first position A to a second position B, and When a change in the distance between the device 901 and the first external electronic device 950a and a change in the direction of the first external electronic device 950a are detected, an enlargement function or a reduction function is performed corresponding to the distance change, The photographing direction of the camera module of the electronic device 901 may be changed to correspond to the direction change.
도 9c의 제2 화면(B1)과 같이, 상기 전자 장치는, 상기 거리 변화에 대응되게 이미지(913)에 대한 확대 기능 또는 축소 기능을 수행하고, 상기 방향 변경에 대응되게 상기 전자 장치(901)의 카메라 모듈의 촬영 방향을 변경함에 따라, 상기 이미지(913)의 전체 촬영 영역(910) 중 제1 촬영 영역(990)에 제1 피사체(903a)와 상기 제1 피사체와 함께 이동한 제2 피사체(903b)를 포함하면서, 상기 제1 피사체(903a)와 상기 제2 피사체(903b)를 도 9c의 제1 화면(A1)과 같은 동일한 비율로 표시할 수 있다.As shown in the second screen B1 of FIG. 9C , the electronic device performs an enlargement or reduction function on the image 913 corresponding to the distance change, and the electronic device 901 corresponds to the direction change. As the photographing direction of the camera module of While 903b is included, the first subject 903a and the second subject 903b may be displayed in the same proportion as that of the first screen A1 of FIG. 9C .
도 9a와 같이, 상기 전자 장치(901)는, 상기 제1 외부 전자 장치(950a)를 소유하는 제1 피사체(903a)가 제2 위치(B)에서 제3 위치(C)로 이동하는 경우, 상기 전자 장치(901)와 상기 제1 외부 전자 장치(950a)간의 거리 변화 없이 방향만 변경되는 경우, 상기 방향 변경에 대응되게 상기 전자 장치의 카메라 모듈의 촬영 방향을 변경할 수 있다. As shown in FIG. 9A , when the first subject 903a possessing the first external electronic device 950a moves from the second position B to the third position C, When only the direction is changed without changing the distance between the electronic device 901 and the first external electronic device 950a, the photographing direction of the camera module of the electronic device may be changed to correspond to the direction change.
도 9c의 제3 화면(C1)과 같이, 상기 전자 장치(901)는, 상기 전자 장치의 카메라 모듈의 촬영 방향을 변경함에 따라 이미지(913)의 전체 촬영 영역(910) 중 제1 촬영 영역(990)에 제1 피사체(903)와 상기 제1 피사체와 함께 이동한 제2 피사체(903b) 포함하여 표시할 수 있다.As shown in the third screen C1 of FIG. 9C , the electronic device 901 changes the photographing direction of the camera module of the electronic device to a first photographing area ( 910 ) of the image 913 . 990), including the first subject 903 and the second subject 903b moving together with the first subject.
도 9b와 같이, 상기 전자 장치(901)는, 상기 제1 외부 전자 장치(950a)를 소유하는 제1 피사체(903a)가 제2 위치(B)에서 제3 위치(C)로 이동하여 상기 전자 장치(901)와 상기 제1 외부 전자 장치(950a)간의 거리 변화와 상기 제1 외부 전자 장치(950a)의 방향 변화를 검출하는 경우, 상기 거리 변화에 대응되게 확대 기능 또는 축소 기능을 수행하고, 상기 방향 변경에 대응되게 상기 전자 장치(901)의 카메라 모듈의 촬영 방향을 변경할 수 있다. As shown in FIG. 9B , in the electronic device 901 , a first subject 903a possessing the first external electronic device 950a moves from a second position B to a third position C, so that the electronic device 901 . When a change in the distance between the device 901 and the first external electronic device 950a and a change in the direction of the first external electronic device 950a are detected, an enlargement function or a reduction function is performed corresponding to the distance change, The photographing direction of the camera module of the electronic device 901 may be changed to correspond to the direction change.
도 9c의 제3 화면(C1)과 같이, 상기 전자 장치는, 상기 거리 변화에 대응되게 이미지(913)에 대한 확대 기능 또는 축소 기능을 수행하고, 상기 방향 변경에 대응되게 상기 전자 장치(901)의 카메라 모듈의 촬영 방향을 변경함에 따라, 상기 이미지(913)의 전체 촬영 영역(910) 중 제1 촬영 영역(990)에 제1 피사체(903a)와 상기 제1 피사체와 함께 이동한 제2 피사체(903b)를 포함하면서, 상기 제1 피사체 및 상기 제2 피사체(903b)를 도 9c의 제1 화면(A1) 및 도 9c의 제2 화면(B1)과 같은 동일한 비율로 표시할 수 있다.As shown in the third screen C1 of FIG. 9C , the electronic device performs an enlargement or reduction function on the image 913 in response to the change in distance, and the electronic device 901 in response to the change in direction As the photographing direction of the camera module of The first subject and the second subject 903b may be displayed in the same proportion as the first screen A1 of FIG. 9C and the second screen B1 of FIG. 9C while including 903b.
다양한 실시 예들에 따르면, 전자 장치에서 촬영 구도 유지 방법은, 카메라 인터페이스에서 카메라 모듈을 통해 수신되는 피사체를 포함하는 이미지를 표시하는 동안, 상기 이미지에 대한 전체 촬영 영역 중 사용자에 의해 지정된 제1 촬영 영역과 상기 제1 촬영 영역에 포함된 피사체의 비율을 기반하여 상기 이미지에 대한 촬영 구도를 확인하는 동작, 및 제1 통신 모듈을 통해 상기 제1 촬영 영역에 포함된 상기 피사체의 제1외부 전자 장치에 대한 거리 변화를 검출하면, 상기 거리 변화에 대응되게 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행하여 상기 제1 촬영 영역에 포함된 상기 피사체의 비율을 유지하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, in the method of maintaining a photographing composition in an electronic device, while displaying an image including a subject received through a camera module in a camera interface, a first photographing area designated by a user among all photographing areas for the image and checking a photographing composition for the image based on the ratio of the subject included in the first photographing area, and to the first external electronic device of the object included in the first photographing area through a first communication module When detecting a change in the distance to the image, the method may include an operation of maintaining a ratio of the subject included in the first photographing area by performing an enlargement function or a reduction function on the image corresponding to the change in the distance.
다양한 실시 예들에 따르면, 상기 제1 통신 모듈을 통해 상기 외부 전자 장치와 송수신되는 신호를 이용하여 상기 제1 외부 전자 장치의 거리 정보와 방향 정보를 계산하는 동작을 더 포함할 수 있다.According to various embodiments, the method may further include calculating distance information and direction information of the first external electronic device using a signal transmitted and received with the external electronic device through the first communication module.
다양한 실시 예들에 따르면, 상기 카메라 인터페이스에서 상기 카메라 모듈을 통해 수신되는 상기 이미지를 표시하는 동안, 상기 제1 통신 모듈을 통해 적어도 하나의 외부 전자 장치를 검출하는 동작, 상기 카메라 모듈과 상기 적어도 하나의 외부 전자 장치 간의 거리 정보 및 방향 정보를 기반으로, 상기 적어도 하나의 전자 장치 중 카메라 화각 범위 내에 위치하는 제1 외부 전자 장치를 확인하는 동작, 및 상기 제1 외부 전자 장치의 거리 정보 및 방향 정보를 기반으로, 상기 제1 외부 전자 장치를 상기 이미지에 포함된 상기 피사체의 제1 외부 전자 장치로 결정하는 동작을 더 포함할 수 있다.According to various embodiments, while displaying the image received through the camera module in the camera interface, detecting at least one external electronic device through the first communication module, the camera module and the at least one identifying a first external electronic device located within a camera field of view among the at least one electronic device based on distance information and direction information between the external electronic devices, and obtaining distance information and direction information of the first external electronic device The method may further include determining, based on the first external electronic device, as the first external electronic device of the subject included in the image.
다양한 실시 예들에 따르면, 상기 카메라 인터페이스에서 상기 카메라 모듈을 통해 수신되는 상기 이미지를 표시하는 동안, 상기 제1 통신 모듈이 활성화되면, 상기 제1 통신 모듈을 통해 상기 적어도 하나의 외부 전자 장치를 검출하는 동작을 더 포함할 수 있다.According to various embodiments, when the first communication module is activated while the image received through the camera module is displayed in the camera interface, the at least one external electronic device is detected through the first communication module. It may further include an action.
다양한 실시 예들에 따르면, 상기 제1 촬영 영역은 상기 카메라 인터페이스에서 표시되는 상기 이미지에 대한 전체 촬영 영역 중 사용자에 의해 지정된 일부 촬영 영역을 나타낼 수 있다.According to various embodiments of the present disclosure, the first capturing area may represent a partial capturing area designated by a user among the entire capturing area for the image displayed on the camera interface.
다양한 실시 예들에 따르면, 상기 카메라 인터페이스에서 상기 이미지를 표시하는 동안, 상기 이미지에서 상기 피사체의 근처 또는 일부 중첩되는 위치에 상기 제1 통신 모듈을 통해 검출한 상기 피사체의 상기 제1 외부 전자 장치를 나타내는 인디케이터를 표시하는 동작, 및 상기 제1 외부 전자 장치를 나타내는 인디케이터를 기준으로, 상기 제1 촬영 영역의 범위를 측정하고, 상기 제1 촬영 영역에 포함된 상기 피사체에 대한 비율을 확인하는 동작을 더 포함할 수 있다.According to various embodiments, while the image is displayed on the camera interface, the first external electronic device of the subject detected through the first communication module is displayed at a position near or partially overlapping the subject in the image. An operation of displaying an indicator and an operation of measuring a range of the first photographing area based on an indicator indicating the first external electronic device and checking a ratio of the subject included in the first photographing area are further performed. may include
다양한 실시 예들에 따르면, 상기 이미지의 전체 촬영 영역 중 상기 제1 촬영 영역을 지정하기 위한 사용자의 입력 정보를 기반으로 상기 제1 촬영 범위의 위치를 측정하는 동작, 및 상기 제1 촬영 범위의 위치를 기반으로 상기 제1 촬영 범위에 포함된 상기 피사체의 위치를 확인하는 동작을 더 포함할 수 있다.According to various embodiments, the operation of measuring the position of the first shooting range based on user input information for designating the first shooting area among the entire shooting area of the image, and the location of the first shooting range The method may further include an operation of confirming the position of the subject included in the first photographing range based on the first photographing range.
다양한 실시 예들에 따르면, 상기 제1 통신 모듈을 통해 상기 제1 촬영 영역에 포함된 상기 피사체의 제1외부 전자 장치에 대한 방향 변화를 검출하면, 상기 방향 변화에 대응되게 상기 카메라 모듈의 촬영 방향을 조정하여 상기 제1 촬영 영역에 상기 피사체가 포함되도록 하는 동작을 더 포함할 수 있다.According to various embodiments, when a change in the direction of the subject included in the first photographing area with respect to the first external electronic device is detected through the first communication module, the photographing direction of the camera module is changed to correspond to the change in direction. The method may further include an operation of adjusting the subject to be included in the first photographing area.
다양한 실시 예들에 따르면, 상기 전자 장치의 제2 통신 모듈을 통해 상기 카메라 모듈에 부착되어 상기 카메라 모듈의 촬영 방향을 조정할 수 있는 외부 액세서리로 상기 방향 변화에 대응되는 방향 조정 정보를 전송하는 동작을 더 포함할 수 있다.According to various embodiments, the operation of transmitting direction adjustment information corresponding to the direction change to an external accessory attached to the camera module through the second communication module of the electronic device and capable of adjusting the photographing direction of the camera module is further performed. may include
다양한 실시 예들에 따르면, 상기 제1 통신 모듈을 통해 상기 제1 외부 전자 장치로부터 상기 카메라 인터페이스를 제어할 수 있는 신호를 수신하는 동작을 더 포함할 수 있다.According to various embodiments, the method may further include receiving a signal for controlling the camera interface from the first external electronic device through the first communication module.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document 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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.It should be understood that the various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like 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 item, unless the relevant context clearly dictates otherwise. As used herein, "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 , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish an element from other such elements, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an 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 the present document include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). may be implemented as software (eg, the program 140) including For example, the processor (eg, the processor 120 ) of the device (eg, the electronic device 101 ) may call at least one of the one or more instructions stored from the storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. 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' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly or online between smartphones (eg: smartphones). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. According to various embodiments, one or more components or operations among 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 each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

Claims (15)

  1. 전자 장치에 있어서,In an electronic device,
    제1 통신 모듈;a first communication module;
    제2 통신 모듈;a second communication module;
    카메라 모듈; 및 camera module; and
    프로세서를 포함하고, 상기 프로세서는,A processor comprising:
    카메라 인터페이스에서 상기 카메라 모듈을 통해 수신되는 피사체를 포함하는 이미지를 표시하는 동안, 상기 이미지에 대한 전체 촬영 영역 중 사용자에 의해 지정된 제1 촬영 영역과 상기 제1 촬영 영역에 포함된 피사체의 비율을 기반하여 상기 이미지에 대한 촬영 구도를 확인하고,While displaying an image including a subject received through the camera module in the camera interface, based on the ratio of the first capturing area designated by the user among the entire capturing area for the image and the subject included in the first capturing area to check the shooting composition for the image,
    상기 제1 통신 모듈을 통해 상기 제1 촬영 영역에 포함된 상기 피사체의 제1외부 전자 장치에 대한 거리 변화를 검출하면, 상기 거리 변화에 대응되게 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행하여 상기 제1 촬영 영역에 포함된 상기 피사체의 비율을 유지하도록 설정된 전자 장치.When a change in the distance of the subject included in the first photographing area with respect to the first external electronic device is detected through the first communication module, an enlargement function or a reduction function is performed on the image to correspond to the distance change, and the An electronic device configured to maintain a ratio of the subject included in the first photographing area.
  2. 제1 항에 있어서, 상기 프로세서는,The method of claim 1, wherein the processor comprises:
    상기 제1 통신 모듈을 통해 상기 외부 전자 장치와 송수신되는 신호를 이용하여 상기 제1 외부 전자 장치의 거리 정보와 방향 정보를 계산하도록 설정된 전자 장치An electronic device configured to calculate distance information and direction information of the first external electronic device using a signal transmitted and received with the external electronic device through the first communication module
  3. 제1 항에 있어서, 상기 프로세서는,The method of claim 1, wherein the processor comprises:
    상기 카메라 인터페이스에서 상기 카메라 모듈을 통해 수신되는 상기 이미지를 표시하는 동안, 상기 제1 통신 모듈을 통해 적어도 하나의 외부 전자 장치를 검출하고,Detecting at least one external electronic device through the first communication module while displaying the image received through the camera module in the camera interface,
    상기 카메라 모듈과 상기 적어도 하나의 외부 전자 장치 간의 거리 정보 및 방향 정보를 기반으로, 상기 적어도 하나의 전자 장치 중 카메라 화각 범위 내에 위치하는 제1 외부 전자 장치를 확인하며,Based on distance information and direction information between the camera module and the at least one external electronic device, a first external electronic device located within a camera field of view among the at least one electronic device is identified;
    상기 제1 외부 전자 장치의 거리 정보 및 방향 정보를 기반으로, 상기 제1 외부 전자 장치를 상기 이미지에 포함된 상기 피사체의 제1 외부 전자 장치로 결정하도록 설정된 전자 장치.an electronic device configured to determine the first external electronic device as the first external electronic device of the subject included in the image based on distance information and direction information of the first external electronic device.
  4. 제1 항에 있어서, The method of claim 1,
    상기 제1 촬영 영역은 상기 카메라 인터페이스에서 표시되는 상기 이미지에 대한 전체 촬영 영역 중 사용자에 의해 지정된 일부 촬영 영역을 나타내는 전자 장치The first photographing area is an electronic device indicating a partial photographing area designated by a user among the entire photographing area for the image displayed on the camera interface.
  5. 제1 항에 있어서, 상기 프로세서는,The method of claim 1, wherein the processor comprises:
    상기 카메라 인터페이스에서 상기 이미지를 표시하는 동안, 상기 이미지에서 상기 피사체의 근처 또는 일부 중첩되는 위치에 상기 제1 통신 모듈을 통해 검출한 상기 피사체의 상기 제1 외부 전자 장치를 나타내는 인디케이터를 표시하고, while displaying the image in the camera interface, displaying an indicator indicating the first external electronic device of the subject detected through the first communication module at a position near or partially overlapping the subject in the image,
    상기 제1 외부 전자 장치를 나타내는 인디케이터를 기준으로, 상기 제1 촬영 영역의 범위를 측정하고, 상기 제1 촬영 영역에 포함된 상기 피사체에 대한 비율을 확인하도록 설정된 전자 장치.An electronic device configured to measure a range of the first photographing area based on an indicator indicating the first external electronic device and to check a ratio of the subject included in the first photographing area.
  6. 제1 항에 있어서, 상기 프로세서는, The method of claim 1, wherein the processor comprises:
    상기 이미지의 전체 촬영 영역 중 상기 제1 촬영 영역을 지정하기 위한 사용자의 입력 정보를 기반으로 상기 제1 촬영 범위의 위치를 측정하고, 상기 제1 촬영 범위의 위치를 기반으로 상기 제1 촬영 범위에 포함된 상기 피사체의 위치를 확인하도록 설정된 전자 장치.The position of the first shooting range is measured based on user input information for designating the first shooting area among the entire shooting area of the image, and the first shooting range is located in the first shooting range based on the position of the first shooting range. An electronic device configured to confirm the location of the included subject.
  7. 제1 항에 있어서, 상기 프로세서는,The method of claim 1, wherein the processor comprises:
    상기 제1 통신 모듈을 통해 상기 제1 촬영 영역에 포함된 상기 피사체의 제1외부 전자 장치에 대한 방향 변화를 검출하면, 상기 방향 변화에 대응되게 상기 카메라 모듈의 촬영 방향을 조정하여 상기 제1 촬영 영역에 상기 피사체가 포함되도록 설정된 전자 장치.When a change in direction of the subject included in the first photographing area with respect to the first external electronic device is detected through the first communication module, the photographing direction of the camera module is adjusted to correspond to the change in direction to allow the first photographing An electronic device configured to include the subject in an area.
  8. 제1 항에 있어서, 상기 프로세서는,The method of claim 1, wherein the processor comprises:
    상기 제2 통신 모듈을 통해 상기 카메라 모듈에 부착되어 상기 카메라 모듈의 촬영 방향을 조정할 수 있는 외부 액세서리로 상기 방향 변화에 대응되는 방향 조정 정보를 전송하도록 설정된 전자 장치.An electronic device attached to the camera module through the second communication module and configured to transmit direction adjustment information corresponding to the direction change to an external accessory capable of adjusting a photographing direction of the camera module.
  9. 전자 장치에서 촬영 구도 유지 방법에 있어서,A method for maintaining a photographing composition in an electronic device, the method comprising:
    카메라 인터페이스에서 카메라 모듈을 통해 수신되는 피사체를 포함하는 이미지를 표시하는 동안, 상기 이미지에 대한 전체 촬영 영역 중 사용자에 의해 지정된 제1 촬영 영역과 상기 제1 촬영 영역에 포함된 피사체의 비율을 기반하여 상기 이미지에 대한 촬영 구도를 확인하는 동작; 및 While displaying an image including a subject received through the camera module in the camera interface, based on the ratio of the first photographing area designated by the user among the entire photographing area for the image and the subject included in the first photographing area, checking a photographing composition for the image; and
    제1 통신 모듈을 통해 상기 제1 촬영 영역에 포함된 상기 피사체의 제1외부 전자 장치에 대한 거리 변화를 검출하면, 상기 거리 변화에 대응되게 상기 이미지에 대한 확대 기능 또는 축소 기능을 수행하여 상기 제1 촬영 영역에 포함된 상기 피사체의 비율을 유지하는 동작을 포함하는 방법.When a change in the distance of the subject included in the first photographing area with respect to the first external electronic device is detected through the first communication module, an enlargement function or a reduction function is performed on the image to correspond to the distance change to perform the second 1 A method comprising maintaining a ratio of the subject included in a photographing area.
  10. 제9 항에 있어서, 10. The method of claim 9,
    상기 제1 통신 모듈을 통해 상기 외부 전자 장치와 송수신되는 신호를 이용하여 상기 제1 외부 전자 장치의 거리 정보와 방향 정보를 계산하는 동작을 더 포함하는 방법.and calculating distance information and direction information of the first external electronic device by using a signal transmitted and received with the external electronic device through the first communication module.
  11. 제9 항에 있어서, 10. The method of claim 9,
    상기 카메라 인터페이스에서 상기 카메라 모듈을 통해 수신되는 상기 이미지를 표시하는 동안, 상기 제1 통신 모듈을 통해 적어도 하나의 외부 전자 장치를 검출하는 동작;detecting at least one external electronic device through the first communication module while displaying the image received through the camera module in the camera interface;
    상기 카메라 모듈과 상기 적어도 하나의 외부 전자 장치 간의 거리 정보 및 방향 정보를 기반으로, 상기 적어도 하나의 전자 장치 중 카메라 화각 범위 내에 위치하는 제1 외부 전자 장치를 확인하는 동작; 및 identifying a first external electronic device located within a camera field of view among the at least one electronic device based on distance information and direction information between the camera module and the at least one external electronic device; and
    상기 제1 외부 전자 장치의 거리 정보 및 방향 정보를 기반으로, 상기 제1 외부 전자 장치를 상기 이미지에 포함된 상기 피사체의 제1 외부 전자 장치로 결정하는 동작을 더 포함하는 방법.and determining the first external electronic device as a first external electronic device of the subject included in the image based on distance information and direction information of the first external electronic device.
  12. 제9 항에 있어서, 10. The method of claim 9,
    상기 카메라 인터페이스에서 상기 이미지를 표시하는 동안, 상기 이미지에서 상기 피사체의 근처 또는 일부 중첩되는 위치에 상기 제1 통신 모듈을 통해 검출한 상기 피사체의 상기 제1 외부 전자 장치를 나타내는 인디케이터를 표시하는 동작; 및 displaying an indicator indicating the first external electronic device of the subject detected through the first communication module at a position near or partially overlapping the subject in the image while the image is displayed on the camera interface; and
    상기 제1 외부 전자 장치를 나타내는 인디케이터를 기준으로, 상기 제1 촬영 영역의 범위를 측정하고, 상기 제1 촬영 영역에 포함된 상기 피사체에 대한 비율을 확인하는 동작을 더 포함하는 방법.The method further comprising measuring a range of the first photographing area based on an indicator indicating the first external electronic device and checking a ratio of the subject included in the first photographing area.
  13. 제9 항에 있어서, 10. The method of claim 9,
    상기 이미지의 전체 촬영 영역 중 상기 제1 촬영 영역을 지정하기 위한 사용자의 입력 정보를 기반으로 상기 제1 촬영 범위의 위치를 측정하는 동작; 및 measuring a position of the first photographing range based on user input information for designating the first photographing area among the entire photographing area of the image; and
    상기 제1 촬영 범위의 위치를 기반으로 상기 제1 촬영 범위에 포함된 상기 피사체의 위치를 확인하는 동작을 더 포함하는 방법.The method further comprising: confirming the location of the subject included in the first photographing range based on the location of the first photographing range.
  14. 제9 항에 있어서, 10. The method of claim 9,
    상기 제1 통신 모듈을 통해 상기 제1 촬영 영역에 포함된 상기 피사체의 제1외부 전자 장치에 대한 방향 변화를 검출하면, 상기 방향 변화에 대응되게 상기 카메라 모듈의 촬영 방향을 조정하여 상기 제1 촬영 영역에 상기 피사체가 포함되도록 하는 동작을 더 포함하는 방법.When a change in direction of the subject included in the first photographing area with respect to the first external electronic device is detected through the first communication module, the photographing direction of the camera module is adjusted to correspond to the change in direction to allow the first photographing The method further comprising the operation of allowing the subject to be included in an area.
  15. 제9 항에 있어서, 10. The method of claim 9,
    상기 전자 장치의 제2 통신 모듈을 통해 상기 카메라 모듈에 부착되어 상기 카메라 모듈의 촬영 방향을 조정할 수 있는 외부 액세서리로 상기 방향 변화에 대응되는 방향 조정 정보를 전송하는 동작을 더 포함하는 방법.and transmitting direction adjustment information corresponding to the direction change to an external accessory attached to the camera module through a second communication module of the electronic device and capable of adjusting a photographing direction of the camera module.
PCT/KR2021/018361 2021-02-05 2021-12-06 Electronic device and method for maintaining imaging composition in electronic device WO2022169085A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210016524A KR20220112952A (en) 2021-02-05 2021-02-05 Electronic device, and method for mataining sho0ting composition in electronic device
KR10-2021-0016524 2021-02-05

Publications (1)

Publication Number Publication Date
WO2022169085A1 true WO2022169085A1 (en) 2022-08-11

Family

ID=82741298

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/018361 WO2022169085A1 (en) 2021-02-05 2021-12-06 Electronic device and method for maintaining imaging composition in electronic device

Country Status (2)

Country Link
KR (1) KR20220112952A (en)
WO (1) WO2022169085A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102619846B1 (en) * 2023-04-25 2024-01-02 김동환 Electronic device for suggesting a shooting composition, method for suggesting a shooting composition of an electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100018363A (en) * 2008-08-06 2010-02-17 김수종 Automatic Location Tracking System for Moving Objects
KR20150141057A (en) * 2014-06-09 2015-12-17 삼성전자주식회사 Method and apparatus for generating image data using a region of interest which is determined by position information
KR20190069268A (en) * 2017-12-11 2019-06-19 백창현 Method and system for setting composition using object sensor
JP2019134389A (en) * 2018-02-02 2019-08-08 キヤノンイメージングシステムズ株式会社 Imaging control device, imaging control method, and imaging control system
KR20200032843A (en) * 2018-09-19 2020-03-27 이웅범 Automatic face tracking self-camera device using servo motor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100018363A (en) * 2008-08-06 2010-02-17 김수종 Automatic Location Tracking System for Moving Objects
KR20150141057A (en) * 2014-06-09 2015-12-17 삼성전자주식회사 Method and apparatus for generating image data using a region of interest which is determined by position information
KR20190069268A (en) * 2017-12-11 2019-06-19 백창현 Method and system for setting composition using object sensor
JP2019134389A (en) * 2018-02-02 2019-08-08 キヤノンイメージングシステムズ株式会社 Imaging control device, imaging control method, and imaging control system
KR20200032843A (en) * 2018-09-19 2020-03-27 이웅범 Automatic face tracking self-camera device using servo motor

Also Published As

Publication number Publication date
KR20220112952A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
WO2022097857A1 (en) Electronic device and method for displaying image on flexible display
WO2022086248A1 (en) Electronic device and method supporting zoom function
WO2022119150A1 (en) Multiple image display method and electronic device
WO2022169085A1 (en) Electronic device and method for maintaining imaging composition in electronic device
WO2021132852A1 (en) Audio data output method and electronic device supporting same
WO2022139164A1 (en) Electronic device, and method for grouping external devices by space in electronic device
WO2022177299A1 (en) Method for controlling call function and electronic device supporting same
WO2022030921A1 (en) Electronic device, and method for controlling screen thereof
WO2022045579A1 (en) Electronic device for correcting position of external device and operation method thereof
WO2022055178A1 (en) Foldable electronic apparatus for displaying various types of content, and operation method therefor
WO2022164004A1 (en) Wireless power reception device displaying wireless charging range, and operating method thereof
WO2023075103A1 (en) Electronic device for controlling external electronic device, and operating method therefor
WO2023146144A1 (en) Electronic device for generating panoramic image, and operating method therefor
WO2022154492A1 (en) Electronic device for image capturing, method, and non-transitory storage medium
WO2024080553A1 (en) Electronic device and operating method thereof
WO2023068549A1 (en) Electronic device using external device, and operating method therefor
WO2022186646A1 (en) Electronic device for image generation, and operating method of electronic device
WO2022164099A1 (en) Display device image quality improving method and electronic device
WO2023249231A1 (en) Electronic device comprising camera, and operating method therefor
WO2022098004A1 (en) Electronic device for transmitting data through communication connection, and operation method thereof
WO2022065827A1 (en) Image capturing method using wireless communication and electronic device supporting same
WO2023096104A1 (en) Electronic device and method for performing bluetooth communication in order to control external electronic device on basis of location information within wireless environment
WO2022086253A1 (en) Image display method, and wearable electronic device for supporting same
WO2023068694A1 (en) Electronic device and method for inspecting cable connection circuit of electronic device
WO2022114918A1 (en) Augmented reality device, electronic device interacting with augmented reality device, and method for controlling same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21924981

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21924981

Country of ref document: EP

Kind code of ref document: A1