WO2021187876A1 - Self-image capturing method and electronic device therefor - Google Patents

Self-image capturing method and electronic device therefor Download PDF

Info

Publication number
WO2021187876A1
WO2021187876A1 PCT/KR2021/003256 KR2021003256W WO2021187876A1 WO 2021187876 A1 WO2021187876 A1 WO 2021187876A1 KR 2021003256 W KR2021003256 W KR 2021003256W WO 2021187876 A1 WO2021187876 A1 WO 2021187876A1
Authority
WO
WIPO (PCT)
Prior art keywords
gesture
electronic device
frame
image
camera
Prior art date
Application number
PCT/KR2021/003256
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 WO2021187876A1 publication Critical patent/WO2021187876A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/36Memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/38Displays

Definitions

  • Various embodiments disclosed in this document relate to a method for self-image capturing and an electronic device therefor.
  • a personal device such as a smart phone may be widely used.
  • functions supported by smart phones are also gradually improved.
  • recent smart phones may support high-resolution video recording.
  • a user can shoot a high-resolution video using a smart phone of the picture.
  • interest in content creators is increasing.
  • a content creator may create content using an electronic device such as a smart phone.
  • the number of single-person media increases, the number of single-person content creators who directly produce content is increasing.
  • a separate camera director for image capturing (eg video recording).
  • a content creator of single-person content may directly set a camera and then perform image capturing.
  • the set composition may not be maintained.
  • a content creator may wish to place the content creator in the center of an image. Since there is no camera director capable of separately maintaining the composition, the composition set according to the movement of the content creator may not be maintained.
  • the image acquisition apparatus may perform image quality improvement on an image region provided through a preview. Due to the characteristics of digital image improvement, the effect of image quality improvement may deteriorate as the number of colors in the image increases. Accordingly, when the image acquisition apparatus performs image quality improvement on the entire image, image quality improvement is performed on an unnecessary region to be excluded through post-processing, and the effect of image quality improvement may also be deteriorated.
  • the image acquisition device may support optical image enhancement. For example, the image acquisition device may support image enhancement based on continuous image capturing and/or image enhancement based on dual cameras. If the composition is changed based on post-processing, such optical image enhancement may not be properly performed.
  • An electronic device includes a camera, a display, a processor operatively connected to the camera and the display, and a memory connected to the processor, wherein the memory includes: Obtaining a first gesture of the user by using the camera, setting a frame based on the first gesture, obtaining a second gesture of the user by using the camera, and obtaining the frame based on the second gesture
  • One or more instructions may be stored to set a padding area for an object within, and to record at least a partial image of an image acquired by the camera according to the frame and the padding area while tracking the object.
  • a method for acquiring an image of an electronic device includes: acquiring a user's first gesture using a camera of the electronic device; and setting a frame based on the first gesture , obtaining a second gesture of the user using the camera, setting a padding area for an object in the frame based on the second gesture, and tracking the frame and the padding while tracking the object
  • the method may include recording at least a partial image of the image acquired by the camera according to the area.
  • the user of the electronic device may actively determine a photographing composition using a gesture without access to photographing equipment or without additional equipment.
  • the electronic device may maintain the photographing composition by constantly maintaining the size, ratio, and direction of the subject with respect to the background.
  • the electronic device may minimize the user's post-processing work by performing image acquisition based on the padding area according to the user setting.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure
  • FIG. 2 illustrates a photographing environment according to an exemplary embodiment.
  • FIG. 3 illustrates a photographing environment according to an exemplary embodiment.
  • FIG. 4 is a block diagram of an electronic device according to an exemplary embodiment.
  • FIG. 5 is a diagram illustrating the setting of a frame according to an embodiment.
  • FIG. 6 illustrates a frame change according to a lateral movement of a user according to an exemplary embodiment.
  • FIG. 7 illustrates a change in a frame according to a forward movement of a user according to an exemplary embodiment.
  • FIG. 8 illustrates a padding area according to an embodiment.
  • FIG 9 illustrates a padding area according to an embodiment.
  • FIG. 10 illustrates a method of setting a padding area according to an embodiment.
  • FIG. 11 illustrates a method of setting a padding area according to an embodiment.
  • FIG. 12 is a flowchart of an image recording method according to an embodiment.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.
  • the electronic device 101 communicates with the 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 . 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 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illuminance sensor
  • the processor 120 for example, executes software (eg, the 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 an 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 loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • software eg, the 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 loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and an auxiliary processor 123 (eg, a graphic processing unit or an image signal processor) that can be operated independently or together with the main processor 121 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • a main processor 121 eg, a central processing unit or an application processor
  • an auxiliary processor 123 eg, a graphic processing unit or an image signal processor
  • the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function.
  • the auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • the auxiliary processor 123 may be, for example, 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 device 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 auxiliary processor 123 eg, an image signal processor or a communication processor
  • 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 device 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 device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
  • the sound output device 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output device 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls. According to an embodiment, the receiver may be implemented separately from or as a part of the speaker.
  • the display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device.
  • the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.
  • 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 device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 . The sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • an external electronic device eg, a sound output device 155
  • the sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, 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 .
  • the 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 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 wireless 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 wireless 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 may be a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with the external electronic device 104 through a computer network (eg, a telecommunication network such as a LAN or WAN).
  • a computer network eg, a telecommunication network such as a LAN or 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 .
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • 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 one 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. 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, RFIC
  • other than the radiator may be additionally formed as a part of the antenna module 197 .
  • 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 and 104 may be the same as or different from the electronic device 101 .
  • all or part of the operations performed by the electronic device 101 may be performed by one or more of the 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.
  • the 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, or client-server computing technology may be used.
  • Electronic devices may be devices of various types.
  • 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 camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • a home appliance device e.g., a smart bracelet
  • the electronic device according to the embodiment of the present document is not limited to the above-described devices.
  • first”, “second”, or “first” or “second” may simply be used to distinguish the component from other components in question, and may refer to components in other aspects (e.g., importance or order) is not limited. 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 may include a unit implemented in hardware, software, or firmware, and may be used interchangeably 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
  • one or more instructions stored in a storage medium may be implemented as software (eg, the program 140) including
  • the processor eg, the processor 120
  • the device may call at least one of one or more instructions stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the at least one command called.
  • 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 by being 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 device-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play StoreTM) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, 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.
  • 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, omitted, or , or one or more other operations may be added.
  • FIG. 2 illustrates a photographing environment according to an exemplary embodiment.
  • the user 299 may directly perform image capturing using the electronic device 201 (eg, the electronic device 101 of FIG. 1 ).
  • the user 299 may check an image acquired using the camera 280 of the electronic device 201 through the display 260 of the electronic device 260 .
  • the electronic device 201 may be assumed to be fixed by a tripod or the like.
  • the electronic device 201 may provide image recording in which the composition set by the user 299 is maintained even in a fixed state.
  • the electronic device 201 may stream an image in which a set composition is maintained in real time.
  • the electronic device 201 is illustrated as a mobile phone, but embodiments of the present document are not limited thereto.
  • at least some components of the electronic device 201 may be configured as separate external electronic devices.
  • FIG. 3 illustrates a photographing environment according to an exemplary embodiment.
  • the user 299 may perform image recording using the camera 280 .
  • the user 299 may check the image using any electronic device having a display (eg, the TV 360 or the PC 320 ).
  • the camera 280 and the display device eg, the TV 360 or the PC 320
  • the photographing system corresponding to the electronic device 201 of FIG. 2 .
  • various embodiments will be described focusing on the electronic device 201 , but the fact that the display 260 and the camera 280 of the electronic device 201 may be configured as separate devices has been described above with reference to FIG. 3 . like a bar
  • the operation of the electronic device 201 excluding the output of the image may be referred to as being performed by the camera device (eg, the camera 380 ).
  • FIG. 4 is a block diagram of an electronic device according to an exemplary embodiment.
  • the electronic device 201 (eg, the electronic device 101 of FIG. 1 ) includes a processor 220 , a memory 230 , a display 260 , a camera 280 , and/or a communication circuit ( 290) may be included.
  • the processor 220 may be set to control various components of the electronic device 201 .
  • the processor 220 includes a memory 230 , a display 260 , and a camera 280 . , and/or may be operatively connected to the communication circuit 290.
  • the processor 220 may be configured to perform various operations of the electronic device 120 to be described later based on one or more instructions stored in the memory 230.
  • the processor 220 may include at least one processor.
  • the processor 220 may include a visual processing unit (VPU), a neural processing unit (NPU), or a central processing unit (CPU). processing unit) and/or at least one of a graphic processing unit (GPU)
  • the processor 220 may include one or a plurality of chips.
  • the memory 230 may store one or more instructions.
  • the memory 230 may store various pieces of information related to the electronic device 201 .
  • the memory 230 may store a moving image and/or a still image obtained by using the camera 280 .
  • the memory 230 may store information on the padding area set by the user (eg, padding area setting information).
  • the display 260 may include a plurality of pixels and display an image using the plurality of pixels.
  • the display 260 may include a touch sensor capable of receiving a touch input.
  • the display 260 may be set to display at least a part of the image acquired by the camera 280 .
  • the processor 220 may provide a real-time image (eg, a preview) of an image acquired using the camera 280 through the display 260 .
  • the camera 280 may include at least one camera.
  • the camera 280 may include a plurality of lenses and a plurality of image sensors.
  • the camera 280 may include a plurality of camera units.
  • the communication circuit 290 may provide a communication interface for communicating with another electronic device in a wired or wireless manner.
  • the communication circuit 290 may be a communication interface configured to support short-range wireless communication (eg, Bluetooth, Wi-Fi, NFC, and/or 802.11 series short-range wireless communication).
  • the communication circuit 290 may be a communication interface configured to support long-distance wireless communication (eg, cellular).
  • the electronic device 201 includes a gesture identifier 410 , an upper body detector 420 , a face detector 430 , a padding region setter 440 , and/or an image quality improver 450 .
  • the gesture identifier 410 , the upper body detector 420 , the face detector 430 , the padding region setter 440 , and/or the image quality improver 450 are, for example, dedicated hardware of the electronic device 201 . And it may be a software module implemented by a combination of software or implemented based on instructions stored in the memory 230 .
  • the operation of the gesture identifier 410, the upper body detector 420, the face detector 430, the padding region setter 440, and/or the image quality improver 450, which will be described later, is performed by the electronic device 201 or the processor ( 220) may be referred to as an operation implemented by
  • the gesture identifier 410 may identify a gesture of an external object (eg, a user). For example, the gesture identifier 410 may identify a gesture based on image analysis and/or reflected wave analysis. According to an embodiment, the gesture identifier 410 may identify a gesture based on image analysis. The gesture identifier 410 may acquire at least one image of an object using the camera 280 . The gesture identifier 410 may identify an object corresponding to the gesture from the acquired image. For example, the gesture identifier 410 may identify a gesture including a movement by analyzing a plurality of consecutive images. In the gesture identification based on image analysis, the gesture identifier 410 may identify an object and a gesture of the object further based on depth information.
  • the gesture identifier 410 may be set to acquire the distance information using the camera 280 (eg, a dual lens camera) and/or a separate sensor (eg, an infrared sensor (not shown)).
  • the gesture identifier 410 may identify a gesture based on reflected wave analysis.
  • the gesture identifier 410 may emit a signal using the communication circuit 290 and/or a circuit configured to emit the signal.
  • the gesture identifier 410 may identify an external object and/or a gesture of the external object by detecting a reflected signal in which the emitted signal is reflected by the external object.
  • the gesture identifier 410 may detect an external object based on the arrival time of the reflected wave.
  • the gesture identifier 410 may identify the movement of the object based on the Doppler effect.
  • the gesture identifier 410 may identify an external object and a movement of the external object based on image analysis and reflected wave analysis.
  • the gesture identifier 410 may identify various gestures.
  • the gesture identifier 410 may identify a static gesture and/or a dynamic gesture.
  • the static gesture may mean maintenance of a specified pose performed by a specified object for a specified time or longer.
  • a static gesture may include a user holding a specified pose using a face, hand, arm, and/or body for a specified amount of time or longer.
  • the user may perform a gesture of designating a corresponding position by maintaining the position of the palm at a predetermined position for a specified time or longer in a state in which the palm is open.
  • the user may perform the gesture by not moving for more than a specified time in a state with folded arms.
  • the user may perform the gesture by maintaining the same facial expression for a specified time or longer.
  • the dynamic gesture may mean a designated movement performed by a designated object.
  • a dynamic gesture may include a user performing a specified action using a face, hand, arm, and/or body.
  • a user may perform a dynamic gesture by repeatedly clenching and opening a finger.
  • a user may perform a dynamic gesture by shaking their hand or shaking their head.
  • a user may perform a dynamic gesture by clapping.
  • the gesture is divided into a dynamic gesture and a static gesture, but embodiments of the present document are not limited thereto.
  • a gesture may be classified based on an object performing the gesture (eg, a head, face, hand, arm, and/or body).
  • an object performing the gesture eg, a head, face, hand, arm, and/or body.
  • the above-described gestures are exemplary, and embodiments of the present document are not limited thereto.
  • a visual gesture may be combined with an acoustic gesture.
  • a gesture in which a visual gesture and an acoustic element are combined may also be referred to as a gesture.
  • the gesture identifier 410 may identify a gesture based on a convolutional neural network (CNN).
  • CNN convolutional neural network
  • the upper body detector 420 may detect the upper body of an object (eg, a user). For example, “upper body” may mean from the bottom of the head of the object to the top of the leg. As another example, “upper body” may mean above the leg from the head of the object.
  • the upper body detector 420 may identify the upper body based on image analysis. For example, the upper body detector 420 may identify the upper body by identifying a designated shape. The designated shape may include, for example, an omega-shape (eg, a shape corresponding to or resembling the letter “omega”).
  • the upper body detector 420 may detect the upper body based on a convolutional neural network (CNN). For example, information on the upper body identified by the upper body detector 420 may be used by the gesture identifier 410 to identify a gesture.
  • CNN convolutional neural network
  • the face detector 430 may detect a head and/or a face of an object (eg, a user). For example, the face detector 430 may detect an “expression” of the object based on the face of the object. The face detector 430 may detect the head and/or face of the object based on image analysis. For example, the face detector 430 may extract a feature point from an object identified as a head, and identify eyes, nose, mouth, and/or eyebrows based on the feature point. The face detector 430 may detect the upper body based on a convolutional neural network (CNN). For example, information on the face identified by the face detector 430 may be used to identify the gesture of the gesture identifier 410 .
  • CNN convolutional neural network
  • the padding area setter 440 may set a padding area for image acquisition.
  • the padding area setter 440 may store padding area information set by the user in the memory 230 and/or an external electronic device (eg, a server).
  • the padding area information may include upper padding, left padding, right padding, and/or lower padding information for the object.
  • the padding area setter 440 may store and/or manage information on the padding area.
  • the padding area setter 440 may store a plurality of padding area settings and provide the plurality of padding area settings to the user.
  • the electronic device 201 may obtain an image based on the selected padding area setting.
  • the padding area may be defined relative to the position and size of the object.
  • the padding area may be referred to as areas other than the object within one frame of the image.
  • operations of the padding region setter 440 may be referred to by operations of the electronic device 201 described later with reference to FIGS. 5 to 12 .
  • the image quality improver 450 may perform quality improvement on an image obtained by using the camera 280 .
  • the image quality improver 450 may perform quality improvement on all or part of an image using the camera 280 .
  • the image quality improver 450 may perform image quality improvement based on a frame (eg, at least a part of an image) set based on the padding area setting.
  • Image quality improvement may include quality improvement for an image within a frame based on the image within the frame.
  • the image quality improver 450 may improve the image quality by using the image enhancement parameters generated based on the CNN.
  • the image quality improvement may include digital processing-based image quality improvement for the acquired image, as well as changing parameters of the camera 280 for image quality improvement.
  • the image quality improver 450 may change optical characteristics of the camera 280 to improve image quality.
  • the image quality improver 450 may include a lens (eg, a normal lens, a zoom lens, and/or a wide-angle lens), an aperture value, an exposure value, a color temperature setting, and/or a zoom setting (eg, a zoom factor) for image acquisition. ) can be changed.
  • the configuration of the electronic device 201 illustrated in FIG. 4 is exemplary and embodiments of the present document are not limited thereto.
  • the electronic device 201 may not include at least one of the components illustrated in FIG. 4 .
  • the electronic device 201 may further include a configuration not shown in FIG. 4 .
  • FIG. 5 is a diagram illustrating the setting of a frame according to an embodiment.
  • the photographing area 510 may correspond to the entire image that may be acquired by the camera 280 of the electronic device 201 .
  • the frame 520 may correspond to at least a portion of the photographing area 510 .
  • the frame 520 may include, among the photographing areas 510 , an area intended for photographing by the user 599 , an area according to a padding area setting, an area used for image recording, and/or an area used for image transmission. It can be referred to as a region.
  • the frame 520 may be set relative to at least a portion of an object (eg, the user 599 ).
  • the position and size of the frame 520 may be relatively set based on the size and position of the object.
  • an object is a head 550 (eg, a head identified by the face detector 430 ), an upper body 560 (eg, an upper body detected by the upper body detector 420 ), and/or a user ( 599) may be included.
  • the object of the frame 520 may be set as the head 550 , the upper body 560 , or a user.
  • the object of the frame 520 may be set as the head 550 and the upper body 560 .
  • examples of the above-described object are examples, and embodiments of the present document are not limited thereto.
  • the term “object” may be referred to as a reference object constituting the frame 520 .
  • the electronic device 201 may determine a frame 520 based on the identified object and acquire an image of the frame 520 .
  • the electronic device 201 may identify the object and identify the frame 520 according to a padding area set for the identified object.
  • the electronic device 201 may perform image enhancement only on an image corresponding to the frame 520 in the photographing area 510 .
  • the electronic device 201 may perform zoom-in to acquire an image including the frame 520 in order to improve the image.
  • the photographing area 510 may be reduced according to zoom-in.
  • the electronic device 201 may perform image enhancement (eg, digital processing) only on the image corresponding to the frame 520 based on the image corresponding to the frame 520 . can
  • the electronic device 201 may capture an image using an image corresponding to the frame 520 .
  • the electronic device 201 may store only a portion corresponding to the frame 520 of the entire photographing area 510 in the memory 230 or transmit it to an external electronic device.
  • the electronic device 201 may be set to store both an image corresponding to the entire photographing area 510 and an image 520 corresponding to the frame 520 in the memory 230 .
  • the electronic device 201 may store an image corresponding to the entire photographing area 510 and the image 520 as separate files.
  • FIG. 6 illustrates a frame change according to a lateral movement of a user according to an exemplary embodiment.
  • the user 599 may move to the left of the photographing area 510 .
  • the electronic device 201 may move the frame 520 in the photographing area 510 according to the movement of the object. Since the position and relative size of the object in the frame 520 are maintained, a composition (eg, setting of a padding area) set by the user 599 may be maintained.
  • the electronic device 201 may not be able to maintain the composition set by the user 599 .
  • the electronic device 201 may no longer maintain the composition because the user 599 moves too far to the side of the photographing area 510 .
  • the electronic device 201 may maintain only the size of the frame 520 without maintaining the position of the object in the frame 520 .
  • the electronic device 201 may maintain the size and position of the frame 520 in the photographing area 510 .
  • FIG. 7 illustrates a change in a frame according to a forward movement of a user according to an exemplary embodiment.
  • the user 599 may move toward the electronic device 201 .
  • the size of the object obtained by the electronic device 201 may increase.
  • the electronic device 201 may increase the size of the frame 520 in order to maintain the relative size of the object with respect to the frame 520 . Since the position and relative size of the object in the frame 520 are maintained, a composition (eg, padding area setting) set by the user 599 may be maintained.
  • the electronic device 201 may zoom out the camera 280 in response to the user 599 moving forward (eg, moving toward the camera 280 ).
  • the electronic device 201 may zoom out the camera 280 in response to the user 599 moving backward (eg, moving away from the camera 280 ).
  • the electronic device 201 may zoom in the camera 280 .
  • the electronic device 201 may not be able to maintain the composition set by the user 599 .
  • the electronic device 201 may not be able to maintain the composition any more even after zooming out to the maximum.
  • the electronic device 201 may be set to maintain a zoomed-out state as much as possible or to transmit a preset image.
  • FIG. 8 illustrates a padding area according to an embodiment.
  • the frame 520 may include an object and a padding area set relative to the object.
  • the object may correspond to the head 550 .
  • the frame 520 may be set as an object (eg, the head 550) and a padding area set for the object.
  • the padding area may include upper padding (PU), left padding (PL), right padding (PR), and lower padding (PD) for the object.
  • the padding area may be defined by upper padding (PU), left padding (PL), right padding (PR), and lower padding (PD).
  • padding can be applied to the boundaries of an identified object (e.g., head and/or upper body) or an identified object area (e.g., an area corresponding to head and/or upper body (e.g., a rectangle)). It may be set as the shortest distance from the boundary to the boundary of the frame.
  • the size of the padding area (eg, the length of the upper padding (PU), the left padding (PL), the right padding (PR), and the lower padding (PD)) is a value (eg, the length of the upper padding) relative to the size of the object. : ratio).
  • the electronic device 201 may also change the size of the padding area according to the relative value. By changing the padding area, the electronic device 201 may maintain the composition set by the user.
  • FIG 9 illustrates a padding area according to an embodiment.
  • the object 900 may correspond to the upper body or may correspond to the head and the upper body.
  • the padding area may include upper padding (PU), left padding (PL), and right padding (PR) for the object.
  • the padding area described above with reference to FIGS. 8 and 9 is exemplary, and embodiments of the present document are not limited thereto.
  • at least one of the upper padding PU, the left padding PL, the right padding PR, and the lower padding PD may be omitted.
  • FIG. 10 illustrates a method of setting a padding area according to an embodiment.
  • a user 599 may perform a first gesture 1001 .
  • the first gesture 1001 may be referred to as a gesture for setting a frame (eg, the frame 520 of FIG. 5 ).
  • the first gesture 1001 may indicate positions of at least two points (eg, upper left and lower right corners or lower left and upper right corners of a frame).
  • the first gesture 1001 may include instructions for a first point indicated by the right hand 1002 of the user 599 and a second point indicated by the left hand 1003 of the user 599 .
  • the electronic device 201 may set the padding area based on the first point and the second point indicated by the first gesture 1001 .
  • the electronic device 201 may set the first frame 1030 such that the first point and the second point form diagonal vertices.
  • the electronic device 201 may set the first frame 1030 based on the area indicated by the first gesture 1001 .
  • the electronic device 201 may set the padding area based on the upper padding PU, the first left padding PL1, and the first right padding PR1 for the object.
  • the electronic device 201 may set a padding area based on the image ratio for recording/transmission set in the electronic device 201 and the first gesture 1001 .
  • an area designated by the first gesture 1001 eg, the first frame 1030
  • the electronic device 201 may set an additional padding area.
  • the first frame 1030 indicated by the first gesture 1001 may have a shorter horizontal length than the image ratio for recording/transmission.
  • the image ratio for recording/transmission may correspond to the second frame 1020 .
  • the electronic device 201 may further set additional padding on the left and right sides so that the frame corresponds to the image ratio for recording/transmission.
  • the electronic device 201 may set a padding area based on the upper padding PU, the second left padding PL1, and the second right padding PR2 of the object.
  • the first frame 1030 indicated by the first gesture 1001 may have a shorter vertical length than the image ratio for recording/transmission.
  • the electronic device 201 may further set additional padding on the upper side and/or lower side so that the frame corresponds to the image ratio for recording/transmission.
  • the electronic device 201 may set a padding area based on the first gesture 1001 and the second gesture 1011 .
  • the electronic device 201 detects an object (eg, a photographing or tracking target) within a frame (eg, the first frame 1030 or the second frame 1020 ) indicated by the first gesture 1001 .
  • object may be determined based on the second gesture 1011 .
  • the electronic device 201 may set the position and size of the object when the second gesture 1011 is received as the position and size of the object in the frame.
  • the electronic device 201 may set the padding area based on the position of the object, the size of the object, and the frame.
  • the first gesture 1001 is illustrated as a gesture of opening an arm, but embodiments of the present document are not limited thereto.
  • the first gesture 1001 may be any gesture indicating two points of a frame.
  • the second gesture 1011 is also illustrated as a gesture of crossing arms, but embodiments of the present document are not limited thereto.
  • the second gesture 1011 may include an OK sign using a finger, a gesture of raising an arm above the head to make OK, or a gesture of clapping.
  • the second gesture 1011 may be any designated gesture.
  • the second gesture 1011 may be referred to as a gesture for completing setting of the padding area.
  • a user performing a first gesture 1001 and a second gesture 1011 is set as a reference of the frame 1030 , but embodiments of the present document are not limited thereto.
  • the first gesture 1001 and the second gesture 1011 are performed by the user, and the object serving as a reference of the frame 1030 may not be the user.
  • the object may be a person other than the user, an animal, or a thing having any mobility.
  • the user may perform a separate input (eg, a gesture input) for designating an object that is a reference of the frame 1030 .
  • the electronic device may display a frame based on an object located at a designated position within the second frame 1020 (eg, the center of the second frame 1020 ). (1030) can be set.
  • FIG. 11 illustrates a method of setting a padding area according to an embodiment.
  • the first gesture (eg, the first gesture 1001 of FIG. 10 ) may include a plurality of sub gestures.
  • the first gesture may include a first sub gesture 1101 and a second sub gesture 1102 .
  • the user 599 points to the first vertex of the frame 1120 using the first sub gesture 1101, and uses the second sub gesture 1102 to set the first vertex of the frame 1120.
  • 2 vertices (eg, a vertex diagonal to the first vertex) may be indicated.
  • the first sub gesture 1101 may include a palm gesture 1111 .
  • the second sub-gesture 1102 may include a palm gesture 1112 .
  • the electronic device 201 may set the padding area based on the first point and the second point indicated by the first gesture. For example, the electronic device 201 may set the frame 1120 so that the first point and the second point form diagonal vertices. For example, when the second gesture 1103 is received, the electronic device 201 may set the frame 1120 based on the area indicated by the first gesture. In this case, the electronic device 201 may set the padding area based on the upper padding PU, the left padding PL, and the right padding PR of the object.
  • the electronic device 201 may set the padding area based on the first gesture (eg, the first sub-gesture 1111 and the second sub-gesture 1112 ) and the second gesture 1103 . .
  • the electronic device 201 determines the position of an object (eg, an object to be photographed or tracked) within the frame 1120 indicated by the first sub gesture 1101 and the second sub gesture 1102 . may be determined based on the second gesture 1103 .
  • the electronic device 201 may set the position and size of the object when the second gesture 1103 is received as the position and size of the object in the frame.
  • the electronic device 201 may set the padding area based on the position of the object, the size of the object, and the frame.
  • the first sub-gesture 1101 and the second sub-gesture 1102 are illustrated as opening arms, but embodiments of the present document are not limited thereto.
  • each of the first sub-gesture 1101 and the second sub-gesture 1102 may be an arbitrary gesture indicating a point in a frame.
  • the second gesture 1103 is also illustrated as a cross-arm gesture, but embodiments of the present document are not limited thereto.
  • the second gesture 1103 may be referred to as an arbitrary gesture for completing setting of the padding area.
  • the user performing the second gesture 1103 is set as a reference of the frame 1120 , but embodiments of the present document are not limited thereto.
  • the second gesture 1103 is performed by the user, and the object that is the reference of the frame 1120 may not be the user.
  • the object may be a person other than the user, an animal, or a thing having any mobility.
  • the user may perform a separate input (eg, a gesture input) for designating an object as a reference of the frame 1120 .
  • the electronic device receives the frame 1120 based on an object located at a specified position (eg, the center of the acquired image) in the image acquired using the camera. ) can be set.
  • FIG. 12 illustrates a flowchart 1200 of an image recording method according to an embodiment.
  • the image recording method of FIG. 12 may be performed based on the execution of the camera application of the electronic device 201 or the driving of the camera.
  • the electronic device 201 may receive a padding area setting input.
  • the padding area setting input may be any input instructing entry into a setting mode for setting the padding area.
  • the padding area setting input may include, for example, a touch input, a gesture input, and/or a voice input.
  • the electronic device 201 may receive a padding area setting input based on a touch input to the display 260 of the electronic device 201 .
  • the electronic device 201 may receive a padding area setting input by identifying a designated gesture using the camera 280 of the electronic device 201 .
  • the electronic device 201 may start setting a padding area.
  • the electronic device 201 may set the padding area according to the method described above with reference to FIGS. 10 and 11 .
  • the electronic device 201 may obtain a first gesture input.
  • the electronic device 201 may capture an image corresponding to the first gesture input by using the camera 280 of the electronic device 201 and acquire the first gesture based on the captured image.
  • the electronic device 201 may obtain the first gesture input by using the camera 280 and the microphone of the electronic device 201 .
  • the first gesture input may be any gesture input indicating at least two points.
  • the first gesture input may include one gesture indicating two points (eg, the first gesture 1001 of FIG. 10 ) or a plurality of gestures (eg, the first sub gesture 1101 and the second gesture of FIG. 11 ) 2 sub-gestures 1102).
  • the electronic device 201 determines whether a second gesture input (eg, the second gesture 1002 of FIG. 10 or the second gesture 1103 of FIG. 11 ) is obtained.
  • the second gesture input may be a gesture input indicating completion of setting the padding area.
  • the electronic device 201 may obtain the second gesture input by using the camera 280 and/or the microphone of the electronic device 201 .
  • the voice input may be a body gesture.
  • the second gesture input may be a voice input and a body gesture.
  • the electronic device 201 may determine that the setting of the padding area has failed. In this case, the electronic device 201 may end the setting of the padding area. In one example, when an input for canceling the setting of the padding area is received, the electronic device 201 may return to the state before operation 1210 .
  • an input for canceling the setting of the padding area may be referred to as a third gesture.
  • the third gesture may correspond to an X-shape display using a finger or an arm.
  • the electronic device 201 may be configured to ignore the previously acquired first gesture input and acquire a new first gesture input.
  • the electronic device 201 may continuously acquire the first gesture input. For example, when a plurality of first gesture inputs are received, the electronic device 201 may set a padding area based on the most recently received first gesture input before acquiring the second gesture.
  • the electronic device 201 may set a padding area based on the acquisition of the second gesture. For example, when the second gesture input is obtained, the electronic device 201 may set the padding area based on the area indicated by the first gesture input. For example, the setting of the padding area may be referred to by the examples described above with reference to FIGS. 5 to 11 .
  • the electronic device 201 may set a padding area based on the first gesture input and the second gesture input. For example, the electronic device 201 may set a frame based on the first gesture, set the position and size of an object in the frame based on the second gesture, and set a padding area based on the frame and the object. . As described above, the subject performing the first gesture and the second gesture and the object may be different from each other.
  • the electronic device 201 may store the set padding area in the memory 230 of the electronic device 201 .
  • the saved padding area setting may act as a kind of template.
  • the electronic device 201 may provide the user with the stored padding area setting, and when the user's input for a specific template is received, the electronic device 201 may set the padding area using the corresponding template.
  • the electronic device 201 may record the image of the user according to the set padding area.
  • the electronic device 201 may record an image while tracking a found object (eg, a user) according to a determined padding area.
  • the electronic device 201 may also change the size of the padding area according to a change in the size of the object.
  • the electronic device 201 may start recording the image when an input instructing to start recording is received or in response to obtaining the second gesture.

