Electronic device and method for capturing image

The electronic device uses a depth sensor and communication module to identify and focus on a subject by correlating depth and distance, enhancing image capture quality in mobile devices.

WO2026146954A1PCT designated stage Publication Date: 2026-07-09SAMSUNG ELECTRONICS CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
SAMSUNG ELECTRONICS CO LTD
Filing Date
2025-12-09
Publication Date
2026-07-09

AI Technical Summary

Technical Problem

Existing mobile devices struggle to accurately capture high-quality images of identified subjects due to limitations in depth sensing and focal length control, especially when multiple objects are present in the scene.

Method used

An electronic device equipped with a depth sensor and a communication module to measure distances and identify a subject by correlating depth information with the distance of an external device, allowing for precise control of shooting parameters such as focal length and angle.

Benefits of technology

Enables the capture of clear, focused images of the identified subject by accurately determining the subject's depth and adjusting camera settings, improving image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025021131_09072026_PF_FP_ABST
    Figure KR2025021131_09072026_PF_FP_ABST
Patent Text Reader

Abstract

Provided is an electronic device comprising a depth sensor, a communication module, a memory, and at least one processor, wherein by the at least one processor executing a program or at least one instruction stored in the memory, the electronic device may obtain depths of a plurality of objects including a subject by using the depth sensor, obtain a distance of an external device by using the communication module, identify the subject having a depth corresponding to the distance of the external device among the plurality of objects, and control an image-capturing parameter on the basis of the depth of the identified subject.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device and method for capturing images

[0001] The present invention relates to an electronic device and method for capturing an image, and in particular, an electronic device and method for capturing an image centered on an identified subject.

[0002] Recently, due to the rapid development of communication technology, the functions of mobile terminals are gradually expanding, and more diverse User Interfaces (UI) and various functions utilizing them are being provided. In order to increase the utility value of mobile terminals and satisfy the diverse needs of users, various applications that can be executed on mobile terminals are being developed.

[0003] In particular, as user interest in photos and videos increases, most mobile devices now offer digital camera functions. Using these digital camera features, many people can easily take a variety of photos. Furthermore, to provide high-quality photos, features such as image stabilization during shooting and focal length control centered on the subject are sometimes built into mobile devices.

[0004] An electronic device disclosed as a technical means for achieving a technical task may include a depth sensor, a communication module for communicating with an external device worn on a subject, a memory in which instructions for processing data are stored, and at least one processor. By executing a program stored in the memory or at least one instruction by the at least one processor, the electronic device can acquire the depth of a plurality of objects including a subject using the depth sensor. The electronic device can acquire the distance of an external device using the communication module. The electronic device can identify a subject among the plurality of objects that has a depth corresponding to the distance of the external device. The electronic device can control shooting parameters based on the depth of the identified subject.

[0005] A method for an electronic device to capture an image, disclosed as a technical means for achieving a technical task, may include the step of acquiring the depth of a plurality of objects including a subject using a depth sensor. The method may include the step of acquiring the distance of an external device using a communication module for communication between the electronic device and an external device worn on the subject. The method may include the step of identifying a subject among the plurality of objects at a depth corresponding to the distance of the external device. The method may include the step of controlling shooting parameters based on the depth of the identified subject.

[0006] A computer-readable recording medium disclosed as a technical means for achieving a technical task may store a program for executing at least one of the embodiments of the disclosed method on a computer.

[0007] A computer program disclosed as a technical means for achieving a technical task may be stored on a medium for executing at least one of the embodiments of the disclosed method on a computer.

[0008] FIG. 1 is a conceptual diagram illustrating a method for taking an image according to one embodiment of the present disclosure.

[0009] FIG. 2 is a conceptual diagram illustrating a method for determining a subject according to one embodiment of the present disclosure.

[0010] FIG. 3 is a graph comparison diagram for explaining a method of determining a subject according to one embodiment of the present disclosure.

[0011] FIG. 4 is a flowchart illustrating a method for capturing an image according to one embodiment of the present disclosure.

[0012] FIG. 5 is a flowchart illustrating a method for capturing an image according to one embodiment of the present disclosure.

[0013] FIG. 6 is a flowchart illustrating a method for obtaining the distance of an external device using a communication module according to one embodiment of the present disclosure.

[0014] FIG. 7 is a flowchart illustrating a method for obtaining the distance of an external device using a communication module according to one embodiment of the present disclosure.

[0015] FIG. 8 is a conceptual diagram illustrating a method for determining a subject according to one embodiment of the present disclosure.

[0016] FIG. 9 is a graph comparison diagram for explaining a method of determining a subject according to one embodiment of the present disclosure.

[0017] FIG. 10 is a flowchart illustrating a method for capturing an image according to one embodiment of the present disclosure.

[0018] FIG. 11 is a flowchart illustrating a method for determining a subject according to one embodiment of the present disclosure.

[0019] FIG. 12 is a flowchart illustrating a method for obtaining an angle for an external device using a communication module according to one embodiment of the present disclosure.

[0020] FIG. 13 is a drawing illustrating a depth map of subjects according to one embodiment of the present disclosure.

[0021] FIG. 14 is a drawing illustrating a simplified form of subjects within a depth map according to one embodiment of the present disclosure.

[0022] FIGS. 15a and FIGS. 15b are drawings for explaining a method for obtaining the depth of simplified subjects in a depth map and the angle of simplified subjects according to one embodiment of the present disclosure.

[0023] FIG. 16 is a flowchart illustrating a method for obtaining the depth of an object using a depth sensor according to one embodiment of the present disclosure.

[0024] FIG. 17 is a flowchart illustrating a method for determining shooting parameters according to illuminance according to one embodiment of the present disclosure.

[0025] FIG. 18 is a flowchart illustrating a method for generating metadata including controlled camera settings according to one embodiment of the present disclosure.

[0026] FIG. 19a is a drawing for illustrating an image taken according to a controlled camera setting according to one embodiment of the present disclosure.

[0027] FIG. 19b is a drawing for illustrating an image taken according to a controlled camera setting according to one embodiment of the present disclosure.

[0028] FIG. 20 is a drawing for explaining an image taken according to a controlled camera setting according to one embodiment of the present disclosure.

[0029] FIG. 21 is a block diagram illustrating the configuration of an electronic device according to one embodiment of the present disclosure.

[0030] In describing the present disclosure, technical details that are well known in the technical field to which the present disclosure belongs and are not directly related to the present disclosure are omitted. This is intended to convey the essence of the present disclosure more clearly without obscuring it by omitting unnecessary explanations. Furthermore, the terms described below are defined considering their functions within the present disclosure, and these definitions may vary depending on the intentions or practices of the user or operator. Therefore, their definitions should be based on the content throughout this specification.

[0031] For the same reason, some components in the attached drawings have been exaggerated, omitted, or schematically depicted. Additionally, the dimensions of each component do not entirely reflect their actual dimensions. Identical or corresponding components in each drawing have been assigned the same reference numbers.

[0032] The advantages and features of the present disclosure, and the methods for achieving them, will become clear by referring to the embodiments described below in detail together with the accompanying drawings. However, the present disclosure is not limited to the embodiments disclosed below but may be implemented in various different forms. The disclosed embodiments are provided to ensure that the disclosure of the present disclosure is complete and to fully inform those skilled in the art of the scope of the disclosure. An embodiment of the present disclosure may be defined according to the claims. Throughout the specification, the same reference numerals indicate the same components. Furthermore, in describing an embodiment of the present disclosure, if it is determined that a detailed description of a related function or configuration might unnecessarily obscure the essence of the present disclosure, such detailed description is omitted. Additionally, terms described below are defined considering their functions in the present disclosure, and these may vary depending on the intentions or conventions of the user or operator. Therefore, their definitions should be based on the content throughout the specification.

[0033] In one embodiment, each block of the flowcharts and combinations of the flowcharts may be executed by computer program instructions. Computer program instructions may be loaded onto a processor of a general-purpose computer, a computer for special purposes, or other programmable data processing equipment, and the instructions executed through the processor of the computer or other programmable data processing equipment may create means for performing the functions described in the flowchart block(s). Computer program instructions may also be stored in computer-available or computer-readable memory that can be directed toward the computer or other programmable data processing equipment to implement functions in a specific manner, and instructions stored in computer-available or computer-readable memory may produce a manufactured item containing instruction means for performing the functions described in the flowchart block(s). Computer program instructions may also be loaded onto a computer or other programmable data processing equipment.

[0034] Additionally, each block of the flowchart may represent a module, segment, or part of code containing one or more executable instructions for executing a specified logical function(s). In one embodiment, the functions mentioned in the blocks may occur out of order. For example, two blocks shown in succession may be executed substantially simultaneously or in reverse order depending on the function.

[0035] In one embodiment of the present disclosure, the term “part” used may refer to software or hardware components such as a Field Programmable Gate Array (FPGA) or an Application Specific Integrated Circuit (ASIC), and the “part” may perform a specific role. Meanwhile, the “part” is not limited to software or hardware. The “part” may be configured to reside in an addressable storage medium or may be configured to run one or more processors. In one embodiment, the “part” may include components such as software components, object-oriented software components, class components, and task components, as well as processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables. Functions provided through a specific component or a specific “part” may be combined or separated into additional components to reduce their number. Additionally, in one embodiment, the “part” may include one or more processors.

[0036] The meanings of the terms used in the present disclosure are explained below.

[0037] In the present disclosure, the depth sensor may be a sensor that measures depth. The depth sensor may be a distance measuring sensor that calculates the distance to an object by measuring the time taken for light emitted from a light source to reach a target object, reflect, and return to the sensor. The depth measured by the depth sensor may refer to the distance between the object and the sensor or the device equipped with the sensor. The depth sensor may use a laser diode or an LED as a light source and may include a transmitter that transmits a signal (or light) and a receiver that receives a signal (or light).

[0038] In the present disclosure, the communication module may be a module that wirelessly transmits and receives data between devices. The communication module may be embedded in each device, and data may be transmitted and received between devices using the communication module. The communication module may include, for example, a BLE (Bluetooth Low Energy) module or a UWB (Ultra-Wideband) module. However, the communication module is not limited thereto.

[0039] In the present disclosure, depth information between an object and a sensor can be measured using a depth sensor. The depth information may include not only the distance between the object and the sensor, but also direction and position information in 3D space. Additionally, in the present disclosure, the distance between devices can be measured using a communication module.

[0040] In the present disclosure, shooting parameters may include camera settings for targeting a subject. Shooting parameters may be settings for shooting a subject using a camera. Shooting parameters may be settings within the camera for shooting a subject. For example, shooting parameters may include a focal length.

[0041] In the present disclosure, metadata is data that describes other data and may be a set of data including information such as the creation time, location format, source, etc. of the data. Metadata may be a set of data including data related to the first data (e.g., the creation time, location, source, etc. of the first data). For example, metadata may be a set of data including information related to a captured image, such as the time the image was taken, the location where the image was taken, etc.

[0042] Embodiments of the present disclosure are described below with reference to the attached drawings so that those skilled in the art can easily implement them. However, the present disclosure may be embodied in various different forms and is not limited to the embodiments described herein. Furthermore, in order to clearly explain the present disclosure in the drawings, parts unrelated to the explanation have been omitted, and similar parts throughout the specification have been given similar reference numerals. Also, the reference numerals used in each drawing are for the purpose of explaining each drawing, and different reference numerals used in different drawings are not intended to indicate different elements. The present disclosure will be described in detail below with reference to the attached drawings.

