Electronic device for acquiring three-dimensional image, operation method thereof, and recording medium

By utilizing multiple cameras from different devices to adjust positioning based on feature points, the electronic device addresses the challenge of stationary cameras in 3D reconstruction, achieving comprehensive 3D object modeling.

WO2025244379A1PCT designated stage Publication Date: 2025-11-27SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/006789
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-29
Filing Date
2025-05-19
Publication Date
2025-11-27

Smart Images

  • Figure KR2025006789_27112025_PF_FP_ABST
    Figure KR2025006789_27112025_PF_FP_ABST
Patent Text Reader

Abstract

An electronic device, according to one embodiment, may be configured to, after at least one of the position or the direction of a second camera is adjusted, acquire a 3D image in which a first object is restored in three dimensions, on the basis of a third image including the first object captured via a first camera and a fourth image acquired from an external electronic device via a communication circuit, wherein the fourth image may include the first object captured from a third position in a third direction via the second camera.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device for acquiring a three-dimensional image, method of operation thereof, and recording medium

[0001] Various embodiments relate to an electronic device for acquiring a three-dimensional image, a method of operating the same, and a recording medium.

[0002] Recently, as mobile phones equipped with low-cost (consumer-level) compact cameras have become popular, interest in 3D reconstruction technology that reconstructs objects into 3D models on mobile phones has increased.

[0003] 3D restoration technology is a technology that scans an object with a camera to acquire an image, and then restores the object into a 3D model using the acquired image scenes.

[0004] 3D reconstruction techniques may involve scanning objects while the camera is stationary. This involves scanning objects while moving the camera. This method presents difficulties in situations where the camera is stationary and it is difficult to move the object.

[0005] According to one embodiment, an electronic device may include a first camera, a display, a communication circuit, at least one processor, and a memory storing instructions.

[0006] According to one embodiment, the instructions, when executed by the at least one processor, may cause the electronic device to acquire a first image of a first object in a first direction at a first location through the first camera.

[0007] According to one embodiment, the instructions, when executed by the at least one processor, may cause the electronic device to obtain, through the communication circuit, a second image from the external electronic device, the second image capturing the first object in a second direction at a second location through a second camera included in the external electronic device.

[0008] According to one embodiment, the instructions, when executed by the at least one processor, may cause the electronic device to identify a first pose of the first object included in the first image and a second pose of the first object included in the second image.

[0009] According to one embodiment, the instructions, when executed by the at least one processor, may cause the electronic device to set the first camera as a main camera and to set the second camera as a sub camera based on determining that the first pose satisfies a specified condition.

[0010] According to one embodiment, the instructions, when executed by the at least one processor, may cause the electronic device to transmit a command to the external electronic device, the command causing the external electronic device to provide guide information that adjusts at least one of a position or direction of the second camera based on a number of corresponding feature points between a plurality of first feature points associated with the first object included in the first image and a plurality of second feature points associated with the first object included in the second image.

[0011] According to one embodiment, the instructions, when executed by the at least one processor, may cause the electronic device to obtain a 3D image in which the first object is three-dimensionally reconstructed based on a third image of the first object captured through the first camera and a fourth image of the first object captured through the second camera in a third direction at a third position after at least one of the position or the direction of the second camera is adjusted.

[0012] According to one embodiment, a method of operating an electronic device may include an operation of acquiring a first image of a first object in a first direction at a first location through a first camera included in the electronic device.

[0013] According to one embodiment, a method of operating an electronic device may include an operation of acquiring a second image of the first object in a second direction at a second location from an external electronic device through a second camera included in the external electronic device, via a communication circuit included in the electronic device.

[0014] According to one embodiment, a method of operating an electronic device may include an operation of confirming a first pose of the first object included in the first image and a second pose of the first object included in the second image.

[0015] According to one embodiment, a method of operating an electronic device may include setting the first camera as a main camera and setting the second camera as a sub camera based on determining that the first pose satisfies a specified condition.

[0016] According to one embodiment, the operating method of the electronic device may include transmitting a command to the external electronic device, which causes the external electronic device to provide guide information for adjusting at least one of a position or direction of the second camera based on the number of corresponding feature points between a plurality of first feature points related to the first object included in the first image and a plurality of second feature points related to the first object included in the second image.

[0017] According to one embodiment, the operating method of the electronic device may include an operation of obtaining a 3D image in which the first object is three-dimensionally restored based on a third image captured by the first camera through the first camera after at least one of the position or the direction of the second camera is adjusted and a fourth image captured by the first object through the second camera at a third position in a third direction.

[0018] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of acquiring a first image of a first object in a first direction at a first location through a first camera included in the electronic device.

[0019] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of acquiring, from an external electronic device, a second image of the first object captured in a second direction at a second location through a second camera included in the external electronic device, via a communication circuit included in the electronic device.

[0020] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of identifying a first pose of the first object included in the first image and a second pose of the first object included in the second image.

[0021] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include setting the first camera as a main camera and setting the second camera as a sub-camera based on determining that the first pose satisfies a specified condition.

[0022] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of the electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include transmitting a command to an external electronic device, the command causing the external electronic device to provide guide information for adjusting at least one of a position or a direction of the second camera based on a number of corresponding feature points between a plurality of first feature points associated with the first object included in the first image and a plurality of second feature points associated with the first object included in the second image.

[0023] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to perform at least one operation, wherein the at least one operation may include an operation of obtaining a 3D image in which the first object is three-dimensionally reconstructed based on a third image of the first object captured through the first camera after at least one of the position or the direction of the second camera is adjusted and a fourth image of the first object captured through the second camera at a third position and in a third direction.

[0024] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.

[0025] FIG. 2A is a drawing for explaining an operation of an electronic device according to one embodiment of the present invention to obtain a 3D image that restores a first object in three dimensions.

[0026] FIG. 2b is a schematic block diagram of a system including an electronic device and an external electronic device, according to one embodiment.

[0027] FIG. 2c is a schematic block diagram of an image generation module according to one embodiment.

[0028] FIG. 3 is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to obtain a 3D image in which a first object is restored in three dimensions.

[0029] FIG. 4A is a flowchart illustrating an operation of an electronic device according to one embodiment to check the number of feature points corresponding to each other.

[0030] FIG. 4B is a flowchart illustrating an operation of an electronic device according to one embodiment to check coverage of a first camera and a second camera for a first object.

[0031] FIG. 5 is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to provide guide information for adjusting at least one of a position or direction of a second camera based on the number and coverage of corresponding feature points.

[0032] FIG. 6A is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to set a main camera and a sub camera based on a pose of a first object.

[0033] FIG. 6b is a flowchart illustrating an operation of an electronic device according to one embodiment to set a main camera and a sub camera by taking into account the resolutions of the first camera and the second camera.

[0034] FIG. 7A is a diagram for explaining an operation of an electronic device according to one embodiment of the present invention to set a main camera based on a plurality of first feature points related to a first object included in a first image.

[0035] FIG. 7B is a diagram for explaining an operation of an electronic device according to one embodiment of the present invention to set a sub-camera based on a plurality of second feature points related to a first object included in a second image.

[0036] FIG. 8 is a drawing for explaining an operation of an electronic device according to one embodiment of the present invention to display guide information for adjusting the position of a first camera on a display.

[0037] FIG. 9A is a diagram for explaining an operation of an electronic device according to one embodiment to identify corresponding feature points between a plurality of first feature points included in a first image and a plurality of second feature points included in a second image.

[0038] FIG. 9B is a diagram for explaining an operation of an electronic device according to one embodiment to check coverage based on corresponding points between a plurality of first feature points included in a first image and a plurality of second feature points included in a second image.

[0039] FIG. 10A is a diagram for explaining an operation of an electronic device according to one embodiment to identify corresponding feature points between a plurality of first feature points included in a first image and a plurality of second feature points included in a second image.

[0040] FIG. 10b is a diagram for explaining an operation of an electronic device according to one embodiment to check coverage based on corresponding points between a plurality of first feature points included in a first image and a plurality of second feature points included in a second image.

[0041] FIG. 11 is a drawing for explaining guide information for adjusting the position of a second camera according to one embodiment.

[0042] FIG. 12 is a drawing for explaining guide information for adjusting the angle of a second camera according to one embodiment.

[0043] FIG. 13 is a drawing for explaining a three-dimensional image of a first object restored in three dimensions according to one embodiment.

[0044] FIG. 14 is a flowchart illustrating an operation of an electronic device according to one embodiment to check the coverage of a first camera and a second camera based on an angle between the first camera and the second camera.

[0045] FIG. 15 is a diagram for explaining an operation of an electronic device according to one embodiment to check the coverage of a first camera and a second camera based on an angle between the first camera and the second camera.

[0046] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).

[0047] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.

[0048] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, in the electronic device (101) itself where artificial intelligence is performed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0049] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).

[0050] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

[0051] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0052] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0053] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0054] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).

[0055] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0056] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0057] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0058] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0059] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.

[0060] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0061] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0062] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).

[0063] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.

[0064] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).

[0065] In one embodiment, the antenna module (197) may generate a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.

[0066] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0067] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0068] FIG. 2A is a drawing for explaining an operation of an electronic device according to one embodiment of the present invention to obtain a 3D image that restores a first object in three dimensions.

[0069] Referring to FIG. 2A, according to one embodiment, the electronic device (201) may obtain a 3D image, which is a three-dimensional reconstruction of a specific object, by using a first image captured by a first camera (210) included in the electronic device (201) (e.g., the first camera (210) of FIG. 2B) of the specific object and a second image captured by a second camera (211) included in at least one external electronic device (202) (e.g., the second camera (211) of FIG. 2B). For example, the electronic device (201) and the external electronic device (202) may be located at different points. Accordingly, the first image and the second image may each include images of the same specific object. In addition, the first image and the second image may each include images captured at different locations (or different directions). That is, the electronic device (201) can obtain a 3D image of a specific object that has been 3D-reconstructed using images taken at different locations for the specific object. For example, the 3D image may include a 3D object that has been 3D-reconstructed from a specific object within the range of the images taken at different locations.

[0070] According to one embodiment, the electronic device (201) can display a restored 3D image on a display (e.g., display (260) of FIG. 2B). For example, the electronic device (201) can utilize the restored 3D image when executing various applications (e.g., video call applications, video conferencing applications, or emoji applications). For example, the electronic device (201) can display a 3D object for a user that has been restored in 3D during a video conference or video call, or transmit the 3D object to the electronic device of the other party.

[0071] According to one embodiment, the electronic device (201) may obtain a first image by photographing an object (203) in a first direction at a first location using a first camera (210 of FIG. 2B) included in the electronic device (201). According to one embodiment, the electronic device (201) may obtain a second image by photographing an object (203) in a second direction at a second location different from the first location using a second camera (211 of FIG. 2B) included in the external electronic device (202) from an external electronic device (202). According to one embodiment, the electronic device (201) may be implemented as a computing device (e.g., a PC or a laptop). According to one embodiment, the external electronic device (202) may be implemented as a smartphone.