Abstract

Disclosed is an electronic device comprising a camera, a display, a processor operatively connected to the camera and the display, and a memory connected to the processor. The memory can store one or more instructions that allow, when executed, the processor to acquire a first gesture of a user by using the camera, set a frame on the basis of the first gesture, acquire a second gesture of the user by using the camera, set a padding area for an object in the frame on the basis of the second gesture, and record at least a part of the image acquired by the camera according to the frame and the padding area while tracking the object.

Description

자기 이미지 캡쳐 방법 및 이를 위한 전자 장치Magnetic image capture method and electronic device therefor
본 문서에서 개시되는 다양한 실시 예들은, 자기 이미지 캡쳐링(self-image capturing)을 위한 방법 및 이를 위한 전자 장치에 관한 것이다.Various embodiments disclosed in this document relate to a method for self-image capturing and an electronic device therefor.
스마트 폰과 같은 개인용 장치가 널리 이용될 수 있다. 기술의 발달과 함께, 스마트 폰이 지원하는 기능 또한 점차 개선되고 있다. 예를 들어, 최근의 스마트 폰은 고 해상도의 동영상 촬영을 지원할 수 있다. 사용자는 사진의 스마트 폰을 이용하여 높은 해상도의 동영상을 촬영할 수 있다. 사용자 제작 컨텐츠 플랫폼의 유행에 따라서, 컨텐츠 크리에이터에 대한 관심이 증가되고 있다. 예를 들어, 컨텐츠 크리에이터는 스마트 폰과 같은 전자 장치를 이용하여 컨텐츠를 제작할 수 있다. A personal device such as a smart phone may be widely used. With the development of technology, functions supported by smart phones are also gradually improved. For example, recent smart phones may support high-resolution video recording. A user can shoot a high-resolution video using a smart phone of the picture. According to the trend of user-created content platforms, interest in content creators is increasing. For example, a content creator may create content using an electronic device such as a smart phone.
1인 미디어의 증가에 따라서, 직접 컨텐츠를 제작하는 1인 컨텐츠 크리에이터가 증가하고 있다. 1인 컨텐츠 크리에이터의 경우, 이미지 캡쳐링(예: 비디오 녹화)을 위한 별도의 카메라 디렉터를 고용하지 못할 수 있다. 이 경우, 1인 컨텐츠의 컨텐츠 크리에이터는 직접 카메라를 세팅한 뒤 이미지 캡쳐링을 수행할 수 있다. 그러나, 피사체가 이동하는 경우, 세팅된 구도가 유지되지 못할 수 있다. 예를 들어, 컨텐츠 크리에이터는 이미지의 중심에 컨텐츠 크리에이터가 위치되길 원할 수 있다. 별도로 구도를 유지하여 줄 수 있는 카메라 디렉터가 없기 때문에, 컨텐츠 크레리에이터의 이동에 따라서 세팅된 구도는 유지되지 않을 수 있다. As the number of single-person media increases, the number of single-person content creators who directly produce content is increasing. For single content creators, it may not be possible to hire a separate camera director for image capturing (eg video recording). In this case, a content creator of single-person content may directly set a camera and then perform image capturing. However, when the subject moves, the set composition may not be maintained. For example, a content creator may wish to place the content creator in the center of an image. Since there is no camera director capable of separately maintaining the composition, the composition set according to the movement of the content creator may not be maintained.
이와 관련하여, 일단 녹화를 마친 후에 후처리를 통하여 구도를 변경하는 것이 고려될 수 있다. 그러나, 이미 일정한 형식으로 압축된 이미지 또는 동영상에 대한 후처리로는 이미지 열화를 피하기 어렵다. 일반적으로, 이미지 획득 장치는 프리뷰를 통하여 제공되는 이미지 영역에 대하여 화질 개선을 수행할 수 있다. 디지털 이미지 개선의 특성 상, 이미지 내의 색상의 수가 증가할수록 화질 개선의 효과는 열화될 수 있다. 따라서, 이미지 획득 장치가 전체 이미지에 대하여 화질 개선을 수행하는 경우, 후처리를 통하여 제외될 불필요한 영역에 대하여 화질 개선을 수행하게 되며, 또한, 화질 개선의 효과도 열화될 수 있다. 아울러, 이미지 획득 장치가 광학적 이미지 개선을 지원할 수도 있다. 예를 들어, 이미지 획득 장치는 연속 이미지 촬영에 기반한 이미지 개선 및/또는 듀얼 카메라에 기반한 이미지 개선을 지원할 수 있다. 후처리에 기반하여 구도를 변경하는 경우, 이러한 광학적 이미지 개선이 적절히 수행되지 못할 수 있다.In this regard, it may be considered to change the composition through post-processing once recording is finished. However, it is difficult to avoid image degradation through post-processing of an image or moving picture already compressed in a certain format. In general, the image acquisition apparatus may perform image quality improvement on an image region provided through a preview. Due to the characteristics of digital image improvement, the effect of image quality improvement may deteriorate as the number of colors in the image increases. Accordingly, when the image acquisition apparatus performs image quality improvement on the entire image, image quality improvement is performed on an unnecessary region to be excluded through post-processing, and the effect of image quality improvement may also be deteriorated. In addition, the image acquisition device may support optical image enhancement. For example, the image acquisition device may support image enhancement based on continuous image capturing and/or image enhancement based on dual cameras. If the composition is changed based on post-processing, such optical image enhancement may not be properly performed.
본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 카메라, 디스플레이, 상기 카메라 및 상기 디스플레이와 작동적으로 연결된 프로세서, 및 상기 프로세서와 연결된 메모리를 포함하고, 상기 메모리는 실행 시에 상기 프로세서가, 상기 카메라를 이용하여 사용자의 제1 제스처를 획득하고, 상기 제1 제스처에 기반하여 프레임을 설정하고, 상기 카메라를 이용하여 상기 사용자의 제2 제스처를 획득하고, 상기 제2 제스처에 기반하여 상기 프레임 내에서의 오브젝트에 대한 패딩 영역을 설정하고, 상기 오브젝트를 추적하면서 상기 프레임 및 상기 패딩 영역에 따라서 상기 카메라에 의하여 획득된 이미지의 적어도 일부 이미지를 녹화하도록 하는 하나 이상의 인스트럭션들을 저장할 수 있다.An electronic device according to an embodiment disclosed in this document includes a camera, a display, a processor operatively connected to the camera and the display, and a memory connected to the processor, wherein the memory includes: Obtaining a first gesture of the user by using the camera, setting a frame based on the first gesture, obtaining a second gesture of the user by using the camera, and obtaining the frame based on the second gesture One or more instructions may be stored to set a padding area for an object within, and to record at least a partial image of an image acquired by the camera according to the frame and the padding area while tracking the object.
본 문서에 개시되는 일 실시 예에 따른 전자 장치의 이미지 획득을 위한 방법은, 상기 전자 장치의 카메라를 이용하여 사용자의 제1 제스처를 획득하는 동작, 상기 제1 제스처에 기반하여 프레임을 설정하는 동작, 상기 카메라를 이용하여 상기 사용자의 제2 제스처를 획득하는 동작, 상기 제2 제스처에 기반하여 상기 프레임 내에서의 오브젝트에 대한 패딩 영역을 설정하는 동작, 및 상기 오브젝트를 추적하면서 상기 프레임 및 상기 패딩 영역에 따라서 상기 카메라에 의하여 획득된 이미지의 적어도 일부 이미지를 녹화하는 동작을 포함할 수 있다. A method for acquiring an image of an electronic device according to an embodiment disclosed in this document includes: acquiring a user's first gesture using a camera of the electronic device; and setting a frame based on the first gesture , obtaining a second gesture of the user using the camera, setting a padding area for an object in the frame based on the second gesture, and tracking the frame and the padding while tracking the object The method may include recording at least a partial image of the image acquired by the camera according to the area.
본 문서에 개시되는 다양한 실시 예들에 따르면, 전자 장치의 사용자는 촬영 장비에 대한 접근 또는 별도의 장비 없이 제스처를 이용하여 촬영 구도를 능동적으로 결정할 수 있다. According to various embodiments disclosed in this document, the user of the electronic device may actively determine a photographing composition using a gesture without access to photographing equipment or without additional equipment.
전자 장치는 배경에 대한 피사체의 크기, 비율, 및 방향을 일정하게 유지함으로써 촬영 구도를 유지할 수 있다. The electronic device may maintain the photographing composition by constantly maintaining the size, ratio, and direction of the subject with respect to the background.
전자 장치는 사용자 설정에 따른 패딩 영역에 기반한 이미지 획득을 수행함으로써 사용자의 후처리 작업을 최소화할 수 있다. The electronic device may minimize the user's post-processing work by performing image acquisition based on the padding area according to the user setting.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.
도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
도 2는 일 실시예에 따른 촬영 환경을 도시한다. 2 illustrates a photographing environment according to an exemplary embodiment.
도 3은 일 실시예에 따른 촬영 환경을 도시한다.3 illustrates a photographing environment according to an exemplary embodiment.
도 4는 일 실시예에 따른 전자 장치의 블록도를 도시한다.4 is a block diagram of an electronic device according to an exemplary embodiment.
도 5는 일 실시예에 따른 프레임의 설정을 도시한다.5 is a diagram illustrating the setting of a frame according to an embodiment.
도 6은 일 실시예에 따른 사용자의 측면 이동에 따른 프레임의 변경을 도시한다.6 illustrates a frame change according to a lateral movement of a user according to an exemplary embodiment.
도 7은 일 실시예에 따른 사용자의 전방 이동에 따른 프레임의 변경을 도시한다. 7 illustrates a change in a frame according to a forward movement of a user according to an exemplary embodiment.
도 8은 일 실시예에 따른 패딩 영역을 도시한다. 8 illustrates a padding area according to an embodiment.
도 9는 일 실시예에 따른 패딩 영역을 도시한다.9 illustrates a padding area according to an embodiment.
도 10은 일 실시예에 따른 패딩 영역의 설정 방법을 도시한다.10 illustrates a method of setting a padding area according to an embodiment.
도 11은 일 실시예에 따른 패딩 영역의 설정 방법을 도시한다.11 illustrates a method of setting a padding area according to an embodiment.
도 12는 일 실시예에 따른 이미지 녹화 방법의 흐름도를 도시한다. 12 is a flowchart of an image recording method according to an embodiment.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다. In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that various modifications, equivalents, and/or alternatives of the embodiments of the present invention are included.
도 1은 다양한 실시 예들에 따른 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다Referring to FIG. 1 , in a network environment 100 , the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or 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 device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to execute at least one other component (eg, 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 an 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 loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 . According to an embodiment, the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and an auxiliary processor 123 (eg, a graphic processing unit or an image signal processor) that can be operated independently or together with the main processor 121 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. 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))의 일부로서 구현될 수 있다. The auxiliary processor 123 may be, for example, 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 device 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 auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as a part of another functionally related component (eg, the camera module 180 or the communication module 190). have.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 . The data may include, for example, 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 device 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 device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output a sound signal to the outside of the electronic device 101 . The sound output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls. According to an embodiment, the receiver may be implemented separately from or as a part of the speaker.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. The display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device. According to an embodiment, the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.
오디오 모듈(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 device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 . The sound may be output through the electronic device 102 (eg, a speaker or a headphone).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, 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 an embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시 예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치(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 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 an embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless 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). Among these communication modules, a corresponding communication module may be a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with the external electronic device 104 through a computer network (eg, a telecommunication network such as a LAN or 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 and authenticated.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(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 one 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. 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, RFIC) other than the radiator may be additionally formed as a part of the antenna module 197 .
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 ( e.g. 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)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 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 and 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of the operations performed by the electronic device 101 may be performed by one or more of the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or 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. The 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, or client-server computing technology may be used.
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. 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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.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 should be understood to 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, Each of the phrases "at least one of B, or C" may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases. Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish the component from other components in question, and may refer to components in other aspects (e.g., importance or order) is not limited. 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)의 형태로 구현될 수 있다. As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, 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. 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, one or more instructions stored in a storage medium (eg, the internal memory 136 or the external memory 138) readable by a machine (eg, the 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 one or more instructions stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the at least one command called. 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))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, the method according to various embodiments disclosed in this document may be provided by being 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 device-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, 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. 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, omitted, or , or one or more other operations may be added.
도 2는 일 실시예에 따른 촬영 환경을 도시한다. 2 illustrates a photographing environment according to an exemplary embodiment.
도 2의 예시에서, 사용자(299)는 전자 장치(201)(예: 도 1의 전자 장치(101))를 이용하여 직접 이미지 촬영을 수행할 수 있다. 예를 들어, 사용자(299)는 전자 장치(201)의 카메라(280)를 이용하여 획득된 이미지를 전자 장치(260)의 디스플레이(260)를 통하여 확인할 수 있다. 본 예시에 있어서, 전자 장치(201)는 삼각대 등에 의하여 고정된 상태로 가정될 수 있다. 본 문서의 다양한 실시예들에 따르면, 전자 장치(201)는 고정된 상태에서도 사용자(299)가 설정한 구도가 유지된 이미지 녹화를 제공할 수 있다. 예를 들어, 전자 장치(201)는 설정된 구도가 유지된 이미지를 실시간으로 스트리밍할 수 있다. In the example of FIG. 2 , the user 299 may directly perform image capturing using the electronic device 201 (eg, the electronic device 101 of FIG. 1 ). For example, the user 299 may check an image acquired using the camera 280 of the electronic device 201 through the display 260 of the electronic device 260 . In this example, the electronic device 201 may be assumed to be fixed by a tripod or the like. According to various embodiments of the present document, the electronic device 201 may provide image recording in which the composition set by the user 299 is maintained even in a fixed state. For example, the electronic device 201 may stream an image in which a set composition is maintained in real time.
도 2의 예시에서, 전자 장치(201)가 휴대폰으로 도시되어 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 전자 장치(201)의 적어도 일부 구성은 별개의 외부 전자 장치로 구성될 수 있다.In the example of FIG. 2 , the electronic device 201 is illustrated as a mobile phone, but embodiments of the present document are not limited thereto. For example, at least some components of the electronic device 201 may be configured as separate external electronic devices.
도 3은 일 실시예에 따른 촬영 환경을 도시한다.3 illustrates a photographing environment according to an exemplary embodiment.
도 3의 예시에서, 사용자(299)는 카메라(280)를 이용하여 이미지 녹화를 수행할 수 있다. 사용자(299)는 디스플레이를 갖는 임의의 전자 장치(예: TV(360) 또는 PC(320))를 이용하여 이미지를 확인할 수 있다. 도 3의 예시에서, 카메라(280)와 디스플레이 장치(예: TV(360) 또는 PC(320))는 도 2의 전자 장치(201)에 대응하는 촬영 시스템을 구성할 수 있다. 이하에서, 전자 장치(201)를 중심으로 다양한 실시예들이 설명되나, 전자 장치(201)의 디스플레이(260)와 카메라(280)가 별도의 장치로서 구성될 수 있음은 도 3과 관련하여 상술된 바와 같다. 이 경우, 이미지의 출력을 제외한 전자 장치(201)의 동작은 카메라 장치(예: 카메라(380))에 의하여 수행되는 것으로 참조될 수 있다.In the example of FIG. 3 , the user 299 may perform image recording using the camera 280 . The user 299 may check the image using any electronic device having a display (eg, the TV 360 or the PC 320 ). In the example of FIG. 3 , the camera 280 and the display device (eg, the TV 360 or the PC 320 ) may constitute a photographing system corresponding to the electronic device 201 of FIG. 2 . Hereinafter, various embodiments will be described focusing on the electronic device 201 , but the fact that the display 260 and the camera 280 of the electronic device 201 may be configured as separate devices has been described above with reference to FIG. 3 . like a bar In this case, the operation of the electronic device 201 excluding the output of the image may be referred to as being performed by the camera device (eg, the camera 380 ).
도 4는 일 실시예에 따른 전자 장치의 블록도를 도시한다.4 is a block diagram of an electronic device according to an exemplary embodiment.
일 실시예에 따르면, 전자 장치(201)(예: 도 1의 전자 장치(101))는 프로세서(220), 메모리(230), 디스플레이(260), 카메라(280), 및/또는 통신 회로(290)를 포함할 수 있다. According to an embodiment, the electronic device 201 (eg, the electronic device 101 of FIG. 1 ) includes a processor 220 , a memory 230 , a display 260 , a camera 280 , and/or a communication circuit ( 290) may be included.
프로세서(220)(예: 도 1의 프로세서(120)는 전자 장치(201)의 다양한 구성들을 제어하도록 설정될 수 있다. 프로세서(220)는 메모리(230), 디스플레이(260), 카메라(280), 및/또는 통신 회로(290)와 작동적으로 연결될 수 있다. 프로세서(220)는 메모리(230)에 저장된 하나 이상의 인스트럭션들에 기반하여 후술되는 다양한 전자 장치(120)의 동작들을 수행하도록 설정될 수 있다. 일 실시예에 따르면, 프로세서(220)는 적어도 하나의 프로세서를 포함할 수 있다. 예를 들어, 프로세서(220)는 VPU(visual processing unit), NPU(neural processing unit), CPU(central processing unit), 및/또는 GPU(graphic processing unit) 중 적어도 하나를 포함할 수 있다. 프로세서(220)는 하나 또는 복수의 칩들로 구성될 수 있다. The processor 220 (eg, the processor 120 of FIG. 1 ) may be set to control various components of the electronic device 201 . The processor 220 includes a memory 230 , a display 260 , and a camera 280 . , and/or may be operatively connected to the communication circuit 290. The processor 220 may be configured to perform various operations of the electronic device 120 to be described later based on one or more instructions stored in the memory 230. According to an embodiment, the processor 220 may include at least one processor. For example, the processor 220 may include a visual processing unit (VPU), a neural processing unit (NPU), or a central processing unit (CPU). processing unit) and/or at least one of a graphic processing unit (GPU) The processor 220 may include one or a plurality of chips.
메모리(230)(예: 도 1의 메모리(130))는 하나 이상의 인스트럭션들을 저장할 수 있다. 메모리(230)는 전자 장치(201)에 연관된 다양한 정보들을 저장할 수 있다. 예를 들어, 메모리(230)는 카메라(280)를 이용하여 획득된 동영상 및/또는 정지 영상을 저장할 수 있다. 메모리(230)는 사용자에 의하여 설정된 패딩 영역에 대한 정보(예: 패딩 영역 설정 정보)를 저장할 수 있다. The memory 230 (eg, the memory 130 of FIG. 1 ) may store one or more instructions. The memory 230 may store various pieces of information related to the electronic device 201 . For example, the memory 230 may store a moving image and/or a still image obtained by using the camera 280 . The memory 230 may store information on the padding area set by the user (eg, padding area setting information).
디스플레이(260)(예: 도 1의 표시 장치(160))는 복수의 픽셀들을 포함하고, 복수의 픽셀들을 이용하여 이미지를 디스플레이할 수 있다. 디스플레이(260)는 터치 입력을 수신할 수 있는 터치 센서를 포함할 수 있다. 디스플레이(260)는 카메라(280)에 의하여 획득된 이미지의 적어도 일부를 디스플레이하도록 설정될 수 있다. 예를 들어, 프로세서(220)는 카메라(280)를 이용하여 획득된 이미지에 대한 실시간 영상(예: 프리뷰)을 디스플레이(260)를 통하여 제공할 수 있다. The display 260 (eg, the display device 160 of FIG. 1 ) may include a plurality of pixels and display an image using the plurality of pixels. The display 260 may include a touch sensor capable of receiving a touch input. The display 260 may be set to display at least a part of the image acquired by the camera 280 . For example, the processor 220 may provide a real-time image (eg, a preview) of an image acquired using the camera 280 through the display 260 .
카메라(280)(예: 도 1의 카메라 모듈(180))는 적어도 하나의 카메라를 포함할 수 있다. 카메라(280)는 복수의 렌즈들 및 복수의 이미지 센서들을 포함할 수 있다. 예를 들어, 카메라(280)는 복수의 카메라 유닛들을 포함할 수 있다. The camera 280 (eg, the camera module 180 of FIG. 1 ) may include at least one camera. The camera 280 may include a plurality of lenses and a plurality of image sensors. For example, the camera 280 may include a plurality of camera units.
통신 회로(290)(예: 도 1의 통신 모듈(190))는 다른 전자 장치와 유선 또는 무선으로 통신하기 위한 통신 인터페이스를 제공할 수 있다. 통신 회로(290)는 근거리 무선 통신(예: 블루투스, 와이파이, NFC, 및/또는 802.11 계열 근거리 무선 통신)을 지원하도록 설정된 통신 인터페이스일 수 있다. 통신 회로(290)는 원거리 무선 통신(예: 셀룰러)을 지원하도록 설정된 통신 인터페이스일 수 있다.The communication circuit 290 (eg, the communication module 190 of FIG. 1 ) may provide a communication interface for communicating with another electronic device in a wired or wireless manner. The communication circuit 290 may be a communication interface configured to support short-range wireless communication (eg, Bluetooth, Wi-Fi, NFC, and/or 802.11 series short-range wireless communication). The communication circuit 290 may be a communication interface configured to support long-distance wireless communication (eg, cellular).
일 실시예에 따르면, 전자 장치(201)는 제스쳐 식별기(410), 상체 탐지기(420), 얼굴 검출기(430), 패딩 영역 설정기(440), 및/또는 이미지 품질 개선기(450)를 포함할 수 있다. 제스쳐 식별기(410), 상체 탐지기(420), 얼굴 검출기(430), 패딩 영역 설정기(440), 및/또는 이미지 품질 개선기(450)는, 예를 들어, 전자 장치(201)의 전용 하드웨어 및 소프트웨어의 조합에 의하여 구현되거나, 메모리(230)에 저장된 인스트럭션들에 기반하여 구현되는 소프트웨어 모듈일 수 있다. 후술되는 제스쳐 식별기(410), 상체 탐지기(420), 얼굴 검출기(430), 패딩 영역 설정기(440), 및/또는 이미지 품질 개선기(450)의 동작은, 전자 장치(201) 또는 프로세서(220)에 의하여 구현되는 동작으로 참조될 수 있다. According to an embodiment, the electronic device 201 includes a gesture identifier 410 , an upper body detector 420 , a face detector 430 , a padding region setter 440 , and/or an image quality improver 450 . can do. The gesture identifier 410 , the upper body detector 420 , the face detector 430 , the padding region setter 440 , and/or the image quality improver 450 are, for example, dedicated hardware of the electronic device 201 . And it may be a software module implemented by a combination of software or implemented based on instructions stored in the memory 230 . The operation of the gesture identifier 410, the upper body detector 420, the face detector 430, the padding region setter 440, and/or the image quality improver 450, which will be described later, is performed by the electronic device 201 or the processor ( 220) may be referred to as an operation implemented by
제스처 식별기(410)는 외부 오브젝트(예: 사용자)의 제스처를 식별할 수 있다. 예를 들어, 제스처 식별기(410)는 이미지 분석 및/또는 반사파 분석에 기반하여 제스처를 식별할 수 있다. 일 실시예에 따르면, 제스처 식별기(410)는 이미지 분석에 기반하여 제스처를 식별할 수 있다. 제스처 식별기(410)는 카메라(280)를 이용하여 오브젝트에 대한 적어도 하나의 이미지를 획득할 수 있다. 제스처 식별기(410)는 획득된 이미지로부터 제스처에 대응하는 오브젝트를 식별할 수 있다. 예를 들어, 제스처 식별기(410)는 연속된 복수의 이미지들을 분석함으로써 움직임을 포함하는 제스처를 식별할 수 있다. 이미지 분석에 기반한 제스처 식별에 있어서, 제스처 식별기(410)는 뎊스(depth) 정보에 더 기반하여 오브젝트 및 오브젝트의 제스처를 식별할 수 있다. 예를 들어, 제스처 식별기(410)는 뎊스 정보를 카메라(280)(예: 듀얼 렌즈 카메라) 및/또는 별도의 센서(예: 적외선 센서(미도시))를 이용하여 뎊스 정보를 획득하도록 설정될 수 있다. 일 실시예에 따르면, 제스처 식별기(410)는 반사파 분석에 기반하여 제스처를 식별할 수 있다. 예를 들어, 제스처 식별기(410)는 통신 회로(290) 및/또는 신호를 방사하도록 설정된 회로를 이용하여 신호를 방사할 수 있다. 제스처 식별기(410)는 방사된 신호가 외부 오브젝트에 의하여 반사된 반사 신호를 감지함으로써 외부 오브젝트 및/또는 외부 오브젝트의 제스처를 식별할 수 있다. 예를 들어, 제스처 식별기(410)는 반사파의 도달 시간에 기반하여 외부 오브젝트를 감지할 수 있다. 예를 들어, 제스처 식별기(410)는 도플러 효과에 기반하여 오브젝트의 움직임을 식별할 수 있다. 일 실시예에 따르면, 제스처 식별기(410)는 이미지 분석 및 반사파 분석에 기반하여 외부 오브젝트 및 외부 오브젝트의 움직임을 식별할 수 있다. The gesture identifier 410 may identify a gesture of an external object (eg, a user). For example, the gesture identifier 410 may identify a gesture based on image analysis and/or reflected wave analysis. According to an embodiment, the gesture identifier 410 may identify a gesture based on image analysis. The gesture identifier 410 may acquire at least one image of an object using the camera 280 . The gesture identifier 410 may identify an object corresponding to the gesture from the acquired image. For example, the gesture identifier 410 may identify a gesture including a movement by analyzing a plurality of consecutive images. In the gesture identification based on image analysis, the gesture identifier 410 may identify an object and a gesture of the object further based on depth information. For example, the gesture identifier 410 may be set to acquire the distance information using the camera 280 (eg, a dual lens camera) and/or a separate sensor (eg, an infrared sensor (not shown)). can According to an embodiment, the gesture identifier 410 may identify a gesture based on reflected wave analysis. For example, the gesture identifier 410 may emit a signal using the communication circuit 290 and/or a circuit configured to emit the signal. The gesture identifier 410 may identify an external object and/or a gesture of the external object by detecting a reflected signal in which the emitted signal is reflected by the external object. For example, the gesture identifier 410 may detect an external object based on the arrival time of the reflected wave. For example, the gesture identifier 410 may identify the movement of the object based on the Doppler effect. According to an embodiment, the gesture identifier 410 may identify an external object and a movement of the external object based on image analysis and reflected wave analysis.
제스처 식별기(410)는 다양한 제스처를 식별할 수 있다. 예를 들어, 제스처 식별기(410)는 정적 제스처 및/또는 동적 제스처를 식별할 수 있다. 정적 제스처는 지정된 오브젝트에 의하여 지정된 시간 이상 수행되는 지정된 포즈의 유지를 의미할 수 있다. 예를 들어, 정적 제스처는 사용자가 얼굴, 손, 팔, 및/또는 몸을 이용하여 지정된 포즈를 지정된 시간 이상 유지하는 것을 포함할 수 있다. 예를 들어, 사용자는 손바닥을 편 상태에서 지정된 시간 이상 손바닥의 위치를 일정 위치에 유지함으로써 해당 위치를 지정하는 제스처를 손을 이용하여 수행할 수 있다. 예를 들어, 사용자는 팔짱을 낀 상태에서 지정된 시간 이상 움직이지 않음으로써 제스처를 수행할 수 있다. 예를 들어, 사용자는 지정된 시간 이상 동일한 표정을 유지함으로써 제스처를 수행할 수 있다. 동적 제스처는 지정된 오브젝트에 의하여 수행되는 지정된 움직임을 의미할 수 있다. 예를 들어, 동적 제스처는 사용자가 얼굴, 손, 팔, 및/또는 몸을 이용하여 지정된 동작을 수행하는 것을 포함할 수 있다. 예를 들어, 사용자는 손가락을 쥐었다 폈다를 반복함으로써 동적 제스처를 수행할 수 있다. 예를 들어, 사용자는 손을 흔들거나 고개를 흔들어서 동적 제스처를 수행할 수 있다. 예를 들어, 사용자는 박수를 침으로써 동적 제스처를 수행할 수 있다. 상술된 예시들에 있어서, 제스처가 동적 제스처와 정적 제스처로 구분되었으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 제스처는 제스처를 수행하는 오브젝트(예: 머리, 얼굴, 손, 팔, 및/또는 몸)에 기반하여 분류될 수 있다. 또한, 상술된 제스처들은 예시적인 것으로서, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 일 실시예에 있어서, 시각적인 제스처에 음향적 제스처가 결합될 수 있다. 이하의 예시들에 있어서, 시각적 제스처와 음향적 요소가 결합된 제스처 또한 제스처로 참조될 수 있다. 제스처 식별기(410)는 CNN(convolutional neural network)에 기반하여 제스처를 식별할 수 있다. The gesture identifier 410 may identify various gestures. For example, the gesture identifier 410 may identify a static gesture and/or a dynamic gesture. The static gesture may mean maintenance of a specified pose performed by a specified object for a specified time or longer. For example, a static gesture may include a user holding a specified pose using a face, hand, arm, and/or body for a specified amount of time or longer. For example, the user may perform a gesture of designating a corresponding position by maintaining the position of the palm at a predetermined position for a specified time or longer in a state in which the palm is open. For example, the user may perform the gesture by not moving for more than a specified time in a state with folded arms. For example, the user may perform the gesture by maintaining the same facial expression for a specified time or longer. The dynamic gesture may mean a designated movement performed by a designated object. For example, a dynamic gesture may include a user performing a specified action using a face, hand, arm, and/or body. For example, a user may perform a dynamic gesture by repeatedly clenching and opening a finger. For example, a user may perform a dynamic gesture by shaking their hand or shaking their head. For example, a user may perform a dynamic gesture by clapping. In the above-described examples, the gesture is divided into a dynamic gesture and a static gesture, but embodiments of the present document are not limited thereto. For example, a gesture may be classified based on an object performing the gesture (eg, a head, face, hand, arm, and/or body). In addition, the above-described gestures are exemplary, and embodiments of the present document are not limited thereto. In one embodiment, a visual gesture may be combined with an acoustic gesture. In the following examples, a gesture in which a visual gesture and an acoustic element are combined may also be referred to as a gesture. The gesture identifier 410 may identify a gesture based on a convolutional neural network (CNN).
상체 탐지기(420)는 오브젝트(예: 사용자)의 상체를 탐지할 수 있다. 예를 들어, “상체”는 오브젝트의 머리 아래쪽으로부터 다리 위쪽을 의미할 수 있다. 다른 예를 들어, “상체”는 오브젝트의 머리로부터 다리 위쪽을 의미할 수 있다. 상체 탐지기(420)는 이미지 분석에 기반하여 상체를 식별할 수 있다. 예를 들어, 상체 탐지기(420)는 지정된 형상을 식별함으로써 상체를 식별할 수 있다. 지정된 형상은, 예를 들어, 오메가 형상(omega-shape)(예: 문자 “오메가”에 대응하거나 닮은 형상)을 포함할 수 있다. 상체 탐지기(420)는 CNN(convolutional neural network)에 기반하여 상체를 탐지할 수 있다. 예를 들어, 상체 탐지기(420)에 의하여 식별된 상체의 정보는 제스처 식별기(410)가 제스처를 식별하는 데에 이용될 수 있다. The upper body detector 420 may detect the upper body of an object (eg, a user). For example, “upper body” may mean from the bottom of the head of the object to the top of the leg. As another example, “upper body” may mean above the leg from the head of the object. The upper body detector 420 may identify the upper body based on image analysis. For example, the upper body detector 420 may identify the upper body by identifying a designated shape. The designated shape may include, for example, an omega-shape (eg, a shape corresponding to or resembling the letter “omega”). The upper body detector 420 may detect the upper body based on a convolutional neural network (CNN). For example, information on the upper body identified by the upper body detector 420 may be used by the gesture identifier 410 to identify a gesture.
얼굴 검출기(430)는 오브젝트(예: 사용자)의 머리 및/또는 얼굴을 탐지할 수 있다. 예를 들어, 얼굴 검출기(430)는 오브젝트의 얼굴에 기반하여 오브젝트의 “표정”을 탐지할 수 있다. 얼굴 검출기(430)는 이미지 분석에 기반하여 오브젝트의 머리 및/또는 얼굴을 검출할 수 있다. 예를 들어, 얼굴 검출기(430)는 머리로 식별된 오브젝트로부터 특징점을 추출하고, 특징점에 기반하여 눈, 코, 입, 및/또는 눈썹을 식별할 수 있다. 얼굴 검출기(430)는 CNN(convolutional neural network)에 기반하여 상체를 탐지할 수 있다. 예를 들어, 얼굴 검출기(430)에 의하여 식별된 얼굴의 정보는 제스처 식별기(410)의 제스처 식별에 이용될 수 있다. The face detector 430 may detect a head and/or a face of an object (eg, a user). For example, the face detector 430 may detect an “expression” of the object based on the face of the object. The face detector 430 may detect the head and/or face of the object based on image analysis. For example, the face detector 430 may extract a feature point from an object identified as a head, and identify eyes, nose, mouth, and/or eyebrows based on the feature point. The face detector 430 may detect the upper body based on a convolutional neural network (CNN). For example, information on the face identified by the face detector 430 may be used to identify the gesture of the gesture identifier 410 .
패딩 영역 설정기(440)는 이미지 획득을 위한 패딩 영역을 설정할 수 있다. 예를 들어, 패딩 영역 설정기(440)는 사용자에 의하여 설정된 패딩 영역 정보를 메모리(230) 및/또는 외부 전자 장치(예: 서버)에 저장할 수 있다. 패딩 영역 정보는 오브젝트에 대한 상측 패딩, 좌측 패딩, 우측 패딩, 및/또는 하부 패딩 정보를 포함할 수 있다. 패딩 영역 설정기(440)는 패딩 영역에 대한 정보를 저장 및/또는 관리할 수 있다. 예를 들어, 패딩 영역 설정기(440)는 복수의 패딩 영역 설정을 저장하고, 복수의 패딩 영역 설정들을 사용자에게 제공할 수 있다. 복수의 패딩 영역 설정들 중 하나에 대한 선택을 위한 사용자 입력이 수신되면, 전자 장치(201)는 선택된 패딩 영역 설정에 기반하여 이미지를 획득할 수 있다. 이하의 예시들에 있어서, 패딩 영역은 오브젝트의 위치 및 크기에 대하여 상대적으로 정의될 수 있다. 패딩 영역은 이미지의 하나의 프레임 내에서 오브젝트를 제외한 나머지 영역들로 참조될 수 있다. 이하에서, 패딩 영역 설정기(440)의 동작들은 도 5 내지 도 12와 관련하여 후술되는 전자 장치(201)의 동작들에 의하여 참조될 수 있다. The padding area setter 440 may set a padding area for image acquisition. For example, the padding area setter 440 may store padding area information set by the user in the memory 230 and/or an external electronic device (eg, a server). The padding area information may include upper padding, left padding, right padding, and/or lower padding information for the object. The padding area setter 440 may store and/or manage information on the padding area. For example, the padding area setter 440 may store a plurality of padding area settings and provide the plurality of padding area settings to the user. When a user input for selecting one of a plurality of padding area settings is received, the electronic device 201 may obtain an image based on the selected padding area setting. In the following examples, the padding area may be defined relative to the position and size of the object. The padding area may be referred to as areas other than the object within one frame of the image. Hereinafter, operations of the padding region setter 440 may be referred to by operations of the electronic device 201 described later with reference to FIGS. 5 to 12 .
이미지 품질 개선기(450)는 카메라(280)를 이용하여 획득되는 이미지에 대한 품질 개선을 수행할 수 있다. 일 실시예에 따르면, 이미지 품질 개선기(450)는 카메라(280)를 이용하는 이미지의 전체 또는 일부에 대하여 품질 개선을 수행할 수 있다. 예를 들어, 이미지 품질 개선기(450)는 패딩 영역 설정에 기반하여 설정된 프레임(예: 이미지의 적어도 일부)에 기반하여 이미지 품질 개선을 수행할 수 있다. 이미지 품질 개선은 프레임 내의 이미지에 기반한 프레임 내의 이미지에 대한 품질 개선을 포함할 수 있다. 예를 들어, 이미지 품질 개선기(450)는 CNN에 기반하여 생성된 이미지 개선 파라미터를 이용하여 이미지 품질을 개선할 수 있다. 이미지 품질 개선은 획득된 이미지에 대한 디지털 프로세싱 기반의 이미지 품질 개선뿐만 아니라, 이미지 품질 개선을 위한 카메라(280)의 파라미터 변경을 포함할 수 있다. 예를 들어, 이미지 품질 개선기(450)는 이미지의 품질 개선을 위한 카메라(280)의 광학적 특성을 변경할 수 있다. 예를 들어, 이미지 품질 개선기(450)는 이미지 획득을 위한 렌즈(예: 일반 렌즈, 줌렌즈, 및/또는 광각 렌즈), 조리개 값, 노출값, 색온도 설정, 및/또는 줌 설정(예: 줌 배율)을 변경할 수 있다.The image quality improver 450 may perform quality improvement on an image obtained by using the camera 280 . According to an embodiment, the image quality improver 450 may perform quality improvement on all or part of an image using the camera 280 . For example, the image quality improver 450 may perform image quality improvement based on a frame (eg, at least a part of an image) set based on the padding area setting. Image quality improvement may include quality improvement for an image within a frame based on the image within the frame. For example, the image quality improver 450 may improve the image quality by using the image enhancement parameters generated based on the CNN. The image quality improvement may include digital processing-based image quality improvement for the acquired image, as well as changing parameters of the camera 280 for image quality improvement. For example, the image quality improver 450 may change optical characteristics of the camera 280 to improve image quality. For example, the image quality improver 450 may include a lens (eg, a normal lens, a zoom lens, and/or a wide-angle lens), an aperture value, an exposure value, a color temperature setting, and/or a zoom setting (eg, a zoom factor) for image acquisition. ) can be changed.
도 4에 도시된 전자 장치(201)의 구성은 예시적인 것으로서 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 전자 장치(201)는 도 4에 도시된 구성들 중 적어도 하나를 포함하지 않을 수 있다. 다른 예를 들어, 전자 장치(201)는 도 4에 미도시된 구성을 더 포함할 수 있다. The configuration of the electronic device 201 illustrated in FIG. 4 is exemplary and embodiments of the present document are not limited thereto. For example, the electronic device 201 may not include at least one of the components illustrated in FIG. 4 . As another example, the electronic device 201 may further include a configuration not shown in FIG. 4 .
도 5는 일 실시예에 따른 프레임의 설정을 도시한다.5 is a diagram illustrating the setting of a frame according to an embodiment.
도 5에서, 예를 들어, 사용자(599)가 전자 장치(201)를 이용하여 자기-비디오 녹화를 하는 것으로 가정될 수 있다. 예를 들어, 촬영 영역(510)은 전자 장치(201)의 카메라(280)에 의하여 획득될 수 있는 전체 이미지에 대응할 수 있다. 프레임(520)은 촬영 영역(510)의 적어도 일부에 대응할 수 있다. 예를 들어, 프레임(520)은, 촬영 영역(510)중에서, 사용자(599)가 촬영을 의도한 영역, 패딩 영역 설정에 따른 영역, 이미지 기록에 이용되는 영역, 및/또는 이미지 송출에 이용되는 영역으로 참조될 수 있다. In FIG. 5 , for example, it may be assumed that the user 599 uses the electronic device 201 to record self-video. For example, the photographing area 510 may correspond to the entire image that may be acquired by the camera 280 of the electronic device 201 . The frame 520 may correspond to at least a portion of the photographing area 510 . For example, the frame 520 may include, among the photographing areas 510 , an area intended for photographing by the user 599 , an area according to a padding area setting, an area used for image recording, and/or an area used for image transmission. It can be referred to as a region.
일 실시예에 따르면, 프레임(520)은 오브젝트(예: 사용자(599))의 적어도 일부에 대하여 상대적으로 설정될 수 있다. 예를 들어, 프레임(520)의 위치 및 크기는 오브젝트의 크기 및 위치에 기반하여 상대적으로 설정될 수 있다. 본 문서에 있어서, 오브젝트는 머리(550)(예: 얼굴 검출기(430)에 의하여 식별된 머리), 상체(560)(예: 상체 탐지기(420)에 의하여 탐지된 상체), 및/또는 사용자(599)를 포함할 수 있다. 일 예에서, 프레임(520)의 오브젝트는 머리(550), 상체(560), 또는 사용자로 설정될 수 있다. 다른 예에서, 프레임(520)의 오브젝트는 머리(550) 및 상체(560)로 설정될 수 있다. 도 5와 관련하여, 상술된 오브젝트의 예시들은 예시로서, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 이하에서, 용어 “오브젝트”는 프레임(520)을 구성하는 기준이 되는 오브젝트로 참조될 수 있다. According to an embodiment, the frame 520 may be set relative to at least a portion of an object (eg, the user 599 ). For example, the position and size of the frame 520 may be relatively set based on the size and position of the object. In this document, an object is a head 550 (eg, a head identified by the face detector 430 ), an upper body 560 (eg, an upper body detected by the upper body detector 420 ), and/or a user ( 599) may be included. In one example, the object of the frame 520 may be set as the head 550 , the upper body 560 , or a user. In another example, the object of the frame 520 may be set as the head 550 and the upper body 560 . With reference to FIG. 5 , examples of the above-described object are examples, and embodiments of the present document are not limited thereto. Hereinafter, the term “object” may be referred to as a reference object constituting the frame 520 .
일 실시예에 따르면, 전자 장치(201)는 식별된 오브젝트에 기반하여 프레임(520)을 결정하고, 프레임(520)에 대한 이미지를 획득할 수 있다. 예를 들어, 전자 장치(201)는 오브젝트를 식별하고, 식별된 오브젝트에 대하여 설정된 패딩 영역에 따라서 프레임(520)을 식별할 수 있다. 전자 장치(201)는 촬영 영역(510) 중 프레임(520)에 대응하는 이미지에 대하여만 이미지 개선을 수행할 수 있다. 예를 들어, 전자 장치(201)는 이미지 개선을 위하여, 프레임(520)을 포함하는 이미지를 획득할 수 있도록 줌-인을 수행할 수 있다. 이 경우, 줌-인에 따라서 촬영 영역(510)은 감소될 수 있다. 예를 들어, 전자 장치(201)는, 이미지 개선을 위하여, 프레임(520)에 대응하는 이미지에 대하여만, 프레임(520)에 대응하는 이미지에 기반하여 이미지 개선(예: 디지털 프로세싱)을 수행할 수 있다.According to an embodiment, the electronic device 201 may determine a frame 520 based on the identified object and acquire an image of the frame 520 . For example, the electronic device 201 may identify the object and identify the frame 520 according to a padding area set for the identified object. The electronic device 201 may perform image enhancement only on an image corresponding to the frame 520 in the photographing area 510 . For example, the electronic device 201 may perform zoom-in to acquire an image including the frame 520 in order to improve the image. In this case, the photographing area 510 may be reduced according to zoom-in. For example, in order to improve the image, the electronic device 201 may perform image enhancement (eg, digital processing) only on the image corresponding to the frame 520 based on the image corresponding to the frame 520 . can
일 실시예에 따르면, 전자 장치(201)는 프레임(520)에 대응하는 이미지를 이용하여 이미지를 캡쳐할 수 있다. 예를 들어, 전자 장치(201)는 전체 촬영 영역(510) 중 프레임(520)에 대응하는 부분만을 메모리(230)에 저장하거나 외부 전자 장치에 송신할 수 있다. 전자 장치(201)는 전체 촬영 영역(510)에 대응하는 이미지 및 프레임(520)에 대응하는 이미지(520)를 모두 메모리(230)에 저장하도록 설정될 수 있다. 예를 들어, 전자 장치(201)는 전체 촬영 영역(510)에 대응하는 이미지와 이미지(520)를 별개의 파일로 저장할 수 있다. According to an embodiment, the electronic device 201 may capture an image using an image corresponding to the frame 520 . For example, the electronic device 201 may store only a portion corresponding to the frame 520 of the entire photographing area 510 in the memory 230 or transmit it to an external electronic device. The electronic device 201 may be set to store both an image corresponding to the entire photographing area 510 and an image 520 corresponding to the frame 520 in the memory 230 . For example, the electronic device 201 may store an image corresponding to the entire photographing area 510 and the image 520 as separate files.
이하에서 도 5와 관련하여 상술된 용어들은. 다르게 설명되지 않으면, 도 5와 관련하여 상술된 의미와 동일한 의미로 참조될 수 있다. The terms described above in relation to FIG. 5 below. Unless otherwise described, reference may be made to the same meaning as described above in relation to FIG. 5 .
도 6은 일 실시예에 따른 사용자의 측면 이동에 따른 프레임의 변경을 도시한다.6 illustrates a frame change according to a lateral movement of a user according to an exemplary embodiment.
도 6의 예시에서, 사용자(599)는 촬영 영역(510)의 좌측으로 이동할 수 있다. 본 예시에서, 전자 장치(201)는 오브젝트의 이동에 따라서 촬영 영역(510) 내에서 프레임(520)을 이동시킬 수 있다. 프레임(520) 내에서의 오브젝트의 위치 및 상대적 크기가 유지되기 때문에, 사용자(599)에 의하여 설정된 구도(예: 패딩 영역 설정)가 유지될 수 있다. In the example of FIG. 6 , the user 599 may move to the left of the photographing area 510 . In this example, the electronic device 201 may move the frame 520 in the photographing area 510 according to the movement of the object. Since the position and relative size of the object in the frame 520 are maintained, a composition (eg, setting of a padding area) set by the user 599 may be maintained.
일 실시예에 따르면, 전자 장치(201)는 사용자(599)에 의하여 설정된 구도를 유지하지 못할 수 있다. 예를 들어, 사용자(599)가 촬영 영역(510)의 지나치게 측면으로 이동하여 전자 장치(201)가 더 이상 구도를 유지하지 못할 수 있다. 이 경우, 전자 장치(201)는 오브젝트의 프레임(520) 내의 위치를 유지하지 않고, 프레임(520)의 크기만을 유지할 수 있다. 예를 들어, 사용자(599)가 촬영 영역(510)의 좌측으로 더 이동할 때에, 전자 장치(201)는 프레임(520)의 촬영 영역(510) 내에서의 크기 및 위치를 유지할 수 있다. According to an embodiment, the electronic device 201 may not be able to maintain the composition set by the user 599 . For example, the electronic device 201 may no longer maintain the composition because the user 599 moves too far to the side of the photographing area 510 . In this case, the electronic device 201 may maintain only the size of the frame 520 without maintaining the position of the object in the frame 520 . For example, when the user 599 moves further to the left of the photographing area 510 , the electronic device 201 may maintain the size and position of the frame 520 in the photographing area 510 .
도 7은 일 실시예에 따른 사용자의 전방 이동에 따른 프레임의 변경을 도시한다. 7 illustrates a change in a frame according to a forward movement of a user according to an exemplary embodiment.
도 7의 예시에서, 사용자(599)는 전자 장치(201) 쪽으로 이동할 수 있다. 본 예시에서, 오브젝트의 전진에 따라서, 전자 장치(201)에 의하여 획득되는 오브젝트의 크기가 더 커질 수 있다. 이 경우, 전자 장치(201)는 프레임(520)에 대한 오브젝트의 상대적이 크기를 유지하기 위하여, 프레임(520)의 크기를 증가시킬 수 있다. 프레임(520) 내에서의 오브젝트의 위치 및 상대적 크기가 유지되기 때문에, 사용자(599)에 의하여 설정된 구도(예: 패딩 영영 설정)가 유지될 수 있다. 예를 들어, 사용자(599)의 전진(예: 카메라(280) 쪽으로의 이동)에 대응하여 전자 장치(201)는 카메라(280)를 줌아웃할 수 있다. 다른 예를 들어, 사용자(599)의 후진(예: 카메라(280)로부터 멀어지는 이동)에 대응하여 전자 장치(201)는 카메라(280)를 줌인할 수 있다. In the example of FIG. 7 , the user 599 may move toward the electronic device 201 . In this example, as the object advances, the size of the object obtained by the electronic device 201 may increase. In this case, the electronic device 201 may increase the size of the frame 520 in order to maintain the relative size of the object with respect to the frame 520 . Since the position and relative size of the object in the frame 520 are maintained, a composition (eg, padding area setting) set by the user 599 may be maintained. For example, in response to the user 599 moving forward (eg, moving toward the camera 280 ), the electronic device 201 may zoom out the camera 280 . As another example, in response to the user 599 moving backward (eg, moving away from the camera 280 ), the electronic device 201 may zoom in the camera 280 .
일 실시예에 따르면, 전자 장치(201)는 사용자(599)에 의하여 설정된 구도를 유지하지 못할 수 있다. 예를 들어, 사용자(599)가 카메라(280)에 지나치게 가까워 지는 경우, 전자 장치(201)는 최대한의 줌아웃을 하더라도 더 이상 구도를 유지하지 못할 수 있다. 이 경우, 전자 장치(201)는 최대한 줌아웃된 상태를 유지하거나, 기설정된 이미지를 송출하도록 설정될 수 있다. According to an embodiment, the electronic device 201 may not be able to maintain the composition set by the user 599 . For example, when the user 599 gets too close to the camera 280 , the electronic device 201 may not be able to maintain the composition any more even after zooming out to the maximum. In this case, the electronic device 201 may be set to maintain a zoomed-out state as much as possible or to transmit a preset image.
도 8은 일 실시예에 따른 패딩 영역을 도시한다. 8 illustrates a padding area according to an embodiment.
일 실시예에 따르면, 프레임(520)은 오브젝트 및 오브젝트에 대하여 상대적으로 설정된 패딩 영역을 포함할 수 있다. 예를 들어, 오브젝트는 머리(550)에 대응할 수 있다. 이 경우, 프레임(520)은 오브젝트(예: 머리(550)) 및 오브젝트에 대하여 설정된 패딩 영역으로 설정될 수 있다. 예를 들어, 패딩 영역은 오브젝트에 대한 상측 패딩(PU), 좌측 패딩(PL), 우측 패딩(PR), 및 하측 패딩(PD)을 포함할 수 있다. 패딩 영역은 상측 패딩(PU), 좌측 패딩(PL), 우측 패딩(PR), 및 하측 패딩(PD)에 의하여 정의될 수 있다. 예를 들어, 패딩은 식별된 오브젝트(예: 식별된 오브젝트(예: 머리 및/또는 상체)의 경계 또는 식별된 오브젝트 영역(예: 머리 및/또는 상체에 대응하는 영역(예: 사각형))의 경계로부터 프레임의 경계까지의 최단 거리로 설정될 수 있다. According to an embodiment, the frame 520 may include an object and a padding area set relative to the object. For example, the object may correspond to the head 550 . In this case, the frame 520 may be set as an object (eg, the head 550) and a padding area set for the object. For example, the padding area may include upper padding (PU), left padding (PL), right padding (PR), and lower padding (PD) for the object. The padding area may be defined by upper padding (PU), left padding (PL), right padding (PR), and lower padding (PD). For example, padding can be applied to the boundaries of an identified object (e.g., head and/or upper body) or an identified object area (e.g., an area corresponding to head and/or upper body (e.g., a rectangle)). It may be set as the shortest distance from the boundary to the boundary of the frame.
일 실시예에 따르면, 패딩 영역의 크기(예: 상측 패딩(PU), 좌측 패딩(PL), 우측 패딩(PR), 및 하측 패딩(PD)의 길이)는 오브젝트의 크기에 대하여 상대적인 값(예: 비율)으로 설정될 수 있다. 예를 들어, 전자 장치(201)는 오브젝트의 크기가 변경되면, 패딩 영역의 크기도 상기 상대적인 값에 따라서 변경할 수 있다. 패딩 영역의 변경을 통하여, 전자 장치(201)는 사용자에 의하여 설정된 구도를 유지할 수 있다. According to an embodiment, the size of the padding area (eg, the length of the upper padding (PU), the left padding (PL), the right padding (PR), and the lower padding (PD)) is a value (eg, the length of the upper padding) relative to the size of the object. : ratio). For example, when the size of the object is changed, the electronic device 201 may also change the size of the padding area according to the relative value. By changing the padding area, the electronic device 201 may maintain the composition set by the user.
도 9는 일 실시예에 따른 패딩 영역을 도시한다.9 illustrates a padding area according to an embodiment.
도 9의 예시에서, 오브젝트(900)는 상체에 대응하거나 머리 및 상체에 대응할 수 있다. 예를 들어, 패딩 영역은 오브젝트에 대한 상측 패딩(PU), 좌측 패딩(PL), 및 우측 패딩(PR)을 포함할 수 있다.In the example of FIG. 9 , the object 900 may correspond to the upper body or may correspond to the head and the upper body. For example, the padding area may include upper padding (PU), left padding (PL), and right padding (PR) for the object.
도 8 및 도 9와 관련하여 상술된 패딩 영역은 예시적인 것으로서, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 상측 패딩(PU), 좌측 패딩(PL), 우측 패딩(PR), 및 하측 패딩(PD) 중 적어도 하나는 생략될 수 있다. The padding area described above with reference to FIGS. 8 and 9 is exemplary, and embodiments of the present document are not limited thereto. For example, at least one of the upper padding PU, the left padding PL, the right padding PR, and the lower padding PD may be omitted.
도 10은 일 실시예에 따른 패딩 영역의 설정 방법을 도시한다.10 illustrates a method of setting a padding area according to an embodiment.
도 10에서, 사용자(599)는 제1 제스처(1001)를 수행할 수 있다. 예를 들어, 제1 제스처(1001)는 프레임(예: 도 5의 프레임(520))을 설정하기 위한 제스처로 참조될 수 있다. 제1 제스처(1001)는 적어도 두 지점(예: 프레임의 좌상단 및 우하단 또는 좌하단 및 우상단)에 대한 위치를 지시할 수 있다. 예를 들어, 제1 제스처(1001)는 사용자(599)의 오른손(1002)에 의하여 지시되는 제1 지점 및 왼손(1003)에 의하여 지시되는 제2 지점에 대한 지시를 포함할 수 있다. In FIG. 10 , a user 599 may perform a first gesture 1001 . For example, the first gesture 1001 may be referred to as a gesture for setting a frame (eg, the frame 520 of FIG. 5 ). The first gesture 1001 may indicate positions of at least two points (eg, upper left and lower right corners or lower left and upper right corners of a frame). For example, the first gesture 1001 may include instructions for a first point indicated by the right hand 1002 of the user 599 and a second point indicated by the left hand 1003 of the user 599 .
일 실시예에 따르면, 전자 장치(201)는 제1 제스처(1001)에 지시되는 제1 지점 및 제2 지점에 기반하여 패딩 영역을 설정할 수 있다. 예를 들어, 전자 장치(201)는 제1 지점 및 제2 지점이 대각선 꼭지점을 이루도록 제1 프레임(1030)을 설정할 수 있다. 예를 들어, 전자 장치(201)는 제2 제스처(1011)가 수신되면, 제1 제스처(1001)에 의하여 지시된 영역에 기반하여 제1 프레임(1030)을 설정할 수 있다. 이 경우, 전자 장치(201)는 오브젝트에 대한 상측 패딩(PU), 제1 좌측 패딩(PL1), 및 제1 우측 패딩(PR1)에 기반하여 패딩 영역을 설정할 수 있다. According to an embodiment, the electronic device 201 may set the padding area based on the first point and the second point indicated by the first gesture 1001 . For example, the electronic device 201 may set the first frame 1030 such that the first point and the second point form diagonal vertices. For example, when the second gesture 1011 is received, the electronic device 201 may set the first frame 1030 based on the area indicated by the first gesture 1001 . In this case, the electronic device 201 may set the padding area based on the upper padding PU, the first left padding PL1, and the first right padding PR1 for the object.
일 실시예에 따르면, 전자 장치(201)는 전자 장치(201)에 설정된 녹화/송부용 이미지 비율 및 제1 제스처(1001)에 기반하여 패딩 영역을 설정할 수 있다. 예를 들어, 제1 제스처(1001)에 의하여 지정된 영역(예: 제1 프레임(1030))이 녹화/송부용 이미지 비율과 상이할 수 있다. 이 경우, 전자 장치(201)는 추가적인 패딩 영역을 설정할 수 있다. 예를 들어, 도 10의 예시에서, 제1 제스처(1001)에 의하여 지시된 제1 프레임(1030)은 녹화/송부용 이미지 비율에 비하여 가로 길이가 짧을 수 있다. 예를 들어, 녹화/송부용 이미지 비율은 제2 프레임(1020)에 대응할 수 있다. 이 경우, 전자 장치(201)는 프레임이 녹화/송부용 이미지 비율에 대응하도록 좌측 및 우측에 추가 패딩을 더 설정할 수 있다. 예를 들어, 전자 장치(201)는 오브젝트에 대한 상측 패딩(PU), 제2 좌측 패딩(PL1), 및 제2 우측 패딩(PR2)에 기반하여 패딩 영역을 설정할 수 있다. 다른 예를 들어, 도 10의 예시에서, 제1 제스처(1001)에 의하여 지시된 제1 프레임(1030)은 녹화/송부용 이미지 비율에 비하여 세로 길이가 짧을 수 있다. 이 경우, 전자 장치(201)는 프레임이 녹화/송부용 이미지 비율에 대응하도록 상측 및/또는 하측에 추가 패딩을 더 설정할 수 있다. According to an embodiment, the electronic device 201 may set a padding area based on the image ratio for recording/transmission set in the electronic device 201 and the first gesture 1001 . For example, an area designated by the first gesture 1001 (eg, the first frame 1030 ) may be different from an image ratio for recording/transmission. In this case, the electronic device 201 may set an additional padding area. For example, in the example of FIG. 10 , the first frame 1030 indicated by the first gesture 1001 may have a shorter horizontal length than the image ratio for recording/transmission. For example, the image ratio for recording/transmission may correspond to the second frame 1020 . In this case, the electronic device 201 may further set additional padding on the left and right sides so that the frame corresponds to the image ratio for recording/transmission. For example, the electronic device 201 may set a padding area based on the upper padding PU, the second left padding PL1, and the second right padding PR2 of the object. For another example, in the example of FIG. 10 , the first frame 1030 indicated by the first gesture 1001 may have a shorter vertical length than the image ratio for recording/transmission. In this case, the electronic device 201 may further set additional padding on the upper side and/or lower side so that the frame corresponds to the image ratio for recording/transmission.
일 실시예에 따르면, 전자 장치(201)는 제1 제스처(1001) 및 제2 제스처(1011)에 기반하여 패딩 영역을 설정할 수 있다. 예를 들어, 전자 장치(201)는 제1 제스처(1001)에 의하여 지시된 프레임(예: 제1 프레임(1030) 또는 제2 프레임(1020)) 내에서의 오브젝트(예: 촬영 또는 추적 대상이 되는 오브젝트)의 위치를 제2 제스처(1011)에 기반하여 결정할 수 있다. 예를 들어, 전자 장치(201)는 제2 제스처(1011)가 수신되었을 때의 오브젝트의 위치 및 크기를 프레임 내의 오브젝트의 위치 및 크기로 설정할 수 있다. 전자 장치(201)는 오브젝트의 위치, 오브젝트의 크기, 및 프레임에 기반하여 패딩 영역을 설정할 수 있다. According to an embodiment, the electronic device 201 may set a padding area based on the first gesture 1001 and the second gesture 1011 . For example, the electronic device 201 detects an object (eg, a photographing or tracking target) within a frame (eg, the first frame 1030 or the second frame 1020 ) indicated by the first gesture 1001 . object) may be determined based on the second gesture 1011 . For example, the electronic device 201 may set the position and size of the object when the second gesture 1011 is received as the position and size of the object in the frame. The electronic device 201 may set the padding area based on the position of the object, the size of the object, and the frame.
도 10에서, 제1 제스처(1001)는 팔을 벌리는 제스처로 도시되어 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 제1 제스처(1001)는 프레임의 두 지점을 지시하는 임의의 제스처일 수 있다. 제2 제스처(1011) 또한 팔짱을 끼는 제스처로 도시되어 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 제2 제스처(1011)는 손가락을 이용한 OK 사인, 머리 위로 팔을 올려 OK를 만드는 제스처, 또는 박수를 치는 제스처를 포함할 수 있다. 제2 제스처(1011)는 임의의 지정된 제스처일 수 있다. 예를 들어, 제2 제스처(1011)는 패딩 영역 설정을 완료하기 위한 제스처로 참조될 수 있다. In FIG. 10 , the first gesture 1001 is illustrated as a gesture of opening an arm, but embodiments of the present document are not limited thereto. For example, the first gesture 1001 may be any gesture indicating two points of a frame. The second gesture 1011 is also illustrated as a gesture of crossing arms, but embodiments of the present document are not limited thereto. For example, the second gesture 1011 may include an OK sign using a finger, a gesture of raising an arm above the head to make OK, or a gesture of clapping. The second gesture 1011 may be any designated gesture. For example, the second gesture 1011 may be referred to as a gesture for completing setting of the padding area.
도 10에서, 제1 제스처(1001) 및 제2 제스처(1011)를 수행하는 사용자가 프레임(1030)의 기준으로서 설정되나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 제1 제스처(1001) 및 제2 제스처(1011)는 사용자에 의하여 수행되고, 프레임(1030)의 기준이 되는 오브젝트는 사용자가 아닐 수 있다. 예를 들어, 오브젝트는 사용자가 아닌 다른 사람, 동물 또는 임의의 이동성을 갖는 사물일 수 있다. 이 경우, 예를 들어, 사용자는 프레임(1030)의 기준이 되는 오브젝트를 지정하는 별도의 입력(예: 제스처 입력)을 수행할 수 있다. 또 다른 예를 들어, 전자 장치는 제2 제스처(1011)가 수신되었을 때, 제2 프레임(1020) 내의 지정된 위치(예: 제2 프레임(1020)의 중심 부)에 위치된 오브젝트에 기반하여 프레임(1030)을 설정할 수 있다.In FIG. 10 , a user performing a first gesture 1001 and a second gesture 1011 is set as a reference of the frame 1030 , but embodiments of the present document are not limited thereto. For example, the first gesture 1001 and the second gesture 1011 are performed by the user, and the object serving as a reference of the frame 1030 may not be the user. For example, the object may be a person other than the user, an animal, or a thing having any mobility. In this case, for example, the user may perform a separate input (eg, a gesture input) for designating an object that is a reference of the frame 1030 . As another example, when the second gesture 1011 is received, the electronic device may display a frame based on an object located at a designated position within the second frame 1020 (eg, the center of the second frame 1020 ). (1030) can be set.
도 11은 일 실시예에 따른 패딩 영역의 설정 방법을 도시한다.11 illustrates a method of setting a padding area according to an embodiment.
도 11의 예시에서, 제1 제스처(예: 도 10의 제1 제스처(1001))는 복수의 서브 제스처들을 포함할 수 있다. 예를 들어, 제1 제스처는 제1 서브 제스처(1101) 및 제2 서브 제스처(1102)를 포함할 수 있다. 사용자(599)는 패딩 영역의 설정을 위하여, 제1 서브 제스처(1101)를 이용하여 프레임(1120)의 제1 꼭지점을 지시하고, 제2 서브 제스처(1102)를 이용하여 프레임(1120)의 제2 꼭지점(예: 제1 꼭지점에 대각하는 꼭지점)을 지시할 수 있다. 예를 들어, 제1 서브 제스처(1101)는 손바닥 제스처(1111)를 포함할 수 있다. 예를 들어, 제2 서브 제스처(1102)는 손바닥 제스처(1112)를 포함할 수 있다. In the example of FIG. 11 , the first gesture (eg, the first gesture 1001 of FIG. 10 ) may include a plurality of sub gestures. For example, the first gesture may include a first sub gesture 1101 and a second sub gesture 1102 . In order to set the padding area, the user 599 points to the first vertex of the frame 1120 using the first sub gesture 1101, and uses the second sub gesture 1102 to set the first vertex of the frame 1120. 2 vertices (eg, a vertex diagonal to the first vertex) may be indicated. For example, the first sub gesture 1101 may include a palm gesture 1111 . For example, the second sub-gesture 1102 may include a palm gesture 1112 .
일 실시예에 따르면, 전자 장치(201)는 제1 제스처에 지시되는 제1 지점 및 제2 지점에 기반하여 패딩 영역을 설정할 수 있다. 예를 들어, 전자 장치(201)는 제1 지점 및 제2 지점이 대각선 꼭지점을 이루도록 프레임(1120)을 설정할 수 있다. 예를 들어, 전자 장치(201)는 제2 제스처(1103)가 수신되면, 제1 제스처에 의하여 지시된 영역에 기반하여 프레임(1120)을 설정할 수 있다. 이 경우, 전자 장치(201)는 오브젝트에 대한 상측 패딩(PU), 좌측 패딩(PL), 및 우측 패딩(PR)에 기반하여 패딩 영역을 설정할 수 있다. According to an embodiment, the electronic device 201 may set the padding area based on the first point and the second point indicated by the first gesture. For example, the electronic device 201 may set the frame 1120 so that the first point and the second point form diagonal vertices. For example, when the second gesture 1103 is received, the electronic device 201 may set the frame 1120 based on the area indicated by the first gesture. In this case, the electronic device 201 may set the padding area based on the upper padding PU, the left padding PL, and the right padding PR of the object.
일 실시예에 따르면, 전자 장치(201)는 제1 제스처(예: 제1 서브 제스처(1111) 및 제2 서브 제스처(1112)) 및 제2 제스처(1103)에 기반하여 패딩 영역을 설정할 수 있다. 예를 들어, 전자 장치(201)는 제1 서브 제스처(1101) 및 제2 서브 제스처(1102)에 의하여 지시된 프레임(1120) 내에서의 오브젝트(예: 촬영 또는 추적 대상이 되는 오브젝트)의 위치를 제2 제스처(1103)에 기반하여 결정할 수 있다. 예를 들어, 전자 장치(201)는 제2 제스처(1103)가 수신되었을 때의 오브젝트의 위치 및 크기를 프레임 내의 오브젝트의 위치 및 크기로 설정할 수 있다. 전자 장치(201)는 오브젝트의 위치, 오브젝트의 크기, 및 프레임에 기반하여 패딩 영역을 설정할 수 있다. According to an embodiment, the electronic device 201 may set the padding area based on the first gesture (eg, the first sub-gesture 1111 and the second sub-gesture 1112 ) and the second gesture 1103 . . For example, the electronic device 201 determines the position of an object (eg, an object to be photographed or tracked) within the frame 1120 indicated by the first sub gesture 1101 and the second sub gesture 1102 . may be determined based on the second gesture 1103 . For example, the electronic device 201 may set the position and size of the object when the second gesture 1103 is received as the position and size of the object in the frame. The electronic device 201 may set the padding area based on the position of the object, the size of the object, and the frame.
도 11에서, 제1 서브 제스처(1101) 및 제2 서브 제스처(1102)는 팔을 벌리는 제스처로 도시되어 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 제1 서브 제스처(1101) 및 제2 서브 제스처(1102) 각각은 프레임의 일 지점을 지시하는 임의의 제스처일 수 있다. 제2 제스처(1103) 또한 팔짱을 끼는 제스처로 도시되어 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 제2 제스처(1103)는 패딩 영역 설정을 완료하기 위한 임의의 제스처로 참조될 수 있다. In FIG. 11 , the first sub-gesture 1101 and the second sub-gesture 1102 are illustrated as opening arms, but embodiments of the present document are not limited thereto. For example, each of the first sub-gesture 1101 and the second sub-gesture 1102 may be an arbitrary gesture indicating a point in a frame. The second gesture 1103 is also illustrated as a cross-arm gesture, but embodiments of the present document are not limited thereto. For example, the second gesture 1103 may be referred to as an arbitrary gesture for completing setting of the padding area.
도 11에서, 제2 제스처(1103)를 수행하는 사용자가 프레임(1120)의 기준으로서 설정되나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 제2 제스처(1103)는 사용자에 의하여 수행되고, 프레임(1120)의 기준이 되는 오브젝트는 사용자가 아닐 수 있다. 예를 들어, 오브젝트는 사용자가 아닌 다른 사람, 동물 또는 임의의 이동성을 갖는 사물일 수 있다. 이 경우, 예를 들어, 사용자는 프레임(1120)의 기준이 되는 오브젝트를 지정하는 별도의 입력(예: 제스처 입력)을 수행할 수 있다. 또 다른 예를 들어, 전자 장치는 제2 제스처(1103)가 수신되었을 때, 카메라를 이용하여 획득된 이미지 내의 지정된 위치(예: 획득된 이미지의 중심 부)에 위치된 오브젝트에 기반하여 프레임(1120)을 설정할 수 있다.In FIG. 11 , the user performing the second gesture 1103 is set as a reference of the frame 1120 , but embodiments of the present document are not limited thereto. For example, the second gesture 1103 is performed by the user, and the object that is the reference of the frame 1120 may not be the user. For example, the object may be a person other than the user, an animal, or a thing having any mobility. In this case, for example, the user may perform a separate input (eg, a gesture input) for designating an object as a reference of the frame 1120 . As another example, when the second gesture 1103 is received, the electronic device receives the frame 1120 based on an object located at a specified position (eg, the center of the acquired image) in the image acquired using the camera. ) can be set.
도 12는 일 실시예에 따른 이미지 녹화 방법의 흐름도(1200)를 도시한다. 12 illustrates a flowchart 1200 of an image recording method according to an embodiment.
도 12의 이미지 녹화 방법은 전자 장치(201)의 카메라 어플리케이션의 실행 또는 카메라 구동에 기반하여 수행될 수 있다. The image recording method of FIG. 12 may be performed based on the execution of the camera application of the electronic device 201 or the driving of the camera.
동작 1205에서, 전자 장치(201)는 패딩 영역 설정 입력을 수신할 수 있다. 예를 들어, 패딩 영역 설정 입력은 패딩 영역의 설정을 위한 설정 모드로의 진입을 지시하는 임의의 입력일 수 있다. 패딩 영역 설정 입력은, 예를 들어, 터치 입력, 제스처 입력, 및/또는 음성 입력을 포함할 수 있다. 전자 장치(201)는 전자 장치(201)의 디스플레이(260)에 대한 터치 입력에 기반하여 패딩 영역 설정 입력을 수신할 수 있다. 전자 장치(201)는 전자 장치(201)의 카메라(280)를 이용하여 지정된 제스처를 식별함으로써, 패딩 영역 설정 입력을 수신할 수 있다. 패딩 영역 설정 입력이 수신되면, 전자 장치(201)는 패딩 영역 설정을 시작할 수 있다. 예를 들어, 전자 장치(201)는 도 10 및 도 11과 관련하여 상술된 바와 같은 방법에 따라서 패딩 영역 설정을 수행할 수 있다. In operation 1205, the electronic device 201 may receive a padding area setting input. For example, the padding area setting input may be any input instructing entry into a setting mode for setting the padding area. The padding area setting input may include, for example, a touch input, a gesture input, and/or a voice input. The electronic device 201 may receive a padding area setting input based on a touch input to the display 260 of the electronic device 201 . The electronic device 201 may receive a padding area setting input by identifying a designated gesture using the camera 280 of the electronic device 201 . When an input for setting a padding area is received, the electronic device 201 may start setting a padding area. For example, the electronic device 201 may set the padding area according to the method described above with reference to FIGS. 10 and 11 .
동작 1210에서, 전자 장치(201)는 제1 제스처 입력을 획득할 수 있다. 예를 들어, 전자 장치(201)는 전자 장치(201)의 카메라(280)를 이용하여 제1 제스처 입력에 대응하는 이미지를 캡쳐하고, 캡쳐된 이미지에 기반하여 제1 제스처를 획득할 수 있다. 다른 예를 들어, 전자 장치(201)는 전자 장치(201)의 카메라(280) 및 마이크를 이용하여 제1 제스처 입력을 획득할 수 있다. 제1 제스처 입력은 적어도 두 지점을 지시하는 임의의 제스처 입력일 수 있다. 예를 들어, 제1 제스처 입력은 두 지점을 지시하는 하나의 제스처(예: 도 10의 제1 제스처(1001)) 또는 복수의 제스처들(예: 도 11의 제1 서브 제스처(1101) 및 제2 서브 제스처(1102))을 포함할 수 있다. In operation 1210, the electronic device 201 may obtain a first gesture input. For example, the electronic device 201 may capture an image corresponding to the first gesture input by using the camera 280 of the electronic device 201 and acquire the first gesture based on the captured image. As another example, the electronic device 201 may obtain the first gesture input by using the camera 280 and the microphone of the electronic device 201 . The first gesture input may be any gesture input indicating at least two points. For example, the first gesture input may include one gesture indicating two points (eg, the first gesture 1001 of FIG. 10 ) or a plurality of gestures (eg, the first sub gesture 1101 and the second gesture of FIG. 11 ) 2 sub-gestures 1102).
동작 1215에서, 전자 장치(201)는 제2 제스처 입력(예: 도 10의 제2 제스처(1002) 또는 도 11의 제2 제스처(1103))이 획득되는지 결정할 수 있다. 예를 들어, 제2 제스처 입력은 패딩 영역 설정의 완료를 지시하는 제스처 입력일 수 있다. 전자 장치(201)는 전자 장치(201)의 카메라(280) 및/또는 마이크를 이용하여 제2 제스처 입력을 획득할 수 있다. 예를 들어, 제2 제스처 입력은 음성 입력은 바디 제스처일 수 있다. 제2 제스처 입력은 음성 입력 및 바디 제스처일 수 있다. In operation 1215 , the electronic device 201 determines whether a second gesture input (eg, the second gesture 1002 of FIG. 10 or the second gesture 1103 of FIG. 11 ) is obtained. For example, the second gesture input may be a gesture input indicating completion of setting the padding area. The electronic device 201 may obtain the second gesture input by using the camera 280 and/or the microphone of the electronic device 201 . For example, as the second gesture input, the voice input may be a body gesture. The second gesture input may be a voice input and a body gesture.
일 예시에서, 전자 장치(201)는 제1 제스처 입력의 수신 후 지정된 시간 내에 제2 제스처가 수신되지 않으면 패딩 영역의 설정에 실패한 것으로 결정할 수 있다. 이 경우, 전자 장치(201)는 패딩 영역 설정을 종료시킬 수 있다. 일 예시에서, 전자 장치(201)는 패딩 영역 설정의 취소에 대한 입력이 수신되면 다시 동작 1210 이전의 상태로 복귀할 수 있다. 예를 들어, 패딩 영역 설정의 취소에 대한 입력은 제3 제스처로 참조될 수 있다. 예를 들어, 제3 제스처는 손가락 또는 팔을 이용한 X자 표시에 대응할 수 있다. 제3 제스처가 수신되면 전자 장치(201)는 이전에 획득된 제1 제스처 입력을 무시하고, 새로운 제1 제스처 입력을 획득하도록 설정될 수 있다. In one example, if the second gesture is not received within a specified time after the reception of the first gesture input, the electronic device 201 may determine that the setting of the padding area has failed. In this case, the electronic device 201 may end the setting of the padding area. In one example, when an input for canceling the setting of the padding area is received, the electronic device 201 may return to the state before operation 1210 . For example, an input for canceling the setting of the padding area may be referred to as a third gesture. For example, the third gesture may correspond to an X-shape display using a finger or an arm. When the third gesture is received, the electronic device 201 may be configured to ignore the previously acquired first gesture input and acquire a new first gesture input.
제2 제스처 입력이 획득되지 않는 경우(예: 동작 1215-N), 전자 장치(201)는 계속하여 제1 제스처 입력을 획득할 수 있다. 예를 들어, 복수의 제1 제스처 입력이 수신되는 경우, 전자 장치(201)는 제2 제스처 획득 전 가장 최근에 수신된 제1 제스처 입력에 기반하여 패딩 영역을 설정할 수 있다. When the second gesture input is not obtained (eg, operation 1215 -N), the electronic device 201 may continuously acquire the first gesture input. For example, when a plurality of first gesture inputs are received, the electronic device 201 may set a padding area based on the most recently received first gesture input before acquiring the second gesture.
제2 제스처 입력이 획득되는 경우(예: 동작 1215-Y), 전자 장치(201)는 제2 제스처의 획득에 기반하여 패딩 영역을 설정할 수 있다. 예를 들어, 전자 장치(201)는 제2 제스처 입력이 획득되면, 제1 제스처 입력에 의하여 지시된 영역에 기반하여 패딩 영역을 설정할 수 있다. 예를 들어, 패딩 영역의 설정은 도 5 내지 도 11과 관련하여 상술된 예시들에 의하여 참조될 수 있다. 일 실시예에 따르면, 전자 장치(201)는 제1 제스처 입력 및 제2 제스처 입력에 기반하여 패딩 영역을 설정할 수 있다. 예를 들어, 전자 장치(201)는 제1 제스처에 기반하여 프레임을 설정하고, 제2 제스처에 기반하여 프레임 내의 오브젝트의 위치 및 크기를 설정하고, 프레임 및 오브젝트에 기반하여 패딩 영역을 설정할 수 있다. 상술된 바와 같이 제1 제스처 및 제2 제스처의 수행 주체와, 오브젝트는 서로 상이할 수 있다.When the second gesture input is obtained (eg, operation 1215 -Y), the electronic device 201 may set a padding area based on the acquisition of the second gesture. For example, when the second gesture input is obtained, the electronic device 201 may set the padding area based on the area indicated by the first gesture input. For example, the setting of the padding area may be referred to by the examples described above with reference to FIGS. 5 to 11 . According to an embodiment, the electronic device 201 may set a padding area based on the first gesture input and the second gesture input. For example, the electronic device 201 may set a frame based on the first gesture, set the position and size of an object in the frame based on the second gesture, and set a padding area based on the frame and the object. . As described above, the subject performing the first gesture and the second gesture and the object may be different from each other.
일 실시예에 따르면, 전자 장치(201)는 설정된 패딩 영역을 전자 장치(201)의 메모리(230)에 저장할 수 있다. 예를 들어, 저장된 패딩 영역 설정은 일종의 템플릿으로서 동작할 수 있다. 전자 장치(201)는 카메라(280)를 이용한 촬영 시에, 저장된 패딩 영역 설정을 사용자에게 제공하고, 사용자의 특정 템플릿에 대한 입력이 수신되면, 해당 템플릿을 이용하여 패딩 영역을 설정할 수 있다.According to an embodiment, the electronic device 201 may store the set padding area in the memory 230 of the electronic device 201 . For example, the saved padding area setting may act as a kind of template. When photographing using the camera 280 , the electronic device 201 may provide the user with the stored padding area setting, and when the user's input for a specific template is received, the electronic device 201 may set the padding area using the corresponding template.
동작 1225에서, 전자 장치(201)는 설정된 패딩 영역에 따라서 상기 사용자의 이미지를 녹화할 수 있다. 예를 들어, 전자 장치(201)는 정하여진 패딩 영역에 따라서 탐색된 오브젝트(예: 사용자)를 추적하면서 이미지를 녹화할 수 있다. 예를 들어, 전자 장치(201)는 오브젝트의 크기 변화에 따라서 패딩 영역의 크기 또한 변화시킬 수 있다. 예를 들어, 전자 장치(201)는 녹화 시작을 지시하는 입력이 수신되면, 또는 제2 제스처의 획득에 응답하여 상기 이미지의 녹화를 개시할 수 있다. In operation 1225, the electronic device 201 may record the image of the user according to the set padding area. For example, the electronic device 201 may record an image while tracking a found object (eg, a user) according to a determined padding area. For example, the electronic device 201 may also change the size of the padding area according to a change in the size of the object. For example, the electronic device 201 may start recording the image when an input instructing to start recording is received or in response to obtaining the second gesture.

