WO2024117590A1 - 이미지의 뷰 영역을 결정하는 전자 장치 및 그 동작 방법 - Google Patents

이미지의 뷰 영역을 결정하는 전자 장치 및 그 동작 방법 Download PDF

Info

Publication number
WO2024117590A1
WO2024117590A1 PCT/KR2023/017777 KR2023017777W WO2024117590A1 WO 2024117590 A1 WO2024117590 A1 WO 2024117590A1 KR 2023017777 W KR2023017777 W KR 2023017777W WO 2024117590 A1 WO2024117590 A1 WO 2024117590A1
Authority
WO
WIPO (PCT)
Prior art keywords
view area
electronic device
area
processor
user input
Prior art date
Application number
PCT/KR2023/017777
Other languages
English (en)
French (fr)
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
Priority claimed from KR1020230003536A external-priority patent/KR20240079123A/ko
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2024117590A1 publication Critical patent/WO2024117590A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming

Definitions

  • Various embodiments disclosed in this document relate to an electronic device that determines a view area of an image and a method of operating the same.
  • An electronic device may include a camera module, a display, at least one processor operatively connected to the camera module and the display, and a memory operatively connected to the at least one processor. You can.
  • the at least one processor in response to confirming that an auto-framing function is activated while a camera application is running, determines a maximum view area provided by the camera module and moves within the maximum view area. Obtaining a first user input for specifying a possible view area range, obtaining a second user input for specifying an object area to be tracked within the view area range, the first user input and the second user input Based on this, a first view area including the object area may be determined, and an image corresponding to the determined first view area may be displayed on the display.
  • a method of operating an electronic device includes, in response to confirming that an auto-framing function is activated while a camera application is running, the maximum provided by the camera module of the electronic device.
  • An operation of confirming a view area an operation of obtaining a first user input for specifying a movable view area range within the maximum view area, and a second user input for designating an object area to be tracked within the view area range.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to various embodiments.
  • FIG. 2 is a block diagram illustrating a camera module, according to various embodiments.
  • Figure 3 is a block diagram of an electronic device according to an embodiment.
  • FIGS. 4A, 4B, 4C, and 4D are diagrams illustrating a method of determining and displaying a view area when an automatic framing function is activated, according to an embodiment.
  • FIG. 5 is a flowchart illustrating a method of operating an electronic device, according to an embodiment.
  • FIG. 6 is a flowchart explaining a detailed operation of an electronic device determining a view area range, according to an embodiment.
  • FIG. 7 is a flowchart explaining a detailed operation of an electronic device determining an object area, according to an embodiment.
  • FIG. 8 is a diagram illustrating a method of providing an image corresponding to a view area determined based on an object area, according to an embodiment.
  • FIG. 9 is a diagram illustrating a method of providing an image corresponding to a view area determined based on an object area, according to an embodiment.
  • FIG. 10 is a diagram illustrating a method of providing an image corresponding to a view area determined based on an object area, according to an embodiment.
  • FIG. 11 is a diagram illustrating a method of providing an image corresponding to a view area determined based on a plurality of object areas, according to an embodiment.
  • the camera's auto framing feature tracks the main subject located within the maximum viewable area of the camera, focuses on the main subject, and adjusts the composition of the shot so that it is consistently positioned in the center of the image frame. It can mean.
  • the electronic device can automatically determine the shooting composition based on the recognized subject within the camera's maximum view area. Because of this, when the automatic framing function is activated, the range of movement of the view area shown through the camera can be fixed within the maximum view area of the camera regardless of the size or composition of the subject desired by the user.
  • the electronic device can re-detect the subject based on the maximum view area of the camera and reset the shooting composition, and in this process, the view area shown through the camera changes significantly. This may cause the user to feel uncomfortable.
  • the user when using the automatic framing function of a camera, the user specifies a movable view area range within the maximum view area of the camera and an area of the subject to be tracked within the view area range, thereby allowing the user to You can provide an image with the desired composition.
  • an image that meets the user's needs is captured by recommending an area range for detecting a subject and an area to be designated as the subject within the maximum view area of the camera based on image analysis, and inducing the user's settings. This can be made possible.
  • tracking the subject and changing the view area are performed based on a specified view area range within the maximum view area of the camera, thereby preventing unnecessary movement of the view area and making calculations related to the automatic framing function faster and faster. It can be processed stably.
  • FIG. 1 is a diagram illustrating an electronic device in a network environment 100 according to an embodiment.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • a first network 198 e.g., a short-range wireless communication network
  • a second network 199 e.g., a long-distance wireless communication network.
  • the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or may include an antenna module 197.
  • at least one of these components eg, the connection terminal 178) may be omitted, or one or more other components may be added to the electronic device 101.
  • some of these components e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.
  • the processor 120 for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or calculations can be performed. According to one embodiment, as at least part of data processing or computation, processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • software e.g., program 140
  • processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132.
  • the commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • the processor 120 includes the main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 e.g., a central processing unit or an application processor
  • an auxiliary processor 123 e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the electronic device 101 includes a main processor 121 and a secondary processor 123
  • the secondary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can.
  • the auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.
  • the auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled.
  • coprocessor 123 e.g., image signal processor or communication processor
  • may be implemented as part of another functionally related component e.g., camera module 180 or communication module 190. there is.
  • the auxiliary processor 123 may include a hardware structure specialized for processing artificial intelligence models.
  • Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108).
  • Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited.
  • An artificial intelligence model may include multiple artificial neural network layers.
  • Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted Boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above.
  • artificial intelligence models may additionally or alternatively include software structures.
  • 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. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto.
  • Memory 130 may include volatile memory 132 or 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 application 146.
  • the input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user).
  • the input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).
  • the sound output module 155 may output sound signals to the outside of the electronic device 101.
  • the sound output module 155 may include, for example, a speaker or a receiver. Speakers can be used for general purposes such as multimedia playback or recording playback.
  • the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device.
  • the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.
  • the audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).
  • the electronic device 102 e.g., speaker or headphone
  • the sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that can be used to connect the electronic device 101 directly or wirelessly 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.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • 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 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 can capture still images and moving images.
  • the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 can manage power supplied to the electronic device 101.
  • the power management module 188 may be implemented as at least a part of, for example, 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 battery, a rechargeable secondary battery, or a fuel cell.
  • Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication.
  • processor 120 e.g., an application processor
  • the communication module 190 is a wireless communication module 192 (e.g., 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 (e.g., : LAN (local area network) communication module, or power line communication module) may be included.
  • the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or a second network 199 (e.g.
  • the wireless communication module 192 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 to communicate within a communication network such as the first network 198 or the second network 199.
  • IMSI International Mobile Subscriber Identifier
  • the wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology).
  • NR access technology provides high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access to multiple terminals (massive machine type communications (mMTC)), or ultra-reliable and low-latency (URLLC). -latency communications)) can be supported.
  • the wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates.
  • the wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing.
  • MIMO massive array multiple-input and multiple-output
  • the wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC.
  • peak data rate e.g., 20 Gbps or more
  • loss coverage e.g., 164 dB or less
  • U-plane latency e.g., 164 dB or less
  • the antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for the communication method used in the communication network, such as the first network 198 or the second network 199, is selected from the plurality of antennas, for example, by the communication module 190. It can be. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna.
  • other components eg, radio frequency integrated circuit (RFIC) may be additionally formed as part of the antenna module 197.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); and a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second surface (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.
  • a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); and a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second surface (e.g., top or side) of the printed circuit board
  • peripheral devices e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199.
  • Each of the external electronic devices 102 or 104 may be of the same or different type as the electronic device 101.
  • all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108.
  • the electronic device 101 may perform the function or service instead of executing the function or service on its own.
  • one or more external electronic devices may be requested to perform at least part of the function or service.
  • One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101.
  • the electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology can be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an Internet of Things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or server 108 may be included in the second network 199.
  • the electronic device 101 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
  • FIG. 2 is a block diagram 200 illustrating a camera module 180, according to various embodiments.
  • the camera module 180 includes a lens assembly 210, a flash 220, an image sensor 230, an image stabilizer 240, a memory 250 (e.g., buffer memory), or an image signal processor. It may include (260).
  • the lens assembly 210 may collect light emitted from a subject that is the target of image capture.
  • Lens assembly 210 may include one or more lenses.
  • the camera module 180 may include a plurality of lens assemblies 210. In this case, the camera module 180 may form, for example, a dual camera, a 360-degree camera, or a spherical camera.
  • Some of the plurality of lens assemblies 210 have the same lens properties (e.g., angle of view, focal length, autofocus, f number, or optical zoom), or at least one lens assembly is different from another lens assembly. It may have one or more lens properties that are different from the lens properties of .
  • the lens assembly 210 may include, for example, a wide-angle lens or a telephoto lens.
  • the flash 220 may emit light used to enhance light emitted or reflected from a subject.
  • the flash 220 may include one or more light emitting diodes (eg, red-green-blue (RGB) LED, white LED, infrared LED, or ultraviolet LED), or a xenon lamp.
  • the image sensor 230 may acquire an image corresponding to the subject by converting light emitted or reflected from the subject and transmitted through the lens assembly 210 into an electrical signal.
  • the image sensor 230 is one image sensor selected from among image sensors with different properties, such as an RGB sensor, a BW (black and white) sensor, an IR sensor, or a UV sensor, and the same It may include a plurality of image sensors having different properties, or a plurality of image sensors having different properties.
  • Each image sensor included in the image sensor 230 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.
  • CCD charged coupled device
  • CMOS complementary metal oxide semiconductor
  • the image stabilizer 240 moves at least one lens or image sensor 230 included in the lens assembly 210 in a specific direction in response to the movement of the camera module 180 or the electronic device 101 including the same.
  • the operating characteristics of the image sensor 230 can be controlled (e.g., adjusting read-out timing, etc.). This allows to compensate for at least some of the negative effects of said movement on the image being captured.
  • the image stabilizer 240 is a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180. It is possible to detect such movement of the camera module 180 or the electronic device 101 using .
  • the image stabilizer 240 may be implemented as, for example, an optical image stabilizer.
  • the memory 250 may at least temporarily store at least a portion of the image acquired through the image sensor 230 for the next image processing task. For example, when image acquisition is delayed due to the shutter or when multiple images are acquired at high speed, the acquired original image (e.g., Bayer-patterned image or high-resolution image) is stored in the memory 250. , the corresponding copy image (e.g., low resolution image) may be previewed through the display module 160. Thereafter, when a specified condition is satisfied (eg, user input or system command), at least a portion of the original image stored in the memory 250 may be obtained and processed, for example, by the image signal processor 260. According to one embodiment, the memory 250 may be configured as at least part of the memory 130 or as a separate memory that operates independently.
  • a specified condition eg, user input or system command
  • the image signal processor 260 may perform one or more image processes on an image acquired through the image sensor 230 or an image stored in the memory 250.
  • the one or more image processes may include, for example, depth map creation, three-dimensional modeling, panorama creation, feature point extraction, image compositing, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring).
  • the image signal processor 260 may include blurring, sharpening, or softening, and may include at least one of the components included in the camera module 180 (eg, an image sensor).
  • the image processed by the image signal processor 260 may be stored back in the memory 250 for further processing.
  • the image signal processor 260 may be configured as at least a part of the processor 120, or the image signal processor 260 may be configured as a separate processor that operates independently of the processor 120. When configured as a separate processor, at least one image processed by the image signal processor 260 may be displayed through the display module 160 as is or after additional image processing by the processor 120.
  • the electronic device 101 may include a plurality of camera modules 180, each having different properties or functions.
  • at least one of the plurality of camera modules 180 may be a wide-angle camera, and at least another one may be a telephoto camera.
  • at least one of the plurality of camera modules 180 may be a front camera, and at least another one may be a rear camera.
  • Figure 3 is a block diagram of an electronic device 300 according to an embodiment.
  • the electronic device 300 is a device that provides an image by tracking a subject based on a user-specified view area range within the maximum view area obtainable through a camera, and includes a camera module 310, a display ( 320), at least one processor 330, or memory 340.
  • the electronic device 300 may correspond to the electronic device 101 shown in FIG. 1 .
  • the camera module 310 may capture a subject according to a user's manipulation.
  • the camera module 310 may acquire an image including the subject within the maximum view area obtainable by the camera module 310.
  • the view area is an area viewed by the camera module 310 and may correspond to a field of view.
  • the electronic device 300 may include one or more cameras having different angles of view.
  • display 320 may display an image acquired by camera module 310.
  • the display 320 may display an image corresponding to the view area set for the camera module 310.
  • the display 320 may be a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED), a light emitting diode (LED), an active matrix organic LED (AMOLED), or a flexible display. It may consist of at least one of a flexible display and a 3-dimensional display. Additionally, some of these displays may be transparent or light-transmissive so that the outside can be viewed through them. This may be configured as a transparent display including TOLED (transparent OLED).
  • TOLED transparent OLED
  • the memory 340 controls at least one processor 330 (e.g., the processor 120 of FIG. 1) to perform various operations when executed. You can save instructions.
  • at least one processor 330 may perform operations to acquire an image with a composition determined based on the view area range and object area specified by the user when using the camera's auto framing function.
  • At least one processor 330 may confirm that the automatic framing function is activated while a camera application installed on the electronic device 300 is executed. At least one processor 330 may check whether the automatic framing function is activated based on setting information about the camera module 310. According to various embodiments, at least one processor 330 may display a preview image on the display 320 based on the initial zoom magnification of the camera module 310 when the camera application is executed.
  • the initial zoom magnification of the camera module 310 may be a basic zoom magnification set by the camera application (eg, 1.0 magnification) or a magnification preset by the user. At least one processor 330 may maintain the basic zoom ratio until a setting value related to the shooting composition is separately input by the user.
  • the at least one processor 330 may check the maximum view area provided by the camera module 310.
  • the maximum view area may correspond to the maximum angle of view that can be provided through the camera module 310.
  • At least one processor 330 may obtain a first user input for specifying a movable view area range within the maximum view area.
  • the view area range may be understood as a range for detecting an object within the maximum view area while taking pictures using the camera module 310.
  • At least one processor 330 may detect and continuously track an object while moving within a designated view area based on the first user input.
  • at least one processor 330 may recommend a designable view area range within the maximum view area to the user.
  • At least one processor 330 detects one or more objects from a plurality of consecutive frames acquired during a specified time using the camera module 310, and determines a candidate view area range based on analysis of the one or more objects. You can decide.
  • At least one processor 330 may determine the candidate view area range based on at least one of the number, position, movement, or direction of the one or more objects, and display the determined candidate view area range (320). ) can be recommended by marking on the box.
  • at least one processor 330 may determine the range of the candidate view area by applying a margin of a specified ratio based on the area and direction in which movement of the at least one object is detected. The margin may be applied differently depending on the characteristics of the at least one object detected within the maximum view area, and may be used to maintain a shooting composition (e.g., shooting angle or zoom ratio) set by the user within the maximum view area. It can be adjusted.
  • a shooting composition e.g., shooting angle or zoom ratio
  • At least one processor 330 when a plurality of objects are detected within the maximum view area, at least one processor 330 generates the candidate view based on the direction of an object with active movement or high importance among the plurality of objects.
  • the area range can be determined.
  • at least one processor 330 may determine the candidate view area range to include all of the plurality of objects if the confirmed motion degree or importance for the plurality of objects is within the same or similar range. there is.
  • At least one processor 330 may induce a first user input to reflect a composition desired by the user when using the automatic framing function.
  • at least one processor 330 may provide a first user interface for designating at least a portion of the maximum view area as the view area range.
  • the first user interface may be in the form of a window box that can set (or change) a left-right and/or up-down range within the maximum view area.
  • At least one processor 330 may determine the view area range based on the first user input obtained through the first user interface.
  • at least one processor 330 may provide the first user interface based on the candidate view area range determined based on analysis of the frame image.
  • At least one processor 330 may place the first user interface at a location corresponding to the candidate area range.
  • the at least one processor 330 determines that the view area range within the maximum view area is not specified by the user, the at least one processor 330 sets the candidate view area range determined based on analysis of the frame image to the view area. It can be automatically designated as an area range.
  • At least one processor 330 may obtain a second user input for designating an object area to be tracked within the view area.
  • the object area is an area containing an object to be continuously tracked within the view area, and may be designated to include a peripheral area of the object in addition to the face or upper body of the object.
  • at least one processor 330 may recommend a designable object area within the view area range to the user.
  • At least one processor 330 may determine at least one candidate object area based on information about one or more objects detected within the view area or user preference information.
  • the at least one processor 330 determines an object designated by the user or an object with a high frequency of appearance in images previously stored in the memory 340 as a main object, and selects the at least one candidate based on the main object. You can specify the object area.
  • at least one processor 330 may determine a main object based on the type or location of each of the one or more detected objects. Illustratively, at least one processor 330 may determine a person as the main object among people and animals, and when multiple people are detected, the person located in the front (i.e., the person who is closer to the electronic device 300) ) Alternatively, a person whose movement is continuously detected can be determined as the main object. At least one processor 330 may designate the at least one candidate object area to include the determined main object.
  • At least one processor 330 may induce a second user input to reflect the composition of the subject desired by the user when using the automatic framing function.
  • at least one processor 330 may provide a second user interface for setting a boundary of the object area within the view area.
  • the second user interface may be in the form of a window box that can set (or change) a range in the left-right direction and/or up-down direction based on the object detected within the view area.
  • At least one processor 330 may determine the object area based on a second user input obtained through the second user interface.
  • at least one processor 330 provides the second user interface based on the at least one candidate object area determined based on information about one or more objects within the range of the view area or user preference information.
  • At least one processor 330 may arrange and provide the second user interface at a location corresponding to the at least one candidate object area. According to various embodiments, when the at least one processor 330 confirms that the object area within the view area is not designated by the user, it may automatically designate the at least one candidate object area as the object area.
  • At least one processor 330 determines a first view area to be displayed on the display based on the view area range specified by the first user input and the object area specified by the second user input. You can. At least one processor 330 may determine the first view area to include the object area within the view area range. According to various embodiments, at least one processor 330 may determine the first view area by considering the zoom factor for the object area. For example, at least one processor 330 may calculate a minimum zoom factor based on the size of the maximum view area and the size of the view area range. In this case, at least one processor 330 calculates the minimum zoom ratio as the larger value of the horizontal and vertical lengths of the maximum view area divided by the horizontal and vertical lengths of the view area range, respectively, and the calculated minimum zoom factor.
  • the first view area may be determined so that the object area is visible at a zoom factor greater than or equal to the zoom factor.
  • at least one processor 330 may obtain a magnification setting input including at least one of a minimum zoom magnification and a maximum zoom magnification from the user. In this case, the at least one processor 330 configures the first view area to maintain the maximum zoom magnification or more and/or the minimum zoom magnification for the object area within the maximum view area based on the magnification setting input. can be decided.
  • the at least one processor 330 may determine the first view area to include all of the plurality of object areas. At this time, the first view area may be determined to maintain the minimum zoom magnification for the plurality of object areas.
  • At least one processor 330 may display an image corresponding to the determined first view area on the display 320. At least one processor 330 may provide an image corresponding to the first view area as a preview image of the running camera application or as a video screen.
  • the at least one processor 330 determines that the object area is not included in the first view area while providing an image corresponding to the first view area through the display 320, The object area can be detected again within the view area range. At least one processor 330 may change the first view area based on the detected object area and display an image corresponding to the changed first view area on the display 320.
  • At least one processor 330 may detect a third user input for changing the object area while providing an image corresponding to the first view area. In this case, at least one processor 330 determines a second view area based on the object area changed by the third user input, and converts the image corresponding to the first view area to the image corresponding to the second view area. It can be replaced with an image and provided through the display 320.
  • FIGS. 4A, 4B, 4C, and 4D are diagrams illustrating a method of determining and displaying a view area when an automatic framing function is activated, according to an embodiment.
  • the electronic device 300 displays a view area range specified by the user while taking pictures using a camera module (e.g., the camera module 180 of FIG. 1 or the camera module 310 of FIG. 3). Images can be provided based on and object area.
  • a camera module e.g., the camera module 180 of FIG. 1 or the camera module 310 of FIG. 3
  • the electronic device 300 when the electronic device 300 detects that the automatic framing function of the camera module 310 is activated, it can check the maximum view area 400 that can be provided through the camera module 310.
  • the maximum view area 400 may be determined in accordance with the maximum viewing angle of the camera module 310.
  • the electronic device 300 may designate a movable view area range 410 to detect and track at least one object within the maximum view area 400.
  • the electronic device 300 may provide a user interface in the form of a window box to specify the view area range 410.
  • the electronic device 300 may designate the view area range 410 based on the four corner points 411, 412, 413, and 414 of the user interface set or moved by the user's touch input. there is. Referring to FIG. 4B, the area within the boundary formed based on the upper left corner point 411, lower left corner point 412, upper right corner point 413, or lower right corner point 414 of the user interface is the above. It may be determined by the view area range 410.
  • the electronic device 300 may calculate a designable view area range 410 within the maximum view area 400 and recommend it to the user.
  • the electronic device 300 analyzes consecutive frames acquired during a specified time, classifies the background with a fixed position without movement and the moving object within the maximum view area 400, and counts the number of the objects.
  • the candidate view area range can be determined by considering location, movement, or direction. For example, when the electronic device 300 detects a plurality of objects within the maximum view area 400, the electronic device 300 may determine the candidate view area range to include all of the plurality of objects.
  • the electronic device 300 may recommend the determined candidate view area range as the view area range 410 .
  • the electronic device 300 determines the range of the candidate view area by applying a margin of a specified ratio based on the area and direction in which movement of the object detected within the maximum view area 400 is detected. You can decide. In this case, the electronic device 300 may apply a margin of a different ratio depending on the characteristics of the detected object. For example, when the detected object is the full body of a specific person, the electronic device 300 measures 30% of the full body height in the upper direction of the object, 10% of the full body height in the lower direction, and 50% of the full body width in the left and right directions. The candidate view area range may be determined to include each margin of .
  • the electronic device 300 when several people are detected as the object, the electronic device 300 sets margins in the left/right/up/down directions differently depending on the movement area and direction of the people to create the candidate view area.
  • the scope can be determined.
  • the electronic device 300 may provide a user interface for designating the view area range 410 based on the determined candidate view area range.
  • the electronic device 300 may set the position corresponding to the candidate view area range as the initial position of the user interface for designating the view area range 410 and display the user interface.
  • the electronic device 300 can designate an object area 420 to be tracked within the view area range.
  • the electronic device 300 may provide a user interface in the form of a window box to designate the object area 420.
  • the user interface for specifying the object area 420 may be provided in the same manner as the user interface for specifying the view area range 410, and may be provided in the left/right/top/bottom direction formed by the user's touch input. The area within the boundary of the direction may be determined as the object area 420.
  • the electronic device 300 may recommend a designable object area 420 within the view area range to the user.
  • the electronic device 300 may determine at least one candidate object area based on information about one or more objects detected within the view area range 410 or user preference information. For example, the electronic device 300 detects that there is an object designated by the user or that the frequency of appearance in an image previously stored in memory (e.g., memory 130 in FIG. 1 or memory 340 in FIG. 3) exceeds the specified number of times. If it is confirmed that an object exists, the at least one candidate object area can be designated based on the corresponding object. For another example, the electronic device 300 may designate the candidate object area by considering object selection priority.
  • the object selection priority may be determined according to the type or location of each of one or more objects detected within the view area range 410.
  • the electronic device 300 may determine that a person among people and animals has a relatively high priority, and when multiple people are detected, the electronic device 300 may determine that a person located in the front has a relatively high priority.
  • the electronic device 300 may recommend the determined candidate object area as the object area 420 .
  • the electronic device 300 may provide a user interface for designating the object area 420 based on the determined candidate object area. In this case, the electronic device 300 may set the position corresponding to the candidate object area as the initial position of the user interface for designating the object area 420 and display the user interface.
  • the object area 420 may be designated to include the periphery of the object to be tracked in addition to the face or upper body of the object to be tracked within the view area.
  • the electronic device 300 displays (e.g., the display module 160 in FIG. 1 or the display 320 in FIG. 3) based on the designated view area range 410 and the designated object area 420.
  • the visible view area 430 can be determined through .
  • the electronic device 300 may determine the view area 430 to include the object area 420 within the view area range 410 .
  • the electronic device 300 may display an image corresponding to the determined view area 430 on the display 320.
  • the image corresponding to the view area 430 may be provided as a preview image or video screen while the camera module 310 is running.
  • the electronic device 300 may be set to maintain a minimum zoom ratio for the object area 420 while providing an image corresponding to the view area 430.
  • the minimum zoom factor may be calculated using the size of the maximum view area 400 and the size of the view area range 410.
  • the electronic device 300 divides the horizontal length or width of the maximum view area 400 by the horizontal length or width of the view area range 410, and the maximum view area 400 The larger value of the vertical length or height divided by the vertical length or height of the view area range 410 may be determined as the minimum zoom magnification of the view area 430.
  • the electronic device 300 may set the zoom magnification of the view area 430 based on magnification setting information input by the user. In this case, the electronic device 300 checks the maximum zoom factor and/or minimum zoom factor specified by the user based on the magnification setting information and sets the zoom factor for the object area 420 within the view area 430. This can be set to remain below the maximum zoom magnification and/or above the minimum zoom magnification.
  • the electronic device 300 may continuously track the object area 420 while providing an image corresponding to the view area 430.
  • the electronic device 300 confirms that the object area 420 deviates from the view area 430, it detects the object area 420 again within the view area range 410 and detects the detected object area 420. ), the view area 430 can be changed and displayed based on.
  • the electronic device 300 may detect that the object area 420 changes due to a user's touch input while providing an image corresponding to the view area 430.
  • the electronic device 300 may determine a new view area 430 based on the changed object area 420 and provide an image corresponding to the new view area 430 on the display 320.
  • FIG. 5 is a flowchart illustrating a method of operating an electronic device, according to an embodiment.
  • the electronic device 300 is a device that tracks a subject and provides an image based on a user-specified view area within the maximum view area obtainable through a camera, and is an electronic device shown in FIG. 1 ( 101).
  • the operations of FIG. 5 may be performed by at least one processor (eg, the processor 120 of FIG. 1 or the at least one processor 330 of FIG. 3) included in the electronic device 300.
  • the electronic device 300 may confirm that the automatic framing function is activated while the camera application is running.
  • the electronic device 300 may check whether the automatic framing function is activated based on setting information about the camera module (e.g., the camera module 180 in FIG. 1 or the camera module 310 in FIG. 3).
  • the electronic device 300 may check the maximum view area provided by the camera module 310 in response to confirming that the automatic framing function is activated.
  • the maximum view area may correspond to the maximum angle of view that can be provided through the camera module 310.
  • the electronic device 300 may obtain a first user input for specifying a movable view area range within the maximum view area.
  • the view area range may be understood as a range for detecting an object within the maximum view area while taking pictures using the camera module 310.
  • the electronic device 300 may detect and continuously track an object while moving within a designated view area based on the first user input.
  • the electronic device 300 may recommend a designable view area range within the maximum view area to the user.
  • the electronic device 300 may determine the candidate view area range based on analysis results of a plurality of consecutive frames acquired through the camera module 310 during a specified time.
  • the electronic device 300 detects one or more objects from the consecutive frames, determines the candidate view area range based on at least one of the number, position, movement, or direction of the one or more objects to display (e.g., FIG. It can be displayed on the display module 160 in 1 or the display module 320 in FIG. 3.
  • the electronic device 300 may determine the range of the candidate view area by applying a margin of a specified ratio based on the area and direction in which movement of the at least one object is detected.
  • the margin may be applied differently depending on the characteristics of the at least one object detected within the maximum view area, and may be used to maintain a shooting composition (e.g., shooting angle or zoom ratio) set by the user within the maximum view area. It can be adjusted.
  • the electronic device 300 determines the candidate view area range based on the direction of an object with active movement or high importance among the plurality of objects. can be decided.
  • at least one processor 330 may determine the candidate view area range to include all of the plurality of objects if the confirmed motion degree or importance for the plurality of objects is within the same or similar range. there is.
  • the electronic device 300 may provide a first user interface for designating at least a portion of the maximum view area as the view area range to induce the first user input.
  • the first user interface may be in the form of a window box that can set (or change) a left-right and/or up-down range within the maximum view area.
  • the electronic device 300 may determine the view area range based on the first user input obtained through the first user interface. In one embodiment, the electronic device 300 may arrange and provide the first user interface at a location corresponding to the candidate view area range determined based on analysis of the frame image. According to various embodiments, in operation 530, when the electronic device 300 determines that the view area range within the maximum view area is not specified by the user, the candidate view area range determined based on analysis of the frame image is It can be automatically specified within the view area range.
  • the electronic device 300 may obtain a second user input for designating an object area to be tracked within the view area range.
  • the object area is an area containing an object to be continuously tracked within the view area, and may be designated to include a peripheral area of the object in addition to the face or upper body of the object.
  • the electronic device 300 may recommend a designable object area within the view area range to the user.
  • the electronic device 300 may determine at least one candidate object area based on information about one or more objects detected within the view area or user preference information.
  • the electronic device 300 determines an object designated by the user or an object with a high frequency of appearance in images previously stored in the memory 340 as the main object, and selects the at least one candidate object area based on the main object. can be specified.
  • the electronic device 300 may determine a main object based on the type or location of each of the one or more detected objects. In this case, the electronic device 300 may determine a person as the main object among people and animals, and when multiple people are detected, a person located in the front (i.e., a person located closer to the electronic device 300) or a person located at a constant distance from the electronic device 300 The person whose movement is detected can be determined as the main object.
  • the electronic device 300 may designate the at least one candidate object area to include the determined main object.
  • the electronic device 300 may provide a second user interface for setting a boundary of the object area within the view area range to induce the second user input.
  • the second user interface may be in the form of a window box that can set (or change) a left-right and/or up-down range within the view area.
  • the electronic device 300 may determine the object area based on a second user input obtained through the second user interface.
  • the electronic device 300 may provide the second user interface by placing it at a location corresponding to the candidate object area determined based on information about one or more objects within the view area or user preference information. there is.
  • in operation 540 when the electronic device 300 confirms that the object area within the view area is not designated by the user, it may automatically designate the candidate object area as the object area.
  • the electronic device 300 selects a first view area to be displayed on the display based on the view area range specified by the first user input and the object area specified by the second user input. can be decided.
  • the electronic device 300 may determine the first view area to include the object area within the view area range.
  • the electronic device 300 may determine the first view area by considering the zoom factor for the object area. For example, the electronic device 300 may calculate the minimum zoom factor based on the size of the maximum view area and the size of the view area range.
  • the electronic device 300 calculates the larger value of the horizontal and vertical lengths of the maximum view area divided by the horizontal and vertical lengths of the view area range, respectively, as the minimum zoom magnification, and the calculated minimum zoom magnification
  • the first view area may be determined so that the object area is visible at a zoom magnification greater than or equal to that of the object area.
  • the electronic device 300 may obtain a magnification setting input including at least one of the minimum zoom magnification and the maximum zoom magnification from the user.
  • the electronic device 300 determines the first view area to maintain below the maximum zoom magnification and/or above the minimum zoom magnification for the object area within the maximum view area based on the magnification setting input. You can.
  • the electronic device 300 may determine the first view area to include all of the plurality of object areas. At this time, the first view area may be determined to maintain the minimum zoom factor for the plurality of object areas.
  • the electronic device 300 may display an image corresponding to the first view area on the display 320.
  • the electronic device 300 may provide an image corresponding to the first view area as a preview image of the running camera application or as a video screen.
  • the electronic device 300 determines that the object area is not included within the first view area while providing an image corresponding to the first view area, the electronic device 300 determines that the object area is within the range of the view area. The area can be detected again.
  • the electronic device 300 may change the first view area based on the detected object area and display an image corresponding to the changed first view area on the display 320.
  • the electronic device 300 may detect a third user input for changing the object area while providing an image corresponding to the first view area.
  • the electronic device 300 determines a second view area based on the object area changed by the third user input, replaces the image corresponding to the first view area with an image corresponding to the second view area, and displays the image. It can be provided through (320).
  • FIG. 6 is a flowchart explaining a detailed operation of an electronic device determining a view area range, according to an embodiment.
  • the electronic device 300 is a device that determines the view area range, which is a movable range for detecting and tracking an object within the maximum view area that can be provided using a camera, and is the electronic device shown in FIG. 1 It can correspond to (101).
  • the operations of FIG. 6 may be performed by at least one processor (eg, the processor 120 of FIG. 1 or the at least one processor 330 of FIG. 3) included in the electronic device 300.
  • the electronic device 300 may receive a camera image.
  • the electronic device 300 displays an image input through a camera module (e.g., the camera module 180 of FIG. 1 or the camera module 310 of FIG. 3) as a preview image (e.g., the display module 160 of FIG. 1). Alternatively, it may be displayed on the display 320 of FIG. 3.
  • a camera module e.g., the camera module 180 of FIG. 1 or the camera module 310 of FIG. 3
  • a preview image e.g., the display module 160 of FIG. 1).
  • it may be displayed on the display 320 of FIG. 3.
  • the electronic device 300 may recommend a view area range that can be designated within the maximum view area of the camera module 310 and an object to be tracked.
  • the electronic device 300 may determine a candidate view area range and a candidate object to recommend to the user by analyzing a plurality of consecutive frames acquired during a specified time.
  • the electronic device 300 detects one or more objects whose movement is detected as a result of analysis of the plurality of consecutive frames, and detects one or more objects based on information about the one or more objects or user preference information.
  • the candidate object may be determined.
  • the electronic device 300 detects that there is an object designated by the user or that the frequency of appearance in an image previously stored in memory (e.g., memory 130 in FIG. 1 or memory 340 in FIG. 3) exceeds the specified number of times. If an object exists, the corresponding object can be determined as the candidate object. For another example, when the electronic device 300 determines that there is no object specified by the user or an object whose frequency of appearance exceeds the specified number of times, the candidate object is selected in consideration of the type or location of each of the one or more objects. can be decided.
  • the electronic device 300 may determine a person among people and animals as the candidate object, and when multiple people are detected, the person located in the front (i.e., the person who is closer to the electronic device 300) is selected as the candidate object. can be decided. According to various embodiments, in operation 620, the electronic device 300 may determine the candidate view area range based on at least one of the number, position, movement, or direction of the one or more detected objects. The electronic device 300 may determine the range of the candidate view area by applying a margin of a specified ratio based on the area and direction in which movement of the at least one object is detected. The margin may be applied differently depending on characteristics of the at least one object detected within the maximum view area. The electronic device 300 may display the determined candidate object and the candidate view area range on the display 320 and recommend the object to be tracked and the view area range.
  • the electronic device 300 may check whether the view area range within the maximum view area has been set by the user.
  • the electronic device 300 may check whether the view area range is set depending on whether a user's touch input for specifying the view area range within the maximum view area is detected.
  • the electronic device 300 may calculate the minimum zoom factor in operation 640.
  • the electronic device 300 may calculate the minimum zoom magnification as the larger value of the horizontal and vertical lengths of the maximum view area divided by the horizontal and vertical lengths of the view area range, respectively.
  • the electronic device 300 may check at least one of the minimum zoom magnification and the maximum zoom ratio based on magnification setting information input by the user.
  • the electronic device 300 may determine a first view area including the object to be tracked within the set view area range. The electronic device 300 determines the first view area so that the object is visible at a zoom factor greater than the calculated minimum zoom factor, or maintains a zoom factor between the confirmed minimum zoom factor and the maximum zoom factor. 1 The view area can be determined.
  • the electronic device 300 selects a random area containing the object to be tracked within the maximum view area in operation 650. It can be determined as the first view area. According to various embodiments, in operation 650, the electronic device 300 may determine the first view area to include the object based on the candidate view area range.
  • the electronic device 300 moves the focus and/or angle of the camera module 310 to the determined first view area in operation 660 and displays an image corresponding to the first view area (320). ) can be provided through.
  • the electronic device 300 may check whether the object is continuously detected within the view area while providing an image corresponding to the first view area. As an example, when the electronic device 300 detects that the object has left the range of the view area, it may determine that detection (or tracking) of the object has failed.
  • the electronic device 300 may return to operation 645.
  • the electronic device 300 performs a preview based on the first view area containing the object in operation 680. Images can be displayed. According to various embodiments, when the electronic device 300 detects that the shape or position of the object changes due to movement while displaying the preview image, the first view area is based on the changed shape or position of the object. may be changed, and an image corresponding to the changed first view area may be provided as the preview image.
  • the electronic device 300 may check whether the view area range has changed while providing a preview image corresponding to the first view area.
  • the electronic device 300 may determine that the view area range has changed when a user's touch input that changes the view area range occurs or when an object to be tracked changes. If the view area range has changed as a result of operation 690 (operation 690 - Yes), the electronic device may return to operation 630. If the view area range has not changed as a result of the check at 690 (operation 690 - No), the electronic device may return to operation 670.
  • FIG. 7 is a flowchart explaining a detailed operation of an electronic device determining an object area, according to an embodiment.
  • the electronic device 300 is a device that determines the area of an object to be continuously tracked while acquiring an image using a camera, and may correspond to the electronic device 101 shown in FIG. 1. .
  • the operations of FIG. 7 may be performed by at least one processor (eg, the processor 120 of FIG. 1 or the at least one processor 330 of FIG. 3) included in the electronic device 300.
  • the electronic device 300 may receive a camera image.
  • the electronic device 300 displays an image input through a camera module (e.g., the camera module 180 of FIG. 1 or the camera module 310 of FIG. 3) as a preview image (e.g., the display module 160 of FIG. 1). Alternatively, it may be displayed on the display 320 of FIG. 3.
  • a camera module e.g., the camera module 180 of FIG. 1 or the camera module 310 of FIG. 3
  • a preview image e.g., the display module 160 of FIG. 1).
  • it may be displayed on the display 320 of FIG. 3.
  • the electronic device 300 may recommend an object to be tracked.
  • the electronic device 300 may determine a candidate object to recommend to the user based on analysis results of a plurality of consecutive frames acquired during a specified time.
  • the electronic device 300 classifies a background whose position is fixed without movement and one or more objects with movement from the plurality of consecutive frames, and the classified one or more objects.
  • the candidate object may be determined based on information about the object or user preference information. For example, the electronic device 300 detects that there is an object designated by the user or that the frequency of appearance in an image previously stored in memory (e.g., memory 130 in FIG. 1 or memory 340 in FIG. 3) exceeds the specified number of times.
  • the corresponding object can be determined as the candidate object.
  • the candidate object is selected in consideration of the type or location of each of the one or more objects. can be decided.
  • the electronic device 300 may determine a person among people and animals as the candidate object, and when multiple people are detected, the person located in the front (i.e., the person who is closer to the electronic device 300) is selected as the candidate object. can be decided.
  • the electronic device 300 may check whether an object area to be tracked has been set by the user.
  • the electronic device 300 may check whether the object area is set according to whether a user's touch input for designating the object area within the maximum view area is detected.
  • the electronic device 300 selects a random area containing the object to be tracked within the maximum view area in operation 735. It can be automatically set to the object area. According to various embodiments, in operation 735, the electronic device 300 may determine the object area based on the candidate object. The electronic device 300 may designate the object area to include the peripheral area of the candidate object in addition to the face, upper body, and whole body of the candidate object. Once the object area is set, the electronic device 300 may determine the first view area shown by the camera module 310 in operation 740. The electronic device 300 determines the first view area to include the object area, and moves the focus and/or angle of the camera module 310 to the determined first view area to display the first view area corresponding to the first view area. Images can be provided through the display 320.
  • the electronic device 300 may determine the first view area based on the object area set by the user in operation 740.
  • the electronic device 300 determines the first view area to include the object area set by the user, moves the focus and/or angle of the camera module 310 to the determined first view area, and creates the first view.
  • An image corresponding to the area can be provided through the display 320.
  • the electronic device 300 may check whether the object area is continuously detected within the view area while providing an image corresponding to the first view area. As an example, when the electronic device 300 detects that the object area deviates from the view area range, it may determine that the object area is not detected within the view area range.
  • operation 750 If, as a result of operation 750, it is confirmed that the object area is not detected within the view area range (operation 750 - No), the electronic device 300 returns to operation 740 to determine the first view area again.
  • the electronic device 300 determines in operation 760 a device corresponding to the first view area including the object area. Images can be provided as preview images.
  • FIGS. 8, 9, 10, and 11 are diagrams illustrating a method of providing an image corresponding to a view area determined based on an object area, according to an embodiment.
  • the electronic device 300 captures an object area designated by the user while taking pictures using a camera module (e.g., the camera module 180 of FIG. 1 or the camera module 310 of FIG. 3). Images can be provided based on this.
  • a camera module e.g., the camera module 180 of FIG. 1 or the camera module 310 of FIG. 3
  • the electronic device 300 may determine an object area 810 to be tracked in the maximum view area 800 that can be provided through a camera module. For example, the electronic device 300 may confirm that the head and upper body of a first object among the plurality of objects detected in the maximum view area are designated as the object area 810. In order to provide an image with a composition that gives a sense of stability, the electronic device 300 may determine the view area 820 including the object area 810 by considering the size and/or ratio of the object area 810. .
  • the electronic device 300 may determine the view area 820 including the object area 810 by considering the size and/or ratio of the object area 810. .
  • the electronic device 300 determines that the vertical length (or height) of the designated object area 810 has a longer ratio than the horizontal length (or width), and the object area 810
  • the view area 820 may be determined to apply a margin with a larger ratio in the left and right directions of 810 than in the up and down directions.
  • the electronic device 300 may determine an object area 910 to be tracked in the maximum view area 900 that can be provided through the camera module. For example, the electronic device 300 may confirm that the head of a first object among the plurality of objects detected in the maximum view area is designated as the object area 910. In this case, the electronic device 300 may determine the view area 920 by applying margins of different ratios to the left/right/up/down directions of the head. The margin ratio may be specified in advance for each type or portion of the object included in the object area 910.
  • the electronic device 300 may determine an object area 1010 to be tracked in the maximum view area 1000 that can be provided through a camera module. For example, the electronic device 300 may confirm that the head of a first object among the plurality of objects detected in the maximum view area and the upper margin of the head are both designated as the object area 1010. In this case, the electronic device 300 considers the upper margin included in the object area 1010 and applies a margin at a larger ratio to the lower direction of the object area 1010 than the upper direction to create the view area 1020. You can decide.
  • the electronic device 300 may determine a plurality of object areas 1110 and 1115 to be tracked in the maximum view area 1100 that can be provided through the camera module. For example, in the electronic device 300, the head of a first object among the plurality of objects detected in the maximum view area is designated as the first object area 1110, and the head of the second object is designated as the second object. It can be confirmed that it is designated as area 1115. In this case, the electronic device 300 may determine the view area 1120 to include both the first object area 1110 and the second object area 1115.
  • the electronic device 300 has the same ratio in the right direction of the first object area 1110 and the left direction of the second object area 1115 in order to provide an image with a composition that gives a sense of stability.
  • the view area 1120 can be determined by applying a margin.
  • the electronic device 300 sets the zoom magnification specified by the user or the size of the maximum view area and view area range while providing images corresponding to the view areas 820, 920, 1020, and 1120.
  • the view areas 820, 920, 1020, and 1120 may be determined to maintain the minimum zoom magnification calculated based on the above.
  • the electronic device 300 monitors the size, ratio, and number of object areas (810, 910, 1010, 1110, and 1115) designated by the user while taking pictures using a camera module. Depending on this, the view areas 820, 920, 1020, and 1120 shown to the user can be determined differently.
  • An electronic device e.g., electronic device 300
  • includes a camera module e.g., camera module 310
  • a display e.g., display 320
  • At least one processor e.g., processor 330
  • a memory e.g., memory 340
  • the processor in response to confirming that an auto-framing function is activated while a camera application is running, determines the maximum view area provided by the camera module and the range of the view area that is movable within the maximum view area.
  • Obtain a first user input for designating obtain a second user input for designating an object area to be tracked within the view area range, and based on the first user input and the second user input, Instructions for determining a first view area including an object area and displaying an image corresponding to the determined first view area on the display may be stored.
  • the instructions may cause the at least one processor to calculate a minimum zoom factor for the first view area based on the size of the maximum view area and the size of the view area range, and configure the calculated minimum zoom factor for the first view area.
  • the first view area may be determined based on the zoom magnification.
  • the instructions are such that the at least one processor detects one or more objects from a plurality of consecutive frames acquired during a specified time using the camera module, and configures the number, location, and number of the one or more objects.
  • a candidate view area range may be determined based on at least one of movement or direction, and the determined candidate view area range may be displayed on the display.
  • the instructions include providing a first user interface for the at least one processor to designate at least a portion of the maximum view area as the view area range based on the candidate view area range,
  • the view area range may be determined based on the first user input obtained through the first user interface.
  • the instructions may be configured to cause the at least one processor to determine at least one candidate object area based on information about the one or more objects or user preference information, and to select the determined at least one candidate object area. It can be displayed on the display.
  • the instructions provide a second user interface for the at least one processor to set a boundary of the object area within the view area range based on the at least one candidate object area.
  • the first view area may be determined based on the second user input obtained through the second user interface.
  • the instructions are performed within the range of the view area when the at least one processor determines that the object area is not included while displaying an image corresponding to the first view area on the display.
  • the object area may be detected, and the first view area may be changed and displayed on the display based on the detected object area.
  • the instructions are such that the at least one processor acquires a third user input for changing the object area within the view area range, and executes the instructions based on the object area changed by the third user input.
  • a second view area may be determined, and an image corresponding to the second view area may be displayed on the display.
  • the instructions are such that, when the at least one processor confirms that a plurality of object areas are designated by the second user input, the instructions determine the first view area to include all of the plurality of object areas. can do.
  • the instructions may be configured to cause the at least one processor to obtain a magnification setting input including at least one of a minimum zoom magnification and a maximum zoom magnification from a user, and to display a magnification setting input within the maximum view area based on the magnification setting input.
  • the first view area may be determined.
  • a method of operating an electronic device includes, in response to confirming that an auto-framing function is activated while a camera application is running, the camera module of the electronic device.
  • An operation of confirming the maximum view area provided by, an operation of obtaining a first user input for specifying a movable view area range within the maximum view area, and an operation of specifying an object area to be tracked within the view area range.
  • Obtaining a second user input determining a first view area including the object area based on the first user input and the second user input, and generating an image corresponding to the determined first view area. It may include a display action.
  • the operation of determining the first view area includes calculating a minimum zoom factor for the first view area based on the size of the maximum view area and the size of the view area range, and the calculation It may include determining the first view area based on the minimum zoom magnification.
  • the operation of obtaining the first user input includes detecting one or more objects from a plurality of consecutive frames acquired during a specified time using the camera module, the number and location of the one or more objects, , determining a candidate view area range based on at least one of movement or direction, and displaying the determined candidate view area range on a display of the electronic device.
  • the method includes providing a first user interface for designating at least a portion of the maximum view area as the view area range based on the candidate view area range, and providing the first user interface It may further include determining the view area range based on the first user input obtained through the display.
  • the operation of obtaining the second user input includes determining at least one candidate object area based on information about the one or more objects or user preference information, and the determined at least one candidate object area may include displaying on the display of the electronic device.
  • the method includes providing a second user interface for setting a boundary of the object area within the view area based on the at least one candidate object area, and the second user interface.
  • the method may further include determining the first view area based on the second user input obtained through a user interface.
  • the operation of determining the first view area may be performed when, while displaying an image corresponding to the first view area, it is confirmed that the image does not include an object area, and the object area is within the range of the view area. It may include an operation of detecting an area, and an operation of changing and displaying the first view area based on the detected object area.
  • the method includes obtaining a third user input to change the object area within the view area range, and determining a second view area based on the object area changed by the third user input. It may further include an operation of displaying an image corresponding to the second view area.
  • the operation of determining the first view area includes determining the first view area to include all of the plurality of object areas when confirming that a plurality of object areas are designated by the second user input. Can include actions.
  • the operation of determining the first view area includes obtaining a magnification setting input including at least one of a minimum zoom magnification and a maximum zoom magnification from the user, and determining the maximum view based on the magnification setting input.
  • An operation of determining the first view area within the area may be included.
  • Electronic devices may be of various types.
  • Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances.
  • Electronic devices according to embodiments of this document are not limited to the above-described devices.
  • 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 phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof.
  • Terms such as “first”, “second”, or “first” or “second” may be used simply to distinguish one element from another, and may be used to distinguish such elements in other respects, such as importance or order) is not limited.
  • One (e.g. first) component is said to be “coupled” or “connected” to another (e.g. second) component, with or without the terms “functionally” or “communicatively”. Where mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
  • module used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example.
  • a module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of the present document are one or more instructions stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including these.
  • a processor e.g., processor 120
  • the one or more instructions may include code generated by a compiler or code that can be executed by an interpreter.
  • a storage medium that can be read by a device may be provided in the form of a non-transitory storage medium.
  • “non-transitory” simply means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves). This term refers to cases where data is stored semi-permanently in the storage medium. There is no distinction between temporary storage cases.
  • Computer program products are commodities and can be traded between sellers and buyers.
  • the computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smartphones) or online.
  • a machine-readable storage medium e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play Store TM
  • two user devices e.g. It can be distributed (e.g. downloaded or uploaded) directly between smartphones) or online.
  • at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
  • each component (eg, module or program) of the above-described components may include a single entity or a plurality of entities.
  • one or more of the components or operations described above may be omitted, or one or more other components or operations may be added.
  • multiple components eg, modules or programs
  • 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 of the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or , or one or more other operations may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 카메라 모듈, 디스플레이, 적어도 하나의 프로세서, 및 메모리를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 카메라 어플리케이션이 실행된 동안 자동 프레이밍(auto-framing) 기능이 활성화됨을 확인함에 응답하여, 상기 카메라 모듈에 의해 제공되는 최대 뷰 영역을 확인하고, 상기 최대 뷰 영역 내에서 이동 가능한 뷰 영역 범위를 지정하기 위한 제1 사용자 입력을 획득하고, 상기 뷰 영역 범위 내에서 추적하고자 하는 객체 영역을 지정하기 위한 제2 사용자 입력을 획득하고, 상기 제1 사용자 입력 및 상기 제2 사용자 입력을 기반으로 상기 객체 영역을 포함하는 제1 뷰 영역을 결정하고, 상기 결정된 제1 뷰 영역에 대응하는 이미지를 상기 디스플레이 상에 표시할 수 있다. 이 외에도 본 문서를 통해 파악되는 다양한 실시 예들이 가능하다.