[0072] According to one embodiment, the electronic device (201) may compare an area in a first image where a specific object (e.g., a user's face) is captured (e.g., one area of ​​the user's face captured) with an area in a second image where the object is captured (e.g., another area of ​​the user's face captured).

[0073] According to one embodiment, the electronic device (201) may allow a portion of the object included in the first image to correspond to (or overlap) a portion of the object included in the second image. The electronic device (201) may allow a remaining portion of the object included in the first image to not correspond to (or overlap) a remaining portion of the object included in the second image. For example, in the present invention, the meaning that a portion of the object included in the first image corresponds to or overlaps a portion of the object included in the second image may mean that the two images include the same portion of the object captured from different directions.

[0074] In order for the electronic device (201) to effectively restore an object in three dimensions over a wide range, the corresponding (or overlapping) portions and the non-corresponding remaining portions between the first and second images may need to be configured in an appropriate ratio. To this end, the electronic device (or first camera (210)) that captures the first image and the external electronic device (or second camera (211)) need to be positioned at appropriate points.

[0075] If the electronic device (201) does not provide a function to guide the first camera (210) and the second camera (211) to be positioned at optimal points, it may be difficult to effectively restore an object in three dimensions over a wide range.

[0076] According to one embodiment of the present invention, an electronic device (201) can provide guide information so that the first camera (210) and the second camera can be positioned at appropriate locations. Through this, the electronic device (201) according to one embodiment can effectively restore an object in three dimensions over a wide range by positioning the first camera (210) and the second camera (211) at optimal locations.

[0077] FIG. 2b is a schematic block diagram of a system including an electronic device and an external electronic device, according to one embodiment.

[0078] Referring to FIG. 2b, according to one embodiment, the system (200) may include an electronic device (201) and an external electronic device (202).

[0079] According to one embodiment, the electronic device (201) may include a first camera (210) (e.g., the camera module (180) of FIG. 1), a processor (220) (e.g., the processor (120) of FIG. 1), a memory (230) (e.g., the memory (130) of FIG. 1), a display (260) (e.g., the display (160) of FIG. 1), and a communication circuit (290) (e.g., the communication circuit (190) of FIG. 1). According to one embodiment, the processor (220) may control the overall operation of the electronic device (201).

[0080] According to one embodiment, the external electronic device (202) may include a second camera (211) (e.g., the camera module (180) of FIG. 1), a processor (221) (e.g., the processor (120) of FIG. 1), a memory (231) (e.g., the memory (130) of FIG. 1), a communication circuit (291) (e.g., the communication circuit (190) of FIG. 1), and a display (261) (e.g., the display (160) of FIG. 1). According to one embodiment, the processor (221) may control the overall operation of the external electronic device (202).

[0081] For example, the electronic device (201) and / or the external electronic device (202) may be implemented identically or similarly to the electronic device (101) of FIG. 1.

[0082] According to one embodiment, the electronic device (201) and / or the external electronic device (202) may be implemented as a computing device (e.g., a PC or a laptop). Alternatively, according to one embodiment, the electronic device (201) and / or the external electronic device (202) may be implemented as a smartphone or a tablet PC. According to one embodiment, the electronic device (201) and / or the external electronic device (202) may include a foldable electronic device. However, this is merely an example, and the electronic device (201) and the external electronic device (202) may be implemented as various devices.

[0083] Hereinafter, for convenience of explanation, the electronic device (201) is implemented as a computing device (e.g., a PC or a laptop), and the external electronic device (202) is implemented as a foldable electronic device including a first housing and a second housing in which a second camera (211) is placed.

[0084] According to one embodiment, the processor (220) may obtain a 3D image in which the first object is reconstructed in three dimensions by using an image including an object (e.g., a human face, an animal face) acquired through the first camera (210) and an image including an object acquired through the second camera (211). According to one embodiment, the processor (220) may identify feature information (e.g., feature points) about the object from two-dimensional images, and obtain a 3D image in which the first object is reconstructed in three dimensions based on the identified feature information.

[0085] According to one embodiment, the processor (220) may acquire a first image of a first object in a first direction at a first location through the first camera (210). For example, the first object may include a human face.

[0086] According to one embodiment, the processor (221) may obtain a second image of a first object captured in a second direction at a second location through the second camera (211). According to one embodiment, the processor (221) may transmit the second image to the electronic device (201) through the communication circuit (291). According to one embodiment, the processor (220) may obtain the second image from an external electronic device (202) through the communication circuit (290). For example, the first direction and the second direction may be different from each other, and the first position and the second position may be different from each other.

[0087] According to one embodiment, the processor (220) may analyze a first image to identify a plurality of first feature points related to a first object included in the first image. According to one embodiment, the processor (220) may analyze a second image to identify a plurality of second feature points related to the first object included in the second image. According to one embodiment, the processor (220) may use a separate algorithm stored in the memory (230) to identify (or extract) the plurality of feature points. For example, the algorithm may include oriented fast and rotated brief (ORB), scale invariant feature transform (SIFT), or speeded up robust features (SURF). However, this is an example, and the type of the algorithm may not be limited thereto. According to one embodiment, the processor (220) may obtain information on the plurality of second feature points together with the second image from an external electronic device (202) through the communication circuit (290).

[0088] According to one embodiment, the plurality of first feature points may include a plurality of landmarks associated with the face of the first object included in the first image. According to one embodiment, the plurality of second feature points may include a plurality of landmarks associated with the face of the first object included in the second image.

[0089] According to one embodiment, the plurality of first feature points and the plurality of second feature points may include feature points related to a facial region of the first object. For example, the feature points related to the facial region of the first object may include feature points included in the eyes, nose, mouth, ears, chin, eyebrows, and / or cheeks. For example, the area in which feature points are identified within the image and the number of feature points may be automatically set by the processor (220) or set by the user.

[0090] According to one embodiment, the processor (220) can identify a first pose of a first object included in a first image based on a plurality of first feature points. According to one embodiment, the processor (220) can identify a second pose of a second object included in a second image based on a plurality of second feature points.

[0091] According to one embodiment, the processor (220) may compare each of the first pose and the second pose with a specified condition. According to one embodiment, if it is determined that the first pose satisfies the specified condition, the processor (220) may set the first camera (210) as the main camera and set the second camera (211) as the sub camera. According to one embodiment, the main camera may include a camera that acquires an image that serves as a reference for three-dimensionally restoring the first object. For example, the main camera may not adjust its position and direction after a reference point is set. According to one embodiment, the sub camera may include a camera that acquires an image for three-dimensionally restoring or expanding the object based on the image acquired from the main camera for three-dimensionally restoring the first object. For example, at least one of the position or direction of the sub camera may be adjusted to acquire a two-dimensional image that satisfies a specific condition for obtaining a three-dimensionally restored three-dimensional image of the first object.

[0092] According to one embodiment, if the processor (220) determines that the face of the first object included in the first image was captured from a specified direction, the processor (220) may determine that the first pose satisfies a specified condition. For example, the specified direction may include a front, right, left, up, or down direction. According to one embodiment, the specified condition may be a condition for determining which camera among a plurality of cameras is set as the main camera. For example, the specified condition may be related to a pose of an object included in an image captured through a corresponding camera or a direction in which the object is facing. For example, if the object is a user's face, the processor (220) may set a camera that captured an image including a face facing forward as the main camera. In addition, the processor (220) may set at least one other camera other than the main camera as a sub camera. The specified condition may be automatically set by the processor (220) or may be set by the user.

[0093] According to one embodiment, the processor (220) may determine the first pose based on the distance between feature points identified in at least one designated area among the face areas of the first object. For example, the processor (220) may determine that the face of the first object included in the first image was photographed from a designated direction (e.g., frontal) based on the fact that the distance between feature points identified in the chin among the plurality of first feature points included in the first image is determined to be a first distance, and the distance between feature points identified in the nose among the plurality of first feature points is determined to be a second distance. For example, the processor (220) may determine that the face of the first object included in the second image was photographed from a direction other than the designated direction (e.g., downward) based on the fact that the distance between feature points identified in the chin among the plurality of second feature points included in the second image is determined to be a third distance greater than the first distance, and the distance between feature points identified in the nose among the plurality of second feature points is determined to be a fourth distance less than the second distance. However, this is just one example, and embodiments of the present invention can identify poses included in an image in various ways.

[0094] According to one embodiment, the processor (220) may set the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on the resolution of the first camera (210) and the resolution of the second camera (211). According to one embodiment, if the resolution of the first camera (210) is determined to be greater than the resolution of the second camera (211), the processor (220) may set the first camera (210) as the main camera and the second camera (211) as the sub camera.

[0095] According to one embodiment, the processor (220) may set a camera supporting a designated function among the first camera (210) and the second camera (211) as a main camera, and may set a camera that does not support the designated function as a sub camera. For example, the processor (220) may set a camera supporting a high dynamic range (HDR) function among the first camera (210) and the second camera (211) as a main camera, and may set a camera that does not support the high dynamic range (HDR) function as a sub camera. However, the designated function is not limited thereto and may include various functions.

[0096] According to one embodiment, the processor (220) may set the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on the order in which the application related to the first camera (210) and the application related to the second camera (211) are executed. According to one embodiment, the processor (220) may obtain information about the time at which the application related to the second camera (211) of the external electronic device (202) is executed from the external electronic device (202) through the communication circuit (290). According to one embodiment, if the processor (220) determines that the application related to the first camera (210) is executed before the application related to the second camera (211), the processor (220) may set the first camera (210) as the main camera and the second camera (211) as the sub camera.

[0097] According to one embodiment, the processor (220) may set the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on the distance between the position of the first camera (210) and the reference position (e.g., the ground surface) and the distance (e.g., the height) between the position of the second camera (211) and the reference position (e.g., the ground surface). According to one embodiment, the processor (220) may use a structure from motion (SFM) algorithm stored in the memory (230) to obtain information about the first position of the first camera (210) based on a plurality of first feature points (e.g., coordinate information indicating the height between the first camera (210) and the reference position), and may obtain information about the second position of the second camera (211) based on a plurality of second feature points (e.g., coordinate information indicating the height between the second camera (211) and the reference position). According to one embodiment, the processor (220) may obtain information about the distance between the reference position and the position of the second camera (211) from the external electronic device (202) through the communication circuit (290). According to one embodiment, if the processor (220) determines that the distance (e.g., height) between the reference position (e.g., ground surface) and the position of the first camera (210) is greater than the distance (e.g., height) between the reference position (e.g., ground surface) and the position of the second camera (211), the processor (220) may set the first camera (210) as the main camera and set the second camera (211) as the sub camera. According to one embodiment, when a plurality of cameras are implemented, the camera having the largest distance (e.g., height) between the reference position and the corresponding camera among the plurality of cameras may be set as the main camera, and the remaining cameras, excluding the camera set as the main camera, among the plurality of cameras may be set as sub cameras.

[0098] According to one embodiment, the processor (220) may set the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on the distances (e.g., average distance, furthest distance, or closest distance) between a plurality of objects (e.g., people, objects, animals, etc.) included in the images acquired through the first camera (210) and the second camera (211). According to one embodiment, the processor (220) may acquire an image including a plurality of objects acquired through the second camera (211) through the communication circuit (290). According to one embodiment, the processor (220) may acquire an image including a plurality of objects through the first camera (210). According to one embodiment, if the processor (220) determines that the distance between the plurality of objects included in the image acquired through the first camera (210) is greater than the distance between the plurality of objects included in the image acquired through the second camera (211), the processor (220) may set the first camera (210) as the main camera and set the second camera (211) as the sub camera. Depending on the implementation, if the processor (220) determines that the distance between the plurality of objects included in the image acquired through the first camera (210) is greater than the distance between the plurality of objects included in the image acquired through the second camera (211), the processor (220) may set the first camera (210) as the sub camera and set the second camera (211) as the main camera.

[0099] According to one embodiment, the processor (220) may set the first camera (210) and the second camera (211) as the main camera and the sub-camera, respectively, based on the remaining battery capacity of the electronic device (201) and the remaining battery capacity of the external electronic device (202). According to one embodiment, the processor (220) may obtain information on the remaining battery capacity of the external electronic device (202) from the external electronic device (202) through the communication circuit (290). According to one embodiment, if the processor (220) determines that the remaining battery capacity of the electronic device (201) is greater than the remaining battery capacity of the external electronic device (202), the processor (220) may set the first camera (210) as the main camera and the second camera (211) as the sub-camera.

[0100] According to one embodiment, when a user input is confirmed to set the first camera (210) as the main camera and the second camera (211) as the sub camera, the processor (220) may set the first camera (210) as the main camera and the second camera (211) as the sub camera.

[0101] Embodiments of the present invention are not limited to the first camera (210) and the second camera (211), and the electronic device (201) and / or the external electronic device (202) may further include at least one camera. According to one embodiment, the processor (220) may set any one of the first camera (210), the second camera (211), and the at least one camera as a main camera, and may set the remaining cameras except for the camera set as the main camera as sub cameras. According to one embodiment, the operations of the processor (220) setting the main camera and the sub cameras among the first camera (210) and the second camera (211) may be equally applied to the operations of setting any one of the first camera (210), the second camera (211), and the at least one camera as a main camera, and setting the remaining cameras except for the camera set as the main camera as sub cameras. Through this, according to one embodiment, the processor (220) may effectively reconstruct an object in three dimensions over a wide range.

[0102] Depending on the implementation, according to one embodiment, after the processor (220) sets the first camera (210) as the main camera, if it is determined that the first object included in the first image is not displayed in the center area of ​​the display (260), the processor (220) may display guide information to move the position of the first camera (210) so that the first object captured by the first camera (210) is displayed in the center area of ​​the display (260). According to one embodiment, after moving the position of the first camera (210), the processor (220) may acquire an image including the first object through the first camera (210). For the convenience of explanation, it is assumed below that the position of the first camera (210) is not adjusted. Hereinafter, descriptions related to the first image may be replaced with descriptions of an image including the first object acquired through the first camera (210) after moving the position of the first camera (210).

[0103] According to one embodiment, the processor (220) may acquire at least one image at a specified time interval through the first camera (210) after setting the first camera (210) as the main camera and the second camera (211) as the sub-camera. According to one embodiment, if it is determined that the first object is not included in at least one image, the processor (220) may re-perform the operation of setting the main camera and the sub-camera.

[0104] According to one embodiment, the processor (220) can determine the number of corresponding feature points among a plurality of first feature points and a plurality of second feature points. For example, the processor (220) can perform an operation of matching corresponding feature points among the plurality of first feature points and the plurality of second feature points using a separate algorithm stored in the memory (230), thereby determining the number of corresponding feature points. For example, the algorithm may include SuperGlue or RANSAC (random sample consensus). However, this is merely an example, and embodiments of the present invention may include various algorithms.

[0105] According to one embodiment, the processor (220) may determine whether a part of a first object included in a first image corresponds to (or overlaps with) a part of a first object included in a second image based on the number of corresponding feature points. For example, the meaning that a part of a first object included in a first image corresponds to (or overlaps with) a part of a first object included in a second image may mean that the two images include the same part of the first object captured from different directions and positions. For example, the processor (220) may determine whether the number of corresponding feature points is greater than a specified first number and less than a specified second number that is greater than the specified first number. For example, the specified first number and the specified second number may be automatically set by the processor (220) or may be set by the user. For example, a range that is greater than a specified first number and less than a specified second number may include a range in which a part of the first object included in the first image and a part of the first object included in the second image correspond (overlap) to restore the first object into a three-dimensional image. For example, the specified first number and the specified second number may be set to various numbers. According to one embodiment, when it is confirmed that the number of feature points corresponding to each other is not greater than the specified first number or not less than the specified second number, the processor (220) may transmit a command to the external electronic device (202) to provide guide information for adjusting at least one of the position or direction of the second camera (211). According to one embodiment, the guide information may represent guide information for adjusting at least one of the position or direction of the second camera (211) so that the number of feature points corresponding to each other is greater than the specified first number and less than the specified second number greater than the specified first number.According to one embodiment, the more corresponding parts there are between a part of a first object included in a first image and a part of a first object included in a second image, the more accurately the pose of the first object can be identified, and the more feature points of the first object can be used to reconstruct the first object in three dimensions. According to one embodiment, the guide information may represent guide information for satisfying a range in which a part of the first object included in the first image and a part of the first object included in the second image correspond (overlap) to each other, which is necessary for reconstructing the first object in a three-dimensional image. The guide information may include guide information for movement of the pitch or yaw axis of the second camera (211).

[0106] For example, the processor (220) may transmit a command to the external electronic device (202) to provide guide information for adjusting the position of the second camera (211) by moving the second camera (211) in a first axis direction, a second axis direction perpendicular to the first axis direction, or a third axis direction perpendicular to the first axis direction and the second axis direction. For example, the processor (220) may transmit a command to the external electronic device (202) to provide guide information for adjusting the direction of the second camera (211) by adjusting the angle between the first housing and the second housing in which the second camera (211) is arranged. According to one embodiment, the processor (221) may display the guide information through the display (261), output it as a voice through a speaker, or output it as a vibration, based on the command. According to one embodiment, the processor (220) may display guide information for adjusting at least one of the position or direction of the second camera (211) through the display (260), output it as a voice through the speaker, or output it as a vibration. Depending on the implementation, the processor (220) may also transmit a command to the external electronic device (202) for adjusting at least one of the position or direction of the second camera (211). According to one embodiment, the processor (221) may adjust at least one of the position or direction of the second camera (211) based on receiving a command from the electronic device (201) for adjusting at least one of the position or direction of the second camera (211).According to one embodiment, if the number of corresponding feature points is determined to be greater than a first specified number and less than a second specified number that is greater than the first specified number, the processor (220) may determine the coverage of the first camera (210) and the second camera (211) for the first object based on the number of feature points. According to one embodiment, when a portion of the first object included in the first image and a portion of the first object included in the second image correspond to many portions, the similarity between the first object included in the first image and the second image (e.g., the similarity of the area of ​​the first object) may be high, and thus, less information may be required to restore the first object in three dimensions. According to one embodiment, in order to restore the first object in three dimensions, the first object must be photographed from multiple angles by the first camera (210) and the second camera (211). Accordingly, the processor (220) can check the coverage of the first camera (210) and the second camera (211) for the first object. According to one embodiment, the processor (220) can check whether the coverage satisfies a specified range. According to one embodiment, the coverage can represent the area of ​​the first object captured by the first camera (210) and the second camera (211) based on the entire area of ​​the first object. In other words, the coverage can represent the shooting range that represents how many angles the entire area of ​​the actual first object is captured by the first camera (210) of the first angle of view and the second camera (211) of the second angle of view.

[0107] According to one embodiment, the processor (220) can determine whether the coverage satisfies a specified range based on the number of corresponding feature points. According to one embodiment, the processor (220) can determine that the coverage satisfies the specified range if it is determined that the number of corresponding feature points is greater than a specified third number and less than a specified fourth number that is greater than the specified third number. For example, the specified range may include a range corresponding to the coverage of the first camera (210) and the second camera (211) for three-dimensionally restoring the first object.

[0108] According to one embodiment, the processor (220) may determine whether the coverage satisfies a specified range based on information about a first position and a first direction of the first camera (210) and information about a second position and a second direction of the second camera (211) confirmed using a structure from motion (SFM) algorithm stored in the memory (230). For example, the processor (220) may determine information about a first position and a first direction of the first camera (210) based on a plurality of first feature points using the structure from motion (SFM) algorithm. The processor (220) may determine information about a second position and a second direction of the second camera (211) based on a plurality of second feature points using the structure from motion (SFM) algorithm. According to one embodiment, the processor (220) may obtain an angle between the first camera (210) and the second camera (211) based on the first object captured by the first camera (210) based on the information about the first position and the first direction and the information about the second position and the second direction. According to one embodiment, if the processor (220) determines that the angle is included in a specified range, the processor (220) may determine that the coverage of the first camera (210) and the second camera (211) satisfies the specified range. For example, the specified range may represent an angle between the first camera (210) and the second camera (211) for three-dimensionally restoring the first object. For example, the smaller the angle between the first camera (210) and the second camera (211), the smaller the coverage may be.

[0109] According to one embodiment, the processor (220) can use an algorithm that matches corresponding points among a plurality of first feature points included in a first image and a plurality of second feature points included in a second image to each other to check information about a direction in which a first object looks at a first camera (210) (or a first direction in which the first camera (210) photographs the first object) and information about a direction in which the first object looks at a second camera (211) (or a second direction in which the second camera (211) photographs the first object). According to one embodiment, the processor (220) may determine an angle between the first camera (210) and the second camera (211) based on information about a direction in which the first object faces the first camera (210) (or a first direction in which the first camera (210) photographs the first object) and information about a direction in which the first object faces the second camera (211) (or a second direction in which the second camera (211) photographs the first object). For example, the smaller the angle between the first direction and the second direction, the smaller the coverage may be.

[0110] According to one embodiment, if the processor (220) determines that the coverage satisfies the specified range, the processor (220) can obtain a 3D image in which the first object is three-dimensionally restored based on the first image and the second image.

[0111] According to one embodiment, if the processor (220) determines that the coverage does not satisfy the specified range, the processor (220) may transmit a command to the external electronic device (202) to provide guide information for adjusting at least one of the position or direction of the second camera (211). For example, the guide information may be provided for adjusting the position of the second camera (211) so that the pose (e.g., the direction in which the first object is looking) of the first object included in the image captured by the first camera (210) and the pose (e.g., the direction in which the first object is looking) of the first object included in the image captured by the second camera (211) do not correspond to each other.

[0112] According to one embodiment, the processor (220) can acquire a third image including a first object acquired from the first camera (210) and a fourth image including the first object acquired from the second camera (211) at a third position in a third direction after at least one of the position or direction of the second camera (211) is adjusted.

[0113] In one embodiment, the third image may represent an image captured at a first location in the first direction. For example, the third image may represent an image captured at the same time as the first image or at a different time from when the first image was captured.

[0114] According to one embodiment, the processor (220) can acquire a third image at a third position in the second direction when the position of the second camera (211) is adjusted from the second position to the third position. According to one embodiment, the processor (220) can acquire a third image at a second position in the third direction when the direction of the second camera (211) is adjusted from the second direction to the third direction. According to one embodiment, the processor (220) can acquire a third image at a third position in the third direction when the position and direction of the second camera (211) are adjusted to the third position and the third direction.

[0115] According to an implementation, in one embodiment, if it is determined that no object is included in the images acquired through the first camera (210) and the second camera (211), the processor (220) may provide guide information to adjust the position and direction of the first camera (210) and the second camera (211) to a designated position and a designated direction.

[0116] According to one embodiment, when the processor (220) determines that a plurality of objects are included in images acquired through the first camera (210) and the second camera (211), the first camera (210) may provide guide information to ensure that the center of gravity of at least one object among the plurality of objects is located at the center of the first camera (210).

[0117] According to one embodiment, the processor (220) may, based on acquiring the third image and the fourth image, identify a plurality of third feature points related to the first object included in the third image and a plurality of fourth feature points related to the first object included in the fourth image. According to one embodiment, the processor (220) may determine whether the plurality of third feature points and the plurality of fourth feature points are greater than a specified first number and less than a specified second number, and determine whether the coverage of the first camera (210) and the second camera (211) satisfies a specified range. According to one embodiment, the processor (220) may, based on determining that the plurality of third feature points and the plurality of fourth feature points are greater than the specified first number and less than the specified second number, and that the coverage satisfies the specified range, acquire a 3D image in which the first object is reconstructed in three dimensions. According to one embodiment, the processor (220) may further identify color information and / or depth information related to the third image and the fourth image. According to one embodiment, the processor (220) can obtain a 3D image in which the first object is reconstructed in three dimensions from the two-dimensional third image and the two-dimensional fourth image based on information about a plurality of feature points of the third image and the fourth image, color information, and / or depth information.

[0118] According to one embodiment, the processor (220) can display a 3D image of a first object, which is three-dimensionally restored, through the display (260). According to one embodiment, the processor (220) can transmit the 3D image of the first object, which is three-dimensionally restored, to an external electronic device (202) through the communication circuit (290).

[0119] A technology for obtaining a 3D image of an object (203) reconstructed in three dimensions according to one embodiment can also be applied when an electronic device (201), an external electronic device (202), and / or a plurality of external electronic devices participate in a video conference through a separate server. The electronic device (201) according to one embodiment may transmit the 3D image reconstructed in three dimensions to the server, and the server may transmit the image to the external electronic device (202) and / or a plurality of external electronic devices that are conference participants. According to one embodiment, each of the external electronic device (202) and the plurality of external electronic devices may display the 3D image reconstructed in three dimensions on a display included in each of the external electronic device (202) and the plurality of external electronic devices.

[0120] FIG. 2c is a schematic block diagram of an image generation module according to one embodiment.

[0121] Referring to FIG. 2c, according to one embodiment, the image generation module (240) may be stored in a memory (230) (e.g., the memory (230) of FIG. 2b).

[0122] According to one embodiment, the image generation module (240) may include a landmark detection module (241), a mesh detection module (242), an image processor (243), an object detection module (244), a pose detection module (245), a pose comparison module (246), a camera pose evaluation module (247), a feature detection module (248), a learning module (249), a feature point matching module (250), and a guide providing module (251). According to one embodiment, at least a portion of the landmark detection module (241), the mesh detection module (242), the image processor (243), the object detection module (244), the pose detection module (245), the pose comparison module (246), the camera pose evaluation module (247), the feature detection module (248), the learning module (249), the feature point matching module (250), and the guide providing module (251) may be implemented as a hardware configuration or a software configuration.

[0123] According to one embodiment, the landmark detection module (241) can identify multiple landmarks of an object included in an image.

[0124] According to one embodiment, the mesh detection module (242) can identify the mesh of an object included in an image.

[0125] According to one embodiment, the feature detection module (248) can identify multiple feature points of an object included in an image. For example, the feature detection module (248) can identify multiple feature points of an object included in an image using an oriented fast and rotated brief (ORB), a scale invariant feature transform (SIFT), or a speeded up robust features (SURF) algorithm.

[0126] According to one embodiment, the feature point matching module (250) can match at least one feature point corresponding to a plurality of feature points of an object included in an image captured by a first camera (210) (e.g., the first camera (210) of FIG. 2B) and a plurality of feature points of an object included in an image captured by a second camera (211) (e.g., the second camera (211) of FIG. 2B). For example, the feature point matching module (250) can match the at least one feature point using a RANSAC (random sample consensus) or SuperGlue algorithm.

[0127] According to one embodiment, the object detection module (244) can identify an object (e.g., a person, an animal, an object, an upper body, a full body, a lower body) included in an image.

[0128] According to one embodiment, the pose detection module (245) can identify the pose (posture) of an object included in an image based on at least one of a plurality of landmarks, a mesh, or a plurality of feature points.

[0129] According to one embodiment, the pose comparison module (246) can compare the pose of an object included in an image captured through the first camera (210) with the pose of an object included in an image captured through the second camera (211). For example, the pose comparison module (246) can obtain information about an angle between an object included in an image captured through the first camera (210) and an object included in an image captured through the second camera (211).

[0130] According to one embodiment, the camera position detection module (247) can check information about the respective positions of the first camera (210) and the second camera (211). For example, the camera position detection module (247) can check information about the respective positions of the first camera (210) and the second camera (211) through a SfM (structure from motion) or ORB-SLAM algorithm. According to one embodiment, the camera position detection module (247) can check the angle (e.g., coverage) between the first camera (210) and the second camera (211) with respect to an object.

[0131] According to one embodiment, the guide providing module (251) can generate information about a guide that changes the position or angle of the first camera (210) or the second camera (211).

[0132] According to one embodiment, the image processor (243) may be implemented identically or similarly to the processor (220) (e.g., the processor (220) of FIG. 2B). According to one embodiment, the image processor (243) may perform an image processing operation to obtain a 3D image in which an object is restored in three dimensions. According to one embodiment, the image processor (243) may perform an image processing algorithm, such as a resizing operation or a color space conversion operation, on images obtained from each of the first camera (210) and the second camera (211).

[0133] According to one embodiment, the learning module (249) may include a machine learning-based artificial intelligence model of NeRF (neural radiance field) to obtain an optimal position of the first camera (210) or the second camera (211) to obtain a 3D image in which the object is restored in three dimensions.

[0134] The operations of the electronic device (201) described in the drawings below may be performed by the processor (220). However, for convenience of explanation, the operations performed by the processor (220) will be described as being performed by the electronic device (201). The operations of the external electronic device (202) described in the drawings below may be performed by the processor (221). However, for convenience of explanation, the operations performed by the processor (221) will be described as being performed by the external electronic device (202).

[0135] FIG. 3 is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to obtain a 3D image in which a first object is restored in three dimensions.

[0136] Referring to FIG. 3, according to one embodiment, in operation 311, an electronic device (201) (e.g., the electronic device (201) of FIG. 2B) may acquire a first image of a first object captured in a first direction at a first location through a first camera (210) (e.g., the first camera (210) of FIG. 2B). For example, the first object may include a human face or an animal face.

[0137] According to one embodiment, in operation 313, the electronic device (201) may acquire a second image of a first object captured in a second direction at a second location through a second camera (211) (e.g., the second camera (211) of FIG. 2B) included in an external electronic device (202) (e.g., the external electronic device (202) of FIG. 2B). According to one embodiment, the first direction and the second direction may be different, and the first location and the second location may be different.

[0138] According to one embodiment, in operation 315, the electronic device (201) can identify a first pose of a first object included in a first image and a second pose of the first object included in a second image.

[0139] According to one embodiment, the electronic device (201) may analyze a first image to identify a plurality of first feature points related to a first object included in the first image. According to one embodiment, the electronic device (201) may analyze a second image to identify a plurality of second feature points related to the first object included in the second image. According to one embodiment, the electronic device (201) may identify a plurality of feature points using a separate algorithm stored in the memory (230) (e.g., the memory (230) of FIG. 2B ). For example, the algorithm may include oriented fast and rotated brief (ORB), scale invariant feature transform (SIFT), or speeded up robust features (SURF). According to one embodiment, the plurality of first feature points and the plurality of second feature points may include feature points related to a face region of the first object. For example, feature points related to the face region of the first object may include feature points included in a region corresponding to an eye, a region corresponding to a nose, a region corresponding to a mouth, a region corresponding to a chin, a region corresponding to an ear, a region corresponding to an eyebrow, and / or a region corresponding to a cheek.

[0140] According to one embodiment, the electronic device (201) can identify a first pose based on a plurality of first feature points. According to one embodiment, the electronic device (201) can identify a second pose based on a plurality of second feature points. According to one embodiment, the electronic device (201) can identify the first pose based on a distance between feature points identified in at least one designated area among the face areas of the first object. For example, the electronic device (201) can identify that the face of the first object included in the first image was captured from a designated direction (e.g., frontal) based on the fact that the distance between feature points identified in the chin among the plurality of first feature points included in the first image is identified as the first distance, and the distance between feature points identified in the nose among the plurality of first feature points is identified as the second distance. For example, the electronic device (201) can determine that the face of the first object included in the second image was captured from a direction other than the specified direction (e.g., downward) based on the fact that the interval between feature points identified on the chin among the plurality of second feature points included in the second image is a third interval greater than the first interval, and the interval between feature points identified on the nose among the plurality of second feature points is a fourth interval less than the second interval. However, this is an example, and embodiments of the present invention can determine the pose included in the image in various ways.

[0141] According to one embodiment, in operation 317, the electronic device (201) may determine that the first pose satisfies a specified condition. According to one embodiment, if the electronic device (201) determines that the face of the first object included in the first image was captured from a specified direction, the electronic device (201) may determine that the first pose satisfies the specified condition. For example, the specified direction may include a front, right, left, up, or down direction. According to one embodiment, the specified condition may be a condition for determining which camera among a plurality of cameras is set as the main camera. For example, the specified condition may be related to a pose that an object included in an image captured through a corresponding camera is taking or a direction in which the object is facing.

[0142] According to one embodiment, in operation 319, the electronic device (201) may set the first camera (210) as the main camera and the second camera (211) as the sub-camera based on determining that the first pose satisfies a specified condition. According to one embodiment, the main camera may include a camera that obtains an image that serves as a reference for three-dimensionally restoring the first object. For example, the main camera may not be adjusted in position and direction after the reference point is set. According to one embodiment, the sub-camera may include a camera that obtains an image for three-dimensionally restoring or expanding the object based on the image obtained from the main camera for three-dimensionally restoring the first object. For example, the sub-camera may have at least one of a position or direction adjusted to obtain a two-dimensional image that satisfies a specific condition for obtaining a three-dimensionally restored three-dimensional image of the first object.

[0143] According to one embodiment, the specified condition may be a condition for determining which camera among a plurality of cameras is set as the main camera. For example, the specified condition may be related to a pose of an object included in an image captured by the camera or a direction in which the object is facing. For example, if the object is a user's face, the electronic device (201) may set a camera that captured an image including a face facing forward as the main camera. In addition, the electronic device (201) may set at least one other camera other than the main camera as a sub-camera. According to one embodiment, an operation of the electronic device (201) setting a camera as the main camera or the sub-camera based on the specified condition is specifically described in FIG. 6A.

[0144] According to one embodiment, the electronic device (201) may set the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on the resolution of the first camera (210) and the resolution of the second camera (211). According to one embodiment, the electronic device (201) may set a camera that supports a designated function among the first camera (210) and the second camera (211) as the main camera, and may set a camera that does not support the designated function as the sub camera. For example, the electronic device (201) may set a camera that supports a high dynamic range (HDR) function among the first camera (210) and the second camera (211) as the main camera, and may set a camera that does not support the high dynamic range (HDR) function as the sub camera. However, the designated function is not limited thereto and may include various functions.

[0145] According to one embodiment, in operation 321, the electronic device (201) can check the number of corresponding feature points between a plurality of first feature points related to a first object included in a first image and a plurality of second feature points related to a first object included in a second image. According to one embodiment, the electronic device (201) can check the number of corresponding feature points by performing an operation of matching feature points that correspond to (or overlap) each other among the plurality of first feature points and the plurality of second feature points using a separate algorithm stored in the memory (230). For example, the algorithm may include SuperGlue or RANSAC (random sample consensus). However, this is an example, and embodiments of the present invention may include various algorithms. According to one embodiment, the electronic device (201) can check whether a part of a first object included in the first image corresponds to (or overlaps) a part of the first object included in the second image based on the number of corresponding feature points. For example, the meaning that a part of a first object included in a first image corresponds or overlaps with a part of a first object included in a second image may mean that the two images include the same part of the first object captured from different directions and positions.

[0146] According to one embodiment, in operation 323, the electronic device (201) may transmit a command to the external electronic device (202) to provide guide information for adjusting at least one of the position or direction of the second camera (211) based on the number of corresponding feature points.

[0147] For example, the electronic device (201) may transmit a command to the external electronic device (202) to provide guide information to adjust the position of the second camera (211) by moving the second camera (211) in a first axis direction (e.g., +X axis direction of FIG. 11), a second axis direction perpendicular to the first axis direction (e.g., +Y axis direction of FIG. 11), or a third axis direction perpendicular to the first and second axis directions (e.g., +Z axis direction of FIG. 11).

[0148] For example, the electronic device (201) may transmit a command to the external electronic device (202) to provide guide information for adjusting the direction of the second camera (211) by adjusting the angle between the first housing and the second housing where the second camera (211) is placed.

[0149] According to one embodiment, in operation 325, the electronic device (201) may acquire a third image including a first object acquired from the first camera (210) and a fourth image including the first object acquired from the second camera (211) at a third position in a third direction after adjusting at least one of a position or a direction of the second camera (211).

[0150] In one embodiment, the third image may represent an image captured at a first location in a first direction (e.g., a frontal direction). For example, the third image may represent an image captured at the same time as the first image or at a different time from when the first image was captured.

[0151] According to one embodiment, when the position of the second camera (211) is adjusted from the second position to the third position, the electronic device (201) can obtain a third image at a third position in the second direction (e.g., the +Y-axis direction of FIG. 11). According to one embodiment, when the direction of the second camera (211) is adjusted from the second direction to the third direction (e.g., the +Z-axis direction of FIG. 11), the electronic device (201) can obtain a third image at a second position in the third direction (e.g., the +Z-axis direction of FIG. 11). According to one embodiment, when the position and direction of the second camera (211) are adjusted to the third position and the third direction (e.g., the +Z-axis direction of FIG. 11), the electronic device (201) can obtain a third image at a third position in the third direction (e.g., the +Z-axis direction of FIG. 11).

[0152] According to one embodiment, in operation 327, the electronic device (201) may obtain a 3D image in which the first object is reconstructed in three dimensions based on the third image and the fourth image. According to one embodiment, the electronic device (201) may further confirm color information and / or depth information related to the third image and the fourth image. According to one embodiment, the electronic device (201) may obtain a 3D image in which the first object is reconstructed in three dimensions from the two-dimensional third image and the two-dimensional fourth image based on information about a plurality of feature points of the third image and the fourth image, color information, and / or depth information.

[0153] According to one embodiment, the electronic device (201) can display a 3D image through a display (260) (e.g., the display (260) of FIG. 2B). According to one embodiment, the electronic device (201) can also transmit the 3D image to an external electronic device (202) through a communication circuit (290).

[0154] Previously, there was no method for guiding the first camera (210) and the second camera (211) to be positioned at appropriate points. In other words, it was difficult to determine the optimal points at which the first camera (210) and the second camera (211) should be positioned to effectively restore an object in three dimensions over a wide range.

[0155] According to one embodiment of the present invention, the electronic device (201) can provide guide information so that the first camera (210) and the second camera (211) can be positioned at appropriate points. Through this, the electronic device (201) according to one embodiment can effectively restore an object in three dimensions over a wide range by positioning the first camera and the second camera (211) at optimal points.

[0156] FIG. 4A is a flowchart illustrating an operation of an electronic device according to one embodiment to check the number of feature points corresponding to each other.

[0157] Referring to FIG. 4A, according to one embodiment, in operation 411, the electronic device (201) (e.g., the electronic device (201) of FIG. 2B) can check the number of corresponding feature points between a plurality of first feature points related to a first object included in a first image captured by a first camera (210) (e.g., the first camera (210) of FIG. 2B) and a plurality of second feature points related to a first object included in a second image captured by a second camera (211) (e.g., the second camera (211) of FIG. 2B).

[0158] According to one embodiment, the electronic device (201) can determine whether a part of a first object included in a first image corresponds (or overlaps) with a part of a first object included in a second image based on the number of corresponding feature points. For example, the meaning that a part of a first object included in a first image corresponds or overlaps with a part of a first object included in a second image may mean that the two images include the same part of the first object captured from different directions and positions. According to one embodiment, a lookup table indicating a relationship between an overlapping ratio corresponding to the number of corresponding feature points may be stored in the electronic device (201).

[0159] According to one embodiment, the electronic device (201) may also determine the ratio of the total area of ​​the first object included in the second image to the total area of ​​the first object included in the first image as the ratio of the overlapping of a part of the first object included in the first image and a part of the first object included in the second image.

[0160] According to one embodiment, the electronic device (201) may check the number of landmarks corresponding to each other between a plurality of landmarks related to a first object included in a first image and a plurality of landmarks related to a first object included in a second image. According to one embodiment, the electronic device (201) may check whether a part of the first object included in the first image corresponds (or overlaps) with a part of the first object included in the second image based on the number of feature points corresponding to each other. According to one embodiment, a lookup table indicating a relationship between the number of landmarks corresponding to each other and the corresponding overlapping ratio may be stored in the electronic device (201).

[0161] According to one embodiment, the electronic device (201) can determine the overlapping ratio between a portion of the first object included in the first image and a portion of the first object included in the second image based on the area of ​​the corresponding mesh between the first object included in the first image and the first object included in the second image. According to one embodiment, a lookup table indicating the relationship between the overlapping ratio corresponding to the area of ​​the mesh can be stored in the electronic device (201).

[0162] According to one embodiment, in operation 413, the electronic device (201) can determine whether the number of corresponding feature points is greater than a first specified number and less than a second specified number that is greater than the first specified number. For example, the range that is greater than the first specified number and less than the second specified number may include a range in which a part of the first object included in the first image, which is required to restore the first object into a three-dimensional image, corresponds (overlaps) with a part of the first object included in the second image.

[0163] According to one embodiment, if the number of corresponding feature points is determined to be greater than a first specified number and less than a second specified number (operation 413 - Yes), in operation 415, the electronic device (201) may obtain a 3D image in which the first object is reconstructed in three dimensions based on the first image and the second image. According to one embodiment, if the electronic device (201) determines that the overlapping ratio is greater than a specified ratio, the electronic device (201) may obtain a 3D image in which the first object is reconstructed in three dimensions. According to one embodiment, if the number of corresponding feature points is determined to be not greater than the first specified number or not less than the second specified number (operation 413 - No), in operation 417, the electronic device (201) may transmit a command to the external electronic device (202) to provide guide information for adjusting at least one of the position or direction of the second camera (211). According to one embodiment, if the electronic device (201) determines that the overlapping ratio is less than a specified ratio, the electronic device (201) may transmit a command to the external electronic device (202) to provide guide information for adjusting at least one of the position or direction of the second camera (211).

[0164] For example, the guide information may include guide information for adjusting at least one of the position or direction of the second camera (211) so that the number of corresponding feature points is greater than a specified first number and less than a specified second number.

[0165] For example, the guide information may include guide information for adjusting at least one of the position or direction of the second camera (211) so that the overlapping ratio is not less than a specified ratio.

[0166] For example, the guide information may include guide information for adjusting at least one of the position or direction of the second camera (211) based on the region of interest (ROI) of the first camera (210).

[0167] For example, the guide information may include guide information for changing the direction based on the movement of the pitch or yaw axis of the second camera (211). For example, the guide information may include guide information for moving the position of the second camera (211) in the direction of the first axis (e.g., +X axis in FIG. 11), the second axis (e.g., +Y axis in FIG. 11), or the third axis (e.g., +Z axis in FIG. 11).

[0168] According to one embodiment, in operation 419, the electronic device (201) may acquire a third image including a first object acquired from the first camera (210) and a fourth image including the first object acquired from the second camera (211) at a third position in a third direction after adjusting at least one of a position or a direction of the second camera (211).

[0169] According to one embodiment, the electronic device (201) can identify a plurality of third feature points related to a first object included in a third image and a plurality of fourth feature points related to a first object included in a fourth image.

[0170] According to one embodiment, the electronic device (201) can determine that the number of corresponding feature points between the plurality of third feature points and the plurality of fourth feature points is greater than a specified first number and less than a specified second number.

[0171] According to one embodiment, in operation 421, the electronic device (201) may obtain a 3D image in which the first object is reconstructed in three dimensions based on the third image and the fourth image. According to one embodiment, the electronic device (201) may obtain a 3D image in which the first object is reconstructed in three dimensions based on the third image and the fourth image, based on determining that the number of corresponding feature points between the plurality of third feature points and the plurality of fourth feature points is greater than a specified first number and less than a specified second number.

[0172] FIG. 4B is a flowchart illustrating an operation of an electronic device according to one embodiment to check coverage of a first camera and a second camera for a first object.

[0173] Referring to FIG. 4B, according to one embodiment, in operation 431, the electronic device (201) (e.g., the electronic device (201) of FIG. 2B) can check the number of corresponding feature points between a plurality of first feature points related to a first object included in a first image captured at a first location in a first direction by a first camera (210) (e.g., the first camera (210) of FIG. 2B) and a plurality of second feature points related to the first object included in a second image captured at a second location in a second direction by a second camera (211) (e.g., the second camera (211) of FIG. 2B).

[0174] According to one embodiment, in operation 433, the electronic device (201) can determine whether the number of corresponding feature points is greater than a specified first number and less than a specified second number that is greater than the specified first number.

[0175] According to one embodiment, if the number of corresponding feature points is determined to be greater than a specified first number and less than a specified second number (operation 513 - Yes), the electronic device (201) can, in operation 515, check the coverage of the first camera (210) and the second camera (211) for the first object.

[0176] According to one embodiment, coverage may represent an area of ​​the first object captured by the first camera (210) and the second camera (211) based on the entire area of ​​the first object. In other words, coverage may represent a shooting range that represents how many angles the entire area of ​​the actual first object is captured by the first camera (210) of the first angle of view and the second camera (211) of the second angle of view.

[0177] According to one embodiment, in operation 437, the electronic device (201) can check whether the coverage of the first camera (210) and the second camera (211) satisfies a specified range.

[0178] According to one embodiment, the electronic device (201) can determine whether the coverage satisfies a specified range based on the number of corresponding feature points. According to one embodiment, the electronic device (201) can determine that the coverage satisfies the specified range if it is determined that the number of corresponding feature points is greater than a specified third number and less than a specified fourth number that is greater than the specified third number. For example, the specified range may include a range corresponding to the coverage of the first camera (210) and the second camera (211) for three-dimensionally restoring the first object.

[0179] According to one embodiment, the electronic device (201) can determine whether the coverage satisfies a specified range based on information about a first position and a first direction of the first camera (210) and information about a second position and a second direction of the second camera (211) confirmed using a structure from motion (SFM) algorithm stored in the memory (230) (e.g., the memory (230) of FIG. 2B ). For example, the electronic device (201) can determine information about a first position and a first direction of the first camera (210) based on a plurality of first feature points using the structure from motion (SFM) algorithm. For example, the electronic device (201) can determine information about a second position and a second direction of the second camera (211) based on a plurality of second feature points using the structure from motion (SFM) algorithm. According to one embodiment, the electronic device (201) may obtain an angle between the first camera (210) that photographs the first object and the second camera (211) that photographs the first object based on information about the first position and the first direction and information about the second position and the second direction, based on the first object photographed by the first camera (210). According to one embodiment, if the electronic device (201) determines that the angle is included in a specified range, the electronic device (201) may determine that the coverage of the first camera (210) and the second camera (211) satisfies the specified range. For example, the specified range may represent an angle between the first camera (210) and the second camera (211) for three-dimensionally reconstructing the first object.

[0180] According to one embodiment, if the electronic device (201) determines that the coverage of the first camera (210) and the second camera (211) satisfies the specified range (operation 437 - Yes), in operation 439, the electronic device can obtain a 3D image in which the first object is three-dimensionally restored based on the first image and the second image.

[0181] According to one embodiment, if the electronic device (201) determines that the number of corresponding feature points is not greater than a specified first number or not less than a specified second number (operation 513-No), then in operation 441, the electronic device (201) may transmit a command to the external electronic device (202) to provide guide information for adjusting at least one of the position or direction of the second camera (211).

[0182] According to one embodiment, the electronic device (201) may acquire a third image including a first object through the first camera (210) after adjusting at least one of the position or direction of the second camera (211), and may acquire a fourth image including the first object through the second camera (211) at the adjusted position or direction. According to one embodiment, the electronic device (201) may identify a plurality of third feature points related to the first object included in the third image and a plurality of fourth feature points related to the first object included in the fourth image. According to one embodiment, the electronic device (201) may identify the coverage of the first camera (210) and the second camera (211) based on the number of feature points corresponding to each other between the plurality of third feature points and the plurality of fourth feature points being greater than a first number and less than a second number. According to one embodiment, if the electronic device (201) determines that the coverage satisfies the specified range, the electronic device can obtain a 3D image in which the first object is restored in three dimensions based on the third image and the fourth image.

[0183] FIG. 5 is a flowchart illustrating an operation of an electronic device according to one embodiment of the present invention to provide guide information for adjusting at least one of a position or direction of a second camera based on the number and coverage of corresponding feature points.

[0184] Referring to FIG. 5, according to one embodiment, in operation 511, the electronic device (201) (e.g., the electronic device (201) of FIG. 2B) may set the first camera (210) (e.g., the first camera (210) of FIG. 2B) and the second camera (211) (e.g., the second camera (211) of FIG. 2B) as the main camera and the sub camera, respectively, based on a specified condition. According to one embodiment, the electronic device (201) may set the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on a first image acquired through the first camera (210) and a second image acquired through the second camera (211).

[0185] For example, the electronic device (201) may set the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on the first pose of the first object (e.g., a person) included in the first image acquired through the first camera (210) and the second pose of the first object (e.g., a person) included in the second image acquired through the second camera (211). An embodiment in which the electronic device (201) sets the main camera and the sub camera based on the first pose and the second pose is specifically described in FIG. 6B.

[0186] For example, the electronic device (201) may set the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on the resolution of the first camera (210) and the resolution of the second camera (211). For example, the electronic device (201) may set the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on the resolution of the first image and the resolution of the second image. An embodiment in which the electronic device (201) sets the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on the resolution of the first camera (210) and the resolution of the second camera (211) is specifically described in FIG. 6C.

[0187] For example, the electronic device (201) may set a camera that supports a designated function among the first camera (210) and the second camera (211) as the main camera, and may set a camera that does not support the designated function as the sub camera. For example, the electronic device (201) may set a camera that supports a high dynamic range (HDR) function among the first camera (210) and the second camera (211) as the main camera, and may set a camera that does not support the high dynamic range (HDR) function as the sub camera. However, the designated function is not limited thereto and may include various functions.

[0188] For example, the electronic device (201) may set the first camera (210) and the second camera (211) as the main camera and the sub-camera, respectively, based on the distances (e.g., average distance, furthest distance, or closest distance) between a plurality of objects (e.g., people, objects, animals, etc.) included in the images acquired through the first camera (210) and the second camera (211). According to one embodiment, if the electronic device (201) determines that the distance between the plurality of objects included in the first image acquired through the first camera (210) is greater than the distance between the plurality of objects included in the second image acquired through the second camera (211), the electronic device (201) may set the first camera (210) as the main camera and the second camera (211) as the sub-camera.

[0189] For example, the electronic device (201) may set the first camera (210) and the second camera (211) as the main camera and the sub camera, respectively, based on the remaining battery capacity of the electronic device (201) and the remaining battery capacity of the external electronic device (202).

[0190] For example, if the electronic device (201) determines that no object is included in the images acquired through the first camera (210) and the second camera (211), the electronic device (201) may set the camera with the largest distance (e.g., height) between the cameras from the reference position as the main camera, and set the remaining cameras, excluding the camera set as the main camera, as sub cameras.

[0191] According to one embodiment, in operation 513, the electronic device (201) can check the number of correspondences between a plurality of first feature points included in a first image acquired through a first camera (210) and a plurality of second feature points included in a second image acquired through a second camera (211). According to one embodiment, the electronic device (201) can check whether a part of a first object included in the first image corresponds to (or overlaps) a part of the first object included in the second image based on the number of corresponding feature points. For example, the fact that a part of the first object included in the first image corresponds to or overlaps a part of the first object included in the second image may mean that the two images include the same part of the first object captured from different directions and positions.

[0192] According to one embodiment, in operation 515, the electronic device (201) can check the coverage of the first camera (210) and the second camera (211). According to one embodiment, the coverage can represent the area of ​​the first object captured by the first camera (210) and the second camera (211) based on the entire area of ​​the first object. In other words, the coverage can represent the shooting range that represents how many angles the entire area of ​​the actual first object is captured by the first camera (210) of the first angle of view and the second camera (211) of the second angle of view.

[0193] According to one embodiment, in operation 517, the electronic device (201) may transmit a command to the external electronic device (202) to provide guide information for adjusting at least one of a position or direction of the second camera (211) based on the corresponding number and coverage between the plurality of first feature points and the plurality of second feature points.

[0194] According to one embodiment, the electronic device (201) may transmit a command to the external electronic device (202) to cause the external electronic device (202) to display a numerical value representing the degree to which a part of a first object included in a first image corresponds (or overlaps) with a part of a first object included in a second image, based on the number of correspondences between the plurality of first feature points and the plurality of second feature points. According to one embodiment, the electronic device (201) may transmit a command to the external electronic device (202) to cause the external electronic device (202) to display a numerical value representing coverage. For example, a lookup table for numerical values ​​representing the degree to which a part of a first object included in a first image corresponds (or overlaps) with a part of a first object included in a second image, based on the number of correspondences between the plurality of first feature points and the plurality of second feature points, may be stored in the electronic device (201). For example, a lookup table for a numerical value representing coverage may be stored in the electronic device (201) based on the corresponding number between a plurality of first feature points and a plurality of second feature points or the angle between the first camera (210) and the second camera (211). FIG. 6B is a flowchart illustrating an operation of an electronic device according to one embodiment to set a main camera and a sub camera based on a pose of a first object.

[0195] Referring to FIG. 6B, according to one embodiment, in operation 611, the electronic device (201) (e.g., the electronic device (201) of FIG. 2B) can identify a plurality of first feature points related to a first object included in a first image and a plurality of second feature points related to a first object included in a second image.

[0196] According to one embodiment, in operation 613, the electronic device (201) can determine a first direction of a first camera (210) (e.g., the first camera (210) of FIG. 2B) that captured a first object based on a plurality of first feature points included in the first image.

[0197] According to one embodiment, in operation 615, the electronic device (201) can determine a second direction of a second camera (211) (e.g., the second camera (211) of FIG. 2B) that captured the second object based on a plurality of second feature points included in the second image.

[0198] According to one embodiment, in operation 617, the electronic device (201) may determine that the first pose of the first object included in the first image satisfies a specified condition. According to one embodiment, the specified condition may be a condition for determining which camera among a plurality of cameras is to be set as the main camera. For example, the specified condition may be related to a pose of an object included in an image captured by the corresponding camera or a direction in which the object is facing. For example, if the object is a user's face, the electronic device (201) may set a camera that captured an image including a face facing forward as the main camera. In addition, the electronic device (201) may set at least one other camera other than the main camera as a sub camera.

[0199] According to one embodiment, the electronic device (201) may compare each of the first pose and the second pose with a specified condition. According to one embodiment, if the electronic device (201) determines that the face of the first object included in the first image was captured from a specified direction, the electronic device may determine that the first pose satisfies the specified condition.

[0200] According to one embodiment, the electronic device (201) can identify the first pose based on the distance between feature points identified in at least one area among the entire area of ​​the first object. For example, the electronic device (201) can identify that the face of the first object included in the first image was photographed from a specified direction (e.g., frontal) based on the fact that the distance between feature points identified in the chin among the plurality of first feature points included in the first image is identified as a first distance, and the distance between feature points identified in the nose among the plurality of first feature points is identified as a second distance. For example, the electronic device (201) can identify that the face of the first object included in the second image was photographed from a direction other than the specified direction (e.g., downward) based on the fact that the distance between feature points identified in the chin among the plurality of second feature points included in the second image is identified as a third distance greater than the first distance, and the distance between feature points identified in the nose among the plurality of second feature points is identified as a fourth distance less than the second distance.

[0201] According to one embodiment, in operation 619, the electronic device (201) may set the first camera (210) as the main camera and set the second camera (211) as the sub camera.

[0202] FIG. 6b is a flowchart illustrating an operation of an electronic device according to one embodiment to set a main camera and a sub camera by taking into account the resolutions of the first camera and the second camera.

[0203] Referring to FIG. 6B, according to one embodiment, in operation 631, the electronic device (201) (e.g., the electronic device (201) of FIG. 2B) can check the resolution of the first camera (210) (e.g., the first camera (210) of FIG. 2B).

[0204] According to one embodiment, in operation 633, the electronic device (201) can check the resolution of the second camera (211) (e.g., the second camera (211) of FIG. 2B). For example, the electronic device (201) can receive information about the resolution of the second camera (211) from an external electronic device (202) (e.g., the external electronic device (202) of FIG. 2B) through a communication circuit (290) (e.g., the communication circuit (290) of FIG. 2B).

[0205] According to one embodiment, in operation 635, the electronic device (201) may set the first camera (210) as the main camera and set the second camera (211) as the sub camera based on determining that the resolution of the first camera (210) is greater than the resolution of the second camera (211). Depending on the implementation, the electronic device (201) may also set the first camera (210) as the sub camera and set the second camera (211) as the main camera based on determining that the resolution of the first camera (210) is greater than the resolution of the second camera (211).

[0206] FIG. 7A is a diagram for explaining an operation of an electronic device according to one embodiment of the present invention to set a main camera based on a plurality of first feature points related to a first object included in a first image.

[0207] Referring to FIG. 7A, according to one embodiment, an electronic device (201) (e.g., the electronic device (201) of FIG. 2B) may acquire a first image including a first object through a first camera (210) (e.g., the first camera (210) of FIG. 2B). According to one embodiment, the first object may include a human face or an animal face.

[0208] According to one embodiment, the electronic device (201) may analyze a first image to identify a plurality of first feature points related to a first object included in the first image. According to one embodiment, the plurality of first feature points may include feature points related to the first object.

[0209] According to one embodiment, the feature points associated with the first object may include feature points included in the chin, eyes, nose, mouth, forehead, and cheeks.

[0210] According to one embodiment, the electronic device (201) can identify a first pose of a first object included in a first image based on a plurality of first feature points. According to one embodiment, the electronic device (201) can identify the first pose based on a distance between feature points identified in at least one designated area among the entire area of ​​the first object. According to one embodiment, the electronic device (201) can identify that a first direction (e.g., +Y axis) of a first camera (210) that photographs the first object is a frontal direction of the first object based on a plurality of first feature points.

[0211] According to one embodiment, the electronic device (201) can determine that the pose of the first object satisfies a specified condition based on determining that the first direction of the first camera (210) is the front direction of the first object. According to one embodiment, the electronic device (201) can set the first camera (210) as the main camera based on determining that the pose of the first object satisfies the specified condition.

[0212] FIG. 7B is a diagram for explaining an operation of an electronic device according to one embodiment of the present invention to set a sub-camera based on a plurality of second feature points related to a first object included in a second image.

[0213] Referring to FIG. 7b, according to one embodiment, an electronic device (201) (e.g., the electronic device (201) of FIG. 2b) can obtain a second image including a first object through a second camera (211) (e.g., the second camera (211) of FIG. 2b).

[0214] According to one embodiment, the electronic device (201) can analyze the second image to identify a plurality of second feature points related to the first object included in the second image.

[0215] According to one embodiment, the feature points associated with the first object may include feature points included in the chin, eyes, nose, mouth, forehead, and cheeks.

[0216] According to one embodiment, the electronic device (201) can identify a second pose of the first object included in the second image based on a plurality of second feature points. According to one embodiment, the electronic device (201) can identify the second pose based on a distance between feature points identified in at least one designated area among the entire area of ​​the first object. According to one embodiment, the electronic device (201) can identify that a second direction (e.g., -Z axis) of the second camera (211) that photographs the first object is a direction from below to above with respect to the first object, based on identifying that the distance between the plurality of second feature points is greater than the designated distance.

[0217] According to one embodiment, the electronic device (201) can determine that the second pose of the first object does not correspond to the specified pose based on determining that the second direction of the second camera (211) that is taking the picture is not the front direction of the first object. According to one embodiment, if the electronic device (201) determines that the second pose of the first object does not satisfy the specified condition, the electronic device (201) can set the second camera (211) as a sub-camera.

[0218] FIG. 8 is a drawing for explaining an operation of an electronic device according to one embodiment of the present invention to display guide information for adjusting the position of a first camera on a display.

[0219] Referring to FIG. 8, according to one embodiment, the electronic device (201) (e.g., the electronic device (201) of FIG. 2B) may display guide information (e.g., “Move the camera to the left”) to move the first camera (210) (e.g., the first camera (210) of FIG. 2B)) to a specific position so that the first object (810) displayed through the display (260) (e.g., the display (260) of FIG. 2B) is displayed in the center area of ​​the display (260) after setting the first camera (210) (e.g., the first camera (210) of FIG. 2B)) as the main camera.