Claims (15)

  1. 전자 장치로서, An electronic device comprising:
    카메라; camera;
    디스플레이; display;
    상기 카메라 및 상기 디스플레이와 작동적으로 연결된 프로세서; 및a processor operatively coupled to the camera and the display; and
    상기 프로세서와 연결된 메모리를 포함하고, 상기 메모리는 실행 시에 상기 프로세서가:a memory coupled to the processor, wherein the memory, when executed, causes the processor to:
    상기 카메라를 이용하여 사용자의 제1 제스처를 획득하고,Obtaining a user's first gesture using the camera,
    상기 제1 제스처에 기반하여 프레임을 설정하고, setting a frame based on the first gesture,
    상기 카메라를 이용하여 상기 사용자의 제2 제스처를 획득하고,obtaining a second gesture of the user by using the camera;
    상기 제2 제스처에 기반하여 상기 프레임 내에서의 오브젝트에 대한 패딩 영역을 설정하고, Set a padding area for the object in the frame based on the second gesture,
    상기 오브젝트를 추적하면서 상기 프레임 및 상기 패딩 영역에 따라서 상기 카메라에 의하여 획득된 이미지의 적어도 일부 이미지를 녹화하도록 하는 하나 이상의 인스트럭션들을 저장하는, 전자 장치. and storing one or more instructions to record at least a partial image of an image acquired by the camera according to the frame and the padding area while tracking the object.
  2. 제 1 항에 있어서, The method of claim 1,
    상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가, 상기 패딩 영역을 상기 프레임 내에서의 상기 오브젝트의 위치 및 상기 오브젝트의 크기에 기반하여 설정하도록 하는, 전자 장치.and the one or more instructions, when executed, cause the processor to set the padding area based on the size of the object and the location of the object within the frame.
  3. 제 2 항에 있어서, 3. The method of claim 2,
    상기 하나 이상의 인스트러션들은 실행 시에 상기 프로세서가, 상기 제2 제스처가 수신되었을 때의 상기 오브젝트의 위치 및 상기 오브젝트의 크기에 기반하여 상기 패딩 영역을 설정하도록 하는, 전자 장치.and the one or more instructions, when executed, cause the processor to set the padding area based on the size of the object and the location of the object when the second gesture was received.
  4. 제 3 항에 있어서, 4. The method of claim 3,
    상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가, 상기 오브젝트의 크기에 대한 상대적인 크기로서 상기 패딩 영역의 크기를 결정하도록 하는, 전자 장치.and the one or more instructions, when executed, cause the processor to determine the size of the padding region as a size relative to the size of the object.
  5. 제 1 항에 있어서, The method of claim 1,
    상기 제1 제스처는 서로 대각하는 사각형의 두 꼭지점을 지시하는 제스처를 포함하고, The first gesture includes a gesture indicating two vertices of a rectangle that are diagonal to each other,
    상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가, 상기 사각형에 기반하여 상기 프레임을 설정하도록 하는, 전자 장치. and the one or more instructions, when executed, cause the processor to set the frame based on the rectangle.
  6. 제 5 항에 있어서, 6. The method of claim 5,
    상기 제1 제스처는 복수의 서브 제스처들을 포함하는, 전자 장치. The first gesture includes a plurality of sub gestures.
  7. 제 1 항에 있어서, The method of claim 1,
    상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가, 녹화 개시 입력을 수신하면, 상기 프레임 및 상기 패딩 영역에 따라서 상기 카메라에 의하여 획득된 이미지의 적어도 일부 이미지를 녹화하도록 하는, 전자 장치. and the one or more instructions, when executed, cause the processor, upon receiving a recording start input, to record at least a partial image of an image acquired by the camera according to the frame and the padding area.
  8. 제 7 항에 있어서, 8. The method of claim 7,
    상기 적어도 일부 이미지는, 상기 프레임 내의 이미지에 대응하는, 전자 장치.The at least some images correspond to images in the frame.
  9. 제 8 항에 있어서, 9. The method of claim 8,
    상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가, 상기 카메라에 의하여 획득된 상기 오브젝트의 이미지의 크기에 따라서 상기 프레임의 크기를 조정함으로써 상기 적어도 일부 이미지를 녹화하도록 하는, 전자 장치. and the one or more instructions, when executed, cause the processor to record the at least some image by adjusting the size of the frame according to the size of the image of the object obtained by the camera.
  10. 제 9 항에 있어서, 10. The method of claim 9,
    상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가, 상기 오브젝트의 이미지의 크기 및 위치가 상기 패딩 영역에 대하여 유지되도록 상기 프레임의 크기 및 위치를 조정하도록 하는, 전자 장치. and the one or more instructions, when executed, cause the processor to adjust the size and position of the frame such that the size and position of the image of the object is maintained with respect to the padding area.
  11. 전자 장치의 이미지 획득을 위한 방법으로서, A method for acquiring an image of an electronic device, comprising:
    상기 전자 장치의 카메라를 이용하여 사용자의 제1 제스처를 획득하는 동작;acquiring a user's first gesture by using the camera of the electronic device;
    상기 제1 제스처에 기반하여 프레임을 설정하는 동작;setting a frame based on the first gesture;
    상기 카메라를 이용하여 상기 사용자의 제2 제스처를 획득하는 동작;acquiring a second gesture of the user using the camera;
    상기 제2 제스처에 기반하여 상기 프레임 내에서의 오브젝트에 대한 패딩 영역을 설정하는 동작; 및setting a padding area for the object in the frame based on the second gesture; and
    상기 오브젝트를 추적하면서 상기 프레임 및 상기 패딩 영역에 따라서 상기 카메라에 의하여 획득된 이미지의 적어도 일부 이미지를 녹화하는 동작을 포함하는, 방법.and recording at least a partial image of the image acquired by the camera according to the frame and the padding area while tracking the object.
  12. 제 11 항에 있어서, 12. The method of claim 11,
    상기 오브젝트에 대한 패딩 영역을 설정하는 동작은, 상기 패딩 영역을 상기 프레임 내에서의 상기 오브젝트의 위치 및 상기 오브젝트의 크기에 기반하여 설정하는 동작을 포함하는, 방법.The setting of the padding area for the object includes setting the padding area based on the position of the object in the frame and the size of the object.
  13. 제 12 항에 있어서, 13. The method of claim 12,
    상기 패딩 영역을 상기 프레임 내에서의 상기 오브젝트의 위치 및 상기 오브젝트의 크기에 기반하여 설정하는 동작은, 상기 제2 제스처가 수신되었을 때의 상기 오브젝트의 위치 및 상기 오브젝트의 크기에 기반하여 상기 패딩 영역을 설정하는 동작을 포함하는, 방법.The setting of the padding area based on the position of the object in the frame and the size of the object may include the padding area based on the position of the object and the size of the object when the second gesture is received. A method comprising the action of setting
  14. 제 13 항에 있어서, 14. The method of claim 13,
    상기 패딩 영역의 크기는 상기 오브젝트의 크기에 대한 상대적인 크기로서 결정된, 방법.The size of the padding area is determined as a size relative to the size of the object.
  15. 제 11 항에 있어서, 12. The method of claim 11,
    상기 제1 제스처는 서로 대각하는 사각형의 두 꼭지점을 지시하는 제스처를 포함하고, The first gesture includes a gesture indicating two vertices of a rectangle that are diagonal to each other,
    상기 프레임을 설정하는 동작은, 상기 사각형에 기반하여 상기 프레임을 설정하는 동작을 포함하는, 방법.The setting of the frame includes setting the frame based on the rectangle.