[0043] FIG. 1 is a conceptual diagram illustrating a method for taking an image according to one embodiment of the present disclosure.

[0044] Referring to FIG. 1, the electronic device (100) may include a depth sensor (110) and a communication module (120).

[0045] In one embodiment, the depth sensor (110) may be a depth measuring sensor. The depth sensor (110) may be a Time-of-Flight (ToF) distance measuring sensor that calculates the distance to an object by measuring the time taken for light emitted from a light source to reach a target object, reflect, and return to the sensor. The depth measured by the depth sensor (110) may refer to the distance between the object and the sensor or the device equipped with the sensor.

[0046] In one embodiment, the depth sensor (110) may include a light source and a light sensor, and may use an LED or a laser diode.

[0047] In one embodiment, the communication module (120) may be a communication module capable of wirelessly transmitting and receiving signals between devices. The electronic device (100) may transmit and receive signals to and from an external device (200) through the communication module (120). For example, the external device (200) may have a separate communication module for communicating with the communication module (120) of the electronic device (100).

[0048] In one embodiment, the electronic device (100) can obtain the depth of a plurality of objects (10, 20, 30) using a depth sensor (110). The depth sensor (110) can calculate the distance to the object by measuring the time taken for light emitted from a light source to reach a target object, be reflected, and return to the sensor. The depth of the plurality of objects (10, 20, 30) obtained using the depth sensor (110) may mean the distance to the plurality of objects (10, 20, 30) calculated by measuring the time taken for light emitted from a light source to reach each of the plurality of objects (10, 20, 30), be reflected, and return to the sensor.

[0049] In one embodiment, the depth sensor (110) may include a light source and a receiver. An electronic device (100) may emit light to a plurality of objects (10, 20, 30) using the light source of the depth sensor (110). An electronic device (100) may receive light reflected from the plurality of objects (10, 20, 30) using the depth sensor (110). An electronic device (100) may obtain the time taken for the light emitted from the light source to be reflected from the plurality of objects (10, 20, 30) and return to the receiver. Based on the time taken, the electronic device (100) may obtain the depth of the plurality of objects (10, 20, 30) from the electronic device (100).

[0050] For example, the electronic device (100) can emit light to the first object (10) using the light source of the depth sensor (110). The electronic device (100) can receive light reflected from the first object (10) using the depth sensor (110). The electronic device (100) can obtain the time taken for the light emitted from the light source to be reflected from the first object (10) and return to the receiving unit. Based on the time taken, the electronic device (100) can obtain the depth of the first object (10) from the electronic device (100). The electronic device (100) can obtain a first depth (d1), which is the depth of the first object (10).

[0051] As another example, the electronic device (100) can obtain the time taken for light emitted from a light source to be reflected from the second object (20) and return to the receiver. The electronic device (100) can obtain the depth of the second object (20) from the electronic device (100) based on the time taken. The electronic device (100) can obtain a second depth (d2), which is the depth of the second object (20).

[0052] As another example, the electronic device (100) can obtain the time taken for light emitted from a light source to be reflected from a third object (30) and return to a receiver. Based on the time taken, the electronic device (100) can obtain the depth of the third object (30) from the electronic device (100). The electronic device (100) can obtain a third depth (d3), which is the depth of the third object (30).

[0053] In one embodiment, the depths of a plurality of objects (10, 20, 30) from the electronic device (100) may differ from each other. For example, the first depth (d1) may differ from the second depth (d2). As another example, the first depth (d1) may differ from the third depth (d3). As yet another example, the first depth (d1), the second depth (d2), and the third depth (d3) may differ from each other.

[0054] In one embodiment, the light source of the depth sensor (110) can emit light over a wide range within a target space including an electronic device (100), an external device (200), and a plurality of objects (10, 20, 30). The receiver of the depth sensor (110) can receive light reflected from the plurality of objects (10, 20, 30) that is emitted over a wide range within the target space. The electronic device (100) can obtain the depth of the plurality of objects (10, 20, 30) placed within the target space using the depth sensor (110), but the depth of the plurality of objects (10, 20, 30) obtained using the depth sensor (110) cannot specify each object.

[0055] In one embodiment, the electronic device (100) can obtain the distance of an external device (200) using a communication module (120). The external device (200) may include, but is not limited to, a portable terminal, and may include electronic devices such as an electronic watch, a smart tag, an electronic band, or an audio device capable of communicating with the electronic device (100). The external device (200) may include a wearable device equipped with a communication module.

[0056] In one embodiment, the communication module (120) may include a BLE module. The electronic device (100) can communicate with an external device (200) using the communication module (120). The electronic device (100) can obtain a signal strength received from the external device (200) through the communication module (120). Based on the obtained signal strength, the electronic device (100) can obtain the distance of the external device (200). The electronic device obtains a communication distance (d) which is the distance of the external device (200). c You can obtain ).

[0057] In the present disclosure, the distance of the external device (200) may mean the distance from the communication module (120) to the external device (200). That is, the distance of the external device (200) may mean the distance between the communication module (120) and the electronic device (100).

[0058] In one embodiment, the communication module (120) may include a UWB module.

[0059] In one embodiment, the electronic device (100) may include a first UWB module, and the external device (200) may include a second UWB module. The electronic device (100) and the external device (200) may communicate with each other through their respective UWB modules. The electronic device (100) may send a first UWB signal to the second UWB module using the first UWB module. The external device (200) may send a second UWB signal to the first UWB module in response to the received first UWB signal using the second UWB module. The electronic device (100) may receive the second UWB signal using the first UWB module. The electronic device (100) may obtain the time taken to receive the second UWB signal in response to the first UWB signal sent from the first UWB module. The electronic device (100) can obtain the distance between the electronic device (100) and the external device (200) based on the time elapsed. The electronic device (100) can obtain the communication distance (d) which is the distance of the external device (200). c You can obtain ).

[0060] In one embodiment, the electronic device (100) can identify a subject at a depth corresponding to the distance of the external device (200) among the plurality of objects (10, 20, 30) based on the depth of the plurality of objects (10, 20, 30) obtained using a depth sensor (110) and the distance of the external device (200) obtained using a communication module (120).

[0061] In one embodiment, the first depth (d1), the second depth (d2), the third depth (d3), and the communication distance (d c Each of the following may represent a depth or distance as a variable over time. For example, the first object (10) may be an object that moves over time, and the position of the electronic device (100) may also change over time. The first depth (d1), which is the distance between the first object (10) and the electronic device (100), may represent a depth that changes over time.

[0062] The electronic device (100) can obtain depth changes of multiple objects (10, 20, 30) over time. For example, the electronic device (100) can obtain depth changes of multiple objects (10, 20, 30) over time in the form of a graph or a table. Continuous movement can be obtained for each of the multiple objects (10, 20, 30).

[0063] For example, the electronic device (100) can obtain continuous movement of the external device (200) that moves together with the third object (30) when the third object (30) carries or wears the external device (200) and moves.

[0064] The electronic device (100) can obtain a change in distance of the external device (200) over time. For example, the electronic device (100) can obtain a change in distance of the external device (200) over time in the form of a graph or a table. Continuous movement of the external device (200) can be obtained.

[0065] The electronic device (100) can match the continuous movement of an external device (200) with the continuous movement of a plurality of objects (10, 20, 30). By comparing the continuous movement of the external device (200) with the continuous movement of the plurality of objects (10, 20, 30), the electronic device (100) can identify a subject among the plurality of objects (10, 20, 30) that is carrying or wearing the external device (200).

[0066] For example, the electronic device (100) may determine that the movement of the external device (200) and the movement of the third object (30) among the multiple objects (10, 20, 30) are similar by comparing the continuous movement of the external device (200) with the continuous movement of the multiple objects (10, 20, 30). The electronic device (100) has a third depth (d3) and a communication distance (d c It can be determined that ) matches. The electronic device (100) has a third depth (d3) and a communication distance (d c It can be determined that ) is similar. The electronic device (100) can determine the third object (30) as the subject.

[0067] In one embodiment, the electronic device can control shooting parameters for a determined subject.

[0068] In one embodiment, the shooting parameters may include camera settings for targeting a subject. For example, the shooting parameters may include an angle for shooting the subject and a focal length for shooting the subject.

[0069] In one embodiment, the electronic device (100) may further include a shooting unit. For example, the electronic device (100) may be a camera, or may include a device such as a portable terminal, tablet, or laptop that includes a camera shooting configuration or function.

[0070] In one embodiment, the electronic device (100) can acquire an image including the third object (30) based on controlled shooting parameters targeting the third object (30) as a subject. The acquired image may appear clear with accurate focus applied to the center of the third object (30).

[0071] FIG. 2 is a conceptual diagram illustrating a method for determining a subject according to one embodiment of the present disclosure.

[0072] For the convenience of explanation, parts that overlap with those explained using Figure 1 are simplified or omitted.

[0073] Referring to FIG. 2, the electronic device (100) can obtain the depth of a plurality of objects (10, 20, 30, 40, 50, 60, 70) using a depth sensor.

[0074] In one embodiment, the electronic device (100) can obtain a first depth (d1), which is the depth of the first object (10), using a depth sensor. Likewise, the electronic device (100) can obtain a second depth (d2), a third depth (d3), a fourth depth (d4), a fifth depth (d5), a sixth depth (d6), and a seventh depth (d7), which are the depths of each object, using a depth sensor.

[0075] However, the number of objects does not limit the technical concept of the present disclosure, and more objects may be located within the space to be captured by the electronic device (100), or fewer objects may be located. The electronic device (100) can acquire the depth of objects located within the space using a depth sensor.

[0076] In one embodiment, the electronic device (100) can obtain the distance of an external device (200) using a communication module. The external device (200) may be carried, worn, or attached by one of a plurality of objects (10 to 70). The electronic device (100) can obtain the distance of an external device (200) using a communication module.

[0077] In one embodiment, the electronic device (100) can obtain the distance of the external device (200) based on the strength of a signal received from the external device (200) using a communication module.

[0078] In one embodiment, the electronic device can obtain the distance of the external device (200) based on the time required to transmit a first signal to the external device (200) using a communication module and receive a second signal from the external device (200).

[0079] In one embodiment, the distance of the external device (200) may correspond to the distance of an object among a plurality of objects (10 to 70) that carries, wears, or attaches the external device (200). For example, the external device (200) may be carried, worn, or attached by a fourth object (40). The electronic device (100) may communicate with the external device (200) using a communication module. The electronic device (100) may communicate with the external device (200) using a communication module at a communication distance (d) which is the distance of the external device (200). c You can obtain ).

[0080] Since the external device (200) moves while being carried, worn, or attached to the fourth object (40), the depth of the fourth object (40) obtained using a depth sensor may correspond to the distance of the external device (200) obtained using a communication module. The fourth depth (d4) is the communication distance (d c It can correspond to ). The fourth depth (d4) and communication distance (d c The correspondence relationship of ) is explained once again using the graph in Fig. 3.

[0081] FIG. 3 is a graph comparison diagram for explaining a method of determining a subject according to one embodiment of the present disclosure.

