One-way object scanning

By selecting a subset of image data and depth data, combining device motion and depth sensors, evaluating motion-based defects, selecting key frame images and generating 3D models, the problem of inaccurate and inefficient 3D model generation in the existing technology is solved, achieving A more accurate and efficient representation of the physical environment.

CN118660108APending Publication Date: 2024-09-17APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410844321.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-02-09
Filing Date
2021-02-25
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing technologies suffer from inaccuracies and inefficiencies when using mobile devices to generate three-dimensional models of physical environments, especially failing to provide sufficiently accurate object detection in real-time environments.

Method used

Assess motion-based defects by selecting a subset of image data and depth data, combined with the device's motion and depth sensor data, selecting keyframe images, and using meshing algorithms to generate a 3D model that provides real-time feedback and previews.

Benefits of technology

It improves the accuracy and realism of object models, provides a more meaningful representation of the physical environment, and enhances object detection efficiency in real-time environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118660108A_ABST
    Figure CN118660108A_ABST
Patent Text Reader

Abstract

The invention relates to one-way object scanning. Various implementations disclosed herein include apparatuses, systems, and methods for generating a three-dimensional (3D) model based on a selected subset of images and depth data corresponding to each image of the subset. For example, an exemplary process may include acquiring sensor data during movement of a device in a physical environment including an object, the sensor data including an image of the physical environment captured via a camera on the device; selecting a subset of the images based on evaluating the images with respect to motion-based defects based on device motion and depth data; and generating a 3D model of the object based on the selected subset of the images and the depth data corresponding to each image of the selected subset.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with the application date of February 25, 2021, application number 202110215221.0, and invention name “Single-Pass Object Scanning”.

[0002] CROSS-REFERENCE TO RELATED APPLICATIONS

[0003] This application claims the benefit of U.S. Provisional Application Serial No. 62 / 981,607, filed on February 26, 2020, and U.S. Non-Provisional Application Serial No. 17 / 171,434, filed on February 9, 2021, the entireties of which are incorporated herein by reference. Technical Field

[0004] The present disclosure relates generally to generating three-dimensional geometric representations of physical environments, and in particular to systems, methods, and devices for generating geometric representations based on depth information detected in the physical environment. Background Art

[0005] The physical environment and objects therein have been modeled (e.g., reconstructed) by generating three-dimensional (3D) meshes, utilizing 3D point clouds, and by other means. These reconstructed meshes represent 3D surface points and other surface features of the floor, walls, and other objects of the physical environment. Such reconstructions can be generated based on images and depth measurements of the physical environment (e.g., using an RGB camera and a depth sensor).

[0006] Existing techniques for using mobile devices to generate 3D models based on images of the physical environment and depth information detected in the physical environment may be inaccurate and inefficient, for example, based on capturing photos or videos or other sensor data while the user walks around the room. In addition, existing techniques may not provide sufficiently accurate and efficient object detection in a real-time environment. Summary of the invention

[0007] Various embodiments disclosed herein include devices, systems, and methods for generating a three-dimensional (3D) model using a selected subset of image data and depth data. The 3D model is generated based on an image of a physical environment, depth information detected in the physical environment, and other information for tracking the specific position and orientation of a device / depth camera. For various reasons, it may be desirable to exclude images that include motion-based defects and / or include only a selected set of specific images (e.g., key frames). Doing so can provide a more useful, more realistic, or physically meaningful model of an object.

[0008] Some specific implementations of the present disclosure relate to an exemplary method for generating a 3D model of an object based on a subset of selected images and depth data corresponding to each image of the selected subset. The exemplary method initially involves: collecting sensor data during the movement of a device in a physical environment including an object, the sensor data including an image of the physical environment captured via a camera on the device. For example, a user moves a device (e.g., a mobile device) around an object (e.g., a shoe above a table) in a physical environment to capture images of the object from different sides. In some specific implementations, the sensor data may include depth data and motion sensor data. In some specific implementations, during the movement of the device, a user interface may display the captured environment including the object and provide a feedback mechanism. For example, a flashlight-type highlight may display an area that has been captured for a particular object (e.g., a lighter shaded area is displayed for captured pixels, and a darker shaded area is displayed for an area that has not been fully captured for reconstruction). In some specific implementations, the user interface may display a preliminary 3D model of the object. For example, when a user is capturing real-time video and when the real-time video is streaming on the main viewing screen, a picture-in-picture display of another window may display a 3D model reconstruction to the user in a real-time preview screen.

[0009] The exemplary method also involves: selecting a subset of images (e.g., selecting images to be used as "key frames") based on the device motion and depth data relative to the motion-based defect assessment image. In some implementations, assessing the motion-based defect involves estimating the projection velocity of a particular pixel. For example, pixels corresponding to an identified object, a 3D bounding box, the center of a camera view, etc. may be analyzed to derive motion-based defects at each frame. In some implementations, the projection velocity may be determined by determining the pixel velocity given the current motion of the camera and the distance of the pixel from the camera. Additionally or alternatively, in some implementations, the image may be selected based on having captured the image from within a desired distance range and / or angle range. Additionally or alternatively, in some implementations, the image may be selected to ensure that the image includes an object or a particular object feature (e.g., the edge of an object, the closest point of an object to a camera, a recognized mark such as a brand name and / or symbol, etc.). In some implementations, a picture-in-picture preview may be displayed during movement of the device based on the selected subset of images.

[0010] The exemplary method also involves: generating a 3D model of the object based on the selected subset of images and the depth data corresponding to each image of the selected subset. For example, the 3D model may be a 3D mesh representation or a 3D point cloud. In some embodiments, the 3D model data may be a 3D representation of a surface in a 3D environment using a 3D point cloud with associated semantic labels. In some embodiments, the 3D model data is a 3D reconstructed mesh using a meshing algorithm based on depth information detected in the generated environment, which is integrated (e.g., fused) to reconstruct the physical environment. A meshing algorithm (e.g., a double marching cube meshing algorithm, a Poisson meshing algorithm, a tetrahedron meshing algorithm, etc.) can be used to generate a mesh representing a room and / or objects in the room (e.g., furniture, a keyboard on a table, a chair, etc.).

[0011] In some specific implementations, the exemplary method further involves: displaying the captured physical environment, and providing a feedback mechanism, the feedback mechanism including highlighting the captured area on the object in the displayed captured physical environment. For example, a flashlight-type highlight can be used to show the user on the display of the user device that one or more parts of the object have been accurately scanned, and to display objects that need to be further scanned by acquiring additional images in darker shadow areas.

[0012] In some implementations, the exemplary method further involves evaluating a projection velocity of a pixel of an object, the projection velocity being dependent on both the device motion and the distance of the corresponding object pixel. In some implementations, selecting a subset (e.g., a "key frame") of the image relative to the motion-based defect assessment image based on the device motion and the depth data includes determining a projection velocity of a particular pixel associated with the object. In some implementations, the particular pixel may correspond to an identified object, a generated 3D bounding box associated with the object, a center of a camera view, etc. In some implementations, determining the projection velocity of a pixel associated with the object includes determining the velocity of the pixel based on the current motion of the camera and the distance of the pixel from the camera.

[0013] In some implementations, the exemplary method further involves selecting keyframes (e.g., a subset of images) based on a distance range, an angle range, or whether they include an object or a particular feature of an object. For example, in some implementations, selecting the subset of images also includes determining which of the images captured by the camera are within the distance range, and updating the subset of images to not include images captured by the camera outside the distance range. Additionally or alternatively, in some implementations, selecting the subset of images also includes determining which of the images captured by the camera are within the angle range, and updating the subset of images to not include images captured by the camera outside the angle range. Additionally or alternatively, in some implementations, selecting the subset of images based on evaluating the images based on device motion and depth data relative to motion-based defects includes selecting a subset of the images that includes the object or a particular feature of the object.

[0014] In some implementations, the exemplary method further involves selecting keyframes (e.g., a subset of images) based on a relevance criterion for detecting relevance to ensure that the depth measurement is in the center of the image (e.g., corresponding to the target reticle) and within a minimum distance from the object or a corresponding preliminary object model (e.g., a 3D mesh, a 3D point cloud, a 3D bounding box, etc.). For example, in some implementations, selecting a subset of images based on the device motion and depth data relative to the motion-based defect assessment image includes determining a preliminary object model corresponding to the object, determining an edge of the preliminary object model, determining which of the images captured by the camera include a distance from the center of the view of the camera to the edge of the preliminary object model within a threshold of the object model distance, and updating the subset of images to not include images captured by the camera outside the threshold of the object model distance. The relevance criterion for selecting keyframes within the center of the image maintains (e.g., preserves) images that are close to each other (e.g., a continuity criterion). Sudden movement or sudden shifting of the capture of the region of interest (ROI) immediately causes the aforementioned criterion to fail, thereby avoiding taking irrelevant pictures.