Description

이미지의 뷰 영역을 결정하는 전자 장치 및 그 동작 방법
본 문서에 개시되는 다양한 실시 예들은 이미지의 뷰 영역을 결정하는 전자 장치 및 그 동작 방법에 관한 것이다.
일상 생활에서 휴대 전자 장치를 소지하는 것이 일반화되면서, 휴대 전자 장치의 카메라 기능 활용이 크게 증가하였고, 카메라 기능이 휴대 전자 장치를 선택하는 기준이 될 정도로 휴대 전자 장치를 이용한 촬영은 없어서는 안될 기능으로 인식되고 있다. 최근에는, 휴대 전자 장치에 구현되는 카메라 기능이 고도화되면서, 피사체에 따라 자동으로 촬영 프레임을 최적화하여 구도를 조절하는 자동 프레이밍(auto-framing)은 휴대 전자 장치의 표준 기능으로 빠르게 자리잡고 있다. 예컨대, 자동 프레이밍 기능이 활성화된 경우, 전자 장치는 촬영하고자 하는 피사체를 감지하고, 감지된 피사체의 수나 움직임, 또는 위치에 따라 촬영 앵글 및/또는 줌(zoom)을 조절하여 이미지를 제공할 수 있다.
본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 카메라 모듈, 디스플레이, 상기 카메라 모듈 및 상기 디스플레이와 작동적으로 연결된 적어도 하나의 프로세서, 및 상기 적어도 하나의 프로세서와 작동적으로 연결된 메모리를 포함할 수 있다. 상기 적어도 하나의 프로세서는, 카메라 어플리케이션이 실행된 동안 자동 프레이밍(auto-framing) 기능이 활성화됨을 확인함에 응답하여, 상기 카메라 모듈에 의해 제공되는 최대 뷰 영역을 확인하고, 상기 최대 뷰 영역 내에서 이동 가능한 뷰 영역 범위를 지정하기 위한 제1 사용자 입력을 획득하고, 상기 뷰 영역 범위 내에서 추적하고자 하는 객체 영역을 지정하기 위한 제2 사용자 입력을 획득하고, 상기 제1 사용자 입력 및 상기 제2 사용자 입력을 기반으로 상기 객체 영역을 포함하는 제1 뷰 영역을 결정하고, 상기 결정된 제1 뷰 영역에 대응하는 이미지를 상기 디스플레이 상에 표시할 수 있다.
본 문서에 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 카메라 어플리케이션이 실행된 동안 자동 프레이밍(auto-framing) 기능이 활성화됨을 확인함에 응답하여, 상기 전자 장치의 카메라 모듈에 의해 제공되는 최대 뷰 영역을 확인하는 동작, 상기 최대 뷰 영역 내에서 이동 가능한 뷰 영역 범위를 지정하기 위한 제1 사용자 입력을 획득하는 동작, 상기 뷰 영역 범위 내에서 추적하고자 하는 객체 영역을 지정하기 위한 제2 사용자 입력을 획득하는 동작, 상기 제1 사용자 입력 및 상기 제2 사용자 입력을 기반으로 상기 객체 영역을 포함하는 제1 뷰 영역을 결정하는 동작, 및 상기 결정된 제1 뷰 영역에 대응하는 이미지를 디스플레이 하는 동작을 포함할 수 있다.
도 1은 다양한 실시 예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시 예들에 따른, 카메라 모듈을 예시하는 블럭도이다.
도 3은 일 실시 예에 따른 전자 장치의 블록도이다.
도 4a, 도 4b, 도 4c 및 도 4d는 일 실시 예에 따라, 자동 프레이밍 기능이 활성화된 경우 뷰 영역을 결정하여 디스플레이 하는 방식을 설명하는 도면이다.
도 5는 일 실시 예에 따른, 전자 장치의 동작 방법을 도시하는 흐름도이다.
도 6은 일 실시 예에 따라, 전자 장치가 뷰 영역 범위를 결정하는 세부 동작을 설명하는 흐름도이다.
도 7은 일 실시 예에 따라, 전자 장치가 객체 영역을 결정하는 세부 동작을 설명하는 흐름도이다.
도 8은 일 실시 예에 따라, 객체 영역을 기반으로 결정된 뷰 영역에 대응하는 이미지를 제공하는 방식을 설명하는 도면이다.
도 9는 일 실시 예에 따라, 객체 영역을 기반으로 결정된 뷰 영역에 대응하는 이미지를 제공하는 방식을 설명하는 도면이다.
도 10은 일 실시 예에 따라, 객체 영역을 기반으로 결정된 뷰 영역에 대응하는 이미지를 제공하는 방식을 설명하는 도면이다.
도 11은 일 실시 예에 따라, 복수의 객체 영역을 기반으로 결정된 뷰 영역에 대응하는 이미지를 제공하는 방식을 설명하는 도면이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
이하, 첨부된 도면을 참조하여 본 문서에 개시된 다양한 실시 예들이 설명된다. 이는 본 발명의 다양한 실시 예들을 특정한 형태로 한정하려는 것이 아니며, 본 발명의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.
카메라의 자동 프레이밍(auto framing) 기능은 카메라에서 획득할 수 있는 최대 뷰 영역 내에 위치한 주 피사체를 추적하여, 주 피사체에 대하여 초점을 맞추고 지속적으로 이미지 프레임의 중심에 배치되도록 촬영 구도를 조절하는 기능을 의미할 수 있다. 자동 프레이밍 기능이 활성화된 경우, 전자 장치는 카메라의 최대 뷰 영역 내에서 인식된 피사체를 기준으로 자동으로 촬영 구도를 결정할 수 있다. 이로 인해, 자동 프레이밍 기능이 활성화된 상태에서 카메라를 통해 보여지는 뷰 영역의 이동 범위는 사용자가 원하는 피사체의 크기나 구도와 관계없이 카메라의 최대 뷰 영역 내에서 고정될 수 있다. 또한, 촬영 중 피사체에 대한 추적 설정이 해제되면, 전자 장치는 카메라의 최대 뷰 영역을 기반으로 피사체를 다시 검출하여 촬영 구도를 재설정할 수 있는데, 이 과정에서 카메라를 통해 보여지는 뷰 영역이 크게 변경되어 사용자가 불편함을 느낄 수 있다.
본 개시의 다양한 실시 예들에서는, 카메라의 자동 프레이밍 기능 사용 시 사용자로 하여금 카메라의 최대 뷰 영역 내에서 이동 가능한 뷰 영역 범위와 상기 뷰 영역 범위 내에서 추적하고자 하는 피사체의 영역을 지정하도록 함으로써, 사용자가 원하는 구도의 이미지를 제공할 수 있다. 본 개시의 다양한 실시 예들에서는, 이미지 분석을 기반으로 카메라의 최대 뷰 영역 내에서 피사체를 검출할 영역 범위와 피사체로 지정할 영역을 추천하고, 사용자의 설정을 유도함으로써, 사용자의 요구에 부합하는 이미지 촬영이 가능해지도록 할 수 있다. 본 개시의 다양한 실시 예들에서는, 카메라의 최대 뷰 영역 내의 지정된 뷰 영역 범위를 기반으로 피사체의 추적 및 뷰 영역 변경을 수행함으로써, 불필요한 뷰 영역의 이동을 방지하고, 자동 프레이밍 기능과 관련된 연산을 보다 빠르고 안정적으로 처리할 수 있다.
도 1은 일 실시 예에 따른 네트워크 환경(100) 내의 전자 장치를 도시한 도면이다.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시 예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted Boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시 예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, Wi-Fi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시 예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시 예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제2 면(예: 윗면 또는 측면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일 실시 예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시 예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시 예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시 예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 2는 다양한 실시예들에 따른, 카메라 모듈(180)을 예시하는 블럭도(200)이다.
도 2를 참조하면, 카메라 모듈(180)은 렌즈 어셈블리(210), 플래쉬(220), 이미지 센서(230), 이미지 스태빌라이저(240), 메모리(250)(예: 버퍼 메모리), 또는 이미지 시그널 프로세서(260)를 포함할 수 있다. 렌즈 어셈블리(210)는 이미지 촬영의 대상인 피사체로부터 방출되는 빛을 수집할 수 있다. 렌즈 어셈블리(210)는 하나 또는 그 이상의 렌즈들을 포함할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 복수의 렌즈 어셈블리(210)들을 포함할 수 있다. 이런 경우, 카메라 모듈(180)은, 예를 들면, 듀얼 카메라, 360도 카메라, 또는 구형 카메라(spherical camera)를 형성할 수 있다. 복수의 렌즈 어셈블리(210)들 중 일부는 동일한 렌즈 속성(예: 화각, 초점 거리, 자동 초점, f 넘버(f number), 또는 광학 줌)을 갖거나, 또는 적어도 하나의 렌즈 어셈블리는 다른 렌즈 어셈블리의 렌즈 속성들과 다른 하나 이상의 렌즈 속성들을 가질 수 있다. 렌즈 어셈블리(210)는, 예를 들면, 광각 렌즈 또는 망원 렌즈를 포함할 수 있다.
플래쉬(220)는 피사체로부터 방출 또는 반사되는 빛을 강화하기 위하여 사용되는 빛을 방출할 수 있다. 일실시예에 따르면, 플래쉬(220)는 하나 이상의 발광 다이오드들(예: RGB(red-green-blue) LED, white LED, infrared LED, 또는 ultraviolet LED), 또는 xenon lamp를 포함할 수 있다. 이미지 센서(230)는 피사체로부터 방출 또는 반사되어 렌즈 어셈블리(210) 를 통해 전달된 빛을 전기적인 신호로 변환함으로써, 상기 피사체에 대응하는 이미지를 획득할 수 있다. 일실시예에 따르면, 이미지 센서(230)는, 예를 들면, RGB 센서, BW(black and white) 센서, IR 센서, 또는 UV 센서와 같이 속성이 다른 이미지 센서들 중 선택된 하나의 이미지 센서, 동일한 속성을 갖는 복수의 이미지 센서들, 또는 다른 속성을 갖는 복수의 이미지 센서들을 포함할 수 있다. 이미지 센서(230)에 포함된 각각의 이미지 센서는, 예를 들면, CCD(charged coupled device) 센서 또는 CMOS(complementary metal oxide semiconductor) 센서를 이용하여 구현될 수 있다.
이미지 스태빌라이저(240)는 카메라 모듈(180) 또는 이를 포함하는 전자 장치(101)의 움직임에 반응하여, 렌즈 어셈블리(210)에 포함된 적어도 하나의 렌즈 또는 이미지 센서(230)를 특정한 방향으로 움직이거나 이미지 센서(230)의 동작 특성을 제어(예: 리드 아웃(read-out) 타이밍을 조정 등)할 수 있다. 이는 촬영되는 이미지에 대한 상기 움직임에 의한 부정적인 영향의 적어도 일부를 보상하게 해 준다. 일실시예에 따르면, 이미지 스태빌라이저(240)는, 일실시예에 따르면, 이미지 스태빌라이저(240)은 카메라 모듈(180)의 내부 또는 외부에 배치된 자이로 센서(미도시) 또는 가속도 센서(미도시)를 이용하여 카메라 모듈(180) 또는 전자 장치(101)의 그런 움직임을 감지할 수 있다. 일실시예에 따르면, 이미지 스태빌라이저(240)는, 예를 들면, 광학식 이미지 스태빌라이저로 구현될 수 있다. 메모리(250)는 이미지 센서(230)을 통하여 획득된 이미지의 적어도 일부를 다음 이미지 처리 작업을 위하여 적어도 일시 저장할 수 있다. 예를 들어, 셔터에 따른 이미지 획득이 지연되거나, 또는 복수의 이미지들이 고속으로 획득되는 경우, 획득된 원본 이미지(예: Bayer-patterned 이미지 또는 높은 해상도의 이미지)는 메모리(250)에 저장이 되고, 그에 대응하는 사본 이미지(예: 낮은 해상도의 이미지)는 디스플레이 모듈(160)을 통하여 프리뷰될 수 있다. 이후, 지정된 조건이 만족되면(예: 사용자 입력 또는 시스템 명령) 메모리(250)에 저장되었던 원본 이미지의 적어도 일부가, 예를 들면, 이미지 시그널 프로세서(260)에 의해 획득되어 처리될 수 있다. 일실시예에 따르면, 메모리(250)는 메모리(130)의 적어도 일부로, 또는 이와는 독립적으로 운영되는 별도의 메모리로 구성될 수 있다.
이미지 시그널 프로세서(260)는 이미지 센서(230)을 통하여 획득된 이미지 또는 메모리(250)에 저장된 이미지에 대하여 하나 이상의 이미지 처리들을 수행할 수 있다. 상기 하나 이상의 이미지 처리들은, 예를 들면, 깊이 지도(depth map) 생성, 3차원 모델링, 파노라마 생성, 특징점 추출, 이미지 합성, 또는 이미지 보상(예: 노이즈 감소, 해상도 조정, 밝기 조정, 블러링(blurring), 샤프닝(sharpening), 또는 소프트닝(softening)을 포함할 수 있다. 추가적으로 또는 대체적으로, 이미지 시그널 프로세서(260)는 카메라 모듈(180)에 포함된 구성 요소들 중 적어도 하나(예: 이미지 센서(230))에 대한 제어(예: 노출 시간 제어, 또는 리드 아웃 타이밍 제어 등)를 수행할 수 있다. 이미지 시그널 프로세서(260)에 의해 처리된 이미지는 추가 처리를 위하여 메모리(250)에 다시 저장 되거나 카메라 모듈(180)의 외부 구성 요소(예: 메모리(130), 디스플레이 모듈(160), 전자 장치(102), 전자 장치(104), 또는 서버(108))로 제공될 수 있다. 일실시예에 따르면, 이미지 시그널 프로세서(260)는 프로세서(120)의 적어도 일부로 구성되거나, 프로세서(120)와 독립적으로 운영되는 별도의 프로세서로 구성될 수 있다. 이미지 시그널 프로세서(260)이 프로세서(120)과 별도의 프로세서로 구성된 경우, 이미지 시그널 프로세서(260)에 의해 처리된 적어도 하나의 이미지는 프로세서(120)에 의하여 그대로 또는 추가의 이미지 처리를 거친 후 디스플레이 모듈(160)를 통해 표시될 수 있다.
일 실시예에 따르면, 전자 장치(101)는 각각 다른 속성 또는 기능을 가진 복수의 카메라 모듈(180)들을 포함할 수 있다. 이런 경우, 예를 들면, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 광각 카메라이고, 적어도 다른 하나는 망원 카메라일 수 있다. 유사하게, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 전면 카메라이고, 적어도 다른 하나는 후면 카메라일 수 있다.
도 3은 일 실시 예에 따른 전자 장치(300)의 블록도이다.
도 3을 참조하면, 전자 장치(300)는 카메라를 통해 획득 가능한 최대 뷰 영역 내에서 사용자가 지정한 뷰 영역 범위를 기반으로 피사체를 추적하여 이미지를 제공하는 장치로서, 카메라 모듈(310), 디스플레이(320), 적어도 하나의 프로세서(330), 또는 메모리(340)를 포함할 수 있다. 도 3에서, 전자 장치(300)는 도 1에 도시된 전자 장치(101)에 대응될 수 있다.
일 실시 예에서, 카메라 모듈(310) (예: 도 1의 카메라 모듈(180))은 사용자의 조작에 따라 피사체를 촬영할 수 있다. 예를 들어, 카메라 모듈(310)은 카메라 모듈(310)에 의해 획득 가능한 최대 뷰 영역 내에서 상기 피사체를 포함하는 이미지를 획득할 수 있다. 본 개시의 다양한 실시예에서, 뷰 영역은 카메라 모듈(310)에 의해 보여지는 영역으로서, 화각(field of view)에 대응될 수 있다. 다양한 실시 예에 따라, 전자 장치(300)는 상이한 화각을 가지는 하나 이상의 카메라를 포함할 수 있다.
일 실시 예에서, 디스플레이(320) (예: 도 1의 디스플레이 모듈(160))은 카메라 모듈(310)에 의해 획득된 이미지를 표시할 수 있다. 예를 들어, 디스플레이(320)는 카메라 모듈(310)에 대하여 설정된 뷰 영역에 대응하는 이미지를 표시할 수 있다.
일 실시 예에서, 디스플레이(320)는 LCD(liquid crystal display), TFT-LCD(thin film transistor LCD), OLED(organic light emitting diodes), 발광다이오드(LED), AMOLED(active matrix organic LED), 플렉서블 디스플레이(flexible display) 및 3차원 디스플레이(3 dimension display) 중 적어도 하나 이상으로 구성될 수 있다. 또한 이들 중 일부 디스플레이는 그를 통해 외부를 볼 수 있도록 투명형 또는 광투과형으로 구성될 수 있다. 이는 TOLED(transparent OLED)를 포함하는 투명 디스플레이 형태로 구성될 수 있다.
일 실시 예에서, 메모리(340) (예: 도 1의 메모리(130))는 실행 시에, 적어도 하나의 프로세서(330) (예: 도 1의 프로세서(120))가 각종 동작들을 수행하도록 제어하는 인스트럭션들을 저장할 수 있다. 예를 들어, 적어도 하나의 프로세서(330)는 카메라의 자동 프레이밍(auto framing) 기능 사용 시 사용자에 의해 지정된 뷰 영역 범위와 객체 영역을 기반으로 결정된 구도의 이미지를 획득하기 위한 동작들을 수행할 수 있다
일 실시 예에서, 적어도 하나의 프로세서(330)는 전자 장치(300)에 설치된 카메라 어플리케이션이 실행된 동안 자동 프레이밍 기능이 활성화됨을 확인할 수 있다. 적어도 하나의 프로세서(330)는 카메라 모듈(310)에 대한 설정 정보를 기반으로 상기 자동 프레이밍 기능의 활성화 여부를 확인할 수 있다. 다양한 실시 예에 따라, 적어도 하나의 프로세서(330)는 상기 카메라 어플리케이션 실행 시 카메라 모듈(310)의 초기 줌 배율을 기반으로 프리뷰 이미지를 디스플레이(320)에 표시할 수 있다. 카메라 모듈(310)의 초기 줌 배율은 상기 카메라 어플리케이션에 의해 설정된 기본 줌 배율(예: 1.0 배율) 또는 사용자에 의해 기 지정된 배율일 수 있다. 적어도 하나의 프로세서(330)는 사용자에 의해 촬영 구도와 관련된 설정 값이 별도 입력되기 전까지 상기 기본 줌 배율을 유지할 수 있다.
일 실시 예에서, 적어도 하나의 프로세서(330)는 상기 자동 프레이밍 기능이 활성화됨을 확인하면, 카메라 모듈(310)에 의해 제공되는 최대 뷰 영역을 확인할 수 있다. 상기 최대 뷰 영역은 카메라 모듈(310)를 통해 제공 가능한 최대 화각에 대응될 수 있다.
일 실시 예에서, 적어도 하나의 프로세서(330)는 상기 최대 뷰 영역 내에서 이동 가능한 뷰 영역 범위를 지정하기 위한 제1 사용자 입력을 획득할 수 있다. 상기 뷰 영역 범위는 카메라 모듈(310)을 이용하여 촬영을 진행하는 동안 상기 최대 뷰 영역 내에서 객체를 검출하는 범위로 이해될 수 있다. 적어도 하나의 프로세서(330)는 상기 제1 사용자 입력을 기반으로 지정된 뷰 영역 범위 내에서 이동하면서 객체를 검출하고 지속적으로 추적할 수 있다. 다양한 실시 예에 따라, 적어도 하나의 프로세서(330)는 상기 최대 뷰 영역 내에서 지정 가능한 뷰 영역 범위를 사용자에 추천할 수 있다. 적어도 하나의 프로세서(330)는 카메라 모듈(310)을 이용하여 지정된 시간동안 획득된 복수 개의 연속적인 프레임들로부터 하나 이상의 객체를 검출하고, 상기 하나 이상의 객체에 대한 분석을 기반으로 후보 뷰 영역 범위를 결정할 수 있다. 예를 들어, 적어도 하나의 프로세서(330)는 상기 하나 이상의 객체의 개수, 위치, 움직임 또는 방향 중 적어도 하나를 기반으로 상기 후보 뷰 영역 범위를 결정할 수 있으며, 상기 결정된 후보 뷰 영역 범위를 디스플레이(320) 상에 표시하여 추천할 수 있다. 이 경우, 적어도 하나의 프로세서(330)는 상기 적어도 하나의 객체의 움직임이 감지되는 영역과 방향을 기준으로 지정된 비율의 마진(margin)을 적용하여 상기 후보 뷰 영역 범위를 결정할 수 있다. 상기 마진은 상기 최대 뷰 영역 내에서 검출된 상기 적어도 하나의 객체의 특성에 따라 상이하게 적용될 수 있으며, 상기 최대 뷰 영역 내에서 사용자에 의해 설정된 촬영 구도(예: 촬영 앵글 또는 줌 배율)를 유지하도록 조절될 수 있다. 다양한 실시 예에 따라, 상기 최대 뷰 영역 내에서 복수 개의 객체들이 검출되는 경우, 적어도 하나의 프로세서(330)는 상기 복수 개의 객체들 중 움직임이 활발하거나 중요도가 높은 객체의 방향을 기준으로 상기 후보 뷰 영역 범위를 결정할 수 있다. 다른 예를 들어, 적어도 하나의 프로세서(330)는 상기 복수 개의 객체들에 대하여 확인된 움직임 정도나 중요도가 동일 또는 유사한 범위 내에 있으면, 상기 복수 개의 객체들을 모두 포함하도록 상기 후보 뷰 영역 범위를 결정할 수 있다.
일 실시 예에서, 적어도 하나의 프로세서(330)는 자동 프레이밍 기능 사용 시 사용자가 원하는 구도를 반영하기 위해, 제1 사용자 입력을 유도할 수 있다. 예시적으로, 적어도 하나의 프로세서(330)는 상기 최대 뷰 영역의 적어도 일부를 상기 뷰 영역 범위로 지정하기 위한 제1 사용자 인터페이스를 제공할 수 있다. 상기 제1 사용자 인터페이스는 상기 최대 뷰 영역 내에서 좌우 방향 및/또는 상하 방향의 범위를 설정(또는 변경)할 수 있는 윈도우 박스 형태일 수 있다. 적어도 하나의 프로세서(330)는 상기 제1 사용자 인터페이스를 통해 획득한 제1 사용자 입력을 기반으로 상기 뷰 영역 범위를 결정할 수 있다. 다양한 실시 예에 따라, 적어도 하나의 프로세서(330)는 프레임 이미지의 분석을 기반으로 결정된 상기 후보 뷰 영역 범위를 기반으로 상기 제1 사용자 인터페이스를 제공할 수 있다. 예를 들어, 적어도 하나의 프로세서(330)는 상기 후보 영역 범위에 대응하는 위치에 상기 제1 사용자 인터페이스를 배치할 수 있다. 다양한 실시 예에 따라, 적어도 하나의 프로세서(330)는 사용자에 의해 상기 최대 뷰 영역 내 상기 뷰 영역 범위가 지정되지 않음을 확인하면, 프레임 이미지의 분석을 기반으로 결정된 상기 후보 뷰 영역 범위를 상기 뷰 영역 범위로 자동 지정할 수 있다.
일 실시 예에서, 적어도 하나의 프로세서(330)는 상기 뷰 영역 범위 내에서 추적하고자 하는 객체 영역을 지정하기 위한 제2 사용자 입력을 획득할 수 있다. 상기 객체 영역은 상기 뷰 영역 범위 내에서 지속적으로 추적할 대상인 객체를 포함하는 영역으로, 상기 객체의 안면부나 상체 부분 외에도 상기 객체의 주변부를 포함하도록 지정될 수 있다. 다양한 실시 예에 따라, 적어도 하나의 프로세서(330)는 상기 뷰 영역 범위 내에서 지정 가능한 객체 영역을 사용자에 추천할 수 있다. 적어도 하나의 프로세서(330)는 상기 뷰 영역 범위 내에서 검출된 하나 이상의 객체에 관한 정보 또는 사용자 선호 정보를 기반으로 적어도 하나의 후보 객체 영역을 결정할 수 있다. 예를 들어, 적어도 하나의 프로세서(330)는 사용자에 의해 지정된 객체 또는 메모리(340)에 기 저장된 이미지에 출현 빈도가 높은 객체를 주요 객체로 결정하고, 상기 주요 객체를 기준으로 상기 적어도 하나의 후보 객체 영역을 지정할 수 있다. 다른 예를 들어, 적어도 하나의 프로세서(330)는 상기 검출된 하나 이상의 객체 각각의 종류 또는 위치를 기반으로 주요 객체를 결정할 수도 있다. 예시적으로, 적어도 하나의 프로세서(330)는 인물과 동물 중 인물을 주요 객체로 결정할 수 있고, 여러 명의 인물이 검출되는 경우 전면에 위치한 인물(즉, 전자 장치(300)와의 거리가 보다 가까운 인물) 또는 지속적으로 움직임이 감지되는 인물을 주요 객체로 결정할 수 있다. 적어도 하나의 프로세서(330)는 상기 결정된 주요 객체를 포함하도록 상기 적어도 하나의 후보 객체 영역을 지정할 수 있다.
일 실시 예에서, 적어도 하나의 프로세서(330)는 자동 프레이밍 기능 사용 시 사용자가 원하는 피사체의 구도를 반영하기 위해, 제2 사용자 입력을 유도할 수 있다. 예시적으로, 적어도 하나의 프로세서(330)는 상기 뷰 영역 범위 내 상기 객체 영역의 바운더리(boundary)를 설정하기 위한 제2 사용자 인터페이스를 제공할 수 있다. 상기 제2 사용자 인터페이스는 상기 뷰 영역 범위 내에서 검출된 객체를 기준으로 좌우 방향 및/또는 상하 방향의 범위를 설정(또는 변경)할 수 있는 윈도우 박스 형태일 수 있다. 적어도 하나의 프로세서(330)는 상기 제2 사용자 인터페이스를 통해 획득한 제2 사용자 입력을 기반으로 상기 객체 영역을 결정할 수 있다. 다양한 실시 예에 따라, 적어도 하나의 프로세서(330)는 상기 뷰 영역 범위 내 하나 이상의 객체에 관한 정보 또는 사용자 선호 정보를 기반으로 결정된 상기 적어도 하나의 후보 객체 영역을 기반으로 상기 제2 사용자 인터페이스를 제공할 수 있다. 예를 들어, 적어도 하나의 프로세서(330)는 상기 적어도 하나의 후보 객체 영역에 대응하는 위치에 상기 제2 사용자 인터페이스를 배치하여 제공할 수 있다. 다양한 실시 예에 따라, 적어도 하나의 프로세서(330)는 사용자에 의해 상기 뷰 영역 범위 내 상기 객체 영역이 지정되지 않음을 확인하면, 상기 적어도 하나의 후보 객체 영역을 상기 객체 영역으로 자동 지정할 수 있다.
일 실시 예에서, 적어도 하나의 프로세서(330)는 상기 제1 사용자 입력에 의해 지정된 상기 뷰 영역 범위와 상기 제2 사용자 입력에 의해 지정된 객체 영역을 기반으로 디스플레이 상에 표시할 제1 뷰 영역을 결정할 수 있다. 적어도 하나의 프로세서(330)는 상기 뷰 영역 범위 내에서 상기 객체 영역을 포함하도록 상기 제1 뷰 영역을 결정할 수 있다. 다양한 실시 예에 따라, 적어도 하나의 프로세서(330)는 상기 객체 영역에 대한 줌 배율을 고려하여 상기 제1 뷰 영역을 결정할 수 있다. 예를 들어, 적어도 하나의 프로세서(330)는 상기 최대 뷰 영역의 크기 및 상기 뷰 영역 범위의 크기를 기반으로 최소 줌 배율을 계산할 수 있다. 이 경우, 적어도 하나의 프로세서(330)는 상기 최대 뷰 영역의 가로, 세로 길이를 각각 상기 뷰 영역 범위의 가로, 세로 길이로 나눈 값 중 큰 값을 상기 최소 줌 배율로 계산하고, 상기 계산된 최소 줌 배율 이상의 줌 배율로 상기 객체 영역이 보이도록 상기 제1 뷰 영역을 결정할 수 있다. 다른 예를 들어, 적어도 하나의 프로세서(330)는 사용자로부터 최소 줌 배율 또는 최대 줌 배율 중 적어도 하나를 포함하는 배율 설정 입력을 획득할 수 있다. 이 경우, 적어도 하나의 프로세서(330)는 상기 배율 설정 입력을 기반으로 상기 최대 뷰 영역 내에서 상기 객체 영역에 대하여 상기 최대 줌 배율 이하 및/또는 상기 최소 줌 배율 이상을 유지하도록 상기 제1 뷰 영역을 결정할 수 있다. 다양한 실시 예에 따라, 적어도 하나의 프로세서(330)는 상기 제2 사용자 입력에 의해 복수 개의 객체 영역이 지정됨을 확인하면, 상기 복수 개의 객체 영역을 모두 포함하도록 상기 제1 뷰 영역을 결정할 수 있다. 이 때, 상기 제1 뷰 영역은 상기 복수 개의 객체 영역에 대하여 상기 최소 줌 배율을 유지하도록 결정될 수 있다.
일 실시 예에서, 적어도 하나의 프로세서(330)는 상기 결정된 제1 뷰 영역에 대응하는 이미지를 디스플레이(320) 상에 표시할 수 있다. 적어도 하나의 프로세서(330)는 상기 제1 뷰 영역에 대응하는 이미지를, 실행 중인 상기 카메라 어플리케이션의 프리뷰 이미지로서 제공하거나, 또는 동영상 화면으로 제공할 수 있다.
일 실시 예에서, 적어도 하나의 프로세서(330)는 상기 제1 뷰 영역에 대응하는 이미지를 디스플레이(320)를 통해 제공하는 동안 상기 제1 뷰 영역 내에 상기 객체 영역이 포함되지 않음을 확인하면, 상기 뷰 영역 범위 내에서 상기 객체 영역을 다시 검출할 수 있다. 적어도 하나의 프로세서(330)는 상기 검출된 객체 영역을 기반으로 상기 제1 뷰 영역을 변경하고, 상기 변경된 제1 뷰 영역에 대응하는 이미지를 디스플레이(320) 상에 표시할 수 있다.
일 실시 예에서, 적어도 하나의 프로세서(330)는 상기 제1 뷰 영역에 대응하는 이미지를 제공하는 중 상기 객체 영역을 변경하기 위한 제3 사용자 입력을 감지할 수 있다. 이 경우, 적어도 하나의 프로세서(330)는 상기 제3 사용자 입력에 의해 변경된 객체 영역을 기반으로 제2 뷰 영역을 결정하고, 상기 제1 뷰 영역에 대응하는 이미지를 상기 제2 뷰 영역에 대응하는 이미지로 대체하여 디스플레이(320)를 통해 제공할 수 있다.
도 4a, 도 4b, 도 4c 및 도 4d는 일 실시 예에 따라, 자동 프레이밍 기능이 활성화된 경우 뷰 영역을 결정하여 디스플레이 하는 방식을 설명하는 도면이다. 다양한 실시 예에 따라, 전자 장치(300)는 카메라 모듈(예: 도 1의 카메라 모듈(180) 또는 도 3의 카메라 모듈(310))을 이용하여 촬영을 진행하는 동안 사용자에 의해 지정된 뷰 영역 범위와 객체 영역을 기반으로 이미지를 제공할 수 있다.
도 4a에서, 전자 장치(300)는 카메라 모듈(310)의 자동 프레이밍 기능이 활성화됨을 감지하면, 카메라 모듈(310)을 통해 제공 가능한 최대 뷰 영역(400)을 확인할 수 있다. 상기 최대 뷰 영역(400)은 카메라 모듈(310)의 최대 화각에 대응하여 결정될 수 있다.
도 4b에서, 전자 장치(300)는 상기 최대 뷰 영역(400) 내에서 적어도 하나의 객체의 검출 및 추적을 위해 이동 가능한 뷰 영역 범위(410)를 지정할 수 있다. 전자 장치(300)는 상기 뷰 영역 범위(410)의 지정을 위해 윈도우 박스 형태의 사용자 인터페이스를 제공할 수 있다. 예시적으로, 전자 장치(300)는 사용자의 터치 입력에 의해 설정 또는 이동된 상기 사용자 인터페이스의 4개의 모서리 지점(411, 412, 413, 414)을 기준으로 상기 뷰 영역 범위(410)를 지정할 수 있다. 도 4b를 참조하면, 상기 사용자 인터페이스의 좌측 상단 모서리 지점(411), 좌측 하단 모서리 지점(412), 우측 상단 모서리 지점(413) 또는 우측 하단 모서리 지점(414)을 기준으로 형성된 바운더리 내 영역이 상기 뷰 영역 범위(410)로 결정될 수 있다.
다양한 실시 예에 따라, 전자 장치(300)는 상기 최대 뷰 영역(400) 내에서 지정 가능한 뷰 영역 범위(410)를 연산하여 사용자에 추천할 수 있다. 전자 장치(300)는 지정된 시간동안 획득된 연속적인 프레임들을 분석하여, 상기 최대 뷰 영역(400) 내에서 움직임 없이 위치가 고정된 백그라운드(background)와 움직임이 있는 객체를 분류하고, 상기 객체의 개수, 위치, 움직임 또는 방향을 고려하여 후보 뷰 영역 범위를 결정할 수 있다. 예를 들어, 전자 장치(300)는 상기 최대 뷰 영역(400) 내에서 복수 개의 객체들을 검출하면, 상기 복수 개의 객체들을 모두 포함하도록 상기 후보 뷰 영역 범위를 결정할 수 있다. 전자 장치(300)는 상기 결정된 후보 뷰 영역 범위를 상기 뷰 영역 범위(410)로서 추천할 수 있다. 일 실시 예에서, 전자 장치(300)는 상기 최대 뷰 영역(400) 내에서 검출된 객체의 움직임이 감지되는 영역과 방향을 기준으로 지정된 비율의 마진(margin)을 적용하여 상기 후보 뷰 영역 범위를 결정할 수 있다. 이 경우, 전자 장치(300)는 상기 검출된 객체의 특성에 따라 상이한 비율의 마진을 적용할 수 있다. 예를 들어, 전자 장치(300)는 상기 검출된 객체가 특정 인물의 전신인 경우 상기 객체의 상측 방향으로 전신 높이의 30%, 하측 방향으로 전신 높이의 10%, 좌우 방향으로 전신 너비의 50%의 마진을 각각 포함하도록 상기 후보 뷰 영역 범위를 결정할 수 있다. 다른 예를 들어, 전자 장치(300)는 여러 명의 인물들이 상기 객체로 검출된 경우, 상기 인물들의 움직임 영역과 방향에 따라 좌/우/상/하 방향의 마진을 각각 다르게 설정하여 상기 후보 뷰 영역 범위를 결정할 수 있다. 다양한 실시 예에 따라, 도 4b에서, 전자 장치(300)는 상기 결정된 후보 뷰 영역 범위를 기반으로 상기 뷰 영역 범위(410)의 지정을 위한 사용자 인터페이스를 제공할 수 있다. 이 경우, 전자 장치(300)는 상기 후보 뷰 영역 범위에 대응하는 위치를, 상기 뷰 영역 범위(410)의 지정을 위한 사용자 인터페이스의 초기 위치로 설정하여 상기 사용자 인터페이스를 표시할 수 있다.
도 4c에서, 전자 장치(300)는 상기 뷰 영역 범위 내에서 추적하고자 하는 객체 영역(420)을 지정할 수 있다. 전자 장치(300)는 상기 객체 영역(420)의 지정을 위해 윈도우 박스 형태의 사용자 인터페이스를 제공할 수 있다. 상기 객체 영역(420)의 지정을 위한 사용자 인터페이스는, 상기 뷰 영역 범위(410)의 지정을 위한 사용자 인터페이스와 동일한 방식으로 제공될 수 있으며, 사용자의 터치 입력에 의해 형성된 좌/우/상/하 방향의 바운더리 내 영역이 상기 객체 영역(420)으로 결정될 수 있다.
다양한 실시 예에 따라, 전자 장치(300)는 상기 뷰 영역 범위 내에서 지정 가능한 객체 영역(420)을 사용자에 추천할 수 있다. 전자 장치(300)는 상기 뷰 영역 범위(410) 내에서 검출된 하나 이상의 객체에 관한 정보 또는 사용자 선호 정보를 기반으로 적어도 하나의 후보 객체 영역을 결정할 수 있다. 예를 들어, 전자 장치(300)는 사용자에 의해 지정된 객체가 있거나 또는 메모리(예: 도 1의 메모리(130) 또는 도 3의 메모리(340))에 기 저장된 이미지에 출현 빈도가 지정된 횟수를 초과하는 객체가 존재함을 확인하면, 해당 객체를 기준으로 상기 적어도 하나의 후보 객체 영역을 지정할 수 있다. 다른 예를 들어, 전자 장치(300)는 객체 선택 우선 순위를 고려하여 상기 후보 객체 영역을 지정할 수 있다. 상기 객체 선택 우선 순위는 상기 뷰 영역 범위(410) 내에서 검출된 하나 이상의 객체 각각의 종류나 위치에 따라 결정될 수 있다. 전자 장치(300)는 인물과 동물 중 인물에 대해 상대적으로 높은 우선 순위를 갖도록 결정할 수 있으며, 여러 명의 인물이 검출되는 경우 전면에 위치한 인물이 상대적으로 높은 우선 순위를 갖도록 결정할 수 있다. 전자 장치(300)는 상기 결정된 후보 객체 영역을 상기 객체 영역(420)으로 추천할 수 있다. 다양한 실시 예에 따라, 도 4c에서, 전자 장치(300)는 상기 결정된 후보 객체 영역을 기반으로 상기 객체 영역(420)의 지정을 위한 사용자 인터페이스를 제공할 수 있다. 이 경우, 전자 장치(300)는 상기 후보 객체 영역에 대응하는 위치를, 상기 객체 영역(420)의 지정을 위한 사용자 인터페이스의 초기 위치로 설정하여 상기 사용자 인터페이스를 표시할 수 있다. 상기 객체 영역(420)은 상기 뷰 영역 범위 내에서 추적하고자 하는 객체의 안면부나 상체 부분 외에 상기 객체의 주변부를 포함하도록 지정될 수 있다.
도 4c에서, 전자 장치(300)는 상기 지정된 뷰 영역 범위(410)와 상기 지정된 객체 영역(420)을 기반으로 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(320))를 통해 보여지는 뷰 영역(430)을 결정할 수 있다. 전자 장치(300)는 상기 뷰 영역 범위(410) 내에서 상기 객체 영역(420)을 포함하도록 상기 뷰 영역(430)을 결정할 수 있다.
도 4d에서, 전자 장치(300)는 상기 결정된 뷰 영역(430)에 대응하는 이미지를 디스플레이(320) 상에 표시할 수 있다. 상기 뷰 영역(430)에 대응하는 이미지는 카메라 모듈(310)이 실행된 동안 프리뷰 이미지 또는 동영상 화면으로 제공될 수 있다. 전자 장치(300)는 상기 뷰 영역(430)에 대응하는 이미지를 제공하는 동안 상기 객체 영역(420)에 대하여 최소 줌 배율을 유지하도록 설정할 수 있다. 일 실시 예에서, 상기 최소 줌 배율은 최대 뷰 영역(400)의 크기와 뷰 영역 범위(410)의 크기를 이용하여 계산될 수 있다. 예시적으로, 전자 장치(300)는 상기 최대 뷰 영역(400)의 가로 길이 또는 폭(width)을 상기 뷰 영역 범위(410)의 가로 길이 또는 폭으로 나눈 값과, 상기 최대 뷰 영역(400)의 세로 길이 또는 높이(height)를 상기 뷰 영역 범위(410)의 세로 길이 또는 높이로 나눈 값 중 큰 값을 상기 뷰 영역(430)의 최소 줌 배율로 결정할 수 있다. 일 실시 예에서, 전자 장치(300)는 사용자에 의해 입력된 배율 설정 정보를 기반으로 상기 뷰 영역(430)의 줌 배율을 설정할 수 있다. 이 경우, 전자 장치(300)는 상기 배율 설정 정보를 기반으로 상기 사용자에 의해 지정된 최대 줌 배율 및/또는 최소 줌 배율을 확인하고, 상기 뷰 영역(430) 내 객체 영역(420)에 대한 줌 배율이 상기 최대 줌 배율 이하 및/또는 상기 최소 줌 배율 이상을 유지하도록 설정할 수 있다.
다양한 실시 예에 따라, 전자 장치(300)는 상기 뷰 영역(430)에 대응하는 이미지를 제공하는 동안 객체 영역(420)을 지속적으로 추적할 수 있다. 전자 장치(300)는 상기 객체 영역(420)이 상기 뷰 영역(430)에서 벗어남을 확인하면, 상기 뷰 영역 범위(410) 내에서 객체 영역(420)을 다시 검출하고, 검출된 객체 영역(420)을 기반으로 뷰 영역(430)을 변경하여 표시할 수 있다.
다양한 실시 예에 따라, 전자 장치(300)는 상기 뷰 영역(430)에 대응하는 이미지를 제공하는 동안 사용자의 터치 입력에 의해 객체 영역(420)이 변경됨을 감지할 수 있다. 전자 장치(300)는 변경된 객체 영역(420)을 기반으로 새로운 뷰 영역(430)을 결정하고, 상기 새로운 뷰 영역(430)에 대응하는 이미지를 디스플레이(320) 상에 제공할 수 있다.
도 5는 일 실시 예에 따른, 전자 장치의 동작 방법을 도시하는 흐름도이다. 일 실시 예에 따르면, 전자 장치(300)는 카메라를 통해 획득 가능한 최대 뷰 영역 내에서 사용자가 지정한 뷰 영역 범위를 기반으로 피사체를 추적하여 이미지를 제공하는 장치로서, 도 1에 도시된 전자 장치(101)에 대응될 수 있다. 도 5의 동작들은 전자 장치(300)에 포함된 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 적어도 하나의 프로세서(330))에 의해 수행될 수 있다.
도 5를 참조하면, 동작 510에서 전자 장치(300)는 카메라 어플리케이션이 실행된 동안 자동 프레이밍 기능이 활성화됨을 확인할 수 있다. 전자 장치(300)는 카메라 모듈(예: 도 1의 카메라 모듈(180) 또는 도 3의 카메라 모듈(310))에 대한 설정 정보를 기반으로 상기 자동 프레이밍 기능의 활성화 여부를 확인할 수 있다.
일 실시 예에 따르면, 동작 520에서 전자 장치(300)는 상기 자동 프레이밍 기능이 활성화됨을 확인함에 응답하여, 카메라 모듈(310)에 의해 제공되는 최대 뷰 영역을 확인할 수 있다. 상기 최대 뷰 영역은 카메라 모듈(310)를 통해 제공 가능한 최대 화각에 대응될 수 있다.
일 실시 예에 따르면, 동작 530에서 전자 장치(300)는 상기 최대 뷰 영역 내에서 이동 가능한 뷰 영역 범위를 지정하기 위한 제1 사용자 입력을 획득할 수 있다. 상기 뷰 영역 범위는 카메라 모듈(310)을 이용하여 촬영을 진행하는 동안 상기 최대 뷰 영역 내에서 객체를 검출하는 범위로 이해될 수 있다. 전자 장치(300)는 상기 제1 사용자 입력을 기반으로 지정된 뷰 영역 범위 내에서 이동하면서 객체를 검출하고 지속적으로 추적할 수 있다. 다양한 실시 예에 따라, 동작 530에서, 전자 장치(300)는 상기 최대 뷰 영역 내에서 지정 가능한 뷰 영역 범위를 사용자에 추천할 수 있다. 전자 장치(300)는 카메라 모듈(310)을 통해 지정된 시간동안 획득된 복수 개의 연속적인 프레임들의 분석 결과를 기반으로 후보 뷰 영역 범위를 결정할 수 있다. 전자 장치(300)는 상기 연속적인 프레임들로부터 하나 이상의 객체를 검출하고, 상기 하나 이상의 객체의 개수, 위치, 움직임 또는 방향 중 적어도 하나를 기반으로 상기 후보 뷰 영역 범위를 결정하여 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이 모듈(320)) 상에 표시할 수 있다. 이 경우, 전자 장치(300)는 상기 적어도 하나의 객체의 움직임이 감지되는 영역과 방향을 기준으로 지정된 비율의 마진(margin)을 적용하여 상기 후보 뷰 영역 범위를 결정할 수 있다. 상기 마진은 상기 최대 뷰 영역 내에서 검출된 상기 적어도 하나의 객체의 특성에 따라 상이하게 적용될 수 있으며, 상기 최대 뷰 영역 내에서 사용자에 의해 설정된 촬영 구도(예: 촬영 앵글 또는 줌 배율)를 유지하도록 조절될 수 있다. 다양한 실시 예에 따라, 상기 최대 뷰 영역 내에서 복수 개의 객체들이 검출되는 경우, 전자 장치(300)는 상기 복수 개의 객체들 중 움직임이 활발하거나 중요도가 높은 객체의 방향을 기준으로 상기 후보 뷰 영역 범위를 결정할 수 있다. 다른 예를 들어, 적어도 하나의 프로세서(330)는 상기 복수 개의 객체들에 대하여 확인된 움직임 정도나 중요도가 동일 또는 유사한 범위 내에 있으면, 상기 복수 개의 객체들을 모두 포함하도록 상기 후보 뷰 영역 범위를 결정할 수 있다. 다양한 실시 예에 따라, 전자 장치(300)는 상기 제1 사용자 입력을 유도하기 위해 상기 최대 뷰 영역의 적어도 일부를 상기 뷰 영역 범위로 지정하기 위한 제1 사용자 인터페이스를 제공할 수 있다. 상기 제1 사용자 인터페이스는 상기 최대 뷰 영역 내에서 좌우 방향 및/또는 상하 방향의 범위를 설정(또는 변경)할 수 있는 윈도우 박스 형태일 수 있다. 전자 장치(300)는 상기 제1 사용자 인터페이스를 통해 획득한 제1 사용자 입력을 기반으로 상기 뷰 영역 범위를 결정할 수 있다. 일 실시 예에서, 전자 장치(300)는 프레임 이미지의 분석을 기반으로 결정된 상기 후보 뷰 영역 범위에 대응하는 위치에 상기 제1 사용자 인터페이스를 배치하여 제공할 수 있다. 다양한 실시 예에 따라, 동작 530에서, 전자 장치(300)는 사용자에 의해 상기 최대 뷰 영역 내 상기 뷰 영역 범위가 지정되지 않음을 확인하면, 프레임 이미지의 분석을 기반으로 결정된 상기 후보 뷰 영역 범위를 상기 뷰 영역 범위로 자동 지정할 수 있다.
일 실시 예에 따르면, 동작 540에서 전자 장치(300)는 상기 뷰 영역 범위 내에서 추적하고자 하는 객체 영역을 지정하기 위한 제2 사용자 입력을 획득할 수 있다. 상기 객체 영역은 상기 뷰 영역 범위 내에서 지속적으로 추적할 대상인 객체를 포함하는 영역으로, 상기 객체의 안면부나 상체 부분 외에도 상기 객체의 주변부를 포함하도록 지정될 수 있다. 다양한 실시 예에 따라, 동작 540에서, 전자 장치(300)는 상기 뷰 영역 범위 내에서 지정 가능한 객체 영역을 사용자에 추천할 수 있다. 전자 장치(300)는 상기 뷰 영역 범위 내에서 검출된 하나 이상의 객체에 관한 정보 또는 사용자 선호 정보를 기반으로 적어도 하나의 후보 객체 영역을 결정할 수 있다. 예를 들어, 전자 장치(300)는 사용자에 의해 지정된 객체 또는 메모리(340)에 기 저장된 이미지에 출현 빈도가 높은 객체를 주요 객체로 결정하고, 상기 주요 객체를 기준으로 상기 적어도 하나의 후보 객체 영역을 지정할 수 있다. 다른 예를 들어, 전자장치(300)는 상기 검출된 하나 이상의 객체 각각의 종류 또는 위치를 기반으로 주요 객체를 결정할 수도 있다. 이 경우, 전자 장치(300)는 인물과 동물 중 인물을 주요 객체로 결정할 수 있고, 여러 명의 인물이 검출되는 경우 전면에 위치한 인물(즉, 전자 장치(300)와의 거리가 보다 가까운 인물) 또는 지속적으로 움직임이 감지되는 인물을 주요 객체로 결정할 수 있다. 전자 장치(300)는 상기 결정된 주요 객체를 포함하도록 상기 적어도 하나의 후보 객체 영역을 지정할 수 있다. 다양한 실시 예에 따라, 전자 장치(300)는 상기 제2 사용자 입력을 유도하기 위해 상기 뷰 영역 범위 내 상기 객체 영역의 바운더리(boundary)를 설정하기 위한 제2 사용자 인터페이스를 제공할 수 있다. 상기 제2 사용자 인터페이스는 상기 뷰 영역 범위 내에서 좌우 방향 및/또는 상하 방향의 범위를 설정(또는 변경)할 수 있는 윈도우 박스 형태일 수 있다. 전자 장치(300)는 상기 제2 사용자 인터페이스를 통해 획득한 제2 사용자 입력을 기반으로 상기 객체 영역을 결정할 수 있다. 일 실시 예에서, 전자 장치(300)는 상기 뷰 영역 범위 내 하나 이상의 객체에 대한 정보 또는 사용자 선호 정보를 기반으로 결정된 상기 후보 객체 영역에 대응하는 위치에 상기 제2 사용자 인터페이스를 배치하여 제공할 수 있다. 다양한 실시 예에 따라, 동작 540에서, 전자 장치(300)는 사용자에 의해 상기 뷰 영역 범위 내 상기 객체 영역이 지정되지 않음을 확인하면, 상기 후보 객체 영역을 상기 객체 영역으로 자동 지정할 수 있다.
일 실시 예에 따르면, 동작 550에서 전자 장치(300)는 상기 제1 사용자 입력에 의해 지정된 상기 뷰 영역 범위와 상기 제2 사용자 입력에 의해 지정된 객체 영역을 기반으로 디스플레이 상에 표시할 제1 뷰 영역을 결정할 수 있다. 전자 장치(300)는 상기 뷰 영역 범위 내에서 상기 객체 영역을 포함하도록 상기 제1 뷰 영역을 결정할 수 있다. 다양한 실시 예에 따라, 동작 550에서, 전자 장치(300)는 상기 객체 영역에 대한 줌 배율을 고려하여 상기 제1 뷰 영역을 결정할 수 있다. 예를 들어, 전자 장치(300)는 상기 최대 뷰 영역의 크기 및 상기 뷰 영역 범위의 크기를 기반으로 최소 줌 배율을 계산할 수 있다. 이 경우, 전자 장치(300)는 상기 최대 뷰 영역의 가로, 세로 길이를 각각 상기 뷰 영역 범위의 가로, 세로 길이로 나눈 값 중 큰 값을 상기 최소 줌 배율로 계산하고, 상기 계산된 최소 줌 배율 이상의 줌 배율로 상기 객체 영역이 보이도록 상기 제1 뷰 영역을 결정할 수 있다. 다른 예를 들어, 전자 장치(300)는 사용자로부터 최소 줌 배율 또는 최대 줌 배율 중 적어도 하나를 포함하는 배율 설정 입력을 획득할 수 있다. 이 경우, 전자 장치(300)는 상기 배율 설정 입력을 기반으로 상기 최대 뷰 영역 내에서 상기 객체 영역에 대하여 상기 최대 줌 배율 이하 및/또는 상기 최소 줌 배율 이상을 유지하도록 상기 제1 뷰 영역을 결정할 수 있다. 다양한 실시 예에 따라, 전자 장치(300)는 상기 제2 사용자 입력에 의해 복수 개의 객체 영역이 지정됨을 확인하면, 상기 복수 개의 객체 영역을 모두 포함하도록 상기 제1 뷰 영역을 결정할 수 있다. 이 때, 상기 제1 뷰 영역은 상기 복수 개의 객체 영역에 대하여 상기 최소 줌 배율을 유지하도록 결정될 수 있다.
일 실시 예에 따르면, 동작 560에서 전자 장치(300)는 상기 제1 뷰 영역에 대응하는 이미지를 디스플레이(320) 상에 표시할 수 있다. 전자 장치(300)는 상기 제1 뷰 영역에 대응하는 이미지를, 실행 중인 상기 카메라 어플리케이션의 프리뷰 이미지로서 제공하거나, 또는 동영상 화면으로 제공할 수 있다. 다양한 실시 예에 따라, 전자 장치(300)는 상기 제1 뷰 영역에 대응하는 이미지를 제공하는 동안 상기 제1 뷰 영역 내에 상기 객체 영역이 포함되지 않음을 확인하면, 상기 뷰 영역 범위 내에서 상기 객체 영역을 다시 검출할 수 있다. 전자 장치(300)는 상기 검출된 객체 영역을 기반으로 상기 제1 뷰 영역을 변경하고, 상기 변경된 제1 뷰 영역에 대응하는 이미지를 디스플레이(320) 상에 표시할 수 있다.
일 실시 예에 따르면, 동작 560에서, 전자장치(300)는 상기 제1 뷰 영역에 대응하는 이미지를 제공하는 중 상기 객체 영역을 변경하기 위한 제3 사용자 입력을 감지할 수 있다. 전자 장치(300)는 상기 제3 사용자 입력에 의해 변경된 객체 영역을 기반으로 제2 뷰 영역을 결정하고, 상기 제1 뷰 영역에 대응하는 이미지를 상기 제2 뷰 영역에 대응하는 이미지로 대체하여 디스플레이(320)를 통해 제공할 수 있다.
도 6은 일 실시 예에 따라, 전자 장치가 뷰 영역 범위를 결정하는 세부 동작을 설명하는 흐름도이다. 일 실시 예에 따르면, 전자 장치(300)는 카메라를 이용하여 제공 가능한 최대 뷰 영역 내에서 객체의 검출 및 추적을 위해 이동 가능한 범위인 뷰 영역 범위를 결정하는 장치로서, 도 1에 도시된 전자 장치(101)에 대응될 수 있다. 도 6의 동작들은 전자 장치(300)에 포함된 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 적어도 하나의 프로세서(330))에 의해 수행될 수 있다.
도 6을 참조하면, 동작 610에서 전자 장치(300)는 카메라 이미지를 입력받을 수 있다. 전자 장치(300)는 카메라 모듈(예: 도 1의 카메라 모듈(180) 또는 도 3의 카메라 모듈(310))을 통해 입력되는 이미지를 프리뷰 이미지로서 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(320)) 상에 표시할 수 있다.
일 실시 예에 따르면, 동작 620에서 전자 장치(300)는 카메라 모듈(310)의 최대 뷰 영역 내에서 지정 가능한 뷰 영역 범위와 추적 대상인 객체를 추천할 수 있다. 전자 장치(300)는 지정된 시간동안 획득된 복수 개의 연속적인 프레임들을 분석하여 사용자에게 추천할 후보 뷰 영역 범위 및 후보 객체를 결정할 수 있다. 다양한 실시 예에 따라, 동작 620에서, 전자 장치(300)는 상기 복수 개의 연속적인 프레임들의 분석 결과 움직임이 감지되는 하나 이상의 객체를 검출하고, 상기 하나 이상의 객체에 관한 정보 또는 사용자 선호 정보를 기반으로 상기 후보 객체를 결정할 수 있다. 예를 들어, 전자 장치(300)는 사용자에 의해 지정된 객체가 있거나 또는 메모리(예: 도 1의 메모리(130) 또는 도 3의 메모리(340))에 기 저장된 이미지에 출현 빈도가 지정된 횟수를 초과하는 객체가 존재하는 경우 해당 객체를 상기 후보 객체로 결정할 수 있다. 다른 예를 들어, 전자 장치(300)는 사용자에 해 지정된 객체 또는 상기 출현 빈도가 지정된 횟수를 초과하는 객체가 존재하지 않는 것으로 확인하면, 상기 하나 이상의 객체 각각의 종류나 위치를 고려하여 상기 후보 객체를 결정할 수 있다. 전자 장치(300)는 인물과 동물 중 인물을 상기 후보 객체로 결정할 수 있고, 여러 명의 인물이 검출되는 경우 전면에 위치한 인물(즉, 전자 장치(300)와의 거리가 보다 가까운 인물)을 상기 후보 객체로 결정할 수 있다. 다양한 실시 예에 따라, 동작 620에서, 전자 장치(300)는 상기 검출된 하나 이상의 객체의 개수, 위치, 움직임 또는 방향 중 적어도 하나를 기반으로 상기 후보 뷰 영역 범위를 결정할 수 있다. 전자 장치(300)는 상기 적어도 하나의 객체의 움직임이 감지되는 영역과 방향을 기준으로 지정된 비율의 마진(margin)을 적용하여 상기 후보 뷰 영역 범위를 결정할 수 있다. 상기 마진은 상기 최대 뷰 영역 내에서 검출된 상기 적어도 하나의 객체의 특성에 따라 상이하게 적용될 수 있다. 전자 장치(300)는 상기 결정된 후보 객체와 상기 후보 뷰 영역 범위를 디스플레이(320) 상에 표시하여, 추적할 객체 및 뷰 영역 범위로 추천할 수 있다.
일 실시 예에 따르면, 동작 630에서 전자 장치(300)는 사용자에 의해 상기 최대 뷰 영역 내 뷰 영역 범위가 설정되었는지 여부를 확인할 수 있다. 전자 장치(300)는 상기 최대 뷰 영역 내에서 상기 뷰 영역 범위를 지정하기 위한 사용자의 터치 입력이 감지되었는지 여부에 따라 상기 뷰 영역 범위의 설정 여부를 확인할 수 있다.
동작 630의 확인 결과 사용자에 의해 상기 뷰 영역 범위가 설정되었으면(동작 630-예), 전자 장치(300)는 동작 640에서 최소 줌 배율을 계산할 수 있다. 예를 들어, 전자 장치(300)는 상기 최대 뷰 영역의 가로, 세로 길이를 각각 상기 뷰 영역 범위의 가로, 세로 길이로 나눈 값 중 큰 값을 상기 최소 줌 배율로 계산할 수 있다. 다른 예를 들어, 전자 장치(300)는 사용자에 의해 입력된 배율 설정 정보를 기반으로 최소 줌 배율 또는 최대 줌 배율 중 적어도 하나를 확인할 수 있다. 전자 장치(300)는 동작 645에서 상기 설정된 뷰 영역 범위 내에서 상기 추적할 객체를 포함하는 제1 뷰 영역을 결정할 수 있다. 전자 장치(300)는 상기 계산된 최소 줌 배율 이상의 줌 배율로 상기 객체가 보이도록 상기 제1 뷰 영역을 결정하거나, 또는 상기 확인된 최소 줌 배율 및 최대 줌 배율 사이의 줌 배율을 유지하도록 상기 제1 뷰 영역을 결정할 수 있다.
동작 630의 확인 결과 사용자에 의해 상기 뷰 영역 범위가 설정되지 않았으면(동작 630-아니오), 전자 장치(300)는 동작 650에서 상기 최대 뷰 영역 내에서 상기 추적할 객체가 포함된 임의의 영역을 상기 제1 뷰 영역으로 결정할 수 있다. 다양한 실시 예에 따라, 동작 650에서, 전자 장치(300)는 상기 후보 뷰 영역 범위를 기반으로 상기 객체가 포함되도록 상기 제1 뷰 영역을 결정할 수도 있다.
일 실시 예에 따르면, 전자 장치(300)는 동작 660에서 상기 결정된 제1 뷰 영역으로 카메라 모듈(310)의 포커스 및/또는 앵글을 이동하여, 상기 제1 뷰 영역에 대응하는 이미지를 디스플레이(320)를 통해 제공할 수 있다.
일 실시 예에 따르면, 전자 장치(300)는 동작 670에서, 상기 제1 뷰 영역에 대응하는 이미지를 제공하는 동안 상기 뷰 영역 범위 내에서 상기 객체가 지속적으로 검출되는지 여부를 확인할 수 있다. 예시적으로, 전자 장치(300)는 상기 객체가 상기 뷰 영역 범위에서 이탈하였음을 감지하는 경우 상기 객체 검출(또는 추적)에 실패한 것으로 판단할 수 있다.
동작 670의 확인 결과 상기 뷰 영역 범위 내에서 상기 객체의 검출이 실패한 것으로 확인되면(동작 670-예), 전자 장치(300)는 동작 645로 리턴할 수 있다.
동작 670의 확인 결과 상기 뷰 영역 범위 내에서 상기 객체가 지속적으로 검출되는 것으로 확인되면(동작 670-아니오), 전자 장치(300)는 동작 680에서 상기 객체가 포함된 제1 뷰 영역을 기반으로 프리뷰 이미지를 표시할 수 있다. 다양한 실시 예에 따라, 전자 장치(300)는 상기 프리뷰 이미지를 표시하는 동안 상기 객체의 움직임에 의해 형상이나 위치가 변경됨을 감지하면, 상기 객체에 대하여 변경된 형상 또는 위치를 기반으로 상기 제1 뷰 영역을 변경하고, 상기 변경된 제1 뷰 영역에 대응하는 이미지를 상기 프리뷰 이미지로 제공할 수 있다.
일 실시 예에 따르면, 전자 장치(300)는 동작 690에서, 상기 제1 뷰 영역에 대응하는 프리뷰 이미지를 제공하는 동안 상기 뷰 영역 범위가 변경되었는지 여부를 확인할 수 있다. 전자 장치(300)는 상기 뷰 영역 범위를 변경하는 사용자의 터치 입력이 발생하였거나, 또는 추적 대상인 객체가 변경된 경우 상기 뷰 영역 범위가 변경된 것으로 판단할 수 있다. 동작 690의 확인 결과 상기 뷰 영역 범위가 변경되었으면(동작 690-예), 전자 장치는 동작 630으로 리턴할 수 있다. 상기 690의 확인 결과 상기 뷰 영역 범위가 변경되지 않았으면(동작 690-아니오), 전자 장치는 동작 670으로 리턴할 수 있다.
도 7은 일 실시 예에 따라, 전자 장치가 객체 영역을 결정하는 세부 동작을 설명하는 흐름도이다. 일 실시 예에 따르면, 전자 장치(300)는 카메라를 이용하여 이미지를 획득하는 동안 지속적으로 추적하고자 하는 객체의 영역을 결정하는 장치로서, 도 1에 도시된 전자 장치(101)에 대응될 수 있다. 도 7의 동작들은 전자 장치(300)에 포함된 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 적어도 하나의 프로세서(330))에 의해 수행될 수 있다.
도 7을 참조하면, 동작 710에서 전자 장치(300)는 카메라 이미지를 입력받을 수 있다. 전자 장치(300)는 카메라 모듈(예: 도 1의 카메라 모듈(180) 또는 도 3의 카메라 모듈(310))을 통해 입력되는 이미지를 프리뷰 이미지로서 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(320)) 상에 표시할 수 있다.
일 실시 예에 따르면, 동작 720에서 전자 장치(300)는 추적 대상인 객체를 추천할 수 있다. 전자 장치(300)는 지정된 시간동안 획득된 복수 개의 연속적인 프레임들의 분석 결과를 기반으로 사용자에게 추천할 후보 객체를 결정할 수 있다. 다양한 실시 예에 따라, 동작 720에서, 전자 장치(300)는 상기 복수 개의 연속적인 프레임들로부터 움직임 없이 위치가 고정된 백그라운드(background)와 움직임이 있는 하나 이상의 객체를 분류하고, 상기 분류된 하나 이상의 객체에 관한 정보 또는 사용자 선호 정보를 기반으로 상기 후보 객체를 결정할 수 있다. 예를 들어, 전자 장치(300)는 사용자에 의해 지정된 객체가 있거나 또는 메모리(예: 도 1의 메모리(130) 또는 도 3의 메모리(340))에 기 저장된 이미지에 출현 빈도가 지정된 횟수를 초과하는 객체가 존재하는 경우 해당 객체를 상기 후보 객체로 결정할 수 있다. 다른 예를 들어, 전자 장치(300)는 사용자에 해 지정된 객체 또는 상기 출현 빈도가 지정된 횟수를 초과하는 객체가 존재하지 않는 것으로 확인하면, 상기 하나 이상의 객체 각각의 종류나 위치를 고려하여 상기 후보 객체를 결정할 수 있다. 전자 장치(300)는 인물과 동물 중 인물을 상기 후보 객체로 결정할 수 있고, 여러 명의 인물이 검출되는 경우 전면에 위치한 인물(즉, 전자 장치(300)와의 거리가 보다 가까운 인물)을 상기 후보 객체로 결정할 수 있다.
일 실시 예에 따르면, 동작 730에서 전자 장치(300)는 사용자에 의해 추적 대상인 객체 영역이 설정되었는지 여부를 확인할 수 있다. 전자 장치(300)는 상기 최대 뷰 영역 내에서 상기 객체 영역을 지정하기 위한 사용자의 터치 입력이 감지되었는지 여부에 따라 상기 객체 영역의 설정 여부를 확인할 수 있다.
동작 730의 확인 결과 사용자에 의해 상기 객체 영역이 설정되지 않았으면(동작 730-아니오), 전자 장치(300)는 동작 735에서 상기 최대 뷰 영역 내에서 상기 추적할 객체를 포함하는 임의의 영역을 상기 객체 영역으로 자동 설정할 수 있다. 다양한 실시 예에 따라, 동작 735에서, 전자 장치(300)는 상기 후보 객체를 기준으로 상기 객체 영역을 결정할 수도 있다. 전자 장치(300)는 상기 후보 객체의 안면부나 상체, 전신 외에 상기 후보 객체의 주변부를 포함하여 상기 객체 영역을 지정할 수 있다. 상기 객체 영역이 설정되면, 전자 장치(300)는 동작 740에서 카메라 모듈(310)에 의해 보여지는 제1 뷰 영역을 결정할 수 있다. 전자 장치(300)는 상기 객체 영역을 포함하도록 상기 제1 뷰 영역을 결정하고, 상기 결정된 제1 뷰 영역으로 카메라 모듈(310)의 포커스 및/또는 앵글을 이동하여 상기 제1 뷰 영역에 대응하는 이미지를 디스플레이(320)를 통해 제공할 수 있다.
동작 730의 확인 결과 사용자에 의해 상기 객체 영역이 설정되었으면(동작 730-예), 전자 장치(300)는 동작 740에서 상기 사용자에 의해 설정된 객체 영역을 기반으로 상기 제1 뷰 영역을 결정할 수 있다. 전자 장치(300)는 상기 사용자에 의해 설정된 객체 영역을 포함하도록 상기 제1 뷰 영역을 결정하고, 상기 결정된 제1 뷰 영역으로 카메라 모듈(310)의 포커스 및/또는 앵글을 이동하여 상기 제1 뷰 영역에 대응하는 이미지를 디스플레이(320)를 통해 제공할 수 있다.
일 실시 예에 따르면, 동작 750에서 전자 장치(300)는 상기 제1 뷰 영역에 대응하는 이미지를 제공하는 동안 뷰 영역 범위 내에서 상기 객체 영역이 지속적으로 검출되는지 여부를 확인할 수 있다. 예시적으로, 전자 장치(300)는 상기 객체 영역이 상기 뷰 영역 범위에서 이탈하였음을 감지하는 경우 상기 객체 영역이 상기 뷰 영역 범위에서 검출되지 않는다고 판단할 수 있다.
동작 750의 확인 결과 상기 뷰 영역 범위 내에서 상기 객체 영역이 검출되지 않는 것으로 확인되면(동작 750-아니오), 전자 장치(300)는 동작 740으로 리턴하여 상기 제1 뷰 영역을 다시 결정할 수 있다.
동작 750의 확인 결과 상기 뷰 영역 범위 내에서 상기 객체 영역이 검출되는 것으로 확인되면(동작 750-예), 전자 장치(300)는 동작 760에서 상기 객체 영역이 포함된 상기 제1 뷰 영역에 대응하는 이미지를 프리뷰 이미지로 제공할 수 있다.
도 8, 도 9, 도 10 및 도 11은 일 실시 예에 따라, 객체 영역을 기반으로 결정된 뷰 영역에 대응하는 이미지를 제공하는 방식을 설명하는 도면이다. 다양한 실시 예에 따라, 전자 장치(300)는 카메라 모듈(예: 도 1의 카메라 모듈(180) 또는 도 3의 카메라 모듈(310))을 이용하여 촬영을 진행하는 동안 사용자에 의해 지정된 객체 영역을 기반으로 이미지를 제공할 수 있다.
도 8을 참조하면, 전자 장치(300)는 카메라 모듈을 통해 제공 가능한 최대 뷰 영역(800)에서 추적하고자 하는 객체 영역(810)을 결정할 수 있다. 예를 들어, 전자 장치(300)는 상기 최대 뷰 영역에서 검출된 복수 개의 객체들 중 제1 객체의 머리 부분과 상체 부분이 상기 객체 영역(810)으로 지정됨을 확인할 수 있다. 전자 장치(300)는 안정감을 주는 구도의 이미지를 제공하기 위해, 상기 객체 영역(810)의 크기 및/또는 비율을 고려하여 상기 객체 영역(810)를 포함하는 뷰 영역(820)을 결정할 수 있다. 도 8에서, 전자 장치(300)는 상기 지정된 객체 영역(810)의 세로 길이(또는 높이(height))가 가로 길이(또는 폭(width))에 비해 긴 비율을 가지는 것으로 확인하고, 상기 객체 영역(810)의 좌우 방향에 상하 방향보다 큰 비율의 마진을 적용하도록 상기 뷰 영역(820)을 결정할 수 있다.
도 9를 참조하면, 전자 장치(300)는 카메라 모듈을 통해 제공 가능한 최대 뷰 영역(900)에서 추적하고자 하는 객체 영역(910)을 결정할 수 있다. 예를 들어, 전자 장치(300)는 상기 최대 뷰 영역에서 검출된 복수 개의 객체들 중 제1 객체의 머리 부분이 상기 객체 영역(910)으로 지정됨을 확인할 수 있다. 이 경우, 전자 장치(300)는 머리 부분의 좌/우/상/하 방향에 대하여 상이하게 설정된 비율의 마진을 각각 적용하여 상기 뷰 영역(920)을 결정할 수 있다. 상기 마진 비율은 상기 객체 영역(910)에 포함된 객체의 종류나 부위 별로 미리 지정될 수 있다.
도 10을 참조하면, 전자 장치(300)는 카메라 모듈을 통해 제공 가능한 최대 뷰 영역(1000)에서 추적하고자 하는 객체 영역(1010)을 결정할 수 있다. 예를 들어, 전자 장치(300)는 상기 최대 뷰 영역에서 검출된 복수 개의 객체들 중 제1 객체의 머리 부분과 상기 머리 부분의 상측 여백이 함께 상기 객체 영역(1010)으로 지정됨을 확인할 수 있다. 이 경우, 전자 장치(300)는 상기 객체 영역(1010)에 포함된 상측 여백을 고려하여 상기 객체 영역(1010)의 하측 방향에 상측 방향보다 큰 비율의 마진을 적용하여 상기 뷰 영역(1020)을 결정할 수 있다.
도 11을 참조하면, 전자 장치(300)는 카메라 모듈을 통해 제공 가능한 최대 뷰 영역(1100)에서 추적하고자 하는 복수의 객체 영역(1110, 1115)을 결정할 수 있다. 예를 들어, 전자 장치(300)는 상기 최대 뷰 영역에서 검출된 복수 개의 객체들 중 제1 객체의 머리 부분이 제1 객체 영역(1110)으로 지정되고, 제2 객체의 머리 부분이 제2 객체 영역(1115)으로 지정됨을 확인할 수 있다. 이 경우, 전자 장치(300)는 상기 제1 객체 영역(1110)과 상기 제2 객체 영역(1115)을 모두 포함하도록 뷰 영역(1120)을 결정할 수 있다. 다양한 실시 예에 따라, 전자 장치(300)는 안정감을 주는 구도의 이미지를 제공하기 위해, 상기 제1 객체 영역(1110)의 우측 방향과 상기 제2 객체 영역(1115)의 좌측 방향에 동일한 비율의 마진을 적용하여 상기 뷰 영역(1120)을 결정할 수 있다.
다양한 실시 예에 따라, 전자 장치(300)는 상기 뷰 영역(820, 920, 1020, 1120)에 대응하는 이미지를 제공하는 동안 사용자에 의해 지정된 줌 배율 설정 또는 최대 뷰 영역과 뷰 영역 범위의 크기를 기반으로 계산된 최소 줌 배율을 유지하도록 상기 뷰 영역(820, 920, 1020, 1120)을 결정할 수 있다.
도 8 내지 도 11에 도시된 바와 같이, 전자 장치(300)는 카메라 모듈을 이용하여 촬영을 진행하는 동안 사용자에 의해 지정된 객체 영역(810, 910, 1010, 1110, 1115)의 크기나 비율, 개수에 따라 사용자에 보여주는 뷰 영역(820, 920, 1020, 1120)을 상이하게 결정할 수 있다.
일 실시 예에 따른 전자 장치(예: 전자 장치(300))는, 카메라 모듈 (예: 카메라 모듈(310)), 디스플레이 (예: 디스플레이(320)), 상기 카메라 모듈 및 상기 디스플레이와 작동적으로 연결된 적어도 하나의 프로세서 (예: 프로세서(330)), 및 상기 적어도 하나의 프로세서와 작동적으로 연결된 메모리(예: 메모리(340))를 포함하고, 상기 메모리는, 실행 시에, 상기 적어도 하나의 프로세서가, 카메라 어플리케이션이 실행된 동안 자동 프레이밍(auto-framing) 기능이 활성화됨을 확인함에 응답하여, 상기 카메라 모듈에 의해 제공되는 최대 뷰 영역을 확인하고, 상기 최대 뷰 영역 내에서 이동 가능한 뷰 영역 범위를 지정하기 위한 제1 사용자 입력을 획득하고, 상기 뷰 영역 범위 내에서 추적하고자 하는 객체 영역을 지정하기 위한 제2 사용자 입력을 획득하고, 상기 제1 사용자 입력 및 상기 제2 사용자 입력을 기반으로 상기 객체 영역을 포함하는 제1 뷰 영역을 결정하고, 상기 결정된 제1 뷰 영역에 대응하는 이미지를 상기 디스플레이 상에 표시하도록 하는 인스트럭션들을 저장할 수 있다.
일 실시 예에서, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서가, 상기 최대 뷰 영역의 크기 및 상기 뷰 영역 범위의 크기를 기반으로 상기 제1 뷰 영역에 대한 최소 줌 배율을 계산하고, 상기 계산된 최소 줌 배율을 기반으로 상기 제1 뷰 영역을 결정하도록 할 수 있다.
일 실시 예에서, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서가, 상기 카메라 모듈을 이용하여 지정된 시간 동안 획득된 복수 개의 연속적인 프레임들로부터 하나 이상의 객체를 검출하고, 상기 하나 이상의 객체의 개수, 위치, 움직임 또는 방향 중 적어도 하나를 기반으로 후보 뷰 영역 범위를 결정하고, 상기 결정된 후보 뷰 영역 범위를 상기 디스플레이 상에 표시하도록 할 수 있다.
일 실시 예에서, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서가, 상기 후보 뷰 영역 범위를 기반으로, 상기 최대 뷰 영역의 적어도 일부를 상기 뷰 영역 범위로 지정하기 위한 제1 사용자 인터페이스를 제공하고, 상기 제1 사용자 인터페이스를 통해 획득한 상기 제1 사용자 입력을 기반으로 상기 뷰 영역 범위를 결정하도록 할 수 있다.
일 실시 예에서, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서가, 상기 하나 이상의 객체에 대한 정보 또는 사용자 선호 정보를 기반으로 적어도 하나의 후보 객체 영역을 결정하고, 상기 결정된 적어도 하나의 후보 객체 영역을 상기 디스플레이 상에 표시하도록 할 수 있다.
일 실시 예에서, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서가, 상기 적어도 하나의 후보 객체 영역을 기반으로, 상기 뷰 영역 범위 내 상기 객체 영역의 바운더리(boundary)를 설정하기 위한 제2 사용자 인터페이스를 제공하고, 상기 제2 사용자 인터페이스를 통해 획득한 상기 제2 사용자 입력을 기반으로 상기 제1 뷰 영역을 결정하도록 할 수 있다.
일 실시 예에서, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서가, 상기 제1 뷰 영역에 대응하는 이미지를 상기 디스플레이 상에 표시하는 동안 상기 객체 영역이 포함되지 않음을 확인하면, 상기 뷰 영역 범위 내에서 상기 객체 영역을 검출하고, 상기 검출된 객체 영역을 기반으로 상기 제1 뷰 영역을 변경하여 상기 디스플레이 상에 표시하도록 할 수 있다.
일 실시 예에서, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서가, 상기 뷰 영역 범위 내에서 상기 객체 영역을 변경하기 위한 제3 사용자 입력을 획득하고, 상기 제3 사용자 입력에 의해 변경된 객체 영역을 기반으로 제2 뷰 영역을 결정하고, 상기 제2 뷰 영역에 대응하는 이미지를 상기 디스플레이 상에 표시하도록 할 수 있다.
일 실시 예에서, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서가, 상기 제2 사용자 입력에 의해 복수 개의 객체 영역이 지정됨을 확인하면, 상기 복수 개의 객체 영역을 모두 포함하도록 상기 제1 뷰 영역을 결정하도록 할 수 있다.
일 실시 예에서, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서가, 사용자로부터 최소 줌 배율 또는 최대 줌 배율 중 적어도 하나를 포함하는 배율 설정 입력을 획득하고, 상기 배율 설정 입력을 기반으로 상기 최대 뷰 영역 내에서 상기 제1 뷰 영역을 결정하도록 할 수 있다.
일 실시 예에 따른 전자 장치(예: 전자 장치(300))의 동작 방법은, 카메라 어플리케이션이 실행된 동안 자동 프레이밍(auto-framing) 기능이 활성화됨을 확인함에 응답하여, 상기 전자 장치의 카메라 모듈에 의해 제공되는 최대 뷰 영역을 확인하는 동작, 상기 최대 뷰 영역 내에서 이동 가능한 뷰 영역 범위를 지정하기 위한 제1 사용자 입력을 획득하는 동작, 상기 뷰 영역 범위 내에서 추적하고자 하는 객체 영역을 지정하기 위한 제2 사용자 입력을 획득하는 동작, 상기 제1 사용자 입력 및 상기 제2 사용자 입력을 기반으로 상기 객체 영역을 포함하는 제1 뷰 영역을 결정하는 동작, 및 상기 결정된 제1 뷰 영역에 대응하는 이미지를 디스플레이 하는 동작을 포함할 수 있다.
일 실시 예에서, 상기 제1 뷰 영역을 결정하는 동작은, 상기 최대 뷰 영역의 크기 및 상기 뷰 영역 범위의 크기를 기반으로 상기 제1 뷰 영역에 대한 최소 줌 배율을 계산하는 동작, 및 상기 계산된 최소 줌 배율을 기반으로 상기 제1 뷰 영역을 결정하는 동작을 포함할 수 있다.
일 실시 예에서, 상기 제1 사용자 입력을 획득하는 동작은, 상기 카메라 모듈을 이용하여 지정된 시간 동안 획득된 복수 개의 연속적인 프레임들로부터 하나 이상의 객체를 검출하는 동작, 상기 하나 이상의 객체의 개수, 위치, 움직임 또는 방향 중 적어도 하나를 기반으로 후보 뷰 영역 범위를 결정하는 동작, 및 상기 결정된 후보 뷰 영역 범위를 상기 전자 장치의 디스플레이 상에 표시하는 동작을 포함할 수 있다.
일 실시 예에서, 상기 방법은, 상기 후보 뷰 영역 범위를 기반으로, 상기 최대 뷰 영역의 적어도 일부를 상기 뷰 영역 범위로 지정하기 위한 제1 사용자 인터페이스를 제공하는 동작, 및 상기 제1 사용자 인터페이스를 통해 획득한 상기 제1 사용자 입력을 기반으로 상기 뷰 영역 범위를 결정하는 동작을 더 포함할 수 있다.
일 실시 예에서, 상기 제2 사용자 입력을 획득하는 동작은, 상기 하나 이상의 객체에 대한 정보 또는 사용자 선호 정보를 기반으로 적어도 하나의 후보 객체 영역을 결정하는 동작, 및 상기 결정된 적어도 하나의 후보 객체 영역을 상기 전자 장치의 디스플레이 상에 표시하는 동작을 포함할 수 있다.
일 실시 예에서, 상기 방법은, 상기 적어도 하나의 후보 객체 영역을 기반으로, 상기 뷰 영역 범위 내 상기 객체 영역의 바운더리(boundary)를 설정하기 위한 제2 사용자 인터페이스를 제공하는 동작, 및 상기 제2 사용자 인터페이스를 통해 획득한 상기 제2 사용자 입력을 기반으로 상기 제1 뷰 영역을 결정하는 동작을 더 포함할 수 있다.
일 실시 예에서, 상기 제1 뷰 영역을 결정하는 동작은, 상기 제1 뷰 영역에 대응하는 이미지를 디스플레이 하는 동안 상기 이미지에 객체 영역이 포함되지 않음을 확인하면, 상기 뷰 영역 범위 내에서 상기 객체 영역을 검출하는 동작, 및 상기 검출된 객체 영역을 기반으로 상기 제1 뷰 영역을 변경하여 디스플레이 하는 동작을 포함할 수 있다.
일 실시 예에서, 상기 방법은, 상기 뷰 영역 범위 내에서 상기 객체 영역을 변경하기 위한 제3 사용자 입력을 획득하는 동작, 상기 제3 사용자 입력에 의해 변경된 객체 영역을 기반으로 제2 뷰 영역을 결정하는 동작, 및 상기 제2 뷰 영역에 대응하는 이미지를 디스플레이 하는 동작을 더 포함할 수 있다.
일 실시 예에서, 상기 제1 뷰 영역을 결정하는 동작은, 상기 제2 사용자 입력에 의해 복수 개의 객체 영역이 지정됨을 확인하면, 상기 복수 개의 객체 영역을 모두 포함하도록 상기 제1 뷰 영역을 결정하는 동작을 포함할 수 있다.
일 실시 예에서, 상기 제1 뷰 영역을 결정하는 동작은, 사용자로부터 최소 줌 배율 또는 최대 줌 배율 중 적어도 하나를 포함하는 배율 설정 입력을 획득하는 동작, 및 상기 배율 설정 입력을 기반으로 상기 최대 뷰 영역 내에서 상기 제1 뷰 영역을 결정하는 동작을 포함할 수 있다.
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C," "A, B 및 C 중 적어도 하나", 및 " A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시 예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, "비일시적"은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    카메라 모듈;
    디스플레이;
    상기 카메라 모듈 및 상기 디스플레이와 작동적으로 연결된 적어도 하나의 프로세서; 및
    상기 적어도 하나의 프로세서와 작동적으로 연결된 메모리를 포함하고,
    상기 메모리는, 실행 시에, 상기 적어도 하나의 프로세서가,
    카메라 어플리케이션이 실행된 동안 자동 프레이밍(auto-framing) 기능이 활성화됨을 확인함에 응답하여, 상기 카메라 모듈에 의해 제공되는 최대 뷰 영역을 확인하고,
    상기 최대 뷰 영역 내에서 이동 가능한 뷰 영역 범위를 지정하기 위한 제1 사용자 입력을 획득하고,
    상기 뷰 영역 범위 내에서 추적하고자 하는 객체 영역을 지정하기 위한 제2 사용자 입력을 획득하고,
    상기 제1 사용자 입력 및 상기 제2 사용자 입력을 기반으로 상기 객체 영역을 포함하는 제1 뷰 영역을 결정하고,
    상기 결정된 제1 뷰 영역에 대응하는 이미지를 상기 디스플레이 상에 표시하도록 하는 인스트럭션들을 저장하는, 전자 장치.
  2. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 적어도 하나의 프로세서가,
    상기 최대 뷰 영역의 크기 및 상기 뷰 영역 범위의 크기를 기반으로 상기 제1 뷰 영역에 대한 최소 줌 배율을 계산하고,
    상기 계산된 최소 줌 배율을 기반으로 상기 제1 뷰 영역을 결정하도록 하는, 전자 장치.
  3. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 적어도 하나의 프로세서가,
    상기 카메라 모듈을 이용하여 지정된 시간 동안 획득된 복수 개의 연속적인 프레임들로부터 하나 이상의 객체를 검출하고,
    상기 하나 이상의 객체의 개수, 위치, 움직임 또는 방향 중 적어도 하나를 기반으로 후보 뷰 영역 범위를 결정하고,
    상기 결정된 후보 뷰 영역 범위를 상기 디스플레이 상에 표시하도록 하는, 전자 장치.
  4. 청구항 3에 있어서,
    상기 인스트럭션들은, 상기 적어도 하나의 프로세서가,
    상기 후보 뷰 영역 범위를 기반으로, 상기 최대 뷰 영역의 적어도 일부를 상기 뷰 영역 범위로 지정하기 위한 제1 사용자 인터페이스를 제공하고,
    상기 제1 사용자 인터페이스를 통해 획득한 상기 제1 사용자 입력을 기반으로 상기 뷰 영역 범위를 결정하도록 하는, 전자 장치.
  5. 청구항 3에 있어서,
    상기 인스트럭션들은, 상기 적어도 하나의 프로세서가,
    상기 하나 이상의 객체에 대한 정보 또는 사용자 선호 정보를 기반으로 적어도 하나의 후보 객체 영역을 결정하고,
    상기 결정된 적어도 하나의 후보 객체 영역을 기반으로, 상기 뷰 영역 범위 내 상기 객체 영역의 바운더리(boundary)를 설정하기 위한 제2 사용자 인터페이스를 제공하고,
    상기 제2 사용자 인터페이스를 통해 획득한 상기 제2 사용자 입력을 기반으로 상기 제1 뷰 영역을 결정하도록 하는, 전자 장치.
  6. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 적어도 하나의 프로세서가,
    상기 제1 뷰 영역에 대응하는 이미지를 상기 디스플레이 상에 표시하는 동안 상기 객체 영역이 포함되지 않음을 확인하면, 상기 뷰 영역 범위 내에서 상기 객체 영역을 검출하고,
    상기 검출된 객체 영역을 기반으로 상기 제1 뷰 영역을 변경하여 상기 디스플레이 상에 표시하도록 하는, 전자 장치.
  7. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 적어도 하나의 프로세서가,
    상기 뷰 영역 범위 내에서 상기 객체 영역을 변경하기 위한 제3 사용자 입력을 획득하고,
    상기 제3 사용자 입력에 의해 변경된 객체 영역을 기반으로 제2 뷰 영역을 결정하고,
    상기 제2 뷰 영역에 대응하는 이미지를 상기 디스플레이 상에 표시하도록 하는, 전자 장치.
  8. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 적어도 하나의 프로세서가,
    상기 제2 사용자 입력에 의해 복수 개의 객체 영역이 지정됨을 확인하면, 상기 복수 개의 객체 영역을 모두 포함하도록 상기 제1 뷰 영역을 결정하도록 하는, 전자 장치.
  9. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 적어도 하나의 프로세서가,
    사용자로부터 최소 줌 배율 또는 최대 줌 배율 중 적어도 하나를 포함하는 배율 설정 입력을 획득하고,
    상기 배율 설정 입력을 기반으로 상기 최대 뷰 영역 내에서 상기 제1 뷰 영역을 결정하도록 하는, 전자 장치.
  10. 전자 장치의 동작 방법에 있어서,
    카메라 어플리케이션이 실행된 동안 자동 프레이밍(auto-framing) 기능이 활성화됨을 확인함에 응답하여, 상기 전자 장치의 카메라 모듈에 의해 제공되는 최대 뷰 영역을 확인하는 동작;
    상기 최대 뷰 영역 내에서 이동 가능한 뷰 영역 범위를 지정하기 위한 제1 사용자 입력을 획득하는 동작;
    상기 뷰 영역 범위 내에서 추적하고자 하는 객체 영역을 지정하기 위한 제2 사용자 입력을 획득하는 동작;
    상기 제1 사용자 입력 및 상기 제2 사용자 입력을 기반으로 상기 객체 영역을 포함하는 제1 뷰 영역을 결정하는 동작; 및
    상기 결정된 제1 뷰 영역에 대응하는 이미지를 디스플레이 하는 동작을 포함하는, 방법.
  11. 청구항 10에 있어서,
    상기 제1 뷰 영역을 결정하는 동작은,
    상기 최대 뷰 영역의 크기 및 상기 뷰 영역 범위의 크기를 기반으로 상기 제1 뷰 영역에 대한 최소 줌 배율을 계산하는 동작; 및
    상기 계산된 최소 줌 배율을 기반으로 상기 제1 뷰 영역을 결정하는 동작을 포함하는, 방법.
  12. 청구항 10에 있어서,
    상기 제1 사용자 입력을 획득하는 동작은,
    상기 카메라 모듈을 이용하여 지정된 시간 동안 획득된 복수 개의 연속적인 프레임들로부터 하나 이상의 객체를 검출하는 동작;
    상기 하나 이상의 객체의 개수, 위치, 움직임 또는 방향 중 적어도 하나를 기반으로 후보 뷰 영역 범위를 결정하는 동작; 및
    상기 결정된 후보 뷰 영역 범위를 상기 전자 장치의 디스플레이 상에 표시하는 동작을 포함하는, 방법.
  13. 청구항 10에 있어서,
    상기 제1 뷰 영역을 결정하는 동작은,
    상기 제1 뷰 영역에 대응하는 이미지를 디스플레이 하는 동안 상기 이미지에 객체 영역이 포함되지 않음을 확인하면, 상기 뷰 영역 범위 내에서 상기 객체 영역을 검출하는 동작; 및
    상기 검출된 객체 영역을 기반으로 상기 제1 뷰 영역을 변경하여 디스플레이 하는 동작을 포함하는, 방법.
  14. 청구항 10에 있어서,
    상기 뷰 영역 범위 내에서 상기 객체 영역을 변경하기 위한 제3 사용자 입력을 획득하는 동작;
    상기 제3 사용자 입력에 의해 변경된 객체 영역을 기반으로 제2 뷰 영역을 결정하는 동작; 및
    상기 제2 뷰 영역에 대응하는 이미지를 디스플레이 하는 동작을 더 포함하는, 방법.
  15. 청구항 10에 있어서,
    상기 제1 뷰 영역을 결정하는 동작은,
    상기 제2 사용자 입력에 의해 복수 개의 객체 영역이 지정됨을 확인하면, 상기 복수 개의 객체 영역을 모두 포함하도록 상기 제1 뷰 영역을 결정하는 동작을 포함하는, 방법.