[0220] According to one embodiment, the electronic device (201) may display guide information (820) indicating a central area of ​​the display (260). For example, the guide information (820) may include information indicating an area corresponding to a first object in a central area of ​​the display (260) with a dotted line.

[0221] FIG. 9A is a diagram for explaining an operation of an electronic device according to one embodiment to identify corresponding feature points between a plurality of first feature points included in a first image and a plurality of second feature points included in a second image.

[0222] Referring to FIG. 9A, according to one embodiment, an electronic device (201) (e.g., the electronic device (201) of FIG. 2B) can acquire a first image (901) through a first camera (210) (e.g., the first camera (210) of FIG. 2B) and can acquire a second image (902) through a second camera (211) (e.g., the second camera (211) of FIG. 2B).

[0223] According to one embodiment, the electronic device (201) can identify a plurality of first feature points related to a first object included in a first image (901) and identify a plurality of second feature points included in a second image (902).

[0224] For convenience of explanation, only feature points corresponding to (overlapping) a plurality of first feature points and a plurality of second feature points are shown in the first image (901) and the second image (902). The feature points corresponding to (overlapping) a plurality of first feature points and a plurality of second feature points may mean that the first image (901) and the second image (902) include the same portion of the first object photographed from different directions.

[0225] According to one embodiment, the electronic device (201) can identify feature points corresponding to each other among a plurality of first feature points and a plurality of second feature points. According to one embodiment, the electronic device (201) can identify feature points (911, 912, 913, 914, 915, 916, 917, 918) among the plurality of first feature points that correspond to each other among the plurality of second feature points. According to one embodiment, the electronic device (201) can identify feature points (921, 922, 923, 924, 925, 926, 927, 928) among the plurality of second feature points that correspond to each other among the plurality of first feature points.

