CPC G06T 7/60 (2013.01) [G01C 5/00 (2013.01); G01S 17/08 (2013.01); G06N 5/04 (2013.01); G06N 20/00 (2019.01); G06Q 30/0631 (2013.01); G06Q 30/0643 (2013.01); G06T 7/11 (2017.01); G06T 7/13 (2017.01); G06T 7/194 (2017.01); G06T 7/50 (2017.01); G06T 7/521 (2017.01); G06T 7/62 (2017.01); G06T 7/73 (2017.01); G06T 17/20 (2013.01); H04N 23/64 (2023.01); G06T 2207/20081 (2013.01); G06T 2207/30196 (2013.01)] | 20 Claims |
1. A method for generating a model of an object, comprising:
displaying, by a mobile device, an image of an object located perpendicular to a reference object;
determining, by the mobile device, that the mobile device is aligned with the object;
capturing, by the mobile device, an image comprising the object and the reference object;
calculating, by the mobile device and based on at least one depth measurement determined using a depth sensor in the mobile device, a predicted height of the mobile device when the image was captured;
calculating, by the mobile device, scale data for the image based on the predicted height;
detecting, by the mobile device, the object in the image;
determining, by the mobile device, a reference line identifying a location of the object and the reference object in the image;
segmenting, by the mobile device, pixels in the object in the image from pixels in the image outside the object;
measuring, by the mobile device, the object based on the pixels in the object and the scale data; and
generating, by the mobile device, model data comprising the object, the scale data, and the measurements.
|