PCT/KR2021/003256 2020-03-16 2021-03-16 Self-image capturing method and electronic device therefor WO2021187876A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2020-0032086 2020-03-16
KR1020200032086A KR20210115786A (en) 2020-03-16 2020-03-16 Method for self-image capturing and electronic device therefor

Publications (1)

Publication Number Publication Date
WO2021187876A1 true WO2021187876A1 (en) 2021-09-23

Family

ID=77769475

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/003256 WO2021187876A1 (en) 2020-03-16 2021-03-16 Self-image capturing method and electronic device therefor

Country Status (2)

Country Link
KR (1) KR20210115786A (en)
WO (1) WO2021187876A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140099111A (en) * 2013-02-01 2014-08-11 삼성전자주식회사 Method for control a camera apparatus and the camera apparatus
KR101537624B1 (en) * 2014-02-12 2015-07-17 엘지전자 주식회사 Mobile terminal and method for controlling the same
KR20160049413A (en) * 2014-10-27 2016-05-09 엘지전자 주식회사 Mobile terminal and method for controlling the same
KR20160077909A (en) * 2014-12-24 2016-07-04 엘지전자 주식회사 Mobile terminal and method for controlling the same
KR102070598B1 (en) * 2012-04-13 2020-01-29 삼성전자주식회사 Camera apparatus and method for controlling thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102070598B1 (en) * 2012-04-13 2020-01-29 삼성전자주식회사 Camera apparatus and method for controlling thereof
KR20140099111A (en) * 2013-02-01 2014-08-11 삼성전자주식회사 Method for control a camera apparatus and the camera apparatus
KR101537624B1 (en) * 2014-02-12 2015-07-17 엘지전자 주식회사 Mobile terminal and method for controlling the same
KR20160049413A (en) * 2014-10-27 2016-05-09 엘지전자 주식회사 Mobile terminal and method for controlling the same
KR20160077909A (en) * 2014-12-24 2016-07-04 엘지전자 주식회사 Mobile terminal and method for controlling the same