[0226] For example, the corresponding feature points between the plurality of first feature points and the plurality of second feature points may include feature points of the forehead (911, 921), eyes (912, 922), temples (913, 923), ears (914, 924), cheeks (915, 925), lips (916, 926), noses (918, 928), and / or noses (917, 927).

[0227] According to one embodiment, the electronic device (201) can determine that the number of corresponding feature points (e.g., 8) between the plurality of first feature points and the plurality of second feature points is greater than a specified first number and less than a specified second number.

[0228] According to one embodiment, the electronic device (201) can check the coverage of the first camera (210) and the second camera (211) with respect to the first object based on checking that the number of corresponding feature points between the plurality of first feature points and the plurality of second feature points is greater than a specified first number and less than a specified second number. For example, the range greater than the specified first number and less than the specified second number may include a range in which a part of the first object included in the first image required to restore the first object into a three-dimensional image corresponds (overlaps) with a part of the first object included in the second image.

[0229] FIG. 9B is a diagram for explaining an operation of an electronic device according to one embodiment to check coverage based on corresponding feature points between a plurality of first feature points included in a first image and a plurality of second feature points included in a second image.

[0230] Referring to FIG. 9B, according to one embodiment, the electronic device (201) (e.g., the electronic device (201) of FIG. 2B) can check whether the coverage of the first camera (210) (e.g., the first camera (210) of FIG. 2B) and the second camera (211) (e.g., the second camera (211) of FIG. 2B) satisfies a specified range.