PCT/KR2023/017777 2022-11-28 2023-11-07 이미지의 뷰 영역을 결정하는 전자 장치 및 그 동작 방법 WO2024117590A1 (ko)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR20220161299 2022-11-28
KR10-2022-0161299 2022-11-28
KR1020230003536A KR20240079123A (ko) 2022-11-28 2023-01-10 이미지의 뷰 영역을 결정하는 전자 장치 및 그 동작 방법
KR10-2023-0003536 2023-01-10

Publications (1)

Publication Number Publication Date
WO2024117590A1 true WO2024117590A1 (ko) 2024-06-06

Family

ID=91324182

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/017777 WO2024117590A1 (ko) 2022-11-28 2023-11-07 이미지의 뷰 영역을 결정하는 전자 장치 및 그 동작 방법

Country Status (1)

Country Link
WO (1) WO2024117590A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008109552A (ja) * 2006-10-27 2008-05-08 Sanyo Electric Co Ltd 追跡機能付き撮像装置
JP2019033430A (ja) * 2017-08-09 2019-02-28 キヤノン株式会社 動画再生装置およびその制御方法、並びにプログラム
KR102032817B1 (ko) * 2019-06-17 2019-10-17 주식회사 비욘드테크 지능형 객체 인식 기반 360도 영상저작물 내 광고 삽입 장치 및 그 방법
US10645272B2 (en) * 2017-12-04 2020-05-05 Qualcomm Incorporated Camera zoom level and image frame capture control
KR20220139540A (ko) * 2021-04-08 2022-10-17 주식회사 에스원 Ptz 카메라의 객체 추적 방법 및 장치

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008109552A (ja) * 2006-10-27 2008-05-08 Sanyo Electric Co Ltd 追跡機能付き撮像装置
JP2019033430A (ja) * 2017-08-09 2019-02-28 キヤノン株式会社 動画再生装置およびその制御方法、並びにプログラム
US10645272B2 (en) * 2017-12-04 2020-05-05 Qualcomm Incorporated Camera zoom level and image frame capture control
KR102032817B1 (ko) * 2019-06-17 2019-10-17 주식회사 비욘드테크 지능형 객체 인식 기반 360도 영상저작물 내 광고 삽입 장치 및 그 방법
KR20220139540A (ko) * 2021-04-08 2022-10-17 주식회사 에스원 Ptz 카메라의 객체 추적 방법 및 장치

