| CPC G06T 19/00 (2013.01) [G06F 18/21 (2023.01); G06F 18/2148 (2023.01); G06F 18/217 (2023.01); G06F 18/24 (2023.01); G06N 3/045 (2023.01); G06T 7/50 (2017.01); G06T 7/73 (2017.01); G06T 11/00 (2013.01); G06T 15/205 (2013.01); G06T 19/003 (2013.01); G06T 19/20 (2013.01); G06V 10/22 (2022.01); G06V 20/10 (2022.01); G06V 20/36 (2022.01); G06V 20/64 (2022.01); G06V 30/274 (2022.01); H04N 7/183 (2013.01); G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01); G06T 2210/04 (2013.01); G06T 2210/12 (2013.01); G06T 2210/56 (2013.01)] | 17 Claims | 

| 
               1. A method comprising: 
            at an electronic device having a processor: 
                displaying a live camera feed comprising a sequence of images of a physical environment; 
                obtaining a three-dimensional (3D) representation of the physical environment that was generated based on depth data and light intensity image data of the physical environment obtained during the displaying of the live camera feed; 
                generating a live preview of a first floorplan of the physical environment based on the 3D representation of the physical environment utilizing a first process, wherein the first process for generating the first floorplan comprises generating an edge map by: 
                identifying walls in the physical environment based on the 3D representation; 
                  identifying wall attributes in the physical environment based on the 3D representation; 
                  identifying objects in the physical environment based on the 3D representation; and 
                  generating the live preview of the first floorplan based on the edge map that includes the identified walls, the identified wall attributes, and the identified objects; 
                displaying the live preview of the first floorplan concurrently with the live camera feed; and 
                generating a second floorplan of the physical environment based on the 3D representation of the physical environment utilizing a second process that is different than the first process, wherein the second process comprises: 
              refining the identified walls and the identified wall attributes; 
                  identifying the objects in the physical environment based on the 3D representation and generating 3D object representations corresponding to the identified objects; and 
                  generating the second floorplan based on the refined identified walls, the refined identified wall attributes, and the 3D object representations associated with the identified objects. 
                 |