[0231] According to one embodiment, coverage may represent an area of ​​the first object captured by the first camera (210) and the second camera (211) based on the entire area of ​​the first object. In other words, coverage may represent a shooting range that represents how many angles the entire face area of ​​the actual first object is captured by the first camera (210) of the first angle of view (a1) and the second camera (211) of the second angle of view (a2).

[0232] According to one embodiment, the electronic device (201) can check the coverage of the first camera (210) and the second camera (211) with respect to the first object based on the number of corresponding feature points (911, 912, 913, 914, 915, 916, 917, 918, 921, 922, 923, 924, 925, 926, 927, 928 of FIG. 9A) between the plurality of first feature points and the plurality of second feature points. According to one embodiment, the coverage can represent the area of ​​the first object captured by the first camera (210) and the second camera (211) based on the entire area of ​​the first object. That is, coverage can represent a shooting range that indicates how much of the entire area of ​​the actual first object is captured from various angles by the first camera (210) of the first angle of view and the second camera (211) of the second angle of view.

[0233] According to one embodiment, the electronic device (201) may determine a shooting range indicating how many multi-angle images of the entire area of ​​the actual first object are captured by the first camera (210) of the first angle of view and the second camera (211) of the second angle of view based on the number of corresponding feature points (911, 912, 913, 914, 915, 916, 917, 918, 921, 922, 923, 924, 925, 926, 927, 928 of FIG. 9A) between the plurality of first feature points and the plurality of second feature points. According to one embodiment, the electronic device (201) may determine that the coverage satisfies the specified range if it is determined that the number of corresponding feature points is greater than a specified third number and less than a specified fourth number that is greater than the specified third number. For example, the specified range may include a range corresponding to the coverage of the first camera (210) and the second camera (211) for restoring the first object in three dimensions.