[0015] In some implementations, the device includes a user interface, and during movement of the device, the user interface displays a captured physical environment including the object (e.g., a real-time video stream), and a preliminary 3D model of the object based on the sensor data. In some implementations, the preliminary 3D model is generated during movement of the device based on the selected subset of images, and the preliminary 3D model is displayed simultaneously with an image of the physical environment captured via a camera on the device (e.g., a picture-in-picture superimposed on the real-time video stream).

[0016] In some implementations, the generated 3D model of the object is based on generating a mesh, 3D point cloud, or voxel representation of the object. In some implementations, the sensor data includes depth data (e.g., RGB-D) and light intensity image data (e.g., RGB) of the physical environment.

[0017] According to some specific implementations, a device includes one or more processors, non-volatile memory, and one or more programs; the one or more programs are stored in the non-volatile memory and are configured to be executed by one or more processors, and the one or more programs include instructions for performing or causing the execution of any of the methods described herein. According to some specific implementations, a non-volatile computer-readable storage medium stores instructions that, when executed by one or more processors of the device, cause the device to perform or cause the execution of any of the methods described herein. According to some specific implementations, a device includes: one or more processors, non-volatile memory, and means for performing or causing the execution of any of the methods described herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] So that the present disclosure may be understood by those of ordinary skill in the art, a more detailed description may be obtained with reference to aspects of some exemplary implementations, some of which are illustrated in the accompanying drawings.

[0019] Figure 1 is a block diagram of an exemplary operating environment according to some implementations.

[0020] Figure 2 is a block diagram of an exemplary server according to some specific implementations.

[0021] Figure 3 is a block diagram of an exemplary device according to some implementations.

[0022] Figure 4 is a flowchart representation of an exemplary method for generating a three-dimensional (3D) model of an object based on a subset of images and depth data corresponding to each image of the subset, according to some implementations.

[0023] Figure 5 is a block diagram illustrating an exemplary field of view of a camera relative to objects in a physical environment according to some implementations.

[0024] FIG. 6A to FIG. 6D is a block diagram illustrating exemplary distances of a camera relative to objects in a physical environment according to some implementations.

[0025] Figure 7 is a system flow diagram for exemplary generation of a 3D model based on image subsets and depth data corresponding to each image of the subset information, according to some specific implementations.

[0026] Figure 8 is a system flow diagram for exemplary generation of a real-time preview of a 3D model based on image subsets and depth data corresponding to each image of the subset information, according to some specific implementations.

[0027] As is common practice, the various features shown in the drawings may not be drawn to scale. Therefore, the sizes of the various features may be arbitrarily expanded or reduced for clarity. In addition, some drawings may not depict all components of a given system, method, or device. Finally, throughout the specification and drawings, similar reference numerals may be used to represent similar features. DETAILED DESCRIPTION

[0028] Many details are described in order to provide a thorough understanding of the example implementations shown in the accompanying drawings. However, the accompanying drawings only illustrate some example aspects of the present disclosure and should not be considered limiting. One of ordinary skill in the art will appreciate that other effective aspects and / or variations do not include all of the specific details described herein. In addition, well-known systems, methods, components, devices, and circuits are not described in detail in order to avoid obscuring more relevant aspects of the exemplary implementations described herein.

[0029] Figure 1 1 is a block diagram of an exemplary operating environment 100 according to some implementations. In this example, the exemplary operating environment 100 shows an exemplary physical environment 105 including an object 130, a table 140, and a chair 142. Although relevant features are shown, one of ordinary skill in the art will recognize from this disclosure that various other features are not shown for the sake of brevity and so as not to obscure more relevant aspects of the exemplary implementations disclosed herein. To this end, as a non-limiting example, the operating environment 100 includes a server 110 and a device 120. In the exemplary implementation, the operating environment 100 does not include the server 110, and the methods described herein are performed on the device 120.

[0030] In some implementations, the server 110 is configured to manage and coordinate the user experience. In some implementations, the server 110 includes a suitable combination of software, firmware, and / or hardware. Figure 2The server 110 is described in more detail. In some implementations, the server 110 is a computing device located locally or remotely relative to the physical environment 105. In one example, the server 110 is a local server located within the physical environment 105. In another example, the server 110 is a remote server (e.g., a cloud server, a central server, etc.) located outside the physical environment 105. In some implementations, the server 110 is communicatively coupled to the device 120 via one or more wired or wireless communication channels (e.g., Bluetooth, IEEE 802.11x, IEEE 802.16x, IEEE 802.3x, etc.).

[0031] In some implementations, the device 120 is configured to present an environment to a user. In some implementations, the device 120 includes a suitable combination of software, firmware, and / or hardware. Figure 3 Device 120 is described in more detail. In some implementations, the functionality of server 110 is provided by and / or combined with device 120.

[0032] In some implementations, device 120 is a handheld electronic device (e.g., a smartphone or tablet) configured to present content to a user. In some implementations, user 102 wears device 120 on his / her head. Device 120 may include one or more displays provided for displaying content. For example, device 120 may surround the field of view of user 102. In some implementations, device 120 is replaced with a chamber, enclosure, or room configured to present content, in which user 102 does not wear or hold device 120.

