Patent ID: 11879750
Assignee: SNAP INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. A method of measuring a distance to an object, by a device having at least two cameras, comprising:
acquiring, by a first camera of the device while the device is in a first position and a first side of a housing of the device is facing the object, one or more first images that include the object, the first camera being located on the first side of the housing;
acquiring, by a second camera of the device while the device is in the first position, one or more first reference images, the second camera being located on a second side of the housing opposite the first side of the housing, a screen being located on the second side of the housing;
after the acquiring of the one or more first images and the one or more first reference images, displaying on the screen:
an image that is rotated in order to cause a user to rotate the device; and
an indication of an extent of matching between the one or more first reference images and a current image acquired by the second camera, the indication comprising a numerical score that indicates the extent of matching;

acquiring, by the first camera of the device while the device is in a second position, one or more second images including the object;
acquiring, by the second camera of the device while the device is in the second position, one or more second reference images;
determining an extent of relative rotation between the one or more first and second reference images based on a comparison of the one or more first reference images to the one or more second reference images;
determining, based on the extent of relative rotation, information on a displacement of at least one camera of the device between the first and second positions; and
calculating the distance from the device to the object, based on the one or more first and second images including the object and the determined information on the displacement of the at least one camera.