[0082] Referring to FIG. 3, a first graph (310) showing the depth of a plurality of objects acquired using a depth sensor and a second graph (320) showing the distance of an external device acquired using a communication module are shown.

[0083] For reference, the first graph (310) is a graph showing the depths of the first object (10), the fourth object (40), and the sixth object (60) among the plurality of objects (10 to 70) of FIG. 2. For convenience of explanation, the first object (10), the fourth object (40), and the sixth object (60) are shown as the focus. The first graph (310) is a graph showing the first depth (d1), the fourth depth (d4), and the sixth depth (d6) as depth changes over time. The second graph (320) is a communication distance (d c This is a graph showing the change in distance over time.

[0084] In one embodiment, the electronic device (100) can obtain the depths of a plurality of objects using a depth sensor. The electronic device (100) can obtain a first depth (d1), which is the depth of a first object. The electronic device (100) can obtain a fourth depth (d4), which is the depth of a fourth object. The electronic device (100) can obtain a sixth depth (d6), which is the depth of a sixth object.

[0085] The electronic device (100) can emit indistinguishable light toward an unspecified number of objects in space using a depth sensor. Accordingly, the electronic device (100) can obtain the depth of multiple objects, but may not be able to specify each of the multiple objects.

[0086] In one embodiment, the electronic device (100) can obtain the distance of an external device using a communication module. The electronic device (100) has a communication distance (d c You can obtain ).

[0087] In one embodiment, the electronic device (100) can compare the similarity between the first graph (310) and the second graph (320). Specifically, in FIG. 3, graphs for the first depth (d1), the fourth depth (d4), and the sixth depth (d6) are simultaneously shown within the first graph (310), but the graph for the first depth (d1) and the communication distance (d cThe similarity between the second graph for ) can be compared, and the graph for the fourth depth (d4) and the communication distance (d c The similarity between the second graph for ) can be compared, and the graph for the sixth depth (d6) and the communication distance (d c The similarity between the second graphs for ) can be compared.

[0088] The method of comparing similarity between graphs does not limit the present disclosure. For example, methods such as graph isomorphism analysis to determine whether two graphs have completely identical structures, subgraph isomorphism analysis to determine whether one graph can appear as a substructure of another graph, and maximum common subgraph analysis to find the maximum subgraph shared by two graphs and measure its size may be used.

[0089] In one embodiment, the electronic device (100) has a fourth depth (d4) in the first graph (310) and a communication distance (d) in the second graph (320). c It can be identified that ) is similar. For example, since the external device (200) can be carried, worn, or attached by the fourth object (40), the communication distance (d c ) may be similar to the fourth depth (d4).

[0090] In one embodiment, the electronic device (100) has a fourth depth (d4) and a communication distance (d c A fourth object can be determined as a subject based on ). The electronic device (100) can obtain location information for the fourth object, which is the subject. For example, the depth of the fourth object can be obtained using a depth sensor.

[0091] In one embodiment, the electronic device (100) can control shooting parameters based on the depth of the fourth object. The electronic device (100) can photograph the fourth object as a subject based on the controlled parameters. The electronic device (100) can acquire an image of the fourth object based on the controlled parameters. For example, the electronic device (100) can control the focus based on the depth of the fourth object. The electronic device (100) can photograph the fourth object as a subject based on the controlled focus. By controlling the focus by accurately specifying the depth of the subject, the electronic device (100) can acquire a clearer image of the subject.

[0092] In one embodiment, the electronic device (100) can obtain the depth and angle of the fourth object. For example, the depth and angle of the fourth object can be obtained using a depth sensor.

[0093] In one embodiment, the electronic device (100) can control shooting parameters based on the depth and angle of the fourth object. The electronic device (100) can photograph the fourth object as a subject based on the controlled parameters. The electronic device (100) can acquire an image of the fourth object based on the controlled parameters. For example, the electronic device (100) can control the focus based on the depth and angle of the fourth object. The electronic device (100) can photograph the fourth object as a subject based on the controlled focus.

[0094] FIG. 4 is a flowchart illustrating a method for capturing an image according to one embodiment of the present disclosure.

[0095] Referring to FIG. 4, in step S410, the electronic device can acquire the depth of a plurality of objects using a depth sensor. The electronic device can acquire the depth of a plurality of objects including a subject using a depth sensor.

[0096] In one embodiment, the depth sensor may be a distance measuring sensor that calculates the distance to an object by measuring the time taken for light emitted from a light source to reach a target object, reflect, and return to the sensor. The distance to an object obtained by the depth sensor may refer to the depth of the object.

[0097] In one embodiment, the depth sensor may include a light source and a receiver. The light source of the depth sensor may emit light. The depth sensor may emit light within a target space. The emitted light may reach objects located within the target space and be reflected from the objects to return to the receiver of the depth sensor. An electronic device may measure the depth of an object by measuring the time taken for the light emitted from the light source of the depth sensor to be reflected from the objects and return to the receiver of the depth sensor.

[0098] In step S420, the electronic device can obtain the distance of the external device by using a communication module for communication with the external device.

[0099] In one embodiment, the communication module may be a communication module capable of wirelessly transmitting and receiving data between devices. For example, the communication module may include a BLE module or a UWB module.

[0100] In one embodiment, the electronic device can obtain the distance to an external device based on signal strength. A method for calculating the distance to an external device based on signal strength will be explained in detail using FIG. 6.

[0101] In one embodiment, the electronic device can communicate with an external device through a communication module. The electronic device can transmit a signal to the external device using the communication module and can receive a signal from the external device using the communication module. The electronic device can obtain the strength of the signal transmitted and received with the external device. The electronic device can obtain the distance to the external device based on the obtained signal strength.

[0102] In one embodiment, the electronic device can obtain the distance of an external device by measuring the round-trip time of a signal between two devices.

[0103] In one embodiment, the electronic device may transmit a signal to an external device using a communication module. After receiving a signal from the electronic device, the external device may transmit a response signal to the electronic device. After the external device receives the signal, some time may be required to process the signal. The electronic device may receive a response signal from the external device using a communication module. The electronic device may obtain the distance to the external device based on the time required to receive the response signal after transmitting a signal to the external device. A method for calculating the distance to the external device based on round-trip time will be explained in detail using FIG. 7.

[0104] In step S430, the electronic device can identify a subject among a plurality of objects that corresponds to the distance of the external device. Based on the depth of the plurality of objects and the distance of the external device, the electronic device can identify a subject among the plurality of objects that corresponds to the depth of the external device.

[0105] In one embodiment, the electronic device can obtain a depth among a plurality of objects that is similar to the distance of the external device. For example, the depth of the plurality of objects and the distance of the external device may represent a change in distance over time. Accordingly, one of the depths of the plurality of objects may exhibit a curve graph similar to the distance of the external device over time. The electronic device can determine one of the plurality of objects moving similarly to the external device as the subject. The electronic device can determine one of the plurality of objects positioned similarly as the subject. The electronic device can determine one of the plurality of objects having a depth change similar to the change in distance of the external device as the subject.

[0106] In step S440, the electronic device can control shooting parameters based on the depth of the subject.

[0107] In one embodiment, the electronic device can determine the depth of a subject. The electronic device can obtain the depth of a subject among the depths of a plurality of objects obtained using a depth sensor. The electronic device can obtain the distance of an external device obtained using a communication module as the distance of the subject. The distance of the subject may refer to the distance from the electronic device or the communication module to the subject.

[0108] In one embodiment, the electronic device may control shooting parameters based on the distance to the subject. The shooting parameters may include camera settings for targeting the subject. For example, the shooting parameters may include an angle for shooting the subject and a focal length for shooting the subject.

[0109] For example, an electronic device can adjust the focal length based on the distance to the subject. The electronic device can photograph the subject based on the adjusted focal length.

[0110] FIG. 5 is a flowchart illustrating a method for capturing an image according to one embodiment of the present disclosure.

[0111] For the convenience of explanation, parts that overlap with those explained using Figure 4 are simplified or omitted.

[0112] Referring to FIG. 5, in step S510, the electronic device can acquire the depths of multiple objects using a depth sensor. The description of step S510 is omitted as it overlaps with the description using step S410 of FIG. 4.

[0113] In step S520, the electronic device can obtain the distance of an external device by using a communication module for communication with an external device. The description of step S520 is omitted as it overlaps with the description using step S420 of FIG. 4.

[0114] In step S530, the electronic device can identify a subject at a depth corresponding to the distance of the external device among the plurality of objects based on the depth of the plurality of objects and the distance of the external device. The description of step S530 is omitted as it overlaps with the description using step S430 of FIG. 4.

[0115] In step S540, the electronic device can acquire angles for multiple objects using a depth sensor.

[0116] In one embodiment, the angle may be the angle at which light reflected from a plurality of objects is incident on the depth sensor of the electronic device. The angles for the plurality of objects may correspond to the direction from the electronic device toward the objects.

[0117] In one embodiment, the angle may be a change over time. For example, the first object may be an object whose position changes over time. That is, the first object may be an object that moves over time. An electronic device can obtain the angle of an object that changes over time. The electronic device can obtain the angle of an object that changes over time with respect to the front of the electronic device.

[0118] In step S550, the electronic device can control shooting parameters based on the depth of the subject and the angle relative to the subject.

[0119] In one embodiment, the electronic device can determine a subject. The electronic device can obtain the depth of the subject among the depths of a plurality of objects obtained using a depth sensor. The electronic device can obtain the distance of an external device obtained using a communication module as the distance of the subject. That is, the electronic device can determine the subject.

[0120] In one embodiment, the electronic device may control shooting parameters based on at least one of the depth of the subject and the angle relative to the subject. The shooting parameters may include camera settings for targeting the subject.

[0121] For example, an electronic device can adjust the focal length based on the depth of the subject. The electronic device can photograph the subject based on the adjusted focal length.

[0122] As another example, an electronic device can adjust the shooting angle based on the angle relative to the subject. The electronic device can photograph the subject based on the adjusted shooting angle. For example, the electronic device may be an electronic camera mount. The electronic device can adjust the shooting direction of the mounted camera by rotating the camera mount based on the angle relative to the subject. The electronic device can control the direction so that the mounted camera photographs the subject.

[0123] As another example, an electronic device can adjust the shooting magnification based on the depth of the subject. The electronic device can photograph the subject based on the adjusted shooting magnification. The electronic device can acquire a zoomed-in image centered on the subject.

[0124] However, the technical concept of the present disclosure is not limited thereto, but merely describes an example of controlling shooting parameters.

[0125] FIG. 6 is a flowchart illustrating a method for obtaining the distance of an external device using a communication module according to one embodiment of the present disclosure.

[0126] In one embodiment, step S420 of FIG. 4 may include step S610 and step S620.

[0127] In step S610, the electronic device can obtain the strength of a signal received from an external device using a communication module.

[0128] For example, an electronic device can obtain a Received Signal Strength Indicator (RSSI) measurement value regarding a signal received from an external device. The RSSI measurement value may be a value that measures the strength of the signal and may be expressed in dBm units.

[0129] In step S620, the electronic device can obtain the distance of the external device based on the signal strength.

