Patent attributes
A method, device, and non-transitory computer-readable storage medium having data stored therein to correct for drift in an electronic device is described. Embodiments comprise determining a first center pose of the electronic device. Then, tracking, using a sensor in conjunction with computer vision operating on a processor, at least one key point within a scene when the first center pose is within a tolerance with respect to a reported center pose. Determining a derived center pose based upon the first center pose and the at least one key point. Disabling the sensor for a predetermined time. After the predetermined time, determining whether a second center pose is within the tolerance with respect to the derived center pose. Using the sensor, tracking the at least one key point when the second center pose is within the tolerance with respect to the derived center pose. Adjusting the second center pose when there is a difference between the second center pose and the derived center pose.