Capturing Environmental Features Using 2D and 3D Scanning
By integrating 2D and 3D scanning with machine learning and post-processing, the method addresses the challenge of accurately distinguishing environmental features in 3D scans, enhancing precision and consistency in identifying structural elements.
Patent Information
- Application Number
- JP2024525539
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-15
- Filing Date
- 2022-08-25
- Publication Date
- 2024-10-31
AI Technical Summary
Existing 3D scanning technologies, such as LiDAR, struggle to accurately distinguish between different environmental features like walls and non-walls due to unstructured data and drift issues, making it difficult to extract regions of interest like walls, windows, and doors.
A method combining 2D and 3D scanning using depth sensors and machine learning to place annotations on a 3D mesh, followed by post-processing to refine these annotations into precise 3D locations, allowing for accurate identification of features like walls and windows.
Enhances the accuracy and consistency of feature extraction by delaying annotation placement until post-processing, improving the precision of identifying structural elements within a 3D environment.
Smart Images

Figure 2024540144000001_ABST
Abstract
Description
[Technical field]
[0001] (1) This disclosure relates to extracting features from scans of buildings, and more particularly, to feature extraction using coordinated 2D and 3D scans. [Background technology]
[0002] Summary of the Invention
[0003] (2) This Summary is provided to introduce in a simplified form a selection of concepts detailed in the Detailed Description section. This Summary does not identify necessary or essential features of the claimed subject matter. The innovation is defined by the claims, and where this Summary conflicts with the claims, the claims will control.
[0004] (3) In general, some of the techniques described herein describe capturing environmental features using 2D and 3D scanning. (4) In an embodiment, a method is disclosed for detecting a region of interest in an image of a space, the method including: acquiring a plurality of depth measurements captured by a depth sensor attached to a device, the plurality of depth measurements defining a distance from the depth sensor to a respective point in the space using a three-dimensional grid; declaring the depth measurements to be part of the space; acquiring a detection region of interest in the image of the portion of the space captured by a machine learning recognition system using two dimensions of the three-dimensional grid; mapping the detection region of interest in two dimensions to the three-dimensional grid to create a two-dimensional detection region of interest; acquiring a complete depth measurement three-dimensional grid of the space; projecting the two-dimensional detection region of interest onto the complete depth measurement three-dimensional grid of the space to create a projected three-dimensional shape; and finding an intersection of the projected three-dimensional shape and the complete depth measurement three-dimensional grid of the space as the region of interest.
[0005] (5) In an embodiment, the area of interest is a wall or a window. (6) In an embodiment, obtaining a detection region of a portion of the room includes accepting an annotation placement on a surface of the representation of the two-dimensional grid.
[0006] (7) In an embodiment, projecting the two-dimensional detected region of interest onto a complete depth measurement grid in space to create a projected three-dimensional shape includes using the annotation arrangement to create rays that intersect with the three-dimensional grid, thereby creating intersections.
[0007] (8) In an embodiment, adjacent faces of the intersection are identified to create wall segments. (9) In an embodiment, the wall portion is flattened along the z-axis with the marker pointing into the space, thereby creating a 2D marker oriented in space.
[0008] (10) In an embodiment, there are multiple 2D markers, oriented in space and extended to create a 2D contour of the space. (11) In an embodiment, the method further includes placing markers on a surface of the representation of the two-dimensional grid to mark walls associated with the annotation.
[0009] (12) In an embodiment, obtaining the detection region of interest in the portion of the room includes capturing the detection region of interest using a two-dimensional camera in conjunction with image recognition software using a two-dimensional transformation of a three-dimensional grid.
[0010] (13) In an embodiment, capturing the detection area of interest using a two-dimensional camera in conjunction with image recognition software using two dimensions of a three-dimensional grid further includes capturing at least three points corresponding to corners of the object.
[0011] (14) In an embodiment, a system for generating a 3D scan of a space with a marked region of interest is disclosed, the system comprising: a 3D scanner operable to scan a portion of the space in three dimensions to create a 3D scan portion and to scan the entire space to create a full 3D scan; a 2D scanner operatively connected to the 3D scanner, operable to use machine learning to detect regions of interest in the 2D scan and operable to mark the region of interest in the 2D scan using two of the three dimensions from the 3D scan portion; a combiner operable to mark the 2D scan region of interest with two of the dimensions of the 3D scan portion to create a ray; and a post-processor operable to position the ray with the full 3D scan to create a 3D scan of the space with the marked region of interest.
[0012] (15) In an embodiment, the semantic features include a wall, a door, a window, or equipment. (16) In an embodiment, the post-processor is operable to determine wall portions by intersecting rays with the entire 3D scan along a third dimensional axis.
[0013] (17) In an embodiment, a non-transitory computer readable storage medium is disclosed that stores instructions for capturing an area of interest, which when executed by a processor causes the processor to perform steps including receiving a partial 3D scan of a space by a LiDAR system attached to the device, receiving a 2D detected area of interest by a 2D camera attached to the device, marking the 2D detected area of interest in the partial 3D scan to create a 2D mark ROI, receiving a completed 3D scan, and marking the 2D mark ROI at the completed 3D scan intersection as an area of interest.
[0014] (18) In an embodiment, receiving the 2D detection region of interest by a 2D camera mounted on the device includes accepting 2D user input marking the 2D detection region of interest.
[0015] (19) In an embodiment, the processor further performs the steps of receiving a second 2D detection region of interest by a 2D camera mounted on the device, marking the second 2D detection region of interest in the partial 3D scan in two dimensions, intersecting the second 2D region of interest with the completed 3D scan, marking the second 3D scan intersection as a second region of interest, extending the 2D detection region of interest and the second 2D detection region of interest to the intersection to create an extended 2D detection region of interest and a second 2D detection region of interest, and marking the extended 2D detection region of interest and the second 2D detection region of interest as wall floor plan portions.
[0016] (20) In an embodiment, intersecting the 2D detection region of interest with the completed 3D scan to create a 3D scan intersection further includes identifying adjacent surfaces having similar orientations in the completed 3D scan, and intersecting the 2D detection region of interest with the completed 3D scan to create a 3D scan intersection further includes flattening wall floor plan portions into 2D markers.
[0017] (21) In an embodiment, receiving the 2D detected region of interest includes a machine learning image recognition system that uses a camera feed from a 2D camera mounted on the device to detect the region of interest.
[0018] (22) In an embodiment, intersecting the second 2D detection region of interest with the 3D scan to create a 3D scan intersection includes searching the surface on the finished 3D scan, creating a 3D extension of three user points of interest that mark an area around a 90° ray to the surface of the finished 3D scan, and marking the intersection of the 3D extension of the three user points of interest with the finished 3D scan as the region of interest.
[0019] (23) In an embodiment, the area of interest is a wall, a door, a window, a bookshelf, a desk, a lighting fixture, a table or a sensor. (24) These and other aspects of the present invention will be better appreciated and understood when considered in conjunction with the following description and the accompanying drawings. The following description, while setting forth various embodiments of the embodiments and many specific details thereof, is given by way of illustration and not limitation. Many substitutions, modifications, additions or permutations may be made within the scope of the embodiments, and the embodiments include all such substitutions, modifications, additions or permutations.
[0020] (25) Non-limiting and non-exhaustive embodiments of the present embodiments are described with reference to the following drawings, in which like reference numerals refer to like parts throughout the various drawings unless otherwise specified. [Brief description of the drawings]
[0021] [Figure 1] (26) A LIDAR scan showing unstructured data artifacts. [Diagram 2] (27) A functional block diagram illustrating an example embodiment of some features of a scanning device. [Diagram 3] (28) A flowchart illustrating a method for capturing building features using 2D and 3D scanning, according to certain described embodiments. [Figure 4A] (29) A diagram showing an image 400A of an example region of interest detectable by a machine learning algorithm using input from a camera system, according to certain described embodiments. [Figure 4B] (30) A diagram illustrating the region of interest shown in FIG. 4A with 2D annotations replaced with 3D rays, in accordance with certain described embodiments. [Figure 4C] (31) A diagram illustrating the region of interest shown in FIG. 4A with a cone projecting through a wall, according to certain described embodiments. [Figure 5A](32) A diagram illustrating an example image of a touch-sensitive surface, according to certain described embodiments. [Figure 5B] FIG. 1 illustrates an image of an example touch-sensitive surface, in accordance with certain described embodiments. [Figure 5C] FIG. 1 illustrates an image of an example touch-sensitive surface, in accordance with certain described embodiments. [Figure 5D] FIG. 1 illustrates an image of an example touch-sensitive surface, in accordance with certain described embodiments. [Figure 6] (33) A diagram illustrating a multi-room scanning session according to certain described embodiments. [Figure 7] (34) Figure 7A shows a slice of a 3D mesh scan, and (35) Figure 7B shows a slice of a 3D mesh scan with a floor plan populated, according to certain described embodiments. [Figure 8A] (36) A diagram illustrating rays being projected from an original ray position in a 3D model, in accordance with certain described embodiments. [Figure 8B] FIG. 2 illustrates rays being projected from an original ray position in a 3D model, in accordance with certain described embodiments. [Figure 8C] (37) A diagram illustrating a portion of a wall in which the orientation of the markers is revealed to be the same as in the initial ray projection, according to certain described embodiments. [Figure 8D] (38) A diagram illustrating a flattened two-dimensional marker, according to certain described embodiments. [Figure 8E] (39) A diagram of a portion of a wall showing adjusted ray positions when the originally placed ray positions are incorrect due to drift. [Figure 8F] (40) A diagram showing an example scheme for connecting markers, according to certain described embodiments. [Figure 8G] (41) A diagram showing an example set of markers that should not be connected, according to certain described embodiments. [Figure 8H](42) A diagram showing the outline of a room that can be constructed according to certain described embodiments. [Figure 9] (43) A diagram illustrating markers that can be placed on the screen to mark walls where annotations are to be placed, according to certain described embodiments. [Figure 10] (44) A functional block diagram illustrating an example system for capturing building features using 2D and 3D scanning, in accordance with certain described embodiments. [Figure 11] (45) A diagram showing an example z-axis in a scan, according to certain described embodiments. [Figure 12] (46) A flowchart illustrating a method for capturing building features using 2D and 3D scanning, according to certain described embodiments. [Figure 13] (47) Figure 13A shows a rear view of an exemplary scanner usable in some described embodiments. (48) Figure 13B shows a front view of an exemplary scanner usable in some described embodiments. [Figure 14] (49) Figure 14A shows a rear view of an exemplary scanner usable in some described embodiments. (50) Figure 14B shows a front view of an exemplary scanner usable in some described embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0022] (51) Corresponding reference characters indicate corresponding components throughout the several views of the drawings. Those skilled in the art will appreciate that elements in the figures are illustrated for simplicity and have not necessarily been drawn to scale. For example, the dimensions of some of the elements in the figures may be exaggerated relative to other elements to facilitate an understanding of the various embodiments. Also, common but well-understood elements that are useful or necessary in commercially feasible embodiments are often not shown in the drawings so as not to obscure the views of the various embodiments.
[0023] (52) Disclosed below are exemplary embodiments of methods, computer readable media, and systems that have particular applicability to systems and methods for automatically creating wiring diagrams. The described embodiments implement one or more of the described techniques.
[0024] (53) In the following description, many specific details are described to ensure that the present embodiment is fully understood. However, one skilled in the art will appreciate that the specific details need not be employed to practice the present embodiment. Also, well-known materials or methods are not described in detail to avoid obscuring the present embodiment. "One embodiment," "embodiment," "one example," or "example" means that a particular feature, structure, or characteristic described in connection with that embodiment or example is included in at least one embodiment of the present embodiment. Thus, the appearances of the phrases "in one embodiment," "in an embodiment," "one example," or "example" in various places throughout this specification do not necessarily all refer to the same embodiment or example. Modifications, additions, or omissions may be made to the systems, devices, and methods described herein without departing from the scope of the present disclosure. For example, components of the systems and devices may be integrated or separated. Also, the operations of the systems and devices disclosed herein may be performed by more or fewer components, or other components, and the methods described may include more or fewer steps, or other steps. Furthermore, steps may be performed in any suitable order.
[0025] (54) For convenience, the disclosure may be described using relative terms, including, for example, left, right, top, bottom, front, back, upper, lower, above and below, and the like. These terms are used for illustrative purposes only and are not meant to be limiting in any way.
[0026] (55) It is further understood that the figures provided herewith are for explanatory purposes to those skilled in the art and that the drawings are not necessarily drawn to scale. To assist the Patent Office and any reader of any patent issued on this application in interpreting the claims appended to this application, applicants wish to note that they do not intend to invoke 35 U.S.C. 112(f) in any of the appended claims or claim elements unless the words "means for" or "step for" are expressly used in a particular claim.
[0027] (56) The embodiments according to the present invention may be implemented as an apparatus, a method or a computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, microcode, etc.), or an embodiment combining software and hardware aspects, which may be referred to as a "system." The present embodiments may also take the form of a computer program product embodied in any tangible medium of expression having computer usable program code embodied in the medium.
[0028] (57) Any combination of one or more computer usable or computer readable media may be used. For example, the computer readable medium may include one or more of a portable computer diskette, a hard disk, a random access memory (RAM) device, a read only memory (ROM) device, an erasable programmable read only memory (EPROM or flash memory) device, a portable compact disk read only memory (CDROM), an optical storage device, and a magnetic storage device. Computer program code for carrying out operations of the present embodiments may be written in any combination of one or more programming languages.
[0029] (58) The flow charts and block diagrams in the flow charts illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flow charts or block diagrams may represent a module, segment or portion of code that includes one or more executable instructions for performing the specified logical function. It should also be noted that each block of the block diagrams and / or flow chart diagrams and combinations of blocks in the block diagrams and / or flow chart diagrams can be implemented by a dedicated hardware-based system that performs the specified function or operation, or a combination of dedicated hardware and computer instructions. These computer program instructions can be stored in a computer-readable medium that can instruct a computer or other programmable data processing apparatus to function in a specific manner to result in an article of manufacture that includes instruction means for performing the function / operation specified in one or more blocks of the flow charts and / or block diagrams.
[0030] (59) As used herein, the words "comprises," "comprising," "including," "include," "has," "having," or any other variation thereof, are intended to cover a non-exclusive inclusion. For example, a process, article, or apparatus that includes a list of elements is not necessarily limited to only those elements but may include other elements that are not expressly listed or that are inherent to such process, article, or apparatus.
[0031] (60) Also, unless expressly stated to the contrary, "or" refers to an inclusive or, not an exclusive or. For example, a condition A or B is satisfied by any one of the following: A is true (or exists) and B is false (does not exist), A is false (or does not exist) and B is true (or exists), and both A and B are true (or exist). In this specification, "program" is used broadly to include applications, kernels, drivers, interrupt handlers, firmware, state machines, libraries, and other code written by programmers (also called developers) and / or automatically generated. "Optimize" means improvement, not necessarily perfection. For example, an optimized program or algorithm may be capable of further improvements.
[0032] (61) Moreover, the examples or illustrations provided herein should in no way be considered as limiting, restricting or expressly defining the definition of any term or terms used therewith. Instead, these examples or illustrations should be considered as being described with respect to one particular embodiment and as being illustrative only. Those skilled in the art will appreciate that any term or terms with which these examples or illustrations are used encompass other embodiments that may or may not be shown therewith or elsewhere in this application, and all such embodiments are intended to be included within the scope of the term or terms. Such non-limiting examples and illustrations include, but are not limited to, "for example," "for example," "eg," and "in one embodiment."
[0033] (62) The technical features described herein will be apparent to those skilled in the art and to the broad and attentive reader in several ways. Some embodiments address technical activities rooted in computing technology, such as providing sensors that use power flexibility that does not require recording and relies on the energy available in the environment. This provides sensors that require much less effort to implement and require battery replacement much less frequently than comparable ones. Other advantages based on the technical features of the present teachings will also be apparent to those skilled in the art from the description provided. I. Overview (63) Augmented Reality AR / LiDAR (Augmented Reality / Light Detection And Ranging) allows a person to capture a detailed 3D point cloud in real time with reasonable accuracy and precision by simply walking through a building and surveying the area with a camera. This 3D point cloud can be automatically structured to create a 3D mesh. However, as shown with reference to 100 in FIG. 1, a typical LiDAR mesh appears as an unstructured “triangle soup” with a lot of noise and artifacts 105, 110, making it extremely difficult to distinguish important aspects of the scene, such as walls 115, from furniture, appliances, and other materials present. Also, the amount of raw detail makes it difficult to extract regions of interest, such as walls, windows, and doors. For example, buildings contain many flat “wall-like” surfaces, such as cupboards 120, that are not walls, making it difficult to determine the geometric criteria for designating walls from non-walls. The definition of these features is highly context dependent.
[0034] (64) Disclosed herein is a method and system in which a 3D environment is captured as if many features were intelligently detectable. A 3D point cloud or 3D mesh of the environment is captured at the same time as the same system is captured in an artificial reality (AR) environment using a depth measurement system such as LiDAR. A combination of user input and machine learning is then used to place annotations on the AR environment. These annotations are placed using 2D coordinates from the 3D LiDAR system. The annotations act as hints to identify the approximate location of features of interest. However, the initial placement of the annotations does not indicate exactly where the features are located, rather the annotations suggest an approximate area to search within the 3D mesh to find the features of interest. After the 3D mesh is complete, in a post-processing step, the 2D annotations are converted to specific locations in 3D space to locate the features of interest. Deferring placement until post-processing allows for significant improvements in accuracy and consistency.
[0035] (65) Two types of annotations are disclosed: annotations placed by humans on specific features of interest such as walls, and annotations recognized by a machine learning system. Both types of annotations are initially placed when the mesh is constructed, and then their placement is finally determined in a post-processing step. Other annotation types are possible, such as recording the device's location periodically to obtain the path traveled. This can be used to detect floors or other features. II. Appropriate Computing Environment (66) Figure 2 illustrates a generalized example of a suitable computing environment 200 in which the described embodiments may be implemented. The computing environment 200 is not intended to suggest any limitation as to the scope of use or functionality of the present disclosure, as the present disclosure may be implemented in diverse general purpose or special purpose computing environments.
[0036] (67) Referring to FIG. 2, core processing is illustrated by the core processing 230 box. Computing environment 200 includes at least one central processing unit 210, a GPU 215, and memory 220. Central processing unit 210 executes computer-executable instructions and may be a real or virtual processor. Memory 220 may be volatile memory (e.g., registers, cache, RAM), non-volatile memory (e.g., ROM, EEPROM, flash memory, etc.), or some combination of the two. Memory 220 stores software 285 that implements the described method of capturing building features using depth scanning.
[0037] (68) The computing environment may have additional features. For example, the computing environment 200 includes storage 240 and communication connections 270, which may include one or more input / output devices 250, one or more network connections (e.g., wired, wireless, etc.) 260, and other communication connections (not shown). The communication connections 270 may include one or more wireless transceivers for wireless communication and / or one or more communication ports for wired communication. In an embodiment, the communication devices 270 are configurable to receive building features captured using 2D and 3D sensors. The input / output devices may include a two-dimensional camera 252. They may also include a depth sensor 254, such as a LiDAR (light detection and ranging) system, and a touch screen 256 that allows a user to input information and display image information. An interconnection mechanism (not shown), such as a bus, controller, or network, interconnects the components of the computing environment 200. Typically, operating system software (not shown) provides an operating environment for other software executing within computing environment 200 and coordinates the activities of the components of computing environment 200. A computing system may be distributed, with portions of software 285 executing on different CPUs.
[0038] (69) Storage 240 may be removable or non-removable and may be a magnetic disk, magnetic tape or cassette, CD-ROM, CD-RW, DVD, flash drive, or any other medium that can be used to store information and that is accessible within computing environment 200. Storage 240 stores instructions for software, such as region of interest detection software 285 that implements a method for capturing building features using depth scanning.
[0039] (70) The input device 250 may be a device that allows a user or other device to interact with the computing environment 200, such as a touch input device such as a keyboard, a camera 252, a depth measurement system 254 such as a LIDAR system, a microphone, a mouse, a pen, or a trackball, a scanning device, a touch screen 256, or other device that provides input to the computing environment 200. For audio, the input device 250 may be a sound card or similar device that accepts audio input in analog or digital form, or a CD-ROM reader that provides audio samples to the computing environment. The output device 250 may be a touch screen, a display, a printer, a speaker, a CD writer, or other device that provides output from the computing environment 200. A compass / magnometer 290 may be included that may enable the device to determine in which direction an image is taken by the 2D scanner 252 and the depth sensor 254.
[0040] (71) The communication connection 270 allows communication over a communication medium with another computing entity. The communication medium conveys computer-executable instructions, compressed graphics information, or other data as a modulated data signal. The communication connection 270 can include the input / output device 250 and an input / output device that allows the client device to communicate with another device over the network 260. The communication device may include one or more wireless transceivers for wireless communication and / or one or more communication ports for wired communication. These connections can include network connections, which can be wired or wireless networks, such as the Internet, an intranet, a LAN, a WAN, a cellular network, or other types of networks. It should be understood that the network 260 can be a combination of multiple different types of wired or wireless networks. The network 260 can be a distributed network with multiple computers that may be building controllers working in cooperation. The computing connection 270 can be a portable communication device, such as a wireless handheld device, a mobile phone device, or the like.
[0041] (72) A computer readable medium is any available non-transitory tangible medium accessible within a computing environment. By way of example, and not limitation, in the case of computing environment 200, the computer readable medium can be memory 220, storage 240, communication media, and any combination of the above. Computer readable storage media 265 available for storing computer readable media can include instructions 275 and data 280. A data source can be a computing device such as a general-purpose hardware platform server configured to transmit and receive information via a communication connection 270. Computing environment 200 can be an electrical controller directly connected to various resources such as HVAC resources and having a CPU 210, GPU 215, memory 220, input devices 250, communication connection 270, and / or other features shown in computing environment 200. Computing environment 200 can be a series of distributed computers. These distributed computers can include a series of connected electrical controllers.
[0042] (73) Although operations of some of the methods of the present disclosure are specifically described in a sequential order for convenient presentation, it should be understood that this description encompasses reordering, unless a specific ordering is required by specific language described below. For example, operations described as sequential can be reordered or performed in parallel. Also, for simplicity, the accompanying drawings may not show the various ways in which the methods, apparatus, and systems of the present disclosure can be used with other methods, apparatus, and systems. Furthermore, the description may use terms such as "determine," "construct," and "identify" to describe the techniques of the present disclosure. These terms are highly abstractions of actual operations that are performed. The actual operations that correspond to these terms will vary depending on the particular embodiment and are readily discernible by those of ordinary skill in the art.
[0043] (74) Additionally, data generated from any of the methods of the present disclosure can be created, updated, or stored in a tangible computer readable medium (e.g., one or more CDs, a volatile memory component (such as DRAM or SRAM), or a non-volatile memory component (such as a hard drive) using a variety of different data structures or formats. Such data can be created or updated at a local computer or over a network (e.g., by a server computer), or can be stored and accessed in a cloud computing environment. II. Method Embodiments (75) Referring to FIG. 3, a flow chart 300 illustrates a method usable by a device in embodiments disclosed herein. The operations of method 300 described below are intended to be exemplary. In some embodiments, method 300 may be performed with one or more additional operations not described and / or without one or more of the operations described. Additionally, the order in which the operations of method 300 are illustrated in FIG. 3 and described below is not intended to be limiting.
[0044] (76) In some embodiments, method 300 can be implemented by a program 285 stored in a processor and memory element 230 in one or more processing devices (e.g., digital processors, analog processors, microprocessing units, digital circuits designed to process information, and / or mechanisms for electronically processing information), such as in a core processing element including central processing unit 210 and memory element 220. The one or more processing devices may include one or more devices that perform some or all of the operations of method 300 in response to instructions stored electronically in an electronic storage medium. The one or more processing devices may include one or more devices configured with hardware, firmware, and / or software specifically designed for performing one or more of the operations of method 300. Operation 305 depicts acquiring a region of interest using a camera attached to a device having a processor, memory, input / output devices, and a depth sensor, where the camera uses a two-dimensional grid to define the distance from the camera to each point in space. The region of interest may be acquired using image recognition software. This image recognition software may be machine learning software, artificial reality software, a combination of both, something else, etc. Software can be tied to camera input. Image recognition software may not seem to match scanning perfectly. Traditional augmented reality uses the camera parallax and feed to build a view of the world in front of the camera. But this is only a local view of the world, and moving to a new point may have little correspondence between the world built at that particular point and any world recorded previously. This is a problem faced by anyone using AR or LIDAR for scanning or to represent the real world. The camera may be able to track features in its direct field of view, but it is unclear how to stitch together locally correct measurements into a globally consistent map.For example, when LiDAR is used to create a 3D view, the LiDAR constantly adjusts its view of the world as the map continues to be created based on new input from the LiDAR's sensors. As a result, previously valid positions may become invalid, especially as you move around in space. This causes objects placed in the 3D capture to drift on the 3D grid as more information is added, especially if the object is outside of the current 3D capture field of view. Annotations are created with this reality in mind. The annotations follow the 3D mesh as a source of truth, since the 3D mesh is robust to updates in coordinates. The annotations show only an approximate area of the mesh, which is refined as the entire geometry is finalized.
[0045] (77) To capture a space, in some embodiments, a user walks around a device (e.g., FIG. 2) having both a camera and a depth scanner, pointing the device at an area in the space from multiple viewpoints. This two-dimensional capture uses a two-dimensional transformation of the three-dimensional grid to provide a representation of the 3D depth geometry. The transformation is provided by software associated with the camera, the depth scanner, or both. The scan includes associated readings from the sensors, including orientation and compass direction. Figures of interest, such as windows, vents, doors, etc., have distinct shapes that can be recognized using recognition software. The recognition software, which may include one or more machine learning algorithms, etc., may be able to use the two-dimensional capture to determine an example region of interest. FIG. 4A shows an image 400A of an example region of interest that can be detected by a machine learning algorithm using input from a 2D camera system. For example, a door can be detected. This detection may include detecting at least three points of interest that correspond to corners of the object. In the illustrated example, four points 405A, 410A, 415A, and 420A are detected that correspond to corners of a door. These points 405A-420A are detected in two dimensions to mark the location of the doors.
[0046] (78) In operation 310, a plurality of depth measurements captured by a depth sensor are obtained. These depth measurements may be obtained from a program associated with the depth measurement capture. The depth measurements define a distance from the depth sensor to each point in space using a three-dimensional grid.
[0047] (79) In operation 315, the detected region of interest (in two dimensions) is mapped onto a three-dimensional grid to create a three-dimensional ray. The two dimensions can be detected in a two-dimensional grid, which can then be converted to a three-dimensional mesh grid location using available software with a 3D mesh system, a 2D camera system, some combination, etc. For the detected points, the two dimensions are then converted to a ray with a third-dimensional tail that intersects with the three-dimensional shape to which the region of interest is attached. Methods and systems are known to those skilled in the art for projecting rays into the 3D world in a manner consistent with 2D and 3D optics within a virtual 3D scene. In some embodiments, the intersection may be 90°. Other embodiments may have intersections at different angles, may not specify an angle, may allow angles within a certain percentage, etc. The ray is then traced to see where it hits the mesh in the 3D world. It is the point of the ray that gives the 3D point. An example of this can be seen with respect to FIG. 4B. FIG. 4B 400B shows the region of interest shown in FIG. 4A where the 2D annotations have been replaced with 3D rays associated with a 3D grid, with the rays intersecting the objects detected by the 3D system at approximately 90°. As the 3D capture system captures more of the space, the individual 3D points may be adjusted by the 3D capture system. Because the rays (e.g., 405B, 410B, 415B, 420B) are associated with the 3D system, the rays will move with the system as changes are made to the system.
[0048] (80) In some embodiments, annotations to mark specific features are placed on the surface (two-dimensional representation) of the representation of the three-dimensional depth view, which may be further specified by grid lines. FIG. 5A is an example touch-sensitive surface image 500A showing a two-dimensional view of the three-dimensional depth view with grid lines 505A, 510A representing the three-dimensional depth view. This three-dimensional view should not be considered a completed image, but an image generated while the scanning of the space is in progress, such as when this view is generated. FIG. 5B is an example touchscreen image 500B with annotations 505B placed by the user in the second dimension, i.e., the two dimensions of the touchscreen. The annotations are placed to define walls. Although this embodiment is described with reference to a touchscreen, input can be provided using a computer monitor that displays a two-dimensional version of the three-dimensional view, with input provided by mouse clicks while the mouse pointer is positioned over the annotation location, or by other input methods known to those skilled in the art. These annotations are saved. Annotations can be stored as rays with two known dimensions from a two-dimensional view that are transformed into two position dimensions in a 3D coordinate system with a third dimension (in the 3D view) representing a line pointing into the annotation. FIG. 5C, 500C, shows a ray 505C created from annotation 505B and then stored in a 3D coordinate system. FIG. 5D, 500D, shows an example three-dimensional coordinate system that has been moved as the entire scan has been performed. The original annotation point 505D has been moved to the position represented by 510D. Because the ray representing the annotation is stored with the three-dimensional coordinate system as a coordinate shift position, the ray will shift position with the other coordinates, leaving the ray at the end of the scan at position 515D.
[0049] (81) In operation 320, a completed depth measurement 3D grid of the space is obtained. This step can occur after the user has completed the scan. This grid can be obtained from depth measurement software associated with the depth measurement device. For example, an Apple iPhone with LiDAR has various applications that can provide such information. The completed depth measurement 3D grid may differ slightly from the original grid originally generated by the individual snapshot when that particular annotation was generated, since the reconstruction software may continually revise its view of the world in subsequent snapshots based on new input from its sensor. As a result, previous annotation positions (e.g., 405, 505B) may have changed positions. An example of this can be seen in FIG. 5D. After the entire space has been scanned and walls, etc., adjusted, the original annotation position 505C has moved to position 510D. Rays 505C, 515D, originally at 505B, 505D, have now moved to position 510D.
[0050] (82) FIG. 6 shows a multi-room scanning session 600 with three rooms RM1 630, RM2 635 and RM3 640. This is a top view, and the dotted lines show the path walked by the user when scanning. The user can start at a point 605 in the room 630 and continue to the end 610 of the room 630. Once one area is completed, it may be explicitly saved, for example at 610. However, the scanning session may remain uninterrupted so that the user can scan additional rooms, for example RM2 635 and RM3 640, while maintaining the initial coordinate system. Thus, the user can scan RM2 635 after the path between 610 and 615. Assuming there is a save at 615, the interruption, for example the difference between positions 615 and 620, can be oriented correctly using the compass / magnometer 290. However, some stitching of the different scans may need to be done manually. The scans may be separated into discrete areas. This may be done for logical organization reasons and to address resource limitations such as memory, rendering, storage, etc. After the scan is captured, in some embodiments some combination of conversion, compression (e.g. gzip, zip, or other compression means known to those skilled in the art), and / or optimization may be performed to make the converted scan more suitable for long term storage. In embodiments, the 3D mesh from the scan (which may be a LiDAR mesh) may be divided into chunks. In some embodiments, other methods may be used such as dividing the 3D mesh into different data structures, etc. If chunks are used, they may be of an appropriate size for the system being addressed, the equipment being used, etc. In some cases this may be a cubic meter volume that fits together seamlessly. In some embodiments the chunks may be of equal size, in some embodiments the chunks may be of different sizes, etc. The data may be stored in the same coordinate system as the original capture for accuracy and consistency. Unlike integer arithmetic, every time a floating point operation is performed precision is lost.Because 3D meshes have a large number of points, and points have small measurement differences, it is advantageous to perform as few floating-point operations as possible, both to speed up computation time and to prevent loss of precision in the 3D mesh. In the embodiments described herein, the floating points are determined only once on the original data when it is first input into the 3D mesh. Other moves, such as constructing a floor plan, do not change the underlying floating-point numbers, but simply reference the original source and transform it. In some embodiments, the 3D data is more detailed than necessary. In such cases, a simplification step may be used to reduce the number of vertices and faces without losing shape definition. This reduces the amount of storage required and the amount of data to be processed. Simplification algorithms are known to those skilled in the art.
[0051] (83) In operation 325, the 2D detected region of interest is projected onto the completed depth measurement grid of the space to create a projected 3D shape. FIG. 4C, 400C, shows the region of interest shown in FIG. 4A with a cone that projects through the region of interest, in this case a wall. After the 3D scan is completed and the ray moves according to the movement of the underlying 3D grid, it may be necessary to reposition the region of interest. In some embodiments, the region of interest ray positions 405B-420B (underlying movement not shown here) are used to define a circle 430C, which is then used to define a partial cone that is projected onto the 3D grid. Three points may be used, or four points may be used, thereby creating a truncated cone that is used for intersections, etc. If a region of interest that includes a void (such as a window or doorway) is searched for, a (mostly) flat surface 425C (e.g. a wall such as 425B) that is perpendicular to the ray 4105B-420B is searched for. This surface does not need to be entirely flat. Some embodiments may also incorporate the methods and systems described in relation to the "Floor Plan Extraction" section.
[0052] (84) In operation 330, the intersections of the projected 3D shape with the complete depth measuring 3D grid of the space are detected and marked as a region of interest. The intersections of the wall locations with the projected rays 405C, 410C, 415C, 420C along the cone become new corners of the region of interest. This new region of interest may then be further defined by connecting the points using the method described in connection with Figures 8A-8F, or a different method may be used.
[0053] (85) The concept of a floor plan seems intuitive, but is difficult to define precisely. For example, a definition such as “walkable area with all furniture removed” is insufficient because it would include all structures that are not part of the floor plan, such as cabinets, fireplaces, and steps. Figure 7A shows a slice of a 3D mesh scan at 700A. In this slice, we can probably infer which lines constitute the floor plan, but to do so, the brain ignores extraneous information and inserts missing details. Also, the decision of what a floor plan is is not based solely on geometry, but rather includes concepts of space and implicit understandings of what a person considers important at the time; for example, whether adjacent areas are considered separate rooms may require human input. The definition of a floor plan is often expressed in terms of use or aesthetics rather than geometry. Referring to Figure 7B, a user could probably draw floor plan 700B, but it would be extremely difficult for a machine to do so. To do this, user annotations and contextual analysis can be used to fill in the missing gaps. To identify the walls, the user can place a marker on each wall as shown with reference to FIG. 5B.
[0054] (86) 800A in FIG. 8A and 800B in FIG. 8B show rays being cast from the original ray positions in the 3D model. In post-processing after the scan of the space is completed, rays 805A offset by a small amount are cast from the original marker positions 810A into the 3D model. In some embodiments, the tail of the ray 815A points in the direction in which the scan was made. These ray positions 805A serve as samples to determine the orientation and location of the wall region. Where the majority of the face orientations match, wall sections are determined to be present. As shown with respect to 805B, 810B, and 815B, the rays are rejected if the face orientations do not match. 800C in FIG. 8C shows a portion of a wall where the marker orientation was found to be in the same direction 805C in the initial ray cast. In some embodiments, the grid orientation is examined for larger areas to find larger sections of the wall, as shown at 810C. As shown with reference to 800D in FIG. 8D, the found plot is flattened into a two-dimensional marker 805D perpendicular to the estimated orientation of the floor, which may be the z-axis. The marker not only provides the position, but also the surface normal 810D from which the orientation is derived. This tells us which side is the inside and which side is the outside.
[0055] (87) FIG. 8E shows a portion of a wall 800E showing the ray being adjusted when the originally placed ray position 805E is incorrect due to drift. Here the ray position falls into a gap 810E in the 3D scan. Even if the original placement position is incorrect due to drift, as in this case, the orientation (surface normal) is assumed to be correct. Thus, a position near the original ray projection that is well representable by a surface and matches the orientation is determined. The original ray is shifted slightly 815E, shown in grey, and now hits the intended surface 820E. This can be viewed as a constrained optimization problem, where the variable is the annotation position. Fitting the surface to the intersection can be solved using regression, such as singular value decomposition. In some embodiments, the acceptable search area can be a small cube, circle, etc. around the annotation position.
[0056] (88) An example method of connecting markers is shown in FIG. 8F 800F and FIG. 8H 800H. One marker 805F found in the 3D mesh finds a neighbor 810F with a normal 835F pointing towards the interior of the space where the normal 830F of the marker 805F is also pointing towards the interior. The two are then extended 815F, 820F until they touch 825F and form a corner, creating a 3D intersection. Because the orientation of the 3D mesh and the compass reading are known, the portion of the wall to be constructed is known. This helps determine the direction in which the edge should be extended. Edges are spliced together neighbor by neighbor using features such as compass orientation until the contour of the room 800H is constructed. These contours may be called closed paths of edges.
[0057] (89) In FIG. 8G, 800G, two markers 805G and 815G are shown that do not have normals 810G, 820G pointing to the interior of the same space. The wall represented by marker 815G has its interior in a different orientation than the orientation of marker 805G, as represented by the different directions in which normals 810G, 820G are pointed. They are not oriented towards the same space. These two markers are oriented towards different rooms or room-like spaces and therefore should not be connected as shown with reference to FIG. 8F.
[0058] (90) FIG. 9 900 shows markers 910 that can be placed on the screen to mark walls when annotations are placed. When scanning a space such as a room, there may be structures in front of the wall, such as a storage unit 915, a shelf with appliances such as a microwave, etc., that may prevent the scanner from measuring the wall depth correctly. If there is a space with a visible wall, an annotation 905 can be placed in the 2D representation, such as a phone screen, to mark the wall depth. In some embodiments, a marker 910, such as a rectangle, showing the portion of the wall that has been defined may be shown on the 2D representation. This may be a preview of the floor plan loop, thus showing connectivity (which annotations are neighbors) and shape. This gives a "minimap" that shows a top-down preview of what the floor plan is known to this point. An example is shown with reference to FIG. 7A. IV. System Implementation (91) Referring now to Figure 10, Figure 10 illustrates one topology for capturing building features using 2D and 3D scanning. The topology 1000 can include one or more central processing units 210, memory 220, and communication connections 270. The storage 240 can include one or more computer readable storage media. The computing environment can be portable such as found in a personal electronic device.
[0059] (92) The system 1000 includes a 3D scanner 1005 operable to scan a space in three dimensions. A 2D scanner 1010, such as a camera, is operatively connected to the 3D scanner. Thus, the 2D scanner may be capable of simultaneously scanning the same space as the 3D scanner. The 2D and 3D scans may be capable of sharing (2D) positions using transformations of the 2D mesh or 3D mesh created by the scan. These transformations may be provided by software associated with the device holding the 2D scanner 1010 and the 3D scanner 1005. The 2D scanner may be operable to use machine learning or other techniques to detect regions of interest in two dimensions. The regions of interest may be building features such as walls, windows, doors, etc. The regions of interest may also be movable objects such as equipment, shelves, furniture, etc. A combiner may be capable of combining the 2D scan positions of the features of interest with the corresponding positions in the 3D scan. The combiner may also be operable to mark the features of interest in the 2D scan using two of the three dimensions from the 3D scanner. These marks can be rays with two dimensions that are the captured 2D dimensions. The 2D dimensions can then be converted to their corresponding positions in the 3D grid. The combiner can be capable of converting these 2D dimensions into rays with an orientation that is shared by both the 2D and 3D scanners. The tail of the ray can be the az axis that points into the location on the scan, where "into" is a relative dimension that represents the direction the 2D scanner 1005 and 2D scanner 1010 were pointing when the scan was made. The combiner 1020 combines the regions of interest found using the 2D scanners.
[0060] (93) In FIG. 11 1100, a scanner 1105 is shown pointing towards a scene 1115 being scanned (e.g., a building facade). The line 1100 along which the scan is made can be considered a third dimensional axis, since it is an axis not present in the 2D scanner 1010. This may also be referred to as the z-axis. This z-axis may be determinable by the coordinate system of the scan made by the 3D scanner. It can then be used to create the ray tail. These marks may be made while the scan is being made and may require the 2D grid coordinates to be converted into appropriate 3D grid coordinates. The 2D grid coordinates may be made by the 2D scanner, the 3D scanner, or a 2D and a 3D scanner working together. In some embodiments, the 2D coordinates may be converted into 3D coordinates using software, firmware, and / or hardware associated with the device including the scanner. An annotator 1015 may also be included that is operable to convert those 2D marks of the area of interest into rays in 3D space that intersect with clusters in the 3D depth mesh of the space. The clusters may be walls or other large features. The aggregates may be much smaller features such as equipment, sensors, etc. As the scan is being made, the 3D grid may be adjusted according to new information discovered by the 3D scanner during the scan creation process. Thus, the 3D positions in the 3D mesh may have moved position from their original positions. After the entire space has been scanned, e.g. when the scan is completed, a post-processor 1025 operating on the entire 3D scan may be operable to create a 3D scan of the space with the regions of interest marked using the original 2D positions transformed to equivalent positions in the 3D scan. When the 3D scan is created, the underlying 3D mesh may change position, which may change the position of the marked regions of interest. Regions of interest noted in the 2D scan are marked in the 3D scan, so that when the 3D scan shifts to incorporate new information, the region of interest marks move with them. In post-processing, the marked regions are refocused and reoriented to the regions of interest.An embodiment showing how this is done is shown with reference to Figures 8A-8F and the surrounding text. V. Computer-Readable Medium Embodiments (94) Referring to FIG. 12, a flow chart 1200 illustrates a method that may be used by a device in embodiments disclosed herein. The operations of method 1200 described below are intended to be exemplary. In some embodiments, method 1200 may be performed with one or more additional operations not described and / or without one or more of the operations described. Additionally, the order of operations of method 1200 illustrated in FIG. 12 and described below is not intended to be limiting.
[0061] (95) In some embodiments, method 1200 may be stored on a non-transitory computer-readable storage medium capable of storing instructions for performing capture of an area of interest. The instructions, when executed by a processor, such as 210 or some similar processor, may cause the processor to perform the operations of method 1200.
[0062] (96) In operation 1205, a 3D partial scan of a space is received. This scan may have been originally created by a LiDAR instrument attached to the device. In operation 1210, a 2D region of interest may be received. The 2D region of interest may be features such as walls, doors, windows, bookshelves, desks, light fixtures, tables, sensors, vehicles, people, plants, etc. This 2D region of interest may be generated by a 2D camera attached to the same device that holds the LiDAR instrument. A common device that may hold both 3D and 2D sensors is a personal handheld computer. 2D and 3D sensors on the same device may also be linked and thus have an interface between the two. This allows 2D locations in the scanned 2D mesh to be placed in the appropriate locations in the partially completed linked scanned 3D mesh, i.e., the partial 3D scan. A transformation between the 2D mesh and the 3D mesh can be used to turn the 2D locations into 3D rays when the mesh is still only partially completed. Some examples of this are illustrated with reference to Figures 5A-5D and the surrounding text.
[0063] (97) In operation 1210, when the scan is partially complete, a 2D region of interest (ROI) is received. The ROI may be received when the 2D scan encounters the ROI. In some embodiments, the region of interest may be received from a machine learning recognition system that uses a camera feed from a 2D camera attached to the device. In some embodiments, other recognition systems may be used. Machine learning recognition systems are understood by those skilled in the art. An example of this is in 400A and 400B of FIGS. 4A-4B. In some embodiments, this involves a user marking a region of interest on a screen that displays a portion of space with a 3D scan overlaid on it. An example of this is in 500A and 500B of FIGS. 5A-5B.
[0064] (98) In operation 1215, while the scan is still only partially completed, an ROI is marked in the 3D scan. The position (or positions) of the ROI in the 2D scan can be converted to coordinates in the 3D scan. This coordinate is then turned into a ray whose tail points to a larger surface in the 3D scan. This ray tail can be estimated using software associated with the 2D camera, the 3D scanner, both, or different methods. This ray may be referred to as the 2D marked ROI. An example of this is in 400A and 400B in Figures 4A-4B. After the scan is completed, the marked position in the 3D scan may shift as the scan continues, thereby acquiring more information.
[0065] (99) In a post-processing stage, the original marked ROI location is repositioned in the new scan. In operation 1220, a completed 3D scan is received. This may be received by the LiDAR instrument or by a system connected to the LiDAR instrument that can provide the 3D scan to a processor associated with the device. The 3D scan may be 3D data, sensor history (such as camera information), and any annotations placed. This may be convertible to a 3D mesh. In operation 1225, the 2D mark ROI is intersected with the completed 3D scan to create a 3D scan intersection. As described with reference to FIG. 5D, between the time the 2D detection region of interest is marked and the completion of the 3D scan, the position of the 2D detection region of interest may move with a shift in the underlying 3D grid. Thus, the position of the underlying region of interest may also have moved. In operation 1230, the area around the 3D scan intersection, which may be a mesh surface in the 3D mesh, is examined for mesh surfaces that have a similar orientation to the mesh surface at the 3D scan intersection. These mesh faces may be adjacent mesh faces. If an adjacent mesh face with a similar orientation is found, the adjacent faces of the found mesh face may be examined, and so on. These mesh faces with similar orientation are then marked as part of the region of interest. Once a portion of the region of interest is found, it may be determined that it is a wall floor plan portion. This wall floor plan portion may be flattened into a 2D marker by flattening the marker such that the flattened portion is parallel to the floor. The floor can be determined by compass orientation and other orientations determined automatically by the 2D camera and LiDAR-generated 3D scans.
[0066] (100) In operation 1235, the flattened region of interest is extended. Adjacent flattened regions of interest may also be extended so that the extended regions form corners. In operation 1240, a floor plan is created by connecting a series of regions of interest. This is described with reference to Figures 8A-8F. In operation 1245, the building is assembled. Individual rooms are assembled into a floor plan of the entire building. As much of the assembly as possible is automated. For example, if it can be determined that two scans share information such as a coordinate system, compass, heading, etc., the shared information can be used to assist the user in assembling the floor plan. For example, separate areas may share compass readings and therefore those compass readings can be used to orient the areas together. Areas in the same session (as shown with reference to Figure 6) may use the same coordinates so that each can be positioned relative to each other, etc.
[0067] (101) 1300A in FIG. 13A and 1300B in FIG. 13B are the back and front of an example scanner that can be used in some described embodiments. That is, the system described in FIG. 1 can be implemented using a mobile phone 1300A or other portable computing device having a 2D camera 1305A and a depth scanner 1310A. In some implementations, the system includes a user input device. This user input / output device may be a touch screen 1305B. The screens shown with reference to FIGS. 5A-5E and 9 can be implemented on such a touch screen 1305B.
[0068] (102) 1400A in FIG. 14A and 1400B in FIG. 14B are the back and front of an exemplary tablet scanner usable in some described embodiments. That is, a system as described in FIG. 1 may be implemented using a tablet (e.g., iPad, Surface, Thinkpad, etc.) or other portable computing device 1405A with a camera 11410C and an attached external 3D scanner 1415A. In some implementations, a depth scanner is integrated into the tablet. In some implementations, the system includes a user input / output device. This user input / output device may be a touch screen 1505B. In some embodiments, a keyboard and a non-touch screen may be used. The screens shown with reference to FIGS. 5A-5E and 9 may be implemented on such a touch screen 1405B.
[0069] (103) In view of the many possible embodiments to which the principles of the present technology may be applied, it should be recognized that the illustrated embodiments are examples and should not be considered limitations on the invention. For example, the various components of the systems and methods described herein may be combined in terms of function and use. Accordingly, the inventors claim as their invention all subject matter that falls within the scope and spirit of these claims.
Claims
1. 1. A method for detecting a region of interest in an image of a space, comprising the steps of: obtaining a plurality of depth measurements captured by a depth sensor attached to a device, the plurality of depth measurements defining a distance from the depth sensor to a respective point in the space using a three-dimensional grid; declaring those depth measurements to be part of said space; obtaining a detected region of interest within the image of the portion of the space captured by a machine learning recognition system using two dimensions of the three-dimensional grid; mapping the detection region of interest onto the three-dimensional grid in two dimensions to create a two-dimensional detection region of interest; obtaining a complete depth measuring three-dimensional grid of said volume; projecting the detected region of interest onto the complete depth measuring 3D grid in the space to create a projected 3D shape; finding an intersection of said projected three-dimensional shape with said complete depth measuring three-dimensional grid in said space as a region of interest.
2. The method of claim 1 , wherein the machine learning recognition system is associated with a 2D camera, and the two dimensions of the three-dimensional grid are transformed from a 2D grid created by the 2D camera.
3. The method of claim 2 , wherein obtaining a detected region of interest in the portion of the space comprises accepting annotation placement onto a surface of the representation of the 2D grid.
4. 4. The method of claim 3, wherein projecting the two-dimensional detection region of interest onto the completed depth measuring three-dimensional grid in the space to create a projected three-dimensional shape comprises using the annotation arrangement to create rays that intersect the three-dimensional grid, thereby creating a number of intersections.
5. The method of claim 4 , wherein adjacent faces of the intersection are identified to create wall portions.
6. The method of claim 5 , wherein the wall portion is flattened along the z-axis with the marker pointing into the space, thereby creating a 2D marker oriented in space.
7. The method of claim 6 , wherein there are a plurality of 2D markers, the plurality of 2D markers oriented in the space being extended to create a 2D contour of the space.
8. The method of claim 3 , further comprising placing a marker on a surface of the representation of the 2D grid to mark a wall associated with the annotation placement.
9. 2. The method of claim 1, wherein obtaining a detection region of interest in the portion of the space comprises capturing the detection region of interest using a two-dimensional camera in conjunction with image recognition software that uses a two-dimensional transformation of the three-dimensional grid.
10. 10. The method of claim 9, wherein capturing the detection region of interest using a two-dimensional camera in conjunction with image recognition software using two dimensions of the three-dimensional grid further comprises capturing at least three points corresponding to corners of an object.
11. 1. A system for generating a 3D scan of a space having a marked region of interest, comprising: a 3D scanner operable to scan a portion of a three dimensional space to create a 3D scan portion and to scan an entire space to create an entire 3D scan; a 2D scanner operatively connected to the 3D scanner, the 2D scanner operable to use machine learning to detect a region of interest in the 2D scan and operable to mark the region of interest in the 2D scan using two of the three dimensions from the 3D scan portion; a combiner operable to mark the region of interest in the 2D scan with two dimensions of the 3D scan portion to create a ray; and a post-processor operable to position the ray through the overall 3D scan to create a 3D scan of the space in which the region of interest is marked.
12. The system of claim 11 , wherein the area of interest comprises a wall, a door, a window, or an appliance.
13. The system of claim 12 , wherein the post-processor is operable to determine wall portions by intersecting the ray with the overall 3D scan along a third dimensional axis.
14. 1. A non-transitory computer readable storage medium storing instructions for capturing a region of interest, the instructions, when executed by a processor, causing the processor to: receiving a 3D scan of a portion of a space by a LiDAR system attached to the device; receiving a 2D detected region of interest by a 2D camera attached to the device; marking the 2D detection region of interest within the partial 3D scan to create a 2D marked ROI; receiving a final 3D scan; and marking an intersection of the 2D mark ROI in the completed 3D scan as a marked region of interest.
15. 15. The non-transitory computer-readable storage medium of claim 14, wherein receiving a 2D detected region of interest by a 2D camera attached to the device comprises accepting a 2D user input marking the 2D detected region of interest.
16. receiving a second 2D detected region of interest by a 2D camera attached to the device; marking the second 2D detection region of interest within the partial 3D scan in two dimensions; intersecting the second 2D detection region of interest with the completed 3D scan to create a second 3D scan intersection; marking the second 3D scan intersection as a second marked 2D region of interest; extending the 2D detection region of interest and the marked second 2D detection region of interest to an intersection to create an extended 2D detection region of interest and a second extended 2D detection region of interest; 16. The non-transitory computer-readable storage medium of claim 15, further comprising: marking the extended 2D detection region of interest and the second extended 2D detection region of interest as wall floor plan portions.
17. 17. The non-transitory computer readable storage medium of claim 16, wherein intersecting the 2D detection region of interest with the completed 3D scan to create a 3D scan intersection further comprises identifying adjacent surfaces having similar orientations in the completed 3D scan, and wherein intersecting the 2D detection region of interest with the completed 3D scan to create a 3D scan intersection comprises flattening the wall floor plan portion into a 2D marker.
18. 20. The non-transitory computer-readable storage medium of claim 17, wherein receiving a 2D detected region of interest comprises a machine learning image recognition system that uses a camera feed from a 2D camera attached to the device to detect a region of interest.
19. intersecting the second 2D detection region of interest with the completed 3D scan to create a second 3D scan intersection; Finding surfaces on the completed 3D scan; creating 3D extensions of three user interest points to mark areas around a 90° ray to the surface of the completed 3D scan; and marking an intersection of the 3D extensions of the three user points of interest with the completed 3D scan as the region of interest.
20. 15. The non-transitory computer-readable storage medium of claim 14, wherein the 2D detection region of interest is a 2D representation of a wall, a door, a window, a bookshelf, a desk, a light fixture, a table, or a sensor.
Citation Information
Patent Citations
3D annotations for street view data
JP2011510378A
Point group position data processing apparatus, point group position data processing system, point group position data processing method, and point group position data processing program
JP2012037491A
Image processing device, image processing method, and program
JP2019101978A
Interactive self-improving annotation system for assessing high-risk plaque area ratio
JP2021516106A
Method for 3D mapping of 2d point of interest
US20180101729A1