[0234] FIG. 10A is a diagram for explaining an operation of an electronic device according to one embodiment to identify corresponding points between a plurality of first feature points included in a first image and a plurality of second feature points included in a second image.

[0235] Referring to FIG. 10A, according to one embodiment, an electronic device (201) (e.g., the electronic device (201) of FIG. 2B) can acquire a first image (901) through a first camera (210) (e.g., the first camera (210) of FIG. 2B) and can acquire a second image (1002) through a second camera (211) (e.g., the second camera (211) of FIG. 2B).

[0236] For convenience of explanation, only the corresponding feature points between the plurality of first feature points and the plurality of second feature points are shown on the first image (901) and the second image (1002).

[0237] According to one embodiment, the electronic device (201) can identify a plurality of feature points (1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020) that correspond to a plurality of second feature points among a plurality of first feature points. According to one embodiment, the electronic device (201) can identify a plurality of feature points (1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040) that correspond to a plurality of first feature points among a plurality of second feature points.

[0238] For example, the corresponding feature points between the plurality of first feature points and the plurality of second feature points may include feature points of the forehead (1011, 1012, 1031, 1032), eyes (1014, 1015, 1034, 1035), ears (1019, 1039), cheeks (1018, 1038), lips (1020, 1040), nose (1016, 1036), temples (1013, 1033), and / or nose (1017, 1037).