Also Published As

Publication number Publication date
KR20210115786A (en) 2021-09-27

Similar Documents

Publication Publication Date Title
WO2020171540A1 (en) Electronic device for providing shooting mode based on virtual character and operation method thereof
WO2020171583A1 (en) Electronic device for stabilizing image and method for operating same
WO2020162673A1 (en) Electronic device for providing avatar animation and method thereof
WO2019035551A1 (en) Apparatus for composing objects using depth map and method for the same
WO2019156480A1 (en) Method of detecting region of interest on basis of gaze direction and electronic device therefor
WO2019139404A1 (en) Electronic device and method for processing image of same
WO2021066565A1 (en) Image processing method and electronic device supporting the same
WO2020080845A1 (en) Electronic device and method for obtaining images
WO2020153738A1 (en) Electronic device and method for connecting ground node to camera module
WO2020197070A1 (en) Electronic device performing function according to gesture input and operation method thereof
WO2021162353A1 (en) Electronic device comprising camera and method of operating same
WO2019172723A1 (en) Interface connected to image sensor and electronic device comprising interfaces connected among plurality of processors
WO2021230568A1 (en) Electronic device for providing augmented reality service and operating method thereof
WO2020190008A1 (en) Electronic device for auto focusing function and operating method thereof
WO2022030943A1 (en) Image segmentation apparatus and method based on deep learning
WO2021125875A1 (en) Electronic device for providing image processing service through network
WO2021187876A1 (en) Self-image capturing method and electronic device therefor
WO2021162241A1 (en) Method and device for controlling image sensor
WO2021162396A1 (en) Method for generating plurality of content items and electronic device therefor
WO2021096219A1 (en) Electronic device comprising camera and method thereof
WO2021235747A1 (en) Electronic device comprising camera and microphone, and operation method thereof
WO2021235884A1 (en) Electronic device and method for generating image by performing awb
WO2021162263A1 (en) Method for generating image and electronic device therefor
WO2021145612A1 (en) Electronic device for performing image correction, and method for correcting image
WO2021080307A1 (en) Method for controlling camera and electronic device therefor

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: 21771804

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: 21771804

Country of ref document: EP

Kind code of ref document: A1