[0130] In one embodiment, the strength of the signal transmitted and received between the electronic device and the external device may be inversely proportional to the distance. The electronic device may obtain the distance of the external device based on the strength of the signal.

[0131] For example, the distance of an external device can be calculated based on the signal strength according to mathematical formula 1.

[0132]

[0133] In mathematical formula 1, d may be the distance between two devices transmitting and receiving signals. d may be the distance between an electronic device and an external device.

[0134] In mathematical formula 1, d0 can be a reference distance.

[0135] In Equation 1, P0 may be an RSSI value measured at a reference distance. P0 may be a reference RSSI value. For example, P0 may be a signal strength measurement between two devices spaced 1 m apart. In this case, d0 may be 1 m.

[0136] In Equation 1, n is the path loss exponent and can be a value indicating how quickly the signal attenuates. n can vary depending on the environment. For example, n can be set to 2 to 3 in an indoor environment. As another example, n can be set to 3 to 4 in an environment with many obstacles. As yet another example, n can be set to less than 2 in an open outdoor environment.

[0137] However, Equation 1, which calculates the distance between two devices using RSSI values, is merely an example, and the method of calculating the distance does not limit the technical concept of the present disclosure.

[0138] FIG. 7 is a flowchart illustrating a method for obtaining the distance of an external device using a communication module according to one embodiment of the present disclosure.

[0139] For the convenience of explanation, parts that overlap with those explained using Figure 4 are simplified or omitted.

[0140] Referring to FIG. 7, step S420 of FIG. 4 may include step S710, step S720 and step S730.

[0141] In one embodiment, the electronic device can obtain the distance to an external device using a communication module via a DS-TWR (Double-Sided Two-way Ranging) method. The electronic device can obtain a first time required to receive a first response signal from the external device after transmitting a first signal to the external device. The electronic device can obtain a second time required for the external device to receive a second response signal transmitted by the electronic device after a second signal is transmitted from the external device. For example, the second signal may be the first response signal.

[0142] In one embodiment, the electronic device can obtain the distance to an external device based on a first time and a second time. For example, the electronic device can obtain the time at which a signal is transmitted to an external device and a response signal is received by averaging the first time and the second time. The electronic device can calculate the distance to the external device based on the round-trip time of the signal.

[0143] However, the method of calculating the first and second required times is merely an example and does not limit the technical concept of the present disclosure.

[0144] In step S710, the electronic device may transmit a first signal to an external device using a communication module. The external device may transmit a second signal to the electronic device in response to the received first signal. Some processing time may be required from receiving the first signal to transmitting the second signal. In step S720, the electronic device may receive the second signal from the external device using a communication module.

[0145] In step S730, the electronic device can obtain the distance of the external device based on the time taken to transmit the first signal and receive the second signal.

[0146] In one embodiment, the electronic device can obtain the time taken to transmit a first signal and receive a second signal. The electronic device can obtain the distance of an external device based on the time taken.

[0147] The method of interpreting the elapsed time does not limit the technical scope of the present disclosure. For example, the distance of an external device can be calculated based on a single elapsed time taken for an electronic device to transmit a first signal and receive a second signal in response to the first signal.

[0148] As another example, the electronic device may obtain a first time taken for the electronic device to transmit a first signal and receive a second signal in response to the first signal, and a second time taken for an external device to transmit a third signal and receive a fourth signal in response to the third signal. The second signal may be a third signal, and the technical concept of the present disclosure is not limited thereto. The electronic device may calculate the distance of the external device based on the first time taken and the second time taken. The electronic device may calculate the distance of the external device based on the time taken interpreted using various calculated values, such as the arithmetic mean and geometric mean of the first time taken and the second time taken.

[0149] In one embodiment, the electronic device can obtain the distance to an external device using a communication module. The communication module can obtain the distance to the external device using a ToF method.

[0150] For example, the distance to an external device can be calculated using the DS-TWR method according to Equations 2 and 3. After calculating the time it takes for a signal to be transmitted between an electronic device and an external device according to Equation 2, the distance between the electronic device and the external device can be calculated according to Equation 3.

[0151]

[0152] In mathematical equation 2, T prop ε can be the propagation time, and it can be the time it takes for a signal to be transmitted from the transmitting device to the receiving device. prop It may be the time it takes for a signal to be transmitted from an electronic device to an external device or from an external device to an electronic device.

[0153] In mathematical equation 2, T Around This may be the first round-trip time taken from when a signal is transmitted from an electronic device to an external device until a response signal returns from the external device.

[0154] In mathematical equation 2, T Bround This may be the second round-trip time taken from when a signal is transmitted from an external device to an electronic device until a response signal returns from the electronic device to the external device.

[0155] In mathematical equation 2, T Areply This may be the response time of an electronic device, and may be the time from when the electronic device receives a signal from an external device until it sends a response signal to the external device.

[0156] In mathematical equation 2, T Breply This may be the response time of an external device, and may be the time from when the external device receives a signal from the electronic device until it sends a response signal to the electronic device.

[0157]

[0158] In mathematical formula 3, D may be the distance between the transmitting device and the receiving device. D may be the distance between the electronic device and the external device.

[0159] In mathematical formula 3, c air could be the speed of light. c air It can be 300,000 km / s. Depending on the unit, c air It can also be expressed as 29.97 cm / ns.

[0160] In mathematical equation 3, T prop can be the propagation time. T prop It can use nanosecond (ns) units, and c air The unit can be flexibly changed depending on the unit.

[0161] However, Equations 2 and 3 for calculating the distance between two devices using the round-trip time of a signal are merely examples, and the method of calculating the distance does not limit the technical concept of the present disclosure.

[0162] FIG. 8 is a conceptual diagram illustrating a method for determining a subject according to one embodiment of the present disclosure.

[0163] For the sake of convenience of explanation, parts that overlap with those explained using FIG. 2 are simplified or omitted. Additionally, FIG. 8 focuses on explaining the first object (10), the second object (20), and the third object (30).

[0164] Referring to FIG. 8, the electronic device (100) can obtain angles for a plurality of objects (10, 20, 30) using a depth sensor. For example, the electronic device (100) can obtain angles for a plurality of objects (10, 20, 30) with respect to the front of the electronic device (100) using a depth sensor. However, this is merely an example, and the angle is merely a variable for specifying the position or direction of the plurality of objects (10, 20, 30), and the electronic device (100) may also obtain vector values ​​for specifying the position of the plurality of objects (10, 20, 30).

[0165] In one embodiment, the electronic device (100) can obtain a first angle (θ1), which is an angle for a first object (10), using a depth sensor. Likewise, the electronic device (100) can obtain a second angle (θ2) and a third angle (θ3), which are angles for each object, using a depth sensor.

[0166] However, the number of objects does not limit the technical concept of the present disclosure, and more objects may be located within the space to be captured by the electronic device (100), or fewer objects may be located. The electronic device (100) can obtain angles for objects located within the space using a depth sensor.

[0167] In one embodiment, the electronic device (100) can obtain an angle with respect to an external device (200) using a communication module. The external device (200) may be carried, worn, or attached by one of a plurality of objects (10, 20, 30). The electronic device (100) can obtain an angle with respect to the external device (200) using a communication module. The electronic device (100) obtains a communication angle (θ), which is an angle with respect to the external device (200), using a communication module. c You can obtain ).

[0168] In one embodiment, the electronic device (100) can measure the angle of arrival (AoA) according to a method of calculating the angle of incidence of a signal using an antenna array. For example, a communication module may include a first antenna and a second antenna, and the electronic device (100) can obtain the angle based on the phase difference of the signals received by the first antenna and the second antenna.

[0169] In one embodiment, the angle for the external device (200) may correspond to the angle for an object among a plurality of objects (10, 20, 30) that holds, wears, or attaches the external device (200). For example, the external device (200) may be held, worn, or attached by a third object (30). Since the external device (200) moves while being held, worn, or attached by the third object (30), the angle for the third object (30) obtained using a depth sensor may correspond to the angle for the external device (200) obtained using a communication module. The third angle (θ3) is the communication angle (θ c It can correspond to ). The third angle (θ3) and the communication angle (θ c The correspondence relationship of ) is explained once again using the graph in Fig. 9.

[0170] FIG. 9 is a graph comparison diagram for explaining a method of determining a subject according to one embodiment of the present disclosure.

[0171] Referring to FIG. 9, a first graph (910) representing an angle for a plurality of objects acquired using a depth sensor and a second graph (920) representing an angle for an external device acquired using a communication module are shown. The angle for a plurality of objects may refer to the angle at which light reflected from the plurality of objects is incident, and the angle for an external device may refer to the angle at which light received from the external device is incident.

[0172] For reference, the first graph (910) is a graph showing the angles of the electronic device from the first object (10), the second object (20), and the third object (30) among the plurality of objects of FIG. 8. The first graph (910) is a graph showing the first angle (θ1), the second angle (θ2), and the third angle (θ3) as angle changes over time.

[0173] The second graph (920) is the communication angle (θ c This is a graph representing the change in angle over time.

[0174] In one embodiment, the electronic device (100) can obtain angles for a plurality of objects using a depth sensor. The electronic device (100) can obtain a first angle (θ1) which is an angle for a first object. The electronic device (100) can obtain a second angle (θ2) which is an angle for a second object. The electronic device (100) can obtain a third angle (θ3) which is an angle for a third object.

[0175] The electronic device (100) can emit indistinguishable light toward an unspecified number of objects in space using a depth sensor. Accordingly, the electronic device (100) can obtain angles for multiple objects, but may not be able to specify each of the multiple objects.

[0176] In one embodiment, the electronic device (100) can obtain an angle for an external device using a communication module. The electronic device (100) has a communication angle (θ c You can obtain ).

[0177] In one embodiment, the electronic device (100) can compare the similarity between the first graph (910) and the second graph (920). Specifically, in FIG. 9, graphs for the first angle (θ1), the second angle (θ2), and the third angle (θ3) are simultaneously shown within the first graph (910), but the graph for the first angle (θ1) and the communication angle (θ cThe similarity between the second graph for ) can be compared, and the graph for the second angle (θ2) and the communication angle (θ c The similarity between the second graph for ) can be compared, and the graph for the third angle (θ3) and the communication angle (θ c The similarity between the second graphs for ) can be compared.

[0178] The method of comparing similarity between graphs does not limit the present disclosure. For example, methods such as graph isomorphism analysis to determine whether two graphs have completely identical structures, subgraph isomorphism analysis to determine whether one graph can appear as a substructure of another graph, and maximum common subgraph analysis to find the maximum subgraph shared by two graphs and measure its size may be used.

[0179] In one embodiment, the electronic device (100) has a third angle (θ3) in the first graph (910) and a communication angle (θ) in the second graph (920). c It can be identified that ) is similar. For example, since the external device (200) may be carried, worn, or attached by the third object (30), the communication angle (θ c ) can be similar to the third angle (θ3).

[0180] In one embodiment, the electronic device (100) has a third angle (θ3) and a communication angle (θ c A third object located at ) can be determined as the subject. The electronic device (100) can obtain location information for the third object which is the subject. The electronic device (100) can obtain depth and angle for the third object. For example, the depth and angle for the third object can be obtained using a depth sensor. As another example, the distance and angle for the third object can be obtained using a communication module.