[0239] According to one embodiment, the electronic device (201) can determine that the number of corresponding feature points between the plurality of first feature points and the plurality of second feature points is greater than a specified first number (e.g., 5) and less than a specified second number that is greater than the specified first number. For example, the specified first number and the specified second number may be set by a user or automatically set by the electronic device (201). For example, the specified first number and the specified second number may be set to various numbers.

[0240] The number of feature points corresponding to each other between the plurality of first feature points and the plurality of second feature points of FIG. 9A may be 8, and the number of feature points corresponding to each other between the plurality of first feature points and the plurality of second feature points of FIG. 10A may be 10. According to one embodiment, a part of the first object included in the first image (901) of FIG. 10A and a part of the first object included in the second image (1002) may correspond more than a part of the first object included in the first image (901) of FIG. 9A and a part of the first object included in the second image (902 of FIG. 9A).

[0241] FIG. 10b is a diagram for explaining an operation of an electronic device according to one embodiment to check coverage based on corresponding points between a plurality of first feature points included in a first image and a plurality of second feature points included in a second image.

[0242] According to one embodiment, the electronic device (201) can check the coverage of the first camera (210) and the second camera (211) based on determining that the number of corresponding feature points between the plurality of first feature points and the plurality of second feature points is greater than a specified first number and less than a specified second number.

[0243] According to one embodiment, the electronic device (201) can determine whether the coverage of the first camera (210) and the second camera (211) satisfies a specified range based on the number of corresponding feature points (1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040) between the plurality of first feature points and the plurality of second feature points.

[0244] According to one embodiment, the electronic device (201) can check the coverage of the first camera (210) and the second camera (211) based on the number of corresponding feature points (1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040 in FIG. 10A) between the plurality of first feature points and the plurality of second feature points.

[0245] Coverage according to one embodiment may represent a shooting range that indicates how many angles the entire area of ​​an actual first object is captured by the first camera (210) of the first angle of view (a1) and the second camera (211) of the second angle of view (a2).

[0246] The coverage of the first camera (210) and the second camera (211) of FIG. 9B may be greater than the coverage of the first camera (210) and the second camera (211) of FIG. 10B. According to one embodiment, the more a part of the first object included in the first image corresponds to a part of the first object included in the second image, the smaller the coverage, and the more the number of feature points corresponding to each other between the plurality of first feature points and the plurality of second feature points may be. For example, the more the direction in which the first object included in the first image is facing and the direction in which the first object included in the second image is facing are the same or similar to each other, the smaller the coverage, and the more the number of feature points corresponding to each other between the plurality of first feature points and the plurality of second feature points may be.

[0247] FIG. 11 is a drawing for explaining guide information for adjusting the position of a second camera according to one embodiment.

[0248] Referring to FIG. 11, according to one embodiment, an electronic device (201) (e.g., the electronic device (201) of FIG. 2B) may transmit a command to an external electronic device (202) (e.g., the external electronic device (202) of FIG. 2B) to provide guide information to adjust the position of a second camera (211) (e.g., the second camera (211) of FIG. 2B).

[0249] According to one embodiment, the guide information may include guide information for adjusting the position of the second camera (211) by moving the second camera (211) in a first axis direction (e.g., +X-axis direction), a second axis direction perpendicular to the first axis direction (e.g., +Y-axis direction), or a third axis direction perpendicular to the first and second axis directions (e.g., +Z-axis direction).

[0250] According to one embodiment, the external electronic device (202) may display guide information through the display (261) (e.g., the display (261) of FIG. 2B). For example, the guide information may include guide information for moving the external electronic device (202) in the +X-axis direction (e.g., to the right). According to one embodiment, the external electronic device (202) may display the guide information or output the guide information by voice until the position of the second camera (211) is adjusted.

[0251] FIG. 12 is a drawing for explaining guide information for adjusting the angle of a second camera according to one embodiment.

[0252] Referring to FIG. 12, an electronic device (201) (e.g., the electronic device (201) of FIG. 2B) can transmit a command to an external electronic device (202) (e.g., the external electronic device (202) of FIG. 2B) to provide guide information to adjust the angle of a second camera (211) (e.g., the second camera (211) of FIG. 2B).

[0253] According to one embodiment, the guide information may include guide information for adjusting the direction of the second camera (211) by adjusting the angle between the first housing and the second housing in which the second camera (211) is placed.

[0254] According to one embodiment, the external electronic device (202) may display guide information through a display (261) (e.g., the display (261) of FIG. 2B). According to one embodiment, the external electronic device (202) may display the guide information or output the guide information as a voice until the direction of the second camera (211) is adjusted.

[0255] Depending on the implementation, in one embodiment, the electronic device (201) may transmit a command to the external electronic device (202) to adjust the direction of the second camera (211). In one embodiment, the external electronic device (202) may adjust the direction of the second camera (211) based on the command.

[0256] FIG. 13 is a drawing for explaining a three-dimensional image of a first object restored in three dimensions according to one embodiment.

[0257] Referring to FIG. 13, according to one embodiment, an electronic device (201) (e.g., the electronic device (201) of FIG. 2B) may obtain a 3D image (1330) in which the first object is three-dimensionally restored by using a first image (1310) including a first object obtained from a first camera (210) (e.g., the first camera (210) of FIG. 2B) and a second image (1320) including the first object obtained from a second camera (211) (e.g., the second camera (211) of FIG. 2B).

[0258] According to one embodiment, the electronic device (201) can identify (extract) feature points that correspond (match, overlap) to each other among a plurality of first feature points included in a first image (1310), which is a two-dimensional image, and a plurality of second feature points included in a second image (1320), which is a two-dimensional image. For example, the electronic device (201) can identify (extract) feature points that correspond to each other (match, overlap) using an oriented fast and rotated brief (ORB), a scale invariant feature transform (SIFT), or a speeded up robust features (SURF) algorithm.

[0259] According to one embodiment, the electronic device (201) can check whether the number of feature points that correspond to each other (match, overlap) falls within a specified range in order to obtain a 3D image (1330) in which the first object is restored in three dimensions.

[0260] According to one embodiment, the electronic device (201) can check whether the coverage of the first camera (210) and the second camera (211) with respect to the first object falls within a specified range.

[0261] According to one embodiment, the electronic device (201) may obtain shape information of a first object from a plurality of feature points included in a first image (1310) and a second image (1320), and may obtain color information and depth information (depth map) of the first image (1310) and the second image (1320) based on the number of feature points corresponding to each other (matching, overlapping) falling within a specified range and the coverage falling within a specified range.

[0262] According to one embodiment, the electronic device (201) can obtain shape information of a first object, and obtain a 3D image (1330) in which the first object is restored in three dimensions based on obtaining color information and depth information (depth map) of a first image (1310) and a second image (1320).

[0263] FIG. 14 is a flowchart illustrating an operation of an electronic device according to one embodiment to check the coverage of a first camera and a second camera based on an angle between the first camera and the second camera.

[0264] Referring to FIG. 14, according to one embodiment, in operation 1411, the electronic device (201) (e.g., the electronic device (201) of FIG. 2B) may identify a first direction and a first position of the first camera (210) (e.g., the first camera (210) of FIG. 2B) based on a plurality of first feature points included in a first image in which a first object is captured. According to one embodiment, the electronic device (201) may identify information about the first position and the first direction of the first camera (210) using a structure from motion (SFM) algorithm stored in a memory (230) (e.g., the memory (230) of FIG. 2B).

[0265] According to one embodiment, in operation 1413, the electronic device (201) can identify a second direction and a second position of the second camera (211) (e.g., the second camera (211) of FIG. 2B ) based on a plurality of second feature points included in a second image in which the first object is captured. According to one embodiment, the electronic device (201) can identify information about the second position and the second direction of the second camera (211) based on the plurality of second feature points using a structure from motion (SFM) algorithm.

[0266] According to one embodiment, in operation 1415, the electronic device (201) can determine an angle between the first camera (210) and the second camera (211) with respect to the first object in the first direction of the first camera (210). According to one embodiment, the electronic device (201) can obtain an angle between the first camera (210) and the second camera (211) with respect to the first object in the first direction of the first camera (210) based on information about the first position and the first direction and information about the second position and the second direction.

[0267] According to one embodiment, in operation 1417, the electronic device (201) may determine whether the coverage of the first camera (210) and the second camera (211) satisfies a specified range based on the angle between the first camera (210) and the second camera (211). According to one embodiment, the coverage may represent an area of ​​the first object captured by the first camera (210) and the second camera (211) based on the entire area of ​​the first object. In other words, the coverage may represent a shooting range that represents how many angles the entire area of ​​the actual first object is captured by the first camera (210) of the first angle of view and the second camera (211) of the second angle of view.

[0268] According to one embodiment, the electronic device (201) may determine that the coverage of the first camera (210) and the second camera (211) satisfies the specified range when it is determined that the angle between the first camera (210) and the second camera (211) with respect to the first object in the first direction of the first camera (210) is within a specified angular range. For example, the specified angular range may include an angle between 45 degrees and 90 degrees. For example, the specified angular range may represent the angle between the first camera (210) and the second camera (211) with respect to the first object for three-dimensionally restoring the first object.

[0269] FIG. 15 is a diagram for explaining an operation of an electronic device according to one embodiment to check the coverage of a first camera and a second camera based on an angle between the first camera and the second camera.

[0270] Referring to FIG. 15, according to one embodiment, an electronic device (201) (e.g., the electronic device (201) of FIG. 2B) can determine a first direction and a first position of a first camera (210) (e.g., the first camera (210) of FIG. 2B).

[0271] According to one embodiment, the electronic device (201) can determine the second direction and second position of the second camera (211).

[0272] According to one embodiment, the electronic device (201) can determine an angle (a3) ​​between the first camera (210) and the second camera (211) with respect to the first object in the first direction of the first camera (210), based on the first direction and first position of the first camera (210) and the second direction and second position of the second camera (211).

[0273] According to one embodiment, the electronic device (201) can determine that the coverage of the first camera (210) and the second camera (211) satisfies the specified range based on determining that the angle (a3) ​​between the first camera (210) and the second camera (211) is within the specified angular range.

[0274] According to one embodiment, the electronic device may include a first camera (210), a display (260), a communication circuit (290), at least one processor (220), and a memory (230) for storing instructions.

[0275] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to acquire a first image of a first object at a first location in a first direction through the first camera.

[0276] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to obtain, from the external electronic device through the communication circuit, a second image of the first object captured at a second location in a second direction through a second camera included in the external electronic device.

[0277] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to identify a first pose of the first object included in the first image and a second pose of the first object included in the second image.

[0278] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to set the first camera (210) as a main camera and set the second camera (211) as a sub camera based on determining that the first pose corresponds to a designated pose.

[0279] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to transmit a command to the external electronic device (202) that provides guide information for adjusting at least one of a position or direction of the second camera (211) based on a number of corresponding feature points between a plurality of first feature points associated with the first object included in the first image and a plurality of second feature points associated with the first object included in the second image.

[0280] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device to obtain a 3D image in which the first object is reconstructed in three dimensions based on a third image captured by the first camera (210) of the first object and a fourth image captured by the second camera at a third position in a third direction after at least one of the position or the direction of the second camera (211) is adjusted.

[0281] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to determine coverage of the first camera and the second camera for the first object based on the number of the feature points, if the number of the feature points is determined to be greater than the first specified number and less than a second number greater than the first specified number.

[0282] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device to determine that the coverage satisfies a specified range if the number of the feature points is determined to be greater than a specified third number and less than a specified fourth number that is greater than the specified third number.

[0283] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to obtain a 3D image of the first object in which the coverage is three-dimensionally restored if it is determined that the coverage satisfies the specified range.

[0284] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to transmit the command to the external electronic device (202) if the coverage is determined to not satisfy the specified range.

[0285] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to determine a direction in which a face of the first object included in the first image faces, based on the plurality of first feature points.

[0286] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to determine, based on the plurality of first feature points, whether the face of the first object included in the first image was captured from a specified direction.

[0287] According to one embodiment, the instructions, when executed by the at least one processor (220), may cause the electronic device (201) to determine that the first pose satisfies the specified condition based on determining that the face was photographed from the specified direction.

[0288] According to one embodiment, the guide information for adjusting the position of the second camera (211) may include guide information for adjusting the position of the second camera by moving the second camera (211) in a first axis direction, a second axis direction perpendicular to the first axis direction, or a third axis direction perpendicular to the first axis direction and the second axis direction.

