CPC G01B 11/22 (2013.01) | 16 Claims |
1. A device comprising:
a projecting device configured to provide a light beam having a predetermined pattern that is projected onto an object;
an image sensor configured to receive the light beam reflected from the object to generate a first image; and
a computing circuit electrically connected to the image sensor and configured to compare the first image with a first ground-truth image to calculate a first depth value, wherein the first ground-truth image is generated by projecting the predetermined pattern onto a preset object at a first distance from the device,
wherein the computing circuit is configured to compare the first image with a second ground-truth image to calculate a second depth value, wherein the second ground-truth image is generated by projecting the predetermined pattern onto the preset object at a second distance from the device, and the second distance is different from the first distance,
wherein the computing circuit is configured to combine the first depth value and the second depth value to generate a depth result.
|