[0181] In one embodiment, the electronic device (100) can control shooting parameters based on depth and angle of a third object. The electronic device (100) can photograph the third object as a subject based on the controlled parameters. The electronic device (100) can acquire an image of the third object based on the controlled parameters. For example, the electronic device (100) can control the focus based on depth and angle of the third object. The electronic device (100) can photograph the third object as a subject based on the controlled focus. By controlling the focus by precisely identifying the subject, the electronic device (100) can acquire a clearer image of the subject.

[0182] FIG. 10 is a flowchart illustrating a method for capturing an image according to one embodiment of the present disclosure.

[0183] For the sake of convenience of explanation, parts that overlap with those explained using Figures 4 and 5 are simplified or omitted.

[0184] Referring to FIG. 10, in step S1010, the electronic device can obtain the depth of the subject. The depth of the subject may refer to the distance between the electronic device and the subject. The description of step S1010 may overlap with the description using steps S410 and S420 of FIG. 4.

[0185] In one embodiment, the electronic device can acquire the depths of a plurality of objects using a depth sensor. The electronic device can acquire the distance to an external device using a communication module for communication with an external device. By comparing the depths of the plurality of objects and the distance to the external device, the electronic device can determine one object among the plurality of objects that corresponds to the distance to the external device as the subject. The electronic device can acquire the depth of the determined subject.

[0186] In step S1020, the electronic device can obtain an angle with respect to the subject. The description of step S1020 may overlap with the description using step S540 of FIG. 5 and FIG. 8 and FIG. 9.

[0187] In one embodiment, the electronic device can acquire angles for a plurality of objects using a depth sensor. The angles for the plurality of objects may be angles reflected from the plurality of objects and incident on the depth sensor. By comparing the depths of the plurality of objects with the distances of the external device, the electronic device can determine one object among the plurality of objects that corresponds to the distance of the external device as the subject. The electronic device can acquire the angle for the determined subject among the angles for the plurality of objects acquired using the depth sensor.

[0188] In one embodiment, the electronic device can acquire angles for a plurality of objects using a depth sensor. The electronic device can acquire an angle for an external device using a communication module for communication with an external device. By comparing the angles for a plurality of objects and the angle for an external device, the electronic device can determine one object among the plurality of objects that corresponds to the angle for an external device as the subject. The electronic device can acquire an angle for the determined subject.

[0189] In step S1030, the electronic device can control shooting parameters based on the depth of the subject and the angle relative to the subject. The description of step S1030 is omitted as it overlaps with the description using step S550.

[0190] FIG. 11 is a flowchart illustrating a method for determining a subject according to one embodiment of the present disclosure.

[0191] For the convenience of explanation, parts that overlap with those explained using Fig. 10 are simplified or omitted.

[0192] Referring to FIG. 11, step S1020 of FIG. 10 may include step S1110, step S1120 and step S1130.

[0193] In step S1110, the electronic device can acquire angles for multiple objects using a depth sensor.

[0194] In one embodiment, the depth sensor may be a distance measuring sensor that calculates the distance to an object by measuring the time taken for light emitted from a light source to reach a target object, reflect, and return to the sensor. The distance to an object may refer to the depth of the object. The electronic device may obtain an angle to an object based on the depth of the object obtained from a plurality of depth sensors.

[0195] For example, the electronic device can obtain a first depth (d1) of a first object using a first depth sensor. The electronic device can obtain a second depth (d2) of the first object using a second depth sensor. Based on the first depth (d1) and the second depth (d2), the electronic device can obtain an angle for the object through the principle of triangulation.

[0196] As another example, an electronic device can emit light to multiple objects using a light source. A first phase of light reflected from a first object can be obtained using a first depth sensor. The electronic device can obtain a second phase of light reflected from the first object using a second depth sensor. Based on the difference between the first phase and the second phase, the electronic device can obtain an angle with respect to the object.

[0197] However, the method of calculating the angle using a depth sensor is merely an example and does not limit the technical concept of the present disclosure.

[0198] In step S1120, the electronic device can obtain an angle for an external device using a communication module.

[0199] In one embodiment, the communication module may be a communication module capable of wirelessly transmitting and receiving data between devices. For example, the communication module may include a UWB module.

[0200] In one embodiment, the electronic device can obtain an angle relative to an external device based on the phase difference of light. The communication module may include a first antenna and a second antenna. The electronic device can obtain a first phase of light received from an external device through the first antenna. The electronic device can obtain a second phase of light received from an external device through the second antenna. The electronic device can obtain an angle relative to an external device based on the difference between the first phase and the second phase.

[0201] A method for calculating the angle for an external device based on the phase difference of light is explained in detail using Fig. 12.

[0202] In step S1130, the electronic device can identify a subject corresponding to the angle to the external device among the plurality of objects based on the angle to the plurality of objects and the angle to the external device.

[0203] In one embodiment, the electronic device can obtain an angle similar to the angle with respect to an external device among the angles with respect to a plurality of objects. For example, the angles with respect to the plurality of objects and the angle with respect to the external device may represent changes in angle over time. Accordingly, one of the angles with respect to the plurality of objects may exhibit a curve graph similar to the angle with respect to time with respect to the external device. The electronic device may determine one of the plurality of objects moving similarly to the external device as the subject. The electronic device may determine one of the plurality of objects located in a similar direction as the subject. The electronic device may determine one of the plurality of objects having an angle change similar to the change in angle with respect to the external device as the subject.

[0204] FIG. 12 is a flowchart illustrating a method for obtaining an angle for an external device using a communication module according to one embodiment of the present disclosure.

[0205] For the convenience of explanation, parts that overlap with those explained using Fig. 10 are simplified or omitted.

[0206] Referring to FIG. 12, step S1020 of FIG. 10 may include step S1210, step S1220 and step S1230.

[0207] In step S1210, the electronic device can transmit a first signal to an external device using a communication module. The external device can transmit a second signal to the electronic device in response to the received first signal. In step S1220, the electronic device can receive a second signal from the external device using a first antenna and a second antenna.

[0208] In step S1230, the electronic device can obtain an angle for an external device based on the phase difference between the second signal received by the first antenna and the second signal received by the second antenna.

[0209] In one embodiment, the electronic device may measure the Angle of Arrival (AoA) according to a method of calculating the angle of incidence of a signal using an antenna array. The communication module may include a first antenna and a second antenna, and the electronic device may obtain the angle based on the phase difference of the signal received by the first antenna and the second antenna. Even if the signals are generated identically from an external device, a phase difference may occur depending on the array of the first antenna and the second antenna, and the degree of the phase difference may vary depending on the angle relative to the electronic device with respect to the external device. The electronic device may obtain the angle based on the phase difference of the signal from the external device received by the first antenna and the second antenna.

[0210] For example, the angle for an external device can be calculated according to mathematical formula 4.

[0211]

[0212] In mathematical equation 4, θ can be the angle of incidence of the signal. θ can be the angle at which a signal received from an external device is incident relative to the front of the electronic device's communication module receiving the signal. For example, if a signal from an external device is incident perpendicularly toward the electronic device, θ can be 0 radians. θ can be expressed in radians.

[0213] In mathematical formula 4, This can be the phase difference between the signals received by the two antennas. It can be expressed in radians.

[0214] In mathematical formula 4, can be the wavelength of the received signal. For example, It can be expressed in meters.

[0215] In mathematical equation 4, d can be the distance between two antennas. For example, d can be expressed in meters.

[0216] However, Equation 4 for calculating the angle for an external device is merely an example and does not limit the technical concept of the present disclosure.

[0217] FIG. 13 is a drawing illustrating a depth map of subjects according to one embodiment of the present disclosure. For reference, FIG. 13 to FIG. 15b are drawings for specifically explaining a method of obtaining the depth of a plurality of objects using a depth sensor.

[0218] Referring to FIG. 13, the electronic device (100) can obtain a depth map (1300) using a depth sensor.

[0219] In one embodiment, the depth map (1300) may be data composed of a two-dimensional array in which each pixel of the image contains depth information to a specific object. Since the depth information is contained in a two-dimensional array, each pixel of the depth map (1300) may contain information indicating a three-dimensional position in the target space.

[0220] In one embodiment, the depth map (1300) may be a two-dimensional image. The depth map (1300) may include depth information corresponding to each pixel within the image. Each pixel within the depth map (1300) may include two-dimensional coordinate values ​​and depth information.

[0221] In FIG. 13, a depth map (1300) is illustrated by displaying each distinct area with a distinct hatching pattern, but the depth map (1300) can express depth information of each pixel through color, and depth change can also be expressed through a color gradation.

[0222] In one embodiment, an electronic device (100) may emit light into a target space through a light source. The emitted light may be reflected from an object within the target space, and the electronic device (100) may receive the reflected light using a depth sensor. The electronic device (100) may obtain depth information of the point or object that reflected the light based on the time taken for the emitted light to be reflected and return. The electronic device (100) may obtain a depth map (1300) from the obtained depth information.

[0223] For example, the depth map (1300) may include a first object (10), a second object (20), a third object (30), and a fourth object (40). In FIG. 13, the first object (10), the second object (20), the third object (30), and the fourth object (40) are depicted with different hatching patterns to indicate that they have different depth information.

[0224] However, it goes without saying that even within the object in the depth map (1300), there may be different depths for each pixel.

[0225] FIG. 14 is a drawing illustrating a simplified form of subjects within a depth map according to one embodiment of the present disclosure. The depth map (1310) of FIG. 14 illustrates a map processed by simplifying the subjects within the depth map (1300) of FIG. 13.

[0226] Referring to FIG. 14, in one embodiment, the electronic device (100) can simplify objects within a depth map (1310).

[0227] In one embodiment, the electronic device (100) can acquire depth information within a depth map (1310). The electronic device (100) can classify depth information within the depth map (1310). The electronic device (100) can acquire pixel groups in which depth information appears similar. The electronic device (100) can acquire a first pixel group (11), a second pixel group (21), a third pixel group (31), and a fourth pixel group (41) within the depth map (1310). Each pixel group may be a group of pixels with similar depth information.

[0228] In one embodiment, the first pixel group (11) may be a pixel group comprising a plurality of pixels corresponding to the first object (10) of FIG. 13. The second pixel group (21) may be a pixel group comprising a plurality of pixels corresponding to the second object (20) of FIG. 13. The third pixel group (31) may be a pixel group comprising a plurality of pixels corresponding to the third object (30) of FIG. 13. The fourth pixel group (41) may be a pixel group comprising a plurality of pixels corresponding to the fourth object (40) of FIG. 13.

[0229] The degree of similarity in depth information may vary depending on the settings for classifying each object into a single pixel group and does not limit the technical concept of the present disclosure. For example, if the difference in depth information (numerical value) between pixels is less than 10%, two pixels may be included in the same pixel group.

[0230] In one embodiment, the electronic device (100) can simplify a pixel group. The electronic device (100) can simplify a pixel group into a simple shape. For example, the electronic device (100) can obtain an elliptical first pixel group (11). As another example, the electronic device (100) can obtain a square-shaped second pixel group (21), a third pixel group (31), and a fourth pixel group (41). However, the shape, form, etc., of the pixel group simplification does not limit the technical concept of the present disclosure, and the pixel group may be simplified into, for example, a point.