[0033] Figure 2is a block diagram of an example of a server 110 according to some implementations. Although some specific features are shown, those skilled in the art will recognize from this disclosure that various other features are not shown for the sake of brevity and so as not to obscure more relevant aspects of the implementations disclosed herein. To this end, as a non-limiting example, in some specific implementations, the server 110 includes one or more processing units 202 (e.g., a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a graphics processing unit (GPU), a central processing unit (CPU), a processing core, etc.), one or more input / output (I / O) devices 206, one or more communication interfaces 208 (e.g., a universal serial bus (USB), FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.11x, IEEE 802.16x, Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Global Positioning System (GPS), infrared (IR), Bluetooth, ZIGBEE and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 210, a memory 220, and one or more communication buses 204 for interconnecting these components and various other components.

[0034] In some implementations, the one or more communication buses 204 include circuits for interconnecting system components and controlling communications between system components. In some implementations, the one or more I / O devices 206 include at least one of a keyboard, a mouse, a touch pad, a joystick, one or more microphones, one or more speakers, one or more image sensors, one or more displays, and the like.

[0035] The memory 220 includes a high-speed random access memory, such as a dynamic random access memory (DRAM), a static random access memory (SRAM), a double data rate random access memory (DDR RAM), or other random access solid-state memory devices. In some specific implementations, the memory 220 includes a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 220 optionally includes one or more storage devices located away from the one or more processing units 202. The memory 220 includes a non-transitory computer-readable storage medium. In some specific implementations, the memory 220 or the non-transitory computer-readable storage medium of the memory 220 stores the following programs, modules, and data structures, or a subset thereof, including an optional operating system 230 and one or more application programs 240.

[0036] The operating system 230 includes processes for handling various basic system services and for performing hardware-related tasks. In some implementations, the application 240 is configured to manage and coordinate one or more experiences of one or more users (e.g., a single experience of one or more users, or multiple experiences of corresponding groups of one or more users).

[0037] The application 240 includes an image evaluation unit 242 and a 3D representation unit 244. The image evaluation unit 242 and the 3D representation unit 244 may be combined into a single application or unit, or separated into one or more additional applications or units.

[0038] The image evaluation unit 242 is configured with instructions executable by the processor to perform the following operations, including obtaining sensor data (e.g., image data such as light intensity data, depth data, camera position information, etc.) using one or more techniques disclosed herein, and determining and selecting a subset of the sensor data based on the device motion and depth data relative to the motion-based defect assessment image. For example, the image evaluation unit 242 analyzes an RGB image from a light intensity camera and a sparse depth map from a depth camera (e.g., a time-of-flight sensor) and other sources of physical environment information (e.g., camera positioning information from a camera's SLAM system, VIO, etc.) to select a subset of sensor information for 3D reconstruction.

[0039] The 3D representation unit 244 is configured with instructions that can be executed by the processor to perform the following operations, including: obtaining the selected information subset and generating a 3D model using one or more techniques disclosed herein. For example, the 3D representation unit 244 obtains a subset of sensor information from the image evaluation unit 242, obtains segmentation data (e.g., RGB-S data), other sources of physical environment information (e.g., camera positioning information), and generates a 3D model (e.g., a 3D mesh representation, a 3D point cloud with associated semantic labels, etc.).

[0040] Although these elements are shown as residing on a single device (e.g., server 110), it should be understood that in other implementations, any combination of elements may be located in separate computing devices. Figure 2 It is more of a functional description of various features present in a particular implementation, as opposed to a schematic diagram of the implementations described herein. As one of ordinary skill in the art will recognize, items shown separately may be combined, and some items may be separated. For example, Figure 2Some functional modules shown separately in the figure may be implemented in a single module, and the various functions of a single functional block may be implemented by one or more functional blocks in various specific implementations. The actual number of modules and the division of specific functions and how the features are distributed among them will vary depending on the specific implementation, and in some specific implementations, it depends in part on the specific combination of hardware, software and / or firmware selected for a particular embodiment.

[0041] Figure 3 is a block diagram of an example of a device 120 according to some implementations. While some specific features are shown, those skilled in the art will appreciate from this disclosure that various other features are not shown for the sake of brevity and so as not to obscure more relevant aspects of the implementations disclosed herein. To this end, as a non-limiting example, in some embodiments, the device 120 includes one or more processing units 302 (e.g., microprocessors, ASICs, FPGAs, GPUs, CPUs, processing cores, etc.), one or more input / output (I / O) devices and sensors 306, one or more communication interfaces 308 (e.g., USB, FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.11x, IEEE 802.16x, GSM, CDMA, TDMA, GPS, IR, BLUETOOTH, ZIGBEE, SPI, I2C, and / or similar types of interfaces), one or more programming (e.g., I / O) interfaces 310, one or more AR / VR displays 312, one or more internal-facing and / or external-facing image sensors 314, a memory 320, and one or more communication buses 304 for interconnecting these and various other components.

[0042] In some implementations, the one or more communication buses 304 include circuits that interconnect and control communications between system components. In some implementations, the one or more I / O devices and sensors 306 include at least one of the following: an inertial measurement unit (IMU), an accelerometer, a magnetometer, a gyroscope, a thermometer, one or more physiological sensors (e.g., a blood pressure monitor, a heart rate monitor, a blood oxygen sensor, a blood glucose sensor, etc.), one or more microphones, one or more speakers, a haptic engine, one or more depth sensors (e.g., structured light, time of flight, etc.), etc.

[0043] In some implementations, one or more displays 312 are configured to present an experience to a user. In some implementations, one or more displays 312 correspond to holographic, digital light processing (DLP), liquid crystal display (LCD), liquid crystal on silicon (LCoS), organic light emitting field effect transistor (OLET), organic light emitting diode (OLED), surface conduction electron emitter display (SED), field emission display (FED), quantum dot light emitting diode (QD-LED), microelectromechanical system (MEMS), and / or similar display types. In some implementations, one or more displays 312 correspond to diffractive, reflective, polarized, holographic, etc. waveguide displays. For example, device 120 includes a single display. As another example, device 120 includes a display for each eye of the user.

[0044] In some implementations, the one or more image sensor systems 314 are configured to acquire image data corresponding to at least a portion of the physical environment 105. For example, the one or more image sensor systems 314 include one or more RGB cameras (e.g., with complementary metal oxide semiconductor (CMOS) image sensors or charge coupled device (CCD) image sensors), monochrome cameras, infrared cameras, event-based cameras, etc. In various implementations, the one or more image sensor systems 314 also include an illumination source that emits light, such as a flash. In various implementations, the one or more image sensor systems 314 also include an on-camera image signal processor (ISP) that is configured to perform multiple processing operations on the image data, the multiple processing operations including at least a portion of the processes and techniques described herein.

[0045] The memory 320 includes a high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid-state memory devices. In some specific implementations, the memory 320 includes a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices or other non-volatile solid-state storage devices. The memory 320 optionally includes one or more storage devices located away from the one or more processing units 302. The memory 320 includes a non-transitory computer-readable storage medium. In some specific implementations, the memory 320 or the non-transitory computer-readable storage medium of the memory 320 stores the following programs, modules and data structures, or a subset thereof, including an optional operating system 330 and one or more application programs 340.

[0046] The operating system 330 includes processes for handling various basic system services and for performing hardware-related tasks. In some implementations, the application 340 is configured to manage and coordinate one or more experiences of one or more users (e.g., a single experience of one or more users, or multiple experiences of corresponding groups of one or more users).

[0047] The application 340 includes an image evaluation unit 342 and a 3D representation unit 344. The image evaluation unit 342 and the 3D representation unit 344 may be combined into a single application or unit, or separated into one or more additional applications or units.

[0048] The image evaluation unit 342 is configured with instructions executable by the processor to perform the following operations, including obtaining sensor data (e.g., image data such as light intensity data, depth data, camera position information, etc.) using one or more techniques disclosed herein, and determining and selecting a subset of the sensor data based on the device motion and depth data relative to the motion-based defect assessment image. For example, the image evaluation unit 342 analyzes an RGB image from a light intensity camera and a sparse depth map from a depth camera (e.g., a time-of-flight sensor) and other sources of physical environment information (e.g., camera positioning information from a camera's SLAM system, VIO, etc.) to select a subset of sensor information for 3D reconstruction.

[0049] The 3D representation unit 344 is configured with instructions that can be executed by the processor to perform the following operations, which include obtaining the selected information subset and generating a 3D model using one or more techniques disclosed herein. For example, the 3D representation unit 344 obtains a subset of sensor information from the image evaluation unit 342, obtains segmentation data (e.g., RGB-S data), other sources of physical environment information (e.g., camera positioning information), and generates a 3D model (e.g., a 3D mesh representation, a 3D point cloud with associated semantic labels, etc.).

[0050] Although these elements are shown as residing on a single device (e.g., device 120), it should be understood that in other implementations, any combination of the elements may be located in separate computing devices. Figure 3 It is more of a functional description of various features present in a particular implementation, as opposed to a schematic diagram of the implementations described herein. As one of ordinary skill in the art will recognize, items shown separately may be combined, and some items may be separated. For example, Figure 3Some functional modules (e.g., application 340) shown separately in the figure can be implemented in a single module, and the various functions of a single functional block can be implemented by one or more functional blocks in various specific implementations. The actual number of modules and the division of specific functions and how the features are distributed among them will vary depending on the specific implementation, and in some specific implementations, it depends in part on the specific combination of hardware, software and / or firmware selected for a particular embodiment.

[0051] Figure 4 4 is a flowchart representation of an exemplary method 400 for generating a 3D model using a selected subset of image data and depth data according to some implementations. In some implementations, the method 400 is performed by a device (e.g., Figures 1 to 3 The method 400 may be performed on a device having a screen for displaying images and / or a screen for viewing stereoscopic images (e.g., a server 110 or device 120). Figure 1 and Figure 3 The method 400 is performed on a device 120 such as a head mounted display (HMD). In some implementations, the method 400 is performed by a processing logic component (including hardware, firmware, software, or a combination thereof). In some implementations, the method 400 is performed by a processor executing code stored in a non-transitory computer readable medium (e.g., a memory). Figure 5 FIG. 6 to FIG. 6 illustrate the 3D model creation process of method 400 .

[0052] At block 402, method 400 collects sensor data during movement of a device in a physical environment including an object, wherein the sensor data includes images of the physical environment captured via a camera on the device (e.g., image sensor system 314 of device 120). For example, a user captures video while walking around a room to capture images of different portions of the object from multiple perspectives. During movement of the device, a user interface may display the captured environment including the object and provide feedback, such as a flashlight-type highlight showing the area that has been captured. In some implementations, the user interface may display a preliminary 3D model of the object.

[0053] The sensor data may include depth data. The depth data may include pixel depth values ​​from a viewpoint and sensor position and orientation data. In some implementations, the depth data is acquired using one or more depth cameras. For example, the one or more depth cameras may acquire depth based on structured light (SL), passive stereo (PS), active stereo (AS), time of flight (ToF), etc. Various techniques may be applied to acquire depth image data to allocate each part of the image (e.g., at the pixel level). For example, voxel data (e.g., a raster graphic on a 3D grid with values ​​of length, width, and depth) may also include multiple scalar values, such as opacity, color, and density. In some implementations, depth data is acquired from a sensor or a 3D model of the image content. Some or all of the contents of the image may be based on a real environment, such as depicting the physical environment 105 around the device 120. The image sensor may capture an image of the physical environment 105 to be included in the image and depth information about the physical environment 105. In some implementations, the depth sensor on the device 120 determines the depth value of the voxel determined based on the image captured by the image sensor on the device 120.

[0054] At block 404, method 400 selects a subset of images (e.g., selects images to be used as “key frames”) based on the device motion and depth data relative to the motion-based defect assessment image. For example, an image assessment unit (e.g., Figure 2 The image evaluation unit 242 and / or Figure 3 The image evaluation unit 342 of the image evaluation unit 342 evaluates motion-based defects by estimating the projection velocity of specific pixels (e.g., pixels corresponding to identified objects, 3D bounding boxes, centers of camera views, etc.). In some implementations, evaluating motion-based defects involves estimating the projection velocity of specific pixels. For example, pixels corresponding to identified objects, 3D bounding boxes, centers of camera views, etc. can be evaluated to derive motion-based defects at each frame or at a subset of frames. In some implementations, given the current motion of the camera and the distance of the pixel from the camera, the projection velocity can be determined by determining the pixel velocity, such as with reference to FIG. 6A to FIG. 6D Further explanation.

[0055] Additionally or alternatively, in some implementations, images may be selected based on having captured images from within a desired distance range and / or angle range. For example, the relative angle of the object surface toward the camera relative to the center of the camera's field of view (e.g., as indicated by the camera's reticle). The method for angle assessment described herein assesses the presence of grazing angles (e.g., surfaces tilted more than 60 degrees) in the camera's central region. If the surface angle is below a certain angle threshold, the image may be considered relevant (e.g., selected as a keyframe image) because the grazing angle image is not suitable for reconstruction. For example, given the grazing angle criterion of 60 degrees or greater for a surface tilt between the camera and the object, sample points are considered relevant if they are less than 10 cm (object edge distance threshold) from the boundary of the captured geometry.

[0056] Additionally or alternatively, in some implementations, images can be selected to ensure that the images include the object or specific object features (e.g., the edge of the object, the closest point of the object to the camera, recognized indicia such as a brand name and / or symbol, etc.). In some implementations, a picture-in-picture preview can be displayed during movement of the device based on the selected subset of images.

[0057] In some implementations, the exemplary method further involves selecting keyframes (e.g., a subset of images) based on a relevance criterion for detecting relevance to ensure that the depth measurement is in the center of the image (e.g., corresponding to the target reticle) and within a minimum distance from the object or a corresponding preliminary object model (e.g., a 3D mesh, a 3D point cloud, a 3D bounding box, etc.). For example, in some implementations, selecting a subset of images based on the device motion and depth data relative to the motion-based defect assessment image includes determining a preliminary object model corresponding to the object, determining an edge of the preliminary object model, determining which of the images captured by the camera include a distance from the center of the view of the camera to the edge of the preliminary object model within a threshold of the object model distance, and updating the subset of images to not include images captured by the camera outside the threshold of the object model distance. The relevance criterion for selecting keyframes within the center of the image maintains (e.g., preserves) images that are close to each other (e.g., a continuity criterion). Sudden movement or sudden shifting of the capture of the region of interest (ROI) immediately causes the aforementioned criterion to fail, thereby avoiding taking irrelevant pictures.

[0058] At box 406, method 400 generates a 3D model of the object based on the selected subset of images and the depth data corresponding to each image of the selected subset. For example, the 3D model may be a 3D mesh representation or a 3D point cloud. In some specific implementations, the 3D model data may be a 3D representation of a surface in a 3D environment using a 3D point cloud with associated semantic tags. In some specific implementations, the 3D model data is a 3D reconstructed mesh using a meshing algorithm based on depth information detected in the physical environment, which is integrated (e.g., fused) to reconstruct the physical environment. A meshing algorithm (e.g., a double marching cube meshing algorithm, a Poisson meshing algorithm, a tetrahedron meshing algorithm, etc.) can be used to generate a mesh representing a room (e.g., physical environment 105) and / or objects in the room (e.g., object 130, table 140, chair 142, etc.). In some implementations, for 3D reconstruction using meshes, in order to effectively reduce the amount of memory used during the reconstruction process, a voxel hashing method is used, in which the 3D space is divided into voxel blocks, which are referenced by a hash table using their 3D position as a key. Voxel blocks are constructed only around the surface of the object, freeing up memory that would otherwise be used to store empty space. The voxel hashing method is also faster than competing methods at the time, such as octree-based methods. In addition, it supports data flow between GPUs and CPUs, where memory is usually limited and CPUs, where memory is more abundant.

[0059] In use, for process 400, a user may use a device (e.g., a smart phone such as device 120) to scan an object in a room, and the processes described herein will capture sensor data (e.g., image data such as light intensity data, depth data, camera position information, etc.); evaluate the image for motion-based defects; select a subset of the sensor data based on the evaluation; and provide a 3D representation of the object as it is being scanned by the user. In some implementations, the 3D representation may be automatically displayed and updated on the user device overlaid during a live camera feed. In some implementations, the 3D representation may be provided after some type of user interaction after scanning a physical environment that identifies more than one object. For example, the user may be presented with options for the identified objects, and the user may select or click on a particular object that the user wants to include in the 3D representation, and the 3D representation will then be displayed with the selected object. Thus, as described below with reference to Figure 5 As shown and described in FIG. 6 , an image evaluation unit (eg, Figure 2 an image evaluation unit 242, and / or Figure 3 The image evaluation unit 342) identifies the image to be represented by the 3D representation unit (e.g. Figure 2 3D representation unit 244, and / or Figure 3 A subset of the images utilized by the 3D representation unit 344).

[0060] Figure 5 1 is a block diagram of an exemplary operating environment 500 illustrating an exemplary field of view of a camera (e.g., image sensor system 314 of device 120) relative to an object (e.g., object 130) in a physical environment according to some implementations. In this example, the exemplary operating environment 500 illustrates a Figure 1 10, object 130, and table 140 of physical environment 105. Device 510 is shown at four different camera perspectives: device 510a with field of view 512a, device 510b with field of view 512b, device 510c with field of view 512c, and device 510d with field of view 512d. Although relevant features are shown, one of ordinary skill in the art will recognize from this disclosure that various other features are not shown for the sake of brevity and so as not to obscure more relevant aspects of the exemplary embodiments disclosed herein. To this end, as a non-limiting example, operating environment 500 includes device 510.

[0061] In some implementations, device 510 may include one or more depth sensors (e.g., structured light, time of flight, etc.). Figure 5 As shown, the device 510 is tilted at an angle toward the object 130. The object 130 is shown as having two reference voxels (e.g., reference pixels) 520 and 522. The reference voxel 520 is the closest voxel on the object relative to the field of view 512a of the device 510a, and the reference voxel 522 is an additional voxel further away from the field of view 512a of the device 510a. The object 130 is additionally shown as having a center reference voxel (e.g., reference pixel) 525, which can be used by the methods described herein as an estimate of the center of the object to be used for each camera view. The reference voxels 520, 522, and 525 are for illustrative purposes only. As discussed herein, determining the projection velocity of the voxels between different camera views can be directly associated with the object 130, as shown, or associated with a 3D bounding box associated with the object, a specific voxel determined to be the center of the forward surface of the object, the center of the field of view of the camera, etc. As shown, the user is collecting sensor data around the object 130 at different camera perspectives. In some implementations, the user continuously captures image data as real-time video, and thus, as the user moves the device 510 from the field of view 512a to the field of view 512b, multiple images (e.g., a real-time video feed) from the sensor data can be captured. In some implementations, the projection speed can be determined by determining the speed of the pixels between image frames given the current motion of the camera and the distance of the pixels from the camera. FIG. 6A to FIG. 6D Each of the fields of view 512a to 512d is further shown.

[0062] FIG. 6A to FIG. 6D is a diagram showing the Figure 5 510 (e.g., devices 510a-510d) captured by a device 510 in FIG. Fig. 6A yes Figure 5 6 and 7. Block diagram of a device 510a and associated distances (measured values ​​D1a 612a and measured values ​​D2a 614a) to reference voxels 520 and 522, respectively. Figure 6B yes Figure 5 6 and 7. Block diagram of a device 510b and associated distances (measured value D1b 612b and measured value D2b 614b) to reference voxels 520 and 522, respectively. Figure 6C yes Figure 5 6 and 7. Block diagram of a device 510c and associated distances (measured values ​​D1c 612c and measured values ​​D2c 614c) to reference voxels 520 and 522, respectively. Fig.6D yes Figure 5 d and the associated distances (measured values ​​D1d 612d and measured values ​​D2d 614d) to reference voxels 520 and 522, respectively.

[0063] In some implementations, the projection velocity can be determined by determining the velocity of the pixels between image frames, given the current motion of the camera and the distance of the pixels from the camera. The measurement data (e.g., measurement D1a 612a) is an exemplary distance from the center of the camera of device 510a to the reference voxel 520 at a first time, and measurement D1b 612b is an exemplary distance measurement from the center of the camera of device 510a to the reference voxel 520 at a second time. Thus, at the first time Fig. 6A With the second time Figure 6BThe camera movement speed between two image frames can be used to determine the estimated projection speed of the pixels relative to the camera movement to determine whether the speed will produce motion-based defects in the image and thus be included in the subset of image data. In some implementations, the expected camera overlap of the captured image is about twenty percent of the device screen (e.g., the smallest of the image size width or height). For example, a device camera with a view size of 3176×4224 and a FOV of about 67 degrees has a change in viewing angle of about 7.5 degrees. The projection speed acceptable for capture depends on the camera exposure time and response. In an exemplary implementation, if the projection speed is below a projection speed threshold, the capture can be considered to be free of blur. For example, for the aforementioned camera at 30 Hz (e.g., capturing 30 frames per second), one-third of the screen per second (e.g., the projection speed threshold) can be considered an acceptable projection speed. The aforementioned camera at 30 Hz converts to about 900 pixels / second or 30 pixels / frame. In some implementations, high-speed cameras (e.g., 60 Hz, 120 Hz, etc.) may have higher tolerances.

[0064] In some implementations, the measurement data (e.g., measurement D1a 612a) is an exemplary distance from the center of the camera of the device 510a to the reference voxel 520, and the measurement D2a 614a is an exemplary distance measurement from the center of the camera of the device 510a to the reference voxel 522. The image evaluation unit can then use the distance measurements to determine whether the object to be modeled is within the viewing range in the image (e.g., within a distance threshold of 3 meters, etc.) in order to include those particular images in the subset data. In some implementations, the measurement data can include an angle created between two corresponding measurements (e.g., measurement D1a 612a and measurement D2a 614a), and the subset of data can be limited to data including angles above a few degrees (e.g., five degrees) to help the image evaluation unit determine that the image includes a higher quality image. A small angle between the measurement data can mean that the object is not a centered view of the camera 510a. The measurement data can be based on the depth data and the 3D coordinates of the reference voxel relative to the device 520. As discussed herein, the measurement data is used to determine whether the sensor data includes motion-based defects and whether to include sensor data from each field of view in a selected subset of images. The measurement data can be used to determine the speed of pixels from one image frame to the next, or to determine whether the measurement data is within an expected range of distances, or whether the camera angle is within an expected range of angles. As discussed herein, images can also be selected to ensure that the images include an object or specific object features.

[0065] Additionally or alternatively, in some implementations, images may be selected based on having captured images from within a desired range of distances and / or angles. For example, the relative angle of the object surface toward the camera relative to the center of the camera's field of view (e.g., as indicated by the camera's reticle). The method for angle assessment described herein assesses the presence of grazing angles (e.g., surfaces tilted more than 60 degrees) in the camera's central region. If the surface angle is below a certain angle threshold, the image may be considered relevant (e.g., selected as a keyframe image) because the grazing angle image is not suitable for reconstruction. For example, based on the grazing angle criterion of a surface tilt of 60 degrees or greater between the camera and the object, if the sampling points are less than 10 cm (the object edge distance threshold) from the boundary of the captured geometry, they are considered relevant.

[0066] Figure 7 700, wherein the system can generate 3D model data based on a selected subset of images and depth data corresponding to each image of the subset. In some implementations, the system flow of the exemplary environment 700 is performed on a device (e.g., Figures 1 to 3 The system flow of the exemplary environment 700 may be displayed on a device having a screen for displaying images and / or a screen for viewing stereoscopic images (e.g., Figure 1 and Figure 3 The system flow of the exemplary environment 700 is executed on a device 120 such as a head mounted display (HMD). In some implementations, the system flow of the exemplary environment 700 is executed on a processing logic component (including hardware, firmware, software, or a combination thereof). In some implementations, the system flow of the exemplary environment 700 is executed on a processor that executes code stored in a non-transitory computer readable medium (e.g., a memory).

[0067] The system flow of the exemplary environment 700 collects light intensity image data 703 (e.g., a real-time camera feed such as RGB from a light intensity camera 702), depth image data 705 (e.g., depth image data such as RGB-D from a depth camera 704), and physical environment (e.g., Figure 1 The device also includes a device for detecting a defect in the image 105 of the image processing apparatus 106 and a device for detecting a defect in the image 105 of the image processing apparatus 106. The device also includes a device for detecting a defect in the image 105 of the image processing apparatus 106 and a device for detecting a defect in the image 106. The device also includes a device for detecting a defect in the image 105 of the image processing apparatus 106 and a device for detecting a defect in the image 106. The device also includes a device for detecting a defect in the image 106 and a device for detecting a defect in the image 106.

[0068] In one exemplary implementation, environment 700 includes an image synthesis pipeline that collects or acquires data of a physical environment (e.g., image data from an image source). Exemplary environment 700 is an example of image sensor data (e.g., light intensity data, depth data, and position information) that collects multiple image frames. The image source may include a depth camera 704 that collects depth data 705 of the physical environment, a light intensity camera 702 (e.g., an RGB camera) that collects light intensity image data 703 (e.g., a sequence of RGB image frames), and a position sensor for collecting positioning information. For positioning information 707, some implementations include a visual inertial odometry (VIO) system that uses sequential camera images (e.g., light intensity data 703) to determine equivalent odometry information to estimate travel distance. Alternatively, some implementations of the present disclosure may include a SLAM system (e.g., a position sensor 706). The SLAM system may include a multi-dimensional (e.g., 3D) laser scanning and range measurement system that is independent of GPS and provides real-time simultaneous positioning and mapping. The SLAM system can generate and manage very accurate point cloud data generated by reflections from laser scans of objects in the environment. The movement of any point in the point cloud is accurately tracked over time, allowing the SLAM system to use points in the point cloud as reference points for location, maintaining an accurate understanding of its position and orientation as it travels through the environment.

[0069] In one exemplary implementation, environment 700 includes an image evaluation unit 720 configured with instructions executable by a processor to obtain sensor data (e.g., image data such as light intensity data, depth data, camera position information, etc.) using one or more techniques disclosed herein and select a subset of the sensor data (e.g., subset data 722). In some implementations, image evaluation unit 720 includes a defect assessment unit 730 configured with instructions executable by a processor to analyze image information for motion-based defects based on device motion and depth data. For example, defect assessment unit 730 (e.g., image evaluation unit 740) may include a defect assessment unit 730 configured with instructions executable by a processor to analyze image information for motion-based defects based on device motion and depth data. Figure 2 The image evaluation unit 242 and / or Figure 3 The image evaluation unit 342 analyzes the RGB image from the light intensity camera 702 and the sparse depth map from the depth camera 704 (e.g., a time-of-flight sensor) and other physical environment information sources (e.g., camera positioning information 707 from a position sensor 706 such as a SLAM system, VIO, etc. from the camera) to select a subset of the sensor information for 3D reconstruction.

[0070] Image evaluation unit 720 selects a subset of sensor data from sensor 710 (e.g., selects an image to be used as a “key frame”) based on the device motion and depth data relative to the motion-based defect evaluation image by defect evaluation unit 730. In some implementations, evaluating motion-based defects involves estimating the projection velocity of a particular pixel, such as FIG. 6A to FIG. 6D For example, pixels corresponding to identified objects, 3D bounding boxes, the center of the camera view, etc. may be analyzed to derive motion-based defects at each frame. In some implementations, the projection velocity may be determined by determining the pixel velocity given the current motion of the camera and the distance of the pixel from the camera in subsequent frames.

[0071] Additionally or alternatively, in some implementations, images for the subset data may be selected based on having captured images from within a desired distance range and / or within a desired angle range. Fig. 6A The subset data 722 may be configured to be limited to include image data when the measurement data (e.g., the measurement value D1a 612a, the distance from the camera 510a to the object 130, etc.) is within a distance threshold. Specifically, for the expected distance range example, when the measurement data (e.g., the measurement value D1a 612a, the distance from the camera 510a to the object 130) is less than or equal to three meters, the subset data may be configured to include only the image of the object (e.g., the object 130). For the expected angle range example, when the angle between two measurement values ​​(e.g., the measurement value D1a 612a and the measurement value D2a 614a of the object 130) relative to two reference voxels 520 and 522 in the same field of view is greater than or equal to five degrees, the subset data may include only the image of the object (e.g., the object 130). In other words, when the angle is less than five degrees, there is not much spacing between the two reference voxels, so the system can determine that there is sufficient overlap between the frames. For example, there are enough differences between the images so that the surface of the object can be accurately calculated. Images captured within a small viewing angle difference are determined to have good overlap but not enough information to extract accurate surface data. Images captured with too large a viewing angle difference do not have enough overlap even if there is a height difference for calculating surface information. For example, since the image capture is real-time (e.g., live video streaming), the difference gradually increases over time, allowing a certain threshold (e.g., a distance threshold) to act as a "picture trigger" (e.g., a trigger for selecting those specific key frames).

[0072] Additionally or alternatively, in some implementations, images may be selected to ensure that the images include an object or specific object features (e.g., the edge of an object, the closest point of an object to a camera, recognized indicia such as a brand name and / or symbol, etc.). For example, the image evaluation unit 720 may analyze the image information, determine specific features of the object, and limit the subset of images that include those features to ensure that only images in the subset included in the subset data 722 sent to the 3D reconstruction unit 740 are included. Thus, the data set in the subset data 722 is limited to only images that include specific objects. In some implementations, a picture-in-picture preview may be displayed during movement of the device based on the selected subset of images, such as reference 740. Figure 8 shown.

[0073] In one exemplary implementation, the environment 700 also includes a 3D representation unit 740 configured with instructions executable by a processor to perform operations including obtaining a subset of sensor data from the image evaluation unit 720 using one or more techniques and generating 3D model data 742. For example, the 3D representation unit 740 (e.g., Figure 2 3D representation unit 244 and / or Figure 3 The 3D representation unit 344) generates a 3D model 744a to 744c for each detected object (e.g., a 3D bounding box 744a for object 130, a 3D bounding box 744b for table 140, and a 3D bounding box 744c for chair 142).

[0074] The 3D model data may be 3D representations 744a to 744c that represent surfaces in a 3D environment using 3D point clouds with associated semantic labels. The 3D representations 744a to 744c are shown as 3D bounding boxes for the object 130, the table 140, and the chair 142, respectively. In some implementations, the 3D model data 742 is a 3D reconstruction mesh generated using a meshing algorithm based on depth information detected in the physical environment, which is integrated (e.g., fused) to reconstruct the physical environment. The meshing algorithm (e.g., a double marching cube meshing algorithm, a Poisson meshing algorithm, a tetrahedron meshing algorithm, etc.) may be used to generate a mesh representing a room (e.g., the physical environment 105) and / or an object (e.g., the object 130, the table 140, the chair 142, etc.) within the room. In some implementations, for 3D reconstruction using a mesh, in order to effectively reduce the amount of memory used during the reconstruction process, a voxel hashing method is used, in which the 3D space is divided into voxel blocks, which are referenced by a hash table using their 3D positions as keys. Voxel blocks are constructed only around the surface of the object, freeing up memory that would otherwise be used to store empty space. The voxel hashing method is also faster than competing methods at the time, such as octree-based methods. In addition, it supports data flow between GPUs, where memory is usually limited, and CPUs, where memory is more abundant.

[0075] In some embodiments, the 3D representation unit includes an integration unit configured with instructions executable by a processor to perform operations including obtaining a subset of image data (e.g., light intensity data 703, depth data 705, etc.) and positioning information (e.g., camera pose information 707 from a position sensor 706) using one or more known techniques and integrating (e.g., fusing) the subset of image data. For example, the image integration unit receives a subset of depth image data 705 (e.g., sparse depth data) and a subset of intensity image data 703 (e.g., RGB) from image sources (e.g., light intensity camera 702 and depth camera 704), and integrates the subset of image data and generates 3D data. The 3D data may include a dense 3D point cloud (e.g., an imperfect depth map and camera position of multiple image frames around an object) that is sent to the 3D representation unit 740. The 3D data may also be voxelized.

[0076] In some embodiments, the 3D representation unit includes a semantic segmentation unit, which is configured with instructions that can be executed by a processor to perform the following operations, including: using one or more known techniques to obtain light intensity image data (e.g., light intensity data 703) and identify and segment wall structures (walls, doors, windows, etc.) and objects (e.g., people, tables, teapots, chairs, vases, etc.). For example, the segmentation unit receives a subset of the intensity image data 703 from an image source (e.g., light intensity camera 702) and generates segmentation data (e.g., semantic segmentation data such as RGB-S data). In some embodiments, the segmentation unit uses a machine learning model, wherein the semantic segmentation model can be configured to identify semantic labels of pixels or voxels of image data. In some embodiments, the machine learning model is a neural network (e.g., an artificial neural network), a decision tree, a support vector machine, a Bayesian network, etc.

[0077] Figure 8 is a system flow diagram of an exemplary environment 800 according to some implementations, in which the system can generate and display a real-time preview of a 3D model (e.g., a 3D point cloud, a 3D mesh reconstruction, a 3D bounding box associated with an object, etc.) based on a subset of images and depth data corresponding to each image of the subset information. In some implementations, the system flow of the exemplary environment 800 is performed on a device (e.g., Figures 1 to 3 The system flow of the exemplary environment 800 may be displayed on a device having a screen for displaying images and / or a screen for viewing stereoscopic images (e.g., Figure 1 and Figure 3 The system flow of the exemplary environment 800 is executed on a device 120 such as a head mounted display (HMD). In some implementations, the system flow of the exemplary environment 800 is executed on a processing logic component (including hardware, firmware, software, or a combination thereof). In some implementations, the system flow of the exemplary environment 800 is executed on a processor that executes code stored in a non-transitory computer readable medium (e.g., a memory).

[0078] The system flow of the exemplary environment 800 collects light intensity image data 803 (e.g., a real-time camera feed such as RGB from a light intensity camera 802), depth image data 805 (e.g., depth image data such as RGB-D from a depth camera 804), and physical environment (e.g., Figure 1The exemplary environment 800 includes a system flow for generating and displaying a feedback user interface element to assist a user in acquiring an appropriate image, and a system flow for generating and displaying a feedback user interface element to assist a user in acquiring an appropriate image.

[0079] In one exemplary implementation, environment 800 includes an image synthesis pipeline that collects or acquires data of a physical environment (e.g., image data from an image source). Exemplary environment 800 is an example of collecting image data (e.g., light intensity data and depth data) for multiple image frames. The image source may include a depth camera 804 that collects depth data 805 of the physical environment, a light intensity camera 802 (e.g., an RGB camera) that collects light intensity image data 803 (e.g., a sequence of RGB image frames), and a position sensor for collecting positioning information. For positioning information 807, some implementations include a visual inertial odometry (VIO) system that uses sequential camera images (e.g., light intensity data 803) to determine equivalent odometry information to estimate travel distance. Alternatively, some implementations of the present disclosure may include a SLAM system (e.g., a position sensor 806). The SLAM system may include a multi-dimensional (e.g., 3D) laser scanning and range measurement system that is independent of GPS and provides real-time simultaneous positioning and mapping. The SLAM system can generate and manage very accurate point cloud data generated by reflections from laser scanning of objects in the environment. Accurately tracking the movement of any point in the point cloud over time allows the SLAM system to use the points in the point cloud as reference points for location, maintaining a precise understanding of its position and orientation as it travels through the environment.

[0080] In one exemplary implementation, environment 800 includes an image evaluation unit 820 configured with instructions executable by a processor to obtain sensor data (e.g., image data such as light intensity data, depth data, camera position information, etc.) using one or more techniques disclosed herein and select a subset of the sensor data (e.g., subset data 822). In some implementations, image evaluation unit 820 includes a defect assessment unit 830 configured with instructions executable by a processor to analyze image information for motion-based defects based on device motion and depth data. For example, defect assessment unit 830 (e.g., image evaluation unit 840) may include a defect assessment unit 830 configured with instructions executable by a processor to analyze image information for motion-based defects based on device motion and depth data. Figure 2 The image evaluation unit 242 and / or Figure 3The image evaluation unit 342 of the image evaluation unit 342 analyzes the RGB image from the light intensity camera 802 and the sparse depth map from the depth camera 804 (e.g., a time-of-flight sensor) and other physical environment information sources (e.g., camera positioning information 807 such as a position sensor 806 from the camera's SLAM system, VIO, etc.) to select a subset of sensor information for 3D reconstruction of the real-time preview model. In addition, the defect evaluation unit 830 can be configured with instructions that can be executed by the processor to generate feedback data for the real-time preview unit. The feedback data can then be used to create a user interface element to mark a specific data or image set for highlighting to the user which part(s) of the object has been sufficiently captured for 3D reconstruction, or to mark which part(s) of the image needs to be further captured. The feedback element 874 represents a flashlight-type user interface element that highlights to the user which part of the object has been correctly captured (e.g., becomes brighter) compared to which part of the object may need to be further imaged (e.g., displayed in a darker shade in the preview display).

[0081] The image evaluation unit 820 selects a subset of sensor data from the sensor 810 (e.g., selects an image to be used as a “key frame”) based on the device motion and depth data relative to the motion-based defect evaluation image by the defect evaluation unit 830. In some implementations, evaluating motion-based defects involves estimating the projection velocity of a particular pixel, such as FIG. 6A to FIG. 6D For example, pixels corresponding to identified objects, 3D bounding boxes, the center of the camera view, etc. may be analyzed to derive motion-based defects at each frame. In some implementations, the projection velocity may be determined by determining the pixel velocity given the current motion of the camera and the distance of the pixel from the camera in subsequent frames.

[0082] Additionally or alternatively, in some implementations, images for the subset data may be selected based on having captured images from within a desired distance range and / or within a desired angle range. Fig. 6AThe subset data 822 may be configured to be limited to include image data when the measurement data (e.g., the measurement value D1a 612a, the distance from the camera 510a to the object 130, etc.) is within a distance threshold. Specifically, for the desired distance range example, when the measurement data (e.g., the measurement value D1a 612a, the distance from the camera 510a to the object 130) is less than or equal to three meters, the subset data may be configured to include only images of the object (e.g., the object 130). For the desired angle range example, when the angle between two measurements (e.g., the measurement value D1a 612a and the measurement value D2a 614a of the object 130) relative to two reference voxels 520 and 522 in the same field of view is greater than or equal to five degrees, the subset data may include only images of the object (e.g., the object 130). In other words, when the angle is less than five degrees, there is not much spacing between the two reference voxels, so the angle of the camera field of view may have to put the object in a peripheral view of the field of view rather than in the center of the field of view.

[0083] Additionally or alternatively, in some implementations, images may be selected to ensure that the images include an object or specific object features (e.g., the edge of an object, the closest point of an object to a camera, recognized indicia such as a brand name and / or symbol, etc.). For example, the image evaluation unit 820 may analyze the image information, determine specific features of the object, and limit the subset of images that include those features to ensure that only images in the subset included in the subset data 822 sent to the 3D reconstruction unit 840 are included. Thus, the data set in the subset data 822 is limited to only images that include specific objects. In some implementations, a picture-in-picture preview may be displayed during movement of the device based on the selected subset of images, such as reference Figure 8 shown.

[0084] In one exemplary implementation, the environment 800 also includes a 3D representation unit 840 configured with instructions executable by a processor to perform operations including obtaining a subset of sensor data from the image evaluation unit 820 using one or more techniques and generating 3D preview model data 842. For example, the 3D representation unit 840 (e.g., Figure 2 3D representation unit 244 and / or Figure 3 The 3D representation unit 344 generates a 3D model preview for each detected object (e.g., object 130, table 140, and chair 142).

[0085] The 3D model preview data may be a 3D representation of a surface in a 3D environment using a 3D point cloud with associated semantic labels. The 3D representation may be similar to Figure 73D representations 744a to 744c are shown as 3D bounding boxes for object 130, table 140, and chair 142, respectively. In some implementations, the 3D model preview data is a 3D reconstruction mesh generated using a meshing algorithm based on depth information detected in the physical environment, which is integrated (e.g., fused) to reconstruct the physical environment. A meshing algorithm (e.g., a two-marching cube meshing algorithm, a Poisson meshing algorithm, a tetrahedron meshing algorithm, etc.) can be used to generate a mesh representing a room (e.g., physical environment 105) and / or objects within the room (e.g., object 130, table 140, chair 142, etc.).

[0086] In addition, the 3D representation unit includes a feedback mechanism unit 844 that obtains feedback data from the defect assessment unit 830 and generates a feedback user interface element. For example, the feedback element 874 represents a flashlight-type user interface element that highlights to the user which portion of the object has been correctly captured (e.g., becomes brighter) compared to which portion of the object may need to be further imaged (e.g., displayed in a darker shade in the preview display). The feedback user interface element, the real-time camera feed, and the 3D model preview data are sent from the 3D representation unit 840 to the device display 860.

[0087] In an exemplary implementation, environment 800 also includes a device display 860 (e.g., Figure 3 810 ), the device display 860 being configured to obtain feedback user interface element data, real-time camera feed, and 3D model preview data from the 3D representation unit 840, and to generate a real-time view and picture-in-picture (PIP) display of the 3D model when the 3D model is generated using one or more techniques. For example, the device display 860 may display a real-time view 862 (e.g., light intensity image data 803), and the PIP display module 870 may generate and display a PIP preview 872. The PIP preview 872 may be iteratively updated as the 3D preview model unit 842 continuously updates the 3D preview model while the subset image data is acquired from the image evaluation unit 820. In addition, the PIP display module 870 may obtain feedback user interface element data from the feedback mechanism unit 844, and display the feedback user interface element in the PIP preview 872. For example, the PIP preview 872 shows a feedback user interface element 874 (e.g., the flashlight highlight example described herein). As the user acquires images of the object, the system determines which portions of the object are effectively acquired and displays them as lighter shaded areas from the "flashlight," while displaying portions of the object that require further imaging in darker shades. Feedback user interface elements assist the user in acquiring the images that need to be acquired to generate a 3D model of the object.

[0088] In some implementations, the image synthesis pipeline may include virtual content generated for an extended reality (XR) environment (e.g., placed in Figure 1 135 in the table 135). In some embodiments, the operating system 230, 330 includes built-in XR functionality, such as including an XR environment application or a viewer configured to be called from one or more applications 240, 340 to display the XR environment within a user interface. For example, the system described herein may include an XR unit configured with instructions executable by a processor to provide an XR environment, the XR environment including a description of a physical environment including real physical objects and virtual content. The XR unit may generate virtual depth data (e.g., a depth image of the virtual content) and virtual intensity data (e.g., a light intensity image (e.g., RGB) of the virtual content). For example, one of the applications 240 for the server 110 or the applications 340 for the device 120 may include an XR unit configured with instructions executable by a processor to provide an XR environment, the XR environment including a description of a physical environment including real objects or virtual objects. For example, virtual objects may be positioned based on detection, tracking, and representation of objects relative to each other in 3D space based on stored 3D models of real objects and virtual objects using one or more of the techniques disclosed herein.

[0089] Numerous specific details are set forth herein to provide a comprehensive understanding of the claimed subject matter. However, those skilled in the art will appreciate that the claimed subject matter may be practiced without these specific details. In other instances, methods, devices, or systems known to those of ordinary skill are not described in detail so as not to obscure the claimed subject matter.

[0090] Unless otherwise specifically noted, it should be understood that throughout the specification, discussions utilizing terms such as "process," "compute," "calculate," "determine," and "identify" refer to the actions or processes of a computing device, such as one or more computers or similar electronic computing devices, that manipulate or transform data represented as physical electronic or magnetic quantities within a memory, register, or other information storage device, transmission device, or display device of a computing platform.

[0091] The one or more systems discussed herein are not limited to any particular hardware architecture or configuration. A computing device may include any suitable arrangement of components that provide results conditioned on one or more inputs. Suitable computing devices include multi-purpose microprocessor-based computer systems that access stored software that programs or configures the computing system from a general-purpose computing device to a dedicated computing device that implements one or more specific implementations of the subject matter of the present invention. Any suitable programming, scripting, or other type of language or combination of languages ​​may be used to implement the teachings contained herein in software for programming or configuring a computing device.

[0092] The specific implementation of the method disclosed herein can be performed in the operation of such a computing device. The order of the blocks presented in the above examples can be changed, for example, the blocks can be reordered, combined and / or divided into sub-blocks. Some blocks or processes can be executed in parallel.

[0093] The use of "suitable for" or "configured to" herein is meant to be open and inclusive language that does not exclude devices that are suitable for or configured to perform additional tasks or steps. In addition, the use of "based on" is meant to be open and inclusive, as a process, step, calculation, or other action "based on" one or more of the stated conditions or values ​​may in practice be based on additional conditions or values ​​beyond those stated. The headings, lists, and numbers included herein are for ease of explanation only and are not intended to be limiting.

[0094] It will also be understood that, although the terms "first", "second", etc. may be used to describe various elements in this article, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first node may be referred to as a second node, and similarly, a second node may be referred to as a first node, which changes the meaning of the description, as long as all occurrences of the "first node" are consistently renamed and all occurrences of the "second node" are consistently renamed. Both the first node and the second node are nodes, but they are not the same node.

[0095] The terms used herein are only for describing specific implementations and are not intended to limit the claims. As used in the description of this specific implementation and the appended claims, the singular forms of "a" and "the" are intended to also cover the plural forms, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" used herein refers to and covers any and all possible combinations of one or more items in the associated listed items. It will also be understood that the term "comprising" when used in this specification specifies the presence of stated features, integers, steps, operations, elements and / or parts, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts, and / or their grouping.

[0096] As used herein, the term “if” may be interpreted to mean “when the antecedent is true” or “when the antecedent is true” or “in response to determining” or “upon determining” or “in response to detecting” that the antecedent is true, depending on the context. Similarly, the phrase “if it is determined that [the antecedent is true]” or “if [the antecedent is true]” or “when [the antecedent is true]” is interpreted to mean “upon determining that the antecedent is true” or “in response to determining” or “upon determining” that the antecedent is true or “when detecting that the antecedent is true” or “in response to detecting” that the antecedent is true, depending on the context.

[0097] The foregoing description and summary of the present invention should be understood to be illustrative and exemplary in every aspect, rather than restrictive, and the scope of the present invention disclosed herein is determined not only by the detailed description of the exemplary specific implementations, but by the full breadth allowed by the patent law. It should be understood that the specific implementations shown and described herein are only illustrative of the principles of the present invention, and that various modifications can be implemented by those skilled in the art without departing from the scope and essence of the present invention.

Claims

1. A method comprising: At a device with a processor: acquiring a plurality of images during movement of the device within a physical environment including an object, the plurality of images having a central region depicting a portion of the physical environment; determining a distance from the object or a model of the object to the portion of the physical environment depicted in the plurality of images; as well as A subset of images is selected based on the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images.

2. The method of claim 1, wherein selecting the subset of images comprises excluding images having a distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images that is greater than a threshold.

3. The method of claim 1 , wherein determining the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images comprises determining a distance to one or more edges of the object or the model of the object.

4. The method of claim 1 , wherein determining the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images comprises determining the distance in a three-dimensional (3D) coordinate system corresponding to the physical environment.

5. The method of claim 1, wherein the subset of images is selected for use as key frames for generating a three-dimensional (3D) model of the object.

6. The method according to claim 1, further comprising: displaying the physical environment; as well as A feedback mechanism is provided, the feedback mechanism comprising highlighting the area on the object that has been captured in the displayed physical environment.

7. The method of claim 1 , wherein selecting a portion of the depth data based on evaluating the depth data relative to preventing motion-based defects based on the movement of the device comprises: A projection velocity of a particular pixel associated with the object is determined.

8. The method of claim 7, wherein the particular pixel is associated with a pixel corresponding to an identification of the object, a pixel corresponding to a 3D bounding box of the object, or a center of a view of a camera of the device.

9. The method of claim 7, wherein determining a projected velocity of a pixel associated with the object comprises determining the velocity of the pixel based on a current motion of a camera of the device and a distance of the pixel from the camera.

10. The method of claim 1 , wherein selecting the subset of the images based on the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images is based on: determining which segments of the subset of the images are within a distance range; and The subset of the image is updated to exclude segments of the image that are outside the distance range.

11. The method of claim 1 , wherein selecting the subset of the images based on the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images is based on: determining which segments of the subset of the images are within an angular range; and The subset of the images is updated to not include segments of depth data outside of the angular range.

12. The method of claim 1 , wherein selecting the subset of the images based on the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images comprises: determining a preliminary object model corresponding to the object; determining edges of the preliminary object model; determining which segments of the subset of the images include a distance from a center of view of a camera of the device to the edge of the preliminary object model that is within an object model distance threshold; as well as The subset of the images is updated to not include segments of the subset of the images that are outside the object model distance threshold.

13. The method of claim 1 , wherein selecting the subset of the images based on the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images comprises: Segments of the subset of the images are selected that include the object or specific features of the object.

14. The method of claim 1, wherein the device comprises a user interface, wherein during the movement of the device, the user interface displays: said physical environment including said object; and A preliminary 3D model of the object is based on depth data associated with the plurality of images.

15. The method of claim 14, wherein the preliminary 3D model is generated during the movement of the device based on the selected portion of the subset of the images, and the preliminary 3D model is displayed simultaneously with an image of the physical environment captured via a camera on the device.

16. A device comprising: a non-transitory computer-readable storage medium; and one or more processors coupled to the non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium includes program instructions that, when executed on the one or more processors, cause the device to perform operations including: acquiring a plurality of images during movement of the device within a physical environment including an object, the plurality of images having a central region depicting a portion of the physical environment; determining a distance from the object or a model of the object to the portion of the physical environment depicted in the plurality of images; and A subset of images is selected based on the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images.

17. The apparatus of claim 16, wherein selecting the subset of images comprises excluding images having a distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images that is greater than a threshold.

18. The apparatus of claim 16, wherein determining the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images comprises determining a distance to one or more edges of the object or the model of the object.

19. The apparatus of claim 16, wherein determining the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images comprises determining the distance in a three-dimensional (3D) coordinate system corresponding to the physical environment.

20. A non-transitory computer-readable storage medium storing computer-executable program instructions on a computer to perform operations comprising: acquiring a plurality of images during movement of the device in a physical environment including the object, the plurality of images having a central region depicting a portion of the physical environment; determining a distance from the object or a model of the object to the portion of the physical environment depicted in the plurality of images; as well as A subset of images is selected based on the distance from the object or the model of the object to the portion of the physical environment depicted in the plurality of images.

21. A method comprising: At a device with a processor: collecting depth data during movement of the device in a physical environment including an object; evaluating the depth data relative to motion-based defects based on the movement of the device; selecting the portion of the depth data based on the evaluation of the depth data relative to preventing motion-based defects within the portion of the depth data; as well as A three-dimensional (3D) model of the object is generated based on the selected portion of the depth data.

22. The method according to claim 21, further comprising: displaying the physical environment; as well as A feedback mechanism is provided, the feedback mechanism comprising highlighting the area on the object that has been captured in the displayed physical environment.

23. The method of claim 21 , wherein selecting the portion of the depth data based on evaluating the depth data relative to preventing motion-based defects based on the movement of the device comprises: A projection velocity of a particular pixel associated with the object is determined.

24. The method of claim 23, wherein the particular pixel is associated with a pixel corresponding to an identification of the object, a pixel corresponding to a 3D bounding box of the object, or a center of a view of a camera of the device.

25. The method of claim 23, wherein determining a projected velocity of a pixel associated with the object comprises determining the velocity of the pixel based on a current motion of a camera of the device and a distance of the pixel from the camera.

26. The method of claim 21 , wherein selecting the portion of the depth data further comprises: determining which segments of the depth data are within a distance range; as well as The portion of the depth data is updated to not include segments of the depth data outside of the distance range.

27. The method of claim 21 , wherein selecting the portion of the depth data further comprises: determining which segments of the depth data are within an angular range; as well as The portion of the depth data is updated to not include segments of the depth data outside of the angular range.

28. The method of claim 21, wherein selecting the portion of the depth data based on evaluating the depth data relative to preventing motion-based defects based on the movement of the device comprises: determining a preliminary object model corresponding to the object; determining edges of the preliminary object model; determining which segments of the depth data include a distance from a center of view of a camera of the device to the edge of the preliminary object model that is within an object model distance threshold; as well as The portion of the depth data is updated to not include segments of the depth data that are outside the object model distance threshold.

29. The method of claim 21 , wherein selecting the portion of the depth data based on evaluating the depth data relative to preventing motion-based defects based on the movement of the device comprises: A segment of the depth data is selected that includes the object or a particular feature of the object.

30. The method of claim 21, wherein the device includes a user interface, wherein during the movement of the device, the user interface displays: said physical environment including said object; and A preliminary 3D model of the object based on the depth data.

31. The method of claim 30, wherein the preliminary 3D model is generated based on the selected portion of the depth data during the movement of the device, and the preliminary 3D model is displayed simultaneously with an image of the physical environment captured via a camera on the device.

32. The method of claim 21, wherein the generated 3D model of the object is based on generating a mesh, 3D point cloud, or voxel representation of the object from the acquired depth data.

33. The method of claim 21, wherein acquiring the depth data during movement of the device in the physical environment comprises acquiring light intensity image data of the physical environment.

34. An apparatus comprising: a non-transitory computer-readable storage medium; and one or more processors coupled to the transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium includes program instructions that, when executed on the one or more processors, cause the device to perform operations including: collecting depth data during movement of the device in a physical environment including an object; evaluating the depth data relative to motion-based defects based on the movement of the device; selecting the portion of the depth data based on the evaluation of the depth data with respect to preventing motion-based defects within the portion of the depth data; and A three-dimensional (3D) model of the object is generated based on the selected portion of the depth data.

35. The apparatus of claim 34, further comprising: displaying the physical environment; as well as A feedback mechanism is provided, the feedback mechanism comprising highlighting the area on the object that has been captured in the displayed physical environment.

36. The device of claim 34, wherein selecting the portion of the depth data based on evaluating the depth data relative to preventing motion-based defects based on the movement of the device comprises: A projection velocity of a particular pixel associated with the object is determined.

37. The device of claim 36, wherein the particular pixel is associated with a pixel corresponding to an identification of the object, a pixel corresponding to a 3D bounding box of the object, or a center of a view of a camera of the device.

38. The device of claim 36, wherein determining a projected velocity of a pixel associated with the object comprises determining the velocity of the pixel based on a current motion of a camera of the device and a distance of the pixel from the camera.

39. The apparatus of claim 34, wherein selecting the portion of the depth data further comprises: determining which segments of the depth data are within a distance range; as well as The portion of the depth data is updated to not include segments of the depth data outside of the distance range.

40. A non-transitory computer-readable storage medium storing computer-executable program instructions on a computer to perform operations comprising: collecting depth data during movement of the device in a physical environment including the object; evaluating the depth data relative to motion-based defects based on the movement of the device; selecting the portion of the depth data based on the evaluation of the depth data relative to preventing motion-based defects within the portion of the depth data; as well as A three-dimensional (3D) model of the object is generated based on the selected portion of the depth data.