Similar Documents

Publication Publication Date Title
WO2022092706A1 (ko) 복수의 카메라를 이용한 사진 촬영 방법 및 그 장치
WO2022086248A1 (ko) 줌 기능을 지원하는 전자 장치 및 방법
WO2022235075A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022245129A1 (ko) 오브젝트 추적 방법 및 이를 위한 전자 장치
WO2022196993A1 (ko) 카메라 모듈의 화각을 이용하여 이미지를 촬영하는 전자 장치 및 방법
WO2022244970A1 (ko) 전자 장치의 촬영 방법 및 그 전자 장치
WO2022235043A1 (ko) 복수의 카메라를 포함하는 전자 장치 및 그 동작 방법
WO2024117590A1 (ko) 이미지의 뷰 영역을 결정하는 전자 장치 및 그 동작 방법
WO2024080767A1 (ko) 카메라를 이용하여 영상을 획득하는 전자 장치 및 그 동작 방법
WO2022186495A1 (ko) 복수의 렌즈들을 구비하는 전자 장치 및 그 제어 방법
WO2024085487A1 (ko) 카메라의 설정을 변경하기 위한 전자 장치, 방법, 및 비일시적 컴퓨터 판독가능 저장 매체
WO2024106746A1 (ko) 디지털 보케 이미지의 해상도를 높이기 위한 전자 장치 및 방법
WO2024071639A1 (ko) 플리커링 보정 방법 및 그 전자 장치
WO2022245148A1 (ko) 이미지 처리 방법 및 그 전자 장치
WO2022197036A1 (ko) Ar을 이용한 측정 방법 및 전자 장치
WO2022191407A1 (ko) 사용자 인터페이스를 제공하기 위한 방법, 장치 및 저장 매체
WO2022203355A1 (ko) 복수의 카메라들을 포함하는 전자 장치
WO2024025123A1 (ko) 카메라를 포함하는 전자 장치 및 방법
WO2024071902A1 (ko) 카메라 모듈을 포함하는 전자 장치 및 그 동작 방법
WO2023249231A1 (ko) 카메라를 포함하는 전자 장치 및 그 동작 방법
WO2022025574A1 (ko) 이미지 센서와 이미지 시그널 프로세서를 포함하는 전자 장치 및 그의 방법
WO2022240186A1 (ko) 이미지 왜곡을 보정하는 방법 및 그 전자 장치
WO2022240183A1 (ko) 이미지 데이터와 모션 데이터를 포함하는 파일을 생성하는 방법 및 그 전자 장치
WO2023043132A1 (ko) 이미지에 보케 효과를 적용하는 전자 장치 및 그 동작 방법
WO2022250344A1 (ko) 이미지 센서 및 동적 비전 센서를 포함하는 전자 장치 및 그 동작 방법