[0231] In one embodiment, one pixel group may include one depth information. An electronic device (100) may acquire one pixel group that shares the same depth information. An electronic device (100) may acquire a first pixel group (11) that shares the first depth information. An electronic device (100) may acquire a second pixel group (21) that shares the second depth information. An electronic device (100) may acquire a third pixel group (31) that shares the third depth information. An electronic device (100) may acquire a fourth pixel group (41) that shares the fourth depth information.

[0232] In one embodiment, the depth information shared by each pixel group may be determined based on the depth information of the pixels belonging to the pixel group. For example, the depth information shared by each pixel group may be determined as the average value of the depth information of the pixels belonging to the pixel group. As another example, the depth information shared by each pixel group may be determined as the mode among the depth information of the pixels belonging to the pixel group.

[0233] FIGS. 15a and FIGS. 15b are drawings for explaining a method for obtaining the depth of simplified subjects in a depth map and the angle of simplified subjects according to one embodiment of the present disclosure.

[0234] Referring to FIG. 15a, the electronic device (100) can obtain a depth map (1320). The electronic device (100) can obtain a first pixel group (12), a second pixel group (22), a third pixel group (32), and a fourth pixel group (42) within the depth map (1320). The depth map (1320), the first pixel group (12), the second pixel group (22), the third pixel group (32), and the fourth pixel group (42) of FIG. 15a may be the depth map (1310), the first pixel group (11), the second pixel group (21), the third pixel group (31), and the fourth pixel group (41) of FIG. 14, respectively.

[0235] In one embodiment, the depth map (1320) may include an origin (O) which is the center coordinate of the frame. The electronic device (100) may obtain the origin (O) and the center coordinate (C2) of the second pixel group (22).

[0236] For convenience of explanation, the method of obtaining the depth and angle of the second pixel group (22) is described below using FIG. 15b, and the method of obtaining the depth and angle of the second pixel group (22) can be used in the same way for the first pixel group (12), the third pixel group (32), or the fourth pixel group (42).

[0237] For reference, the depth and angle for the second pixel group (22) within the depth map (1320) shown in FIG. 15a can be calculated using the spatial coordinate system shown in FIG. 15b. The spatial coordinate system shown in FIG. 15b may correspond to a portion of the space of the depth map (1320) shown in FIG. 15a.

[0238] Referring to FIG. 15b, a spatial coordinate system based on the origin (O), which is the center coordinate of the frame, is shown. The spatial coordinate system can represent the position of a point in three-dimensional space using the X-axis, Y-axis, and Z-axis.

[0239] In one embodiment, the electronic device (100) can obtain a depth corresponding to a second pixel group (22) based on a depth map (1320). The obtained depth may be the depth from the electronic device (100) to an object corresponding to the second pixel group (22).

[0240] For example, pixels within the depth map (1320) may each contain depth information corresponding to the pixel. The electronic device (100) may obtain depth information corresponding to pixels within the second pixel group (22).

[0241] In one embodiment, the electronic device (100) can obtain a center point (C2) of a second pixel group (22). The electronic device (100) can obtain a center point (C2) located at the center of the second pixel group (22).

[0242] In one embodiment, the electronic device (100) can obtain a depth to the center point (C2) of the second pixel group (22). The electronic device (100) can obtain a depth to the center point (C2) based on depth information of pixels within the second pixel group (22). For example, the electronic device (100) can obtain depth information of a pixel located at the center of the second pixel group (22) among the pixels within the second pixel group (22) as the depth to the center point (C2). As another example, the electronic device (100) can obtain a representative value of the depth information of pixels within the second pixel group (22) as the depth to the center point (C2). The representative value may include an average value, a median value, or a mode value, and the method of calculation does not limit the technical scope of the present disclosure.

[0243] In one embodiment, the origin (O) can be represented as (0, 0, 0). Since the depth map (1320) is two-dimensional data, the origin (O) may include a two-dimensional position of (0, 0) and depth information of 0.

[0244] In one embodiment, the center point (C2) of the second pixel group (22) can be represented as (x2, y2, z2). The center point (C2) may include a two-dimensional position of (x2, y2) and depth information of z2.

[0245] In one embodiment, the electronic device (100) can obtain an angle to the center point (C2). The electronic device (100) can obtain an angle to the center point (C2) based on depth information of pixels within the second pixel group (22). The electronic device (100) can obtain, for example, an angle to the center point (C2) as an angle to an object corresponding to the second pixel group (22) based on depth information.

[0246] In one embodiment, the angle with respect to the center point (C2) is a horizontal angle (θ horizontal) and a vertical angle (θ vertical It may include ).

[0247] The horizontal angle (θhorizontal) may be the angle formed by the position of the center point (C2) in the XZ plane with the X-axis. The horizontal angle (θhorizontal) may be the angle formed by the line connecting the position of the center point (C2) projected onto the XZ plane and the origin (O) with the X-axis. For example, the horizontal angle (θhorizontal) may be the angle formed by the (x2, z2) coordinates, which consist of the X-axis coordinates of the center point (C2; (x2, y2, z2)) and the Z-axis depth information, with the X-axis.

[0248] Vertical angle (θ vertical ) can be the angle that the position of the center point (C2) in XYZ space makes with the XZ plane. The vertical angle (θ vertical ) can be the angle formed by a straight line extended from the origin (O) toward the center point (C2) in XYZ space with the XZ plane. For example, the vertical angle (θ vertical ) can be the angle that the (x2, y2, z2) coordinates of the center point (C2) make with the XZ plane.

[0249] In one embodiment, the electronic device (100) can obtain the angle of an external device using a communication module. The electronic device (100) can identify a subject corresponding to the angle of the external device by comparing the angle to the center point of a simplified pixel group with the angle of the external device. The electronic device (100) can control shooting parameters according to the subject and can obtain an image based on the controlled shooting parameters.

[0250] FIG. 16 is a flowchart illustrating a method for obtaining the depth of an object using a depth sensor according to one embodiment of the present disclosure.

[0251] For the convenience of explanation, parts that overlap with those explained using Figure 4 are simplified or omitted.

[0252] Referring to FIG. 16, step S410 of FIG. 4 may include step S1610, step S1620 and step S1630.

[0253] In step S1610, the electronic device can acquire a three-dimensional depth map using a depth sensor. The electronic device can acquire a three-dimensional depth map of the depth of objects from the electronic device using a depth sensor.

[0254] In one embodiment, an electronic device may emit light into a target space containing a plurality of objects using a light source. The electronic device may acquire light reflected from the plurality of objects and the round-trip time of the light using a depth sensor. Based on the round-trip time of the light, the electronic device may acquire depth information of each point within the target space. The electronic device may acquire a three-dimensional depth map that integrates the depth information within the target space.

[0255] In step S1620, the electronic device can identify multiple objects based on a three-dimensional depth map.

[0256] In one embodiment, an electronic device can obtain groups of pixels with similar depth information from a three-dimensional depth map. A group of pixels with similar depth information may represent a bulk-shaped object and may be pixels of a single object. The electronic device can obtain a group of pixels with similar depth information as a single object. For example, a group of pixels with similar depth information may correspond to a single object.

[0257] In step S1630, the electronic device can obtain the depth to the center of a plurality of objects identified from the electronic device as the depth of the plurality of objects.

[0258] In one embodiment, the electronic device can acquire the center point of a pixel group. The electronic device can acquire the depth to the center point of the pixel group based on depth information. The electronic device can acquire the depth to the center point of the pixel group as the depth of a single object.

[0259] For example, an electronic device may acquire a first pixel group and acquire a center point of the first pixel group. The first pixel group may be a pixel group containing pixels representing the depth of a first object. The first pixel group may correspond to the first object. The electronic device may acquire a depth to the center point of the first pixel group and determine it as the depth of the first object.

[0260] FIG. 17 is a flowchart illustrating a method for determining shooting parameters according to illuminance according to one embodiment of the present disclosure.

[0261] For the convenience of explanation, parts that overlap with those explained using Figure 4 are simplified or omitted.

[0262] In step S1710, the electronic device can acquire the depth of multiple objects using a depth sensor. The description of step S1710 is omitted as it overlaps with the description using step S410 of FIG. 4.

[0263] In step S1720, the electronic device can obtain the distance of an external device by using a communication module for communication with an external device. The description of step S1720 is omitted as it overlaps with the description using step S420 of FIG. 4.

[0264] In step S1730, the electronic device can identify a subject corresponding to the distance of the external device among the plurality of objects based on the depth of the plurality of objects and the distance of the external device. The description of step S1730 is omitted as it overlaps with the description using step S430 of FIG. 4.

[0265] In step S1740, the electronic device can acquire the illuminance within the space where a plurality of objects and an external device are located. In one embodiment, the electronic device may further include an illuminance sensor. The electronic device can acquire the illuminance within the space.

[0266] In step S1750, the electronic device can determine whether the acquired illuminance exceeds a threshold value.

[0267] In step S1760, if the illuminance exceeds a threshold value, the electronic device can determine the distance of the external device obtained using the communication module as the depth of the subject.

[0268] In one embodiment, if the illuminance is high, the accuracy of the depths of multiple objects measured using a depth sensor may decrease. For example, since a ToF depth sensor measures depth based on reflected light, interference from ambient lighting may distort or weaken the reflected light. Therefore, when the illuminance exceeds a threshold, the distance of an external device obtained using a communication module may be more accurate than the distance of an external device obtained using a depth sensor. When the illuminance exceeds a threshold, the electronic device may determine the distance of an external device obtained using a communication module as the depth of the subject.

[0269] In step S1770, if the illuminance does not exceed a threshold, the electronic device can determine one of the depths of a plurality of objects acquired using a depth sensor as the depth of the subject.

[0270] In one embodiment, if the illuminance is low, the depth of multiple objects measured using a depth sensor may have high accuracy. The electronic device can obtain the depth of an identified subject among the depths of multiple objects obtained using a depth sensor when the illuminance does not exceed a threshold.

[0271] Although it has been described that in steps S1750 to S1770 of FIG. 17, the depth of the subject is determined either by using a communication module or by using a depth sensor, in one embodiment, the electronic device may determine the depth of the subject by giving a high weight to one of the distance obtained using a communication module and the depth obtained using a depth sensor.

[0272] For example, the electronic device may assign a high weight to the distance of an external device obtained using a communication module when the illuminance exceeds a threshold. The electronic device may assign a low weight to the depth of an identified subject among the depths of multiple objects obtained using a depth sensor when the illuminance exceeds a threshold. Based on the weights, the electronic device can calculate the depth of a subject by combining the distance of an external device obtained using a communication module and the depth of the subject obtained using a depth sensor.

[0273] In step S1780, the electronic device can control shooting parameters based on the depth of the subject. The description of step S1780 is omitted as it overlaps with the description using step S440 of FIG. 4.

[0274] FIG. 18 is a flowchart illustrating a method for generating metadata including controlled camera settings according to one embodiment of the present disclosure.

[0275] Referring to FIG. 18, steps S1810 and S1820 may be performed after step S440 of FIG. 4.

[0276] In step S1810, the electronic device can acquire an image of a subject based on controlled shooting parameters.

[0277] In one embodiment, the electronic device can control shooting parameters based on the depth of the subject. The electronic device can control shooting parameters based on at least one of the depth of the subject and the angle relative to the subject. The shooting parameters may include camera settings for targeting the subject.