[0289] According to one embodiment, the electronic device (201) may include a notebook, and the external electronic device (202) may include a foldable electronic device including a first housing and a second housing in which the second camera (211) is arranged.

[0290] According to one embodiment, the guide information for adjusting the direction of the second camera may include guide information for adjusting the direction of the second camera (211) by adjusting the angle between the first housing and the second housing.

[0291] According to one embodiment, the plurality of first feature points may include a plurality of first landmarks associated with a face of the first object included in the first image.

[0292] According to one embodiment, the plurality of second feature points may include a plurality of second landmarks associated with a face of the first object included in the second image.

[0293] According to one embodiment, a method of operating an electronic device (201) may include an operation of acquiring a first image of a first object in a first direction at a first location through a first camera (210) included in the electronic device (201).

[0294] According to one embodiment, a method of operating an electronic device (201) may include an operation of acquiring a second image of the first object at a second location in a second direction from an external electronic device (202) through a second camera (211) included in the external electronic device (202) via a communication circuit (290) included in the electronic device (201).

[0295] According to one embodiment, the operating method of the electronic device (201) may include an operation of confirming a first pose of the first object included in the first image and a second pose of the first object included in the second image.

[0296] According to one embodiment, the operating method of the electronic device (201) may include an operation of setting the first camera (210) as a main camera and setting the second camera (211) as a sub camera based on determining that the first pose corresponds to a designated pose.

[0297] According to one embodiment, the operating method of the electronic device (201) may include an operation of transmitting a command to the external electronic device (202) to provide guide information for adjusting at least one of a position or direction of the second camera (211) based on the number of corresponding feature points between a plurality of first feature points related to the first object included in the first image and a plurality of second feature points related to the first object included in the second image.

[0298] According to one embodiment, the operating method of the electronic device (201) may include an operation of obtaining a 3D image in which the first object is three-dimensionally restored based on a third image captured by the first camera (210) of the first object at a third position in a third direction and a fourth image captured by the second camera (211) after at least one of the position or the direction of the second camera (211) is adjusted.

[0299] According to one embodiment, the operating method of the electronic device (201) may include an operation of transmitting the command to the external electronic device (202) when it is determined that the number of the feature points is not greater than a specified first number.

[0300] According to one embodiment, the operating method of the electronic device (201) may include an operation of transmitting the command to the external electronic device (202) when it is determined that the number of the feature points is greater than a specified second number that is greater than the specified first number.

[0301] According to one embodiment, the operating method of the electronic device (201) may include an operation of checking the coverage of the first camera and the second camera for the first object based on the number of the feature points, if it is determined that the number of the feature points is greater than the first number specified and less than the second number specified.

[0302] According to one embodiment, the operating method of the electronic device (201) may include an operation of determining that the coverage satisfies a specified range when the number of the feature points is determined to be greater than a specified third number and less than a specified fourth number that is greater than the specified third number.

[0303] According to one embodiment, the operating method of the electronic device (201) may include an operation of obtaining a 3D image in which the first object is restored in three dimensions when it is confirmed that the coverage satisfies the specified range.

[0304] According to one embodiment, the operating method of the electronic device (201) may include an operation of transmitting the command to the external electronic device when it is determined that the coverage does not satisfy the specified range.

[0305] According to one embodiment, the operating method of the electronic device (201) may include an operation of determining a direction in which a face of the first object included in the first image is facing, based on the plurality of first feature points.

[0306] According to one embodiment, the operating method of the electronic device (201) may include an operation of confirming that the first pose corresponds to the specified pose based on confirming that the face of the first object included in the first image is facing forward.

[0307] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor (220) of an electronic device (201), cause the electronic device (201) to perform at least one operation, wherein the at least one operation may include an operation of acquiring a first image of a first object captured at a first location in a first direction through a first camera (210) included in the electronic device (201).

[0308] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor (220) of an electronic device (201), cause the electronic device (201) to perform at least one operation, wherein the at least one operation may include an operation of acquiring, from an external electronic device (202), a second image of the first object captured at a second location in a second direction through a second camera (211) included in the external electronic device (202) via a communication circuit (290) included in the electronic device (201).

[0309] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor (220) of an electronic device (201), cause the electronic device (201) to perform at least one operation, wherein the at least one operation may include an operation of identifying a first pose of the first object included in the first image and a second pose of the first object included in the second image.

[0310] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor (220) of an electronic device (201), cause the electronic device (201) to perform at least one operation, wherein the at least one operation may include setting the first camera (210) as a main camera and setting the second camera (211) as a sub-camera based on determining that the first pose corresponds to a designated pose.

[0311] According to one embodiment, a non-transitory storage medium storing computer-readable instructions may include: when executed by at least one processor (220) of an electronic device (201), the instructions cause the electronic device (201) to perform at least one operation; and the at least one operation may include transmitting a command to an external electronic device (202) to provide guide information for adjusting at least one of a position or a direction of the second camera (211) based on a number of corresponding feature points between a plurality of first feature points associated with the first object included in the first image and a plurality of second feature points associated with the first object included in the second image.

[0312] According to one embodiment, a non-transitory storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor (220) of an electronic device (201), cause the electronic device (201) to perform at least one operation, wherein the at least one operation may include an operation of obtaining a 3D image in which the first object is three-dimensionally reconstructed based on a third image captured by the first camera (210) of the first object at a third position in a third direction after at least one of the position or the direction of the second camera (211) is adjusted.

[0313] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments disclosed in this document are not limited to the aforementioned devices.

[0314] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another component (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0315] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0316] Various embodiments of the present document may be implemented as software (e.g., program (140)) including one or more commands stored in a storage medium (e.g., built-in memory (136) or external memory (138)) readable by a machine (e.g., electronic device (101, 201, 202)). For example, a processor (e.g., processor (120, 2220, 221)) of a machine (e.g., electronic device (101, 201, 202)) may call at least one command among the one or more commands stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the called at least one command. The one or more commands may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' means storage. It simply means that the medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0317] According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0318] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

Claims

In the electronic device (201), First camera (210); display (260); Communication circuit (290); At least one processor (220); and Includes a memory (230) for storing instructions, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Through the first camera, a first image is acquired, Through the above communication circuit, a second image is acquired from an external electronic device (202), Confirming a first pose of a first object included in the first image and a second pose of the first object included in the second image, wherein the first image includes the first object photographed in a first direction at a first location, and the second image includes the first object photographed in a second direction at a second location through a second camera (211) included in the external electronic device, Based on the determination that the first pose satisfies a specified condition, the first camera is set as a main camera, the second camera is set as a sub camera, and the specified condition indicates that the face of the first object is photographed from a specified direction. A command is transmitted to the external electronic device to provide guide information for adjusting at least one of the position or direction of the second camera based on the number of corresponding feature points between a plurality of first feature points related to the first object included in the first image and a plurality of second feature points related to the first object included in the second image, An electronic device that causes a 3D image of the first object to be restored in three dimensions based on a third image including the first object photographed through the first camera and a fourth image obtained from the external electronic device through the communication circuit after at least one of the position or the direction of the second camera is adjusted, wherein the fourth image includes the first object photographed in a third direction from a third position through the second camera. In the first paragraph, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that causes the coverage of the first camera and the second camera for the first object to be checked based on the number of the feature points, when the number of the feature points is determined to be greater than the first specified number and less than a second specified number that is greater than the first specified number. In any one of the first and second paragraphs, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: If it is confirmed that the number of the above feature points is greater than the specified third number and less than the specified fourth number that is greater than the specified third number, it is confirmed that the coverage satisfies the specified range, An electronic device that causes the first object to obtain a 3D image in which the first object is restored in three dimensions, when the coverage is confirmed to satisfy the specified range. In any one of the first to third paragraphs, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that causes the command to be transmitted to the external electronic device when the above coverage is determined to not satisfy the above specified range. In any one of the first to fourth paragraphs, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on the plurality of first feature points, it is determined whether the face of the first object included in the first image was captured from the specified direction, An electronic device that causes the first pose to be determined to satisfy the specified condition based on determining that the face was photographed from the specified direction. In any one of the first to fifth paragraphs, The guide information for adjusting the position of the second camera is, An electronic device including information for adjusting the position of the second camera by moving the second camera in a first axis direction, a second axis direction perpendicular to the first axis direction, or a third axis direction perpendicular to the first axis direction and the second axis direction. In any one of claims 1 to 6, The electronic device includes a laptop, The external electronic device comprises a foldable electronic device including a first housing in which the second camera is arranged and a second housing foldably connected to the first housing, The guide information for adjusting the direction of the second camera is, An electronic device comprising information for adjusting the direction of the second camera by adjusting the angle between the first housing and the second housing. In any one of the first to seventh paragraphs, The plurality of first feature points include a plurality of first landmarks related to the face of the first object included in the first image, An electronic device wherein the plurality of second feature points include a plurality of second landmarks related to the face of the first object included in the second image. In any one of claims 1 to 8, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that causes one of the first camera and the second camera to be set as a main camera and the other of the first camera and the second camera to be set as a sub camera based on the resolution of the first camera and the resolution of the second camera. In any one of claims 1 to 9, The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: An electronic device that causes one of the first camera and the second camera to be set as a main camera and the other of the first camera and the second camera to be set as a sub camera based on the time at which a first application related to the first camera is executed and the time at which a second application related to the second camera is executed. In a method of operating an electronic device, An operation of acquiring a first image through a first camera included in the electronic device; An operation of acquiring a second image from an external electronic device through a communication circuit included in the electronic device; An operation of confirming a first pose of a first object included in the first image and a second pose of the first object included in the second image, wherein the first image includes the first object photographed in a first direction at a first location, and the second image includes the first object photographed in a second direction at a second location through a second camera included in the external electronic device; An operation of setting the first camera as a main camera and setting the second camera as a sub camera based on determining that the first pose satisfies a specified condition, wherein the specified condition indicates that the face of the first object is photographed from a specified direction; An operation of transmitting a command to an external electronic device so that the external electronic device provides guide information for adjusting at least one of a position or direction of the second camera based on the number of corresponding feature points between a plurality of first feature points related to the first object included in the first image and a plurality of second feature points related to the first object included in the second image; and An operation method of an electronic device, comprising: an operation of obtaining a 3D image in which the first object is three-dimensionally restored based on a third image including the first object photographed through the first camera and a fourth image obtained from the external electronic device through the communication circuit after at least one of the position or the direction of the second camera is adjusted, wherein the fourth image includes the first object photographed from a third position in a third direction through the second camera. In Article 11, An operating method of an electronic device further comprising an operation of checking the coverage of the first camera and the second camera for the first object based on the number of the feature points, if the number of the feature points is determined to be greater than the first specified number and less than a second specified number that is greater than the first specified number. In any one of the 11th and 12th clauses, An operation of confirming that the coverage satisfies the specified range when the number of the above-mentioned feature points is confirmed to be greater than a specified third number and less than a specified fourth number that is greater than the specified third number; and An operating method of an electronic device further comprising an operation of obtaining a 3D image in which the first object is restored in three dimensions, if the coverage is confirmed to satisfy the specified range. In any one of Articles 11 to 13, An operating method of an electronic device further comprising an action of transmitting the command to the external electronic device when it is determined that the coverage does not satisfy the specified range. In a non-transitory storage medium storing computer-readable instructions, the instructions, when executed by at least one processor (220) of an electronic device (201), cause the electronic device to perform at least one operation, the at least one operation being: An operation of acquiring a first image through a first camera (210) included in the electronic device; An operation of acquiring a second image from an external electronic device (202) through a communication circuit (290) included in the electronic device; An operation of confirming a first pose of a first object included in the first image and a second pose of the first object included in the second image, wherein the first image includes the first object photographed in a first direction at a first location, and the second image includes the first object photographed in a second direction at a second location through a second camera (211) included in the external electronic device; An operation of setting the first camera as a main camera and setting the second camera as a sub camera based on determining that the first pose satisfies a specified condition, wherein the specified condition indicates that the face of the first object is photographed from a specified direction; An operation of transmitting a command to an external electronic device so that the external electronic device provides guide information for adjusting at least one of a position or direction of the second camera based on the number of corresponding feature points between a plurality of first feature points related to the first object included in the first image and a plurality of second feature points related to the first object included in the second image; and A storage medium including an operation of obtaining a 3D image in which the first object is three-dimensionally restored based on a third image including the first object photographed through the first camera and a fourth image obtained from the external electronic device through the communication circuit after at least one of the position or the direction of the second camera is adjusted, wherein the fourth image includes the first object photographed in a third direction from a third position through the second camera.

Citation Information

Patent Citations

  • Image processing device and image processing method

    JP2007172503A

  • Method for manufacturing light-emitting element and electronic device applying light-emitting element

    KR1020200123382A

  • Smart filter system and control method

    KR1020250032674A

  • Mount structure and rearview device for vehicle including the same

    KR102499425B1

  • KR20210144990A