[0278] For example, an electronic device can adjust the focal length based on the depth of the subject. Based on the adjusted focal length, the electronic device can acquire an image of the subject. The larger the depth value of the subject, the greater the adjustment of the focal length.

[0279] As another example, an electronic device can adjust the shooting angle based on the angle relative to the subject. Based on the angle relative to the subject, the electronic device can adjust the shooting angle so that the shooting direction faces the subject. Based on the adjusted shooting angle, the electronic device can acquire an image of the subject.

[0280] As another example, an electronic device can adjust the shooting magnification based on the depth of the subject. The electronic device can photograph the subject based on the adjusted shooting magnification. The electronic device can acquire a zoomed-in image centered on the subject. The electronic device can apply a higher shooting magnification as the depth value of the subject increases. The electronic device can acquire a more magnified image the further away the subject is.

[0281] In step S1820, the electronic device can generate metadata including an image, the depth of the subject, and the angle with respect to the subject.

[0282] In one embodiment, the electronic device may generate metadata including an image and controlled shooting parameters for acquiring the image.

[0283] For example, an electronic device can generate metadata including the depth of an image and a subject. An electronic device can generate metadata including the angle of an image and a subject. An electronic device can generate metadata including the depth of an image and a subject, and the angle of a subject. An electronic device can generate metadata including an image and a controlled focal length.

[0284] However, the combination of information to be included in the metadata is merely an example, and the present disclosure is not limited thereto. More imaging parameters may be included in the metadata.

[0285] FIG. 19a is a drawing for illustrating an image taken according to a controlled camera setting according to one embodiment of the present disclosure.

[0286] Referring to FIG. 19a, the electronic device can acquire a first image (1900a) based on controlled shooting parameters.

[0287] In one embodiment, a first object (10) and a second object (20) may be included within the target space. An external device may be carried, worn, or attached by the first object (10). For example, the external device may be a portable terminal carried by the first object (10).

[0288] In one embodiment, the electronic device can acquire a first image (1900a) with a focal length adjusted for the first object (10). The first image (1900a) can be focused with the first object (10) as the center.

[0289] In one embodiment, the electronic device can detect a major area within the first object (10) using an object detection algorithm. The electronic device can detect a first area (15) within the first object (10). For example, if the first object (10) is a person, the electronic device can detect the face area of ​​the first object (10). The electronic device can obtain the depth of the detected face area of ​​the first object (10) as the depth of the first object (10). The electronic device can control the focal length based on the depth of the face area of ​​the first object (10). The electronic device can obtain a first image (1900a) in which the focal length is finely adjusted for the first area (15) of the first object (10). The first image (1900a) can be focused around the first area (15).

[0290] FIG. 19b is a drawing for illustrating an image taken according to a controlled camera setting according to one embodiment of the present disclosure.

[0291] Referring to FIG. 19b, the electronic device can acquire a second image (1900b) based on controlled shooting parameters.

[0292] In one embodiment, a first object (10) and a second object (20) may be included within the target space. An external device may be carried, worn, or attached to the second object (20). For example, the external device may be a portable terminal carried by the second object (20).

[0293] In one embodiment, the electronic device can identify the second object (20) as a subject. The electronic device can acquire a second image (1900b) with a focal length adjusted for the second object (20). The second image (1900b) can be focused with the second object (20) as the center.

[0294] In one embodiment, the electronic device can detect a major area within a subject using an object detection algorithm. The electronic device can detect a second area (25) within a second object (20). For example, if the second object (20) is a person, the electronic device can detect the face area of ​​the second object (20). The electronic device can obtain the depth of the detected face area of ​​the second object (20) as the depth of the second object (20). The electronic device can control the focal length based on the depth of the face area of ​​the second object (20). The electronic device can obtain a second image (1900b) in which the focal length is finely adjusted for the second area (25) of the second object (20). The second image (1900b) can be focused around the second area (25).

[0295] FIG. 20 is a drawing for illustrating images captured according to a controlled camera setting according to an embodiment of the present disclosure. FIG. 20 illustrates a first image (2000a) captured according to a controlled camera setting and a second image (2000b) that has been post-processed.

[0296] In one embodiment, a first object (10) may be included within a target space. An external device may be carried, worn, or attached by the first object (10). For example, the external device may be a portable terminal carried by the first object (10).

[0297] In one embodiment, the electronic device can identify the first object (10) as a subject. The electronic device can acquire a first image (2000a) with a focal length adjusted for the first object (10).

[0298] In one embodiment, the electronic device can distinguish a major area within the subject using an object detection algorithm. For example, if the first object (10) is a person, the electronic device can detect the face area of ​​the first object (10). The electronic device can process the image centering on the detected face area of ​​the first object (10). The electronic device can enlarge the image centering on the face area of ​​the first object (10). The electronic device can obtain an enlarged second image (2000b). The first image (2000a) can be enlarged centering on the first area (25) to obtain the second image (2000b).

[0299] FIG. 21 is a block diagram illustrating the configuration of an electronic device according to one embodiment of the present disclosure.

[0300] Hereinafter, with reference to FIG. 21, the configuration of an electronic device for performing the operations described so far will be described. FIG. 21 is a block diagram illustrating the configuration of an electronic device according to one embodiment of the present disclosure.

[0301] For the convenience of explanation, parts that overlap with those explained using FIGS. 1 to 20 are simplified or omitted.

[0302] The electronic device (2100) may be a device that determines the depth of a subject using a depth sensor (2110) and a communication module (2120) and then controls shooting parameters according to the depth of the subject. The depth of the subject may refer to the distance between the electronic device (2100) and the subject. Furthermore, the electronic device (2100) may be a device that captures an image based on the controlled shooting parameters. The electronic device (2100) may be implemented as various devices such as, for example, a mobile device, a smartphone, a laptop computer, a desktop, a tablet PC, a wearable device, an e-book reader, a digital broadcasting terminal, a PDA (Personal Digital Assistants), a PMP (Portable Multimedia Player), a navigation device, an MP3 player, a camcorder, etc. In one embodiment of the present disclosure, the electronic device (2100) may be an augmented reality device. An augmented reality device is a device capable of expressing 'augmented reality,' and generally encompasses not only glasses-shaped augmented reality glasses worn by a user on the face, but also head-mounted display apparatuses (HMDs) worn on the head, augmented reality helmets, etc.

[0303] Referring to FIG. 21, the electronic device (2100) may include a depth sensor (2110), a communication module (2120), a processor (2130), and a memory (2140). The depth sensor (2110), the communication module (2120), the processor (2130), and the memory (2140) may each be electrically and / or physically connected to each other. However, the components of the electronic device (2100) are not limited to the examples described above, and the electronic device (2100) may include more components than the components described above, or fewer components. In one embodiment, some or all of the depth sensor (2110), the communication module (2120), the memory (2140), and the processor (2130) may be implemented in the form of a single chip, and the processor (2130) may include one or more processors.

[0304] In one embodiment, a depth sensor (2110) may be used to measure the depth of an object through the round-trip time of light. In this case, the depth sensor (2110) may use an LED or a laser diode as a light source. To measure depth using the depth sensor (2110), light output from the light source may be reflected from the object and received by the depth sensor (2110). The processor (2130) of the electronic device (2100) may obtain the depth of the object based on the round-trip time of the light received through the depth sensor (2110).

[0305] In one embodiment, a communication module (2120) may be used for communication with an external device (2200). An electronic device (2100) may communicate with an external device (2200) using the communication module (2120). The communication module (2120) may include a BLE module or a UWB module.

[0306] In one embodiment, the electronic device (2100) can receive a signal from an external device (2200) using a communication module (2120). The electronic device (2100) can obtain the distance of the external device (2200) based on the strength of the signal received from the external device (2200).

[0307] In one embodiment, the electronic device (2100) can transmit a signal to an external device (2200) using a communication module (2120) and receive a response signal from the external device (2200). The electronic device (2100) can obtain the distance of the external device (2200) based on the time taken to transmit a signal to the external device (2200) and receive a response signal.

[0308] In one embodiment, the processor (2130) of the electronic device (2100) can determine a subject among a plurality of objects that possesses, wears, or has attached an external device (2200) by comparing the depth obtained using the depth sensor (2110) with the distance obtained using the communication module (2120). The processor (2130) of the electronic device (2100) can control shooting parameters based on the depth of the subject. The processor (2130) of the electronic device (2100) can obtain a captured image based on the controlled shooting parameters.

[0309] In one embodiment, the processor (2130) of the electronic device (2100) can perform image processing operations described using FIGS. 1 to 20.

[0310] Memory (2140) is configured to store various programs or data and may be composed of a storage medium or a combination of storage media such as ROM, RAM, hard disk, CD-ROM, and DVD. Memory (2140) may not exist separately but may be configured to be included in the processor (2130). Memory (2140) may be composed of volatile memory, non-volatile memory, or a combination of volatile and non-volatile memory. Programs or instructions for performing operations according to the embodiments described above with reference to FIGS. 1 through 20 may be stored in memory (2140). Memory (2140) may provide stored data to the processor (2130) upon the request of the processor (2130).

[0311] The processor (2130) is configured to control a series of processes to enable the electronic device (2100) to operate according to the embodiments described above with reference to FIGS. 1 to 20, and may be composed of one or more processors. The one or more processors included in the processor (2130) may be circuitry such as a System on Chip (SoC) or an Integrated Circuit (IC). In this case, the one or more processors may be general-purpose processors such as a CPU, AP, or DSP (Digital Signal Processor), graphics-dedicated processors such as a GPU or VPU (Vision Processing Unit), or artificial intelligence-dedicated processors such as an NPU. For example, if one or more processors are artificial intelligence-dedicated processors, the artificial intelligence-dedicated processors may be designed with a hardware structure specialized for processing a specific artificial intelligence model.

[0312] The processor (2130) can write data to memory (2140) or read data stored in memory (2140), and in particular, can process data according to a predefined operation rule or artificial intelligence model by executing a program or at least one instruction stored in memory (2140). Accordingly, the processor (2130) can perform the operations described in the previously described embodiments, and the operations described as being performed by the electronic device (2100) in the previously described embodiments can be seen as being performed by the processor (2130) unless otherwise specified.

[0313] An electronic device according to one embodiment may include a depth sensor, a communication module for communicating with an external device worn on a subject, a memory in which instructions for processing data are stored, and at least one processor. By executing a program stored in the memory or at least one instruction by the at least one processor, the electronic device can acquire the depth of a plurality of objects including a subject using the depth sensor. The electronic device can acquire the distance of an external device using the communication module. The electronic device can identify a subject among the plurality of objects that has a depth corresponding to the distance of the external device. The electronic device can control shooting parameters based on the depth of the identified subject.

[0314] In one embodiment, by having at least one processor execute a program stored in memory or at least one instruction, the electronic device can acquire angles for a plurality of objects using a depth sensor. The electronic device can control shooting parameters based on the depth of the subject and the angle with respect to the subject.

[0315] In one embodiment, by executing a program stored in memory or at least one instruction, the electronic device can obtain the strength of a signal received from an external device using a communication module. The electronic device can obtain the distance of the external device based on the strength of the signal.

[0316] In one embodiment, by executing a program stored in memory or at least one instruction by at least one processor, the electronic device can acquire angles for a plurality of objects using a depth sensor. The electronic device can acquire angles for an external device using a communication module. Based on the angles for the plurality of objects and the angles for the external device, the electronic device can identify a subject among the plurality of objects that corresponds to the angle for the external device. The electronic device can control shooting parameters based on the depth of the subject and the angle for the subject.

[0317] In one embodiment, by executing a program stored in memory or at least one instruction, the electronic device can transmit a first signal to an external device using a communication module. The electronic device can receive a second signal from the external device using a communication module. The electronic device can obtain the distance to the external device based on the time taken to transmit the first signal and receive the second signal.

[0318] In one embodiment, the communication module may include a first antenna and a second antenna. By executing a program stored in memory or at least one instruction by at least one processor, the electronic device may transmit a first signal to an external device using the communication module. The electronic device may receive a second signal from the external device using the first antenna and the second antenna. The electronic device may obtain an angle with respect to the external device based on the phase difference between the second signal received by the first antenna and the second signal received by the second antenna.

[0319] In one embodiment, by executing a program stored in memory or at least one instruction by at least one processor, the electronic device can acquire a three-dimensional depth map using a depth sensor. The electronic device can identify a plurality of objects based on the three-dimensional depth map.

[0320] In one embodiment, by executing a program stored in memory or at least one instruction, the electronic device can obtain the depth of the center of a plurality of objects identified from the electronic device as the depth of the plurality of objects.

[0321] In one embodiment, by executing a program stored in memory or at least one instruction, an electronic device can acquire illuminance within a space where a plurality of objects and an external device are located. When the illuminance exceeds a threshold value, the electronic device can determine the distance of the external device acquired using a communication module as the depth of the subject.

[0322] In one embodiment, the shooting parameters may include the shooting angle and focal length.

[0323] In one embodiment, by executing a program stored in memory or at least one instruction, the electronic device can acquire an image of a subject based on controlled shooting parameters. The electronic device can generate metadata including the image, the depth of the subject, and the angle relative to the subject.

[0324] According to one embodiment, a method for an electronic device to capture an image may include the step of acquiring the depth of a plurality of objects including a subject using a depth sensor. The method may include the step of acquiring the distance of an external device using a communication module for communication between the electronic device and an external device worn on the subject. The method may include the step of identifying a subject among the plurality of objects at a depth corresponding to the distance of the external device. The method may include the step of controlling shooting parameters based on the depth of the identified subject.

[0325] In one embodiment, the method may further include the step of obtaining angles for a plurality of objects from an electronic device using a depth sensor. The step of controlling shooting parameters may be to control shooting parameters based on the depth of the subject and the angle of the subject from the electronic device.

[0326] In one embodiment, the method may further include the step of obtaining angles for a plurality of objects from an electronic device using a depth sensor. The method may further include the step of obtaining angles for an external device from an electronic device using a communication module. The method may further include the step of identifying a subject among a plurality of objects that corresponds to the angle from the electronic device to the external device, based on the angles for a plurality of objects from an electronic device and the angle from the electronic device to the external device. The step of controlling shooting parameters may be to control shooting parameters based on the depth of the subject and the angle from the electronic device to the subject.

[0327] In one embodiment, the method may further include the step of acquiring a three-dimensional depth map using a depth sensor. The method may further include the step of identifying a plurality of objects based on the three-dimensional depth map.

[0328] In one embodiment, the step of acquiring the depth between a plurality of objects using a depth sensor may be to acquire the depth of the center of the identified plurality of objects as the depth of the plurality of objects.

[0329] In one embodiment, the method may further include the step of acquiring illuminance within a space where a plurality of objects and an external device are located. If the illuminance exceeds a threshold value, the method may further include the step of determining the distance of the external device acquired using a communication module as the depth of the subject.

[0330] In one embodiment, the shooting parameters may include the shooting angle and focal length.

[0331] In one embodiment, the method may further include the step of acquiring an image of a subject based on controlled shooting parameters. The method may further include the step of generating metadata including the image, the depth of the subject, and the angle with respect to the subject.

[0332] A computer-readable recording medium may be provided on which a program for performing any one of the methods according to one embodiment of the present disclosure is recorded.

[0333] Various embodiments of the present disclosure may be implemented or supported by one or more computer programs, and computer programs may be formed from computer-readable program code and stored on a computer-readable medium. In the present disclosure, “application” and “program” may represent one or more computer programs, software components, instruction sets, procedures, functions, objects, classes, instances, related data, or parts thereof suitable for implementation in computer-readable program code. “Computer-readable program code” may include various types of computer code, including source code, object code, and executable code. “Computer-readable medium” may include various types of media accessible by a computer, such as read-only memory (ROM), random access memory (RAM), hard disk drive (HDD), compact disc (CD), digital video disc (DVD), or various types of memory.

[0334] Additionally, a device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, a 'non-transitory storage medium' is a tangible device and may exclude wired, wireless, optical, or other communication links that transmit transient electrical or other signals. Meanwhile, this 'non-transitory storage medium' does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily. For example, a 'non-transitory storage medium' may include a buffer in which data is stored temporarily. A computer-readable medium may be any available medium accessible by a computer and may include both volatile and non-volatile media, as well as removable and non-removable media. A computer-readable medium includes media in which data can be stored permanently and media in which data can be stored and subsequently overwritten, such as rewritable optical discs or erasable memory devices.

[0335] According to one embodiment, the method according to the various embodiments disclosed herein may be provided by being included in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or distributed online (e.g., download or upload) through an application store or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product (e.g., a downloadable app) may be temporarily stored or temporarily created on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

[0336] The foregoing description of the present disclosure is for illustrative purposes only, and those skilled in the art will understand that modifications can be easily made to other specific forms without altering the technical spirit or essential features of the present disclosure. For example, suitable results may be achieved even if the described techniques are performed in a different order than described, and / or components such as systems, structures, devices, circuits, etc., described are combined or assembled in a form different from described, or replaced or substituted by other components or equivalents. Therefore, the embodiments described above should be understood as illustrative in all respects and not restrictive. For example, each component described as a single unit may be implemented in a distributed manner, and components described as distributed may likewise be implemented in a combined form.

[0337] The scope of the present disclosure is defined by the claims set forth below rather than by the detailed description above, and all modifications or variations derived from the meaning and scope of the claims and equivalent concepts thereof should be interpreted as being included within the scope of the present disclosure.

Claims

1. Depth sensor (110); A communication module (120) for communication with an external device worn on the subject; Memory in which instructions for processing data are stored; and It includes at least one processor, By the above at least one processor executing a program or at least one instruction stored in the memory, the electronic device (100) Using the depth sensor, the depths (d1, d2, d3) of a plurality of objects including the subject are obtained, and Using the communication module above, the distance (dc) of the external device (200) is obtained, and Identifying a subject at a depth corresponding to the distance of the external device among the plurality of objects above, and An electronic device that controls shooting parameters based on the depth of the identified subject.

2. In Paragraph 1, By the above-mentioned at least one processor executing a program stored in the memory or at least one instruction, the electronic device, Using the depth sensor above, angles for multiple objects are obtained, and An electronic device that controls the shooting parameters based on the depth of the subject and the angle relative to the subject.

3. In either of Paragraph 1 or Paragraph 2, By the above-mentioned at least one processor executing a program stored in the memory or at least one instruction, the electronic device, Using the communication module above, the strength of the signal received from the external device is obtained, and An electronic device that obtains the distance of the external device based on the strength of the signal.

4. In any one of paragraphs 1 through 3, By the above-mentioned at least one processor executing a program stored in the memory or at least one instruction, the electronic device, Using the depth sensor above, the angles of the plurality of objects are obtained, and Using the above communication module, an angle for the above external device is obtained, and Based on the angles of the plurality of objects and the angles of the external device, the subject corresponding to the angle of the external device among the plurality of objects is identified, and An electronic device that controls the shooting parameters based on the depth of the subject and the angle relative to the subject.

5. In any one of paragraphs 1 through 4, By the above-mentioned at least one processor executing a program stored in the memory or at least one instruction, the electronic device, A first signal is transmitted to the external device using the communication module above, and A second signal is received from the external device using the communication module above, and An electronic device that obtains the distance of the external device based on the time taken to transmit the first signal and receive the second signal.

6. In any one of paragraphs 1 through 5, The communication module includes a first antenna and a second antenna, and By the above-mentioned at least one processor executing a program stored in the memory or at least one instruction, the electronic device, A first signal is transmitted to the external device using the communication module above, and A second signal is received from the external device using the first antenna and the second antenna, and An electronic device that obtains an angle for the external device based on the difference between the phase of the second signal received by the first antenna and the phase of the second signal received by the second antenna.

7. In any one of paragraphs 1 through 6, By the above-mentioned at least one processor executing a program stored in the memory or at least one instruction, the electronic device, A three-dimensional depth map is obtained using the depth sensor above, and An electronic device that identifies a plurality of objects based on the above three-dimensional depth map.

8. In Paragraph 7, By the above-mentioned at least one processor executing a program stored in the memory or at least one instruction, the electronic device, An electronic device that obtains the depth of the center of the identified plurality of objects from the electronic device as the depth of the plurality of objects.

9. In any one of paragraphs 1 through 8, By the above-mentioned at least one processor executing a program stored in the memory or at least one instruction, the electronic device, Obtaining the illumination level within the space where the above plurality of objects and the above external device are located, An electronic device that determines the distance of the external device obtained using the communication module as the depth of the subject when the above illuminance exceeds a threshold value.

10. In a method for an electronic device to capture an image, A step of acquiring the depth of multiple objects including a subject using a depth sensor; A step of obtaining the distance of an external device using a communication module for communication between the electronic device and the external device worn on the subject; A step of identifying a subject at a depth corresponding to the distance of the external device among the plurality of objects above; and A method comprising the step of controlling shooting parameters based on the depth of the identified subject.

11. In Paragraph 10, The method further includes the step of obtaining angles for the plurality of objects from the electronic device using the depth sensor, The step of controlling the above-mentioned shooting parameters is, A method of controlling the shooting parameters based on the depth of the subject and the angle of the electronic device toward the subject.

12. In either of Paragraphs 10 and 11, A step of obtaining angles for the plurality of objects from the electronic device using the depth sensor; A step of obtaining an angle of the external device from the electronic device using the communication module above; The method further includes the step of identifying the subject among the plurality of objects that corresponds to the angle from the electronic device to the external device, based on the angle from the electronic device to the plurality of objects and the angle from the electronic device to the external device. The step of controlling the above-mentioned shooting parameters is, A method of controlling the shooting parameters based on the depth of the subject and the angle of the electronic device toward the subject.

13. In any one of paragraphs 10 through 12, A step of acquiring a three-dimensional depth map using the depth sensor; and A method further comprising the step of identifying the plurality of objects based on the above three-dimensional depth map.

14. In any one of paragraphs 10 through 13, A step of obtaining illuminance within a space where the plurality of objects and the external device are located; and A method further comprising the step of determining the distance of the external device obtained using the communication module as the depth of the subject when the illuminance exceeds a threshold value.

15. A computer-readable recording medium having a program recorded thereon for performing the method of any one of paragraphs 10 through 14 on a computer.