Adjust heading sensor output based on image data
By combining the GNSS receiver, image sensor and inertial measurement unit, the deviation of the magnetometer output is determined and adjusted, which solves the deviation problem in the device heading estimation, improves the position and orientation estimation accuracy of the electronic device, and is suitable for augmented reality applications.
Patent Information
- Application Number
- CN202010358060.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-09-25
- Filing Date
- 2020-04-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-04-29
AI Technical Summary
When the existing technology estimates the position and orientation of an electronic device, the data of the GNSS receiver and sensor may be biased, resulting in inaccuracies in the device's heading, especially in the correction of the magnetometer output.
Combining the GNSS receiver, image sensor and inertial measurement unit, the deviation of the magnetometer output is determined by matching the image data with the mapping data, and the magnetometer output is adjusted through the beam adjustment module and filter to improve the estimation accuracy of the equipment heading.
Through multi-source data fusion, the estimation accuracy of the device's heading is improved, the positioning and navigation performance in augmented reality applications is enhanced, the deviation of the magnetometer output is reduced, and more accurate position and orientation information are provided.
Smart Images

Figure CN111880203B_ABST
Abstract
Description
Technical Field
[0001] This specification generally relates to estimating the position and / or orientation of a device, including using an image sensor of the device in estimating and / or correcting the position and / or orientation of the device. Background Art
[0002] An electronic device such as a laptop, tablet, smartphone, or wearable device may include a Global Navigation Satellite System (GNSS) receiver and one or more sensors (e.g., accelerometers, gyroscopes such as rate gyroscopes) that can be used in conjunction with each other to estimate the position and / or orientation of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0003] Certain features of the subject technology are set forth in the appended claims. However, for purposes of explanation, several embodiments of the subject technology are set forth in the following figures.
[0004] Figure 1 An exemplary environment is shown in which one or more electronic devices can implement the subject system for estimating device position and / or orientation according to one or more implementations.
[0005] Figure 2 Exemplary electronic devices are shown that can implement the subject system for estimating device position and / or orientation according to one or more implementations.
[0006] Figure 3 Exemplary architectures are shown that can be implemented by an electronic device for estimating device position and / or orientation according to one or more specific implementations.
[0007] Figure 4 An exemplary architecture is shown that may be implemented by an electronic device for conditioning a magnetometer output according to one or more specific implementations.
[0008] Figure 5 An exemplary architecture is shown that can be implemented by an electronic device to perform stabilization of visual-inertial odometry according to one or more specific implementations.
[0009] Figure 6 A flow chart of an example process for regulating magnetometer output according to one or more implementations is shown.
[0010] Figure 7 A flow chart of an exemplary process for estimating device position and / or orientation according to one or more implementations is shown.
[0011] Figure 8 Exemplary electronic systems are shown that can be used to implement various aspects of the subject technology in accordance with one or more implementations. DETAILED DESCRIPTION
[0012] CROSS-REFERENCE TO RELATED APPLICATIONS
[0013] This application claims the benefit of U.S. Provisional Patent Application Serial No. 62 / 843,264, filed on May 3, 2019, and entitled “Adjusting Heading Sensor OutputBased on Image Data,” which is hereby incorporated by reference in its entirety for all purposes.
[0014] The specific embodiments shown below are intended to be descriptions of various configurations of the subject technology and are not intended to represent the only configuration that the subject technology can be practiced. The accompanying drawings are incorporated herein and constitute a part of the specific embodiments. The specific embodiments include specific details intended to provide a thorough understanding of the subject technology. However, the subject technology is not limited to the specific details set forth herein, but can be practiced using one or more other specific implementations. In one or more specific implementations, structures and components are shown in block diagram form to avoid blurring the concept of the subject technology.
[0015] The electronic device may include a GNSS receiver and one or more sensors (e.g., accelerometers, gyroscopes such as rate gyroscopes) that may be used in conjunction with each other to estimate the position and / or orientation of the electronic device. The electronic device may also include one or more image sensors that may be used to estimate the device position and / or orientation. The device orientation may include one or more parameters including heading (e.g., angle relative to magnetic north), pitch (e.g., motion about a lateral axis), and roll (e.g., motion about a longitudinal axis).
[0016] Additionally, the electronic device may include a GNSS receiver configured to provide device location and / or direction of travel, and a magnetometer configured to indicate heading information (e.g., as part of a digital compass). For example, an augmented reality application may use one or more of the estimates of device location and / or orientation (e.g., heading) to integrate digital content (e.g., visual, auditory, and / or tactile) into an image of the user's real-world environment (e.g., captured by an image sensor and displayed in real time).
[0017] The subject system provides for using multiple sensors of an electronic device in order to estimate the device position and / or orientation. For example, the electronic device may obtain a first estimate for the device heading based on the output from a magnetometer. The electronic device may also capture image data using an image sensor, and determine a second estimate of the heading based on correlating the image data with mapping data (e.g., a road with a known location). For example, the image data may depict a road, and the electronic device may identify a vanishing point on the road (e.g., a point where parallel lines appear to converge). The electronic device may align the road in the image with the road in the mapping data based on the device location (e.g., provided by a GNSS receiver). The electronic device may determine a deviation associated with the output of the magnetometer (e.g., a deviation attributable to the magnetometer) based on the first estimate and the second estimate, and adjust the output of the magnetometer based on the determined deviation. Therefore, the magnetometer output can be adjusted to achieve an improved estimate of the device heading.
[0018] As another example, a GNSS receiver of an electronic device may receive a first estimated position of the device at a first time. An image sensor of the electronic device may capture an image during a time period defined by a first time and a second time (e.g., where the first time and the second time correspond to a sampling interval of the GNSS receiver). The electronic device may determine a second estimated position of the device based on the image, the second estimated position being relative to the first estimated position (e.g., where the first position corresponds to a reference point and the second position is a measured change relative to the reference point). In addition, the GNSS receiver may receive a third estimated position of the device at a second time, and estimate the location of the device based on the second estimated position and the third estimated position. Therefore, the GNSS position estimate may be supplemented with a relative positioning estimate provided in conjunction with the image sensor to achieve an improved device location estimate.
[0019] Figure 1 An exemplary environment 100 is shown in which one or more electronic devices can implement the subject system for estimating device position and / or orientation according to one or more implementations. However, not all of the depicted components can be used in all implementations, and one or more implementations may include additional or different components than those shown in the figures. Changes in the arrangement and type of these components may be made without departing from the spirit or scope of the claims listed herein. Additional components, different components, or fewer components may be provided.
[0020] Environment 100 includes electronic device 102 and GNSS satellites 104a, 104b, 104c, and 104d (hereinafter referred to as "GNSS satellites 104a-104d"). For the purpose of explanation, environment 100 is shown in FIG. Figure 11. The environment 100 is illustrated as including one electronic device 102 and four GNSS satellites 104a-104d; however, the environment 100 may include any number of electronic devices and any number of GNSS satellites.
[0021] The electronic device 102 may be, for example, a portable computing device such as a laptop computer, a smart phone, a device embedded in, installed in, and / or coupled to a vehicle, a peripheral device (e.g., a digital camera, a headset), a tablet device, a wearable device such as a smart watch, a band, etc., or any other suitable device including, for example, one or more wireless interfaces, such as a GNSS radio, a WLAN radio, a cellular radio, a Bluetooth radio, a Zigbee radio, a near field communication (NFC) radio, and / or other wireless radios. Figure 1 In the present invention, by way of example, the electronic device 102 is depicted as a smart phone. The electronic device 102 may be and / or may include the following with respect to Figure 2 The electronic device discussed and / or the following with respect to Figure 8 All or part of the electronic system in question.
[0022] exist Figure 1 In the example of , the electronic device 102 is held by a user or otherwise coupled to a user (e.g., via a pocket or belt). However, the electronic device 102 may be coupled to a vehicle and / or housed within a vehicle. Figure 1 In the example of FIG. 1 , the user is traveling on foot (e.g., walking). However, the user may be traveling in a vehicle (e.g., a land vehicle such as a car, motorcycle, bicycle, or a watercraft or flying vehicle), on a bicycle, through water (e.g., swimming), and / or by other means.
[0023] In environment 100, electronic device 102 may determine its location based on signals received from GNSS satellites 104a-104d. For example, GNSS satellites 104a-104d may be compatible with one or more of the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the Galileo Positioning System, and / or generally any positioning system.
[0024] For example, the electronic device 102 may utilize signals received from the GNSS satellites 104a-104d to determine its respective location (e.g., longitude, latitude, and altitude / altitude). Other positioning technologies (not shown) may be used independently of or in conjunction with GNSS (e.g., GNSS satellites 104a-104d) to determine the device location. For example, the location of the electronic device 102 may be determined based on the arrival time, arrival angle, and / or signal strength of signals received from wireless access points that may have known locations (e.g., within a building or store, mounted on a street pole, etc.). Alternatively or in addition, positioning technologies such as, but not limited to, cellular phone signal positioning (e.g., positioning using cellular network and mobile device signals), indoor positioning systems, Bluetooth signal positioning, and / or image recognition positioning may be used to determine the device location.
[0025] In addition, the electronic device 102 may implement an inertial navigation system (INS). The INS uses one or more device sensors (e.g., motion sensors such as accelerometers and / or rate gyroscopes) to calculate device state (e.g., device position, velocity, attitude) to supplement the location data provided by the above-mentioned positioning technologies in order to estimate the device location.
[0026] Figure 2 An exemplary electronic device is shown that can implement the subject system for estimating device position and / or orientation according to one or more specific implementations. For the purpose of explanation, this document mainly refers to Figure 1 The electronic device 102 is described Figure 2 . However, not all of the depicted components may be used in all implementations, and one or more implementations may include additional or different components than those shown in the figures. Changes in the arrangement and types of these components may be made without departing from the spirit or scope of the claims set forth herein. Additional components, different components, or fewer components may be provided.
[0027] The electronic device 102 may include a host processor 202, a memory 204, one or more sensors 206, a positioning circuit 208, and a communication interface 210. The host processor 202 may include appropriate logic components, circuits, and / or codes capable of processing data and / or controlling the operation of the electronic device 102. In this regard, the host processor 202 may be enabled to provide control signals to various other components of the electronic device 102. The host processor 202 may also control the transfer of data between various parts of the electronic device 102. The host processor 202 may also implement an operating system or otherwise be capable of executing code to manage the operation of the electronic device 102.
[0028] The memory 204 may include suitable logic components, circuits, and / or code to enable storage of various types of information, such as received data, generated data, code, and / or configuration information. The memory 204 may include, for example, a random access memory (RAM), a read-only memory (ROM), flash memory, and / or a magnetic storage device.
[0029] In one or more specific implementations, the memory 204 can store sensor signal measurements, GNSS receiver data values, device position estimates, and / or device orientation estimates, for example, based on the movement of the electronic device 102. The memory 204 can also store one or more components and / or one or more modules configured to estimate the device position and / or location, for example, as discussed below with reference to Figure 3-5 In addition, the memory 204 may store an application (e.g., an augmented reality application) configured to integrate digital content (e.g., visual, auditory, and / or tactile) into an image of a real-world environment (e.g., captured by an image sensor). In one or more specific implementations, the augmented reality application may be part of or otherwise incorporated into the operating system of the electronic device 102.
[0030] The one or more sensors 206 may include one or more motion sensors, such as accelerometers and / or gyroscopes (e.g., rate gyroscopes). The one or more motion sensors may be used to facilitate motion and orientation related functions of the electronic device 102, for example, to detect motion, direction, and orientation of the electronic device 102.
[0031] Alternatively or in addition, one or more sensors 206 may include a barometer, an electronic magnetometer, an image sensor, or generally any sensor that can be used to facilitate a positioning system. A barometer can be used to detect atmospheric pressure for determining a change in altitude of the electronic device 102. An electronic magnetometer (e.g., an integrated circuit chip) can provide data for determining the direction of magnetic north, such as for use as part of a digital compass. An image sensor (e.g., a camera) can be used to capture images (e.g., photos, videos) to derive a position and / or capture a sequence of images to derive device motion. The captured single image and / or image sequence can also be used to derive the orientation of the image sensor (e.g., and / or the electronic device 102).
[0032] The positioning circuit 208 may be used to determine the location of the electronic device 102 based on positioning techniques. For example, the positioning circuit 208 may provide one or more of the following: GNSS positioning (e.g., via a GNSS receiver configured to receive signals from GNSS satellites 104a-104d), wireless access point positioning (e.g., via a wireless network receiver configured to receive signals from a wireless access point), cellular telephone signal positioning, Bluetooth signal positioning (e.g., via a Bluetooth receiver), image recognition positioning (e.g., via an image sensor), and / or INS (e.g., via a motion sensor such as an accelerometer and / or a gyroscope).
[0033] The communication interface 210 may include suitable logic, circuitry, and / or code that may enable wired or wireless communication, such as between the electronic devices 102. The communication interface 210 may include, for example, one or more of a Bluetooth communication interface, an NFC interface, a Zigbee communication interface, a WLAN communication interface, a USB communication interface, or generally, any communication interface.
[0034] In one or more specific implementations, one or more of the host processor 202, memory 204, one or more sensors 206, positioning circuitry 208, communication interface 210, and / or one or more portions thereof may be implemented in software (e.g., subroutines and code), may be implemented in hardware (e.g., an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a state machine, a gated logic component, a discrete hardware component, or any other suitable device), and / or a combination of both.
[0035] Figure 3 An exemplary architecture 300 is shown that can be implemented by an electronic device 120 for estimating device position and / or orientation according to one or more specific implementations. However, not all of the components depicted can be used in all specific implementations, and one or more specific implementations may include additional or different components than those shown in the figures. Changes in the arrangement and types of these components may be made without departing from the spirit or scope of the claims listed herein. Additional components, different components, or fewer components may be provided.
[0036] In one or more implementations, the architecture 300 can provide an improved estimate of device position and / or orientation, such as for use by augmented reality applications. The improved estimate can be used to present digital content (e.g., visual, auditory, and / or tactile feedback) in an image of a real-world environment (e.g., captured by the image sensor 304). For example, the timing and / or positioning of notifications (e.g., prompts, overlays, auditory prompts, tactile feedback, etc.) can be based on the estimates provided by the architecture 300.
[0037] The architecture 300 may include an image sensor 304, an inertial measurement unit 306 including an accelerometer 308 and a gyroscope 310, and a visual inertial odometry module 302 including a beam adjustment module 312. The beam adjustment module 312 may be configured to output an estimated position and / or orientation 314 of the electronic device 102. In one or more implementations, one or more of the sensors 304, 308, and 310 may correspond to Figure 2 One or more sensors 206 in.
[0038] The visual inertial odometry module 302 may receive data including image data from the image sensor 304, accelerometer data from the accelerometer 308, and / or orientation or angular velocity data from the gyroscope 310. For purposes of explanation, Figure 3 A single image sensor 304 , accelerometer 308 , and gyroscope 310 are shown; however, any number of image sensors, accelerometers, and / or gyroscopes may be used.
[0039] In one or more specific implementations, the accelerometer 308 and the gyroscope 310 can be part of an inertial measurement unit (IMU) 306 configured to measure linear and angular motion of the electronic device 102, and / or the IMU 306 can receive measurements from the accelerometer 308 and / or the gyroscope 310. The IMU can be part of an INS. As described above, the INS can use measurement data (e.g., provided by the accelerometer 308 and / or the gyroscope 310) to calculate the device state (e.g., position, velocity, attitude) to supplement the location data provided by the positioning technology (e.g., GNSS and / or wireless access point positioning) to estimate the device location.
[0040] In one or more specific implementations, the visual inertial odometry module 302 is configured to provide an estimated position and / or orientation 314 of the electronic device 102 relative to the starting location. The visual inertial odometry module 302 may determine such estimates based on inputs received from the image sensor 304, the accelerometer 308, and the gyroscope 310. The estimated position may correspond to one or more of latitude, longitude, and altitude relative to the starting location. In addition, the estimated orientation may correspond to one or more of heading (e.g., angle relative to magnetic north), pitch (e.g., movement around a lateral axis), and roll (e.g., movement around a longitudinal axis) relative to the starting location.
[0041] For image data captured by the image sensor 304, the visual inertial odometry module 302 can track multiple features (e.g., corresponding to corners, edges, shapes, and / or other image features) across sequential images (e.g., in an image stream such as a video), and can use the tracking to determine an estimated position and / or orientation 314. In one or more specific implementations, the visual inertial odometry module 302 can use one or more of: keyframes within the image data, assumptions about the scene (e.g., a ground plane assumption, known camera height), and / or prior knowledge about a particular scene / image (e.g., a database storing images of objects with known locations).
[0042] The visual inertial odometry module 302 can be configured to match features (e.g., points) across multiple images and determine the relative position and / or orientation between pairs of images. In addition, the beam adjustment module 312 of the visual inertial odometry module 302 can use measurements from one or more of the image sensor 304, the accelerometer 308, and the gyroscope 310 to perform beam adjustment for achieving improved estimates. For example, the beam adjustment can use parameters of relative motion (e.g., provided by the accelerometer 308 and / or the gyroscope 310) and optical properties of the image sensor 304 to determine and / or optimize 3D coordinates describing image geometry.
[0043] It should be noted that beam adjustment is one of several techniques that can be used (e.g., alone or in combination) to estimate orientation and / or position. Although the visual inertial odometry module 302 is illustrated as using beam adjustment to estimate device position and / or orientation via the beam adjustment module 312, the visual inertial odometry module 302 can perform optimization (e.g., filtering) in other ways. In this regard, the beam adjustment module 312 is an exemplary component for mixing together the information, measurements, and assumptions described herein. Other filters (e.g., Bayesian, non-Bayesian) and / or estimators can be used to replace or supplement the beam adjustment module 312. For example, such one or more filters may correspond to a Kalman filter, a particle filter, a sigma point filter, and / or any other type of filter configured to estimate device position and / or orientation as described herein.
[0044] In one or more specific implementations, one or more of the components of the image sensor 304, the inertial measurement unit 306 (including the accelerometer 308 and the gyroscope 310), and / or the visual inertial odometry module 302 (including the beam adjustment module 312) are implemented as software instructions stored in the memory 204, which, when executed by the host processor 202, cause the host processor 202 to perform one or more specific functions.
[0045] In one or more implementations, one or more of the components of the image sensor 304, the inertial measurement unit 306 (including the accelerometer 308 and the gyroscope 310), and / or the visual inertial odometry module 302 (including the beam adjustment module 312) may be implemented in software (e.g., subroutines and code) and / or hardware (e.g., application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gated logic components, discrete hardware components, or any other suitable devices), and / or a combination of both. In one or more implementations, some or all of the depicted components may share hardware and / or circuitry, and / or one or more of the depicted components may utilize dedicated hardware and / or circuitry. Additional features and functionality of these modules in accordance with aspects of the subject technology are further described in the present disclosure.
[0046] Figure 4 An exemplary architecture 400 that can be implemented by an electronic device 102 for adjusting a magnetometer output according to one or more specific implementations is shown. However, not all of the components depicted can be used in all specific implementations, and one or more specific implementations may include additional or different components compared to those shown in the figures. Changes in the arrangement and type of these components may be made without departing from the spirit or scope of the claims listed herein. Additional components, different components, or fewer components may be provided.
[0047] In one or more specific implementations, architecture 400 can provide an improved estimate of device heading, such as for use by augmented reality applications. The improved estimate can be used to present digital content (e.g., visual, auditory, and / or tactile feedback) in an image of a real-world environment (e.g., captured by image sensor 304). For example, the timing and / or positioning of notifications (e.g., prompts, overlays, auditory prompts, tactile feedback, etc.) can be based on the estimate provided by architecture 400.
[0048] The architecture 400 may include an image-based positioning module 402, a visual inertial odometry module 302, a GNSS receiver 404, a positioning filter 408, an output conditioning module 410, and a compass 406. The positioning filter 408 (e.g., implemented as a particle filter) may receive data associated with a device heading from one or more of the image-based positioning module 402, the visual inertial odometry module 302, the GNSS receiver 404, and the compass 406. The positioning filter 408 may provide an indication of a bias associated with an output of a magnetometer (e.g., a bias attributable to the magnetometer) to an output conditioning module 410, which is configured to adjust the output of the magnetometer for an estimated heading 412 (e.g., based on the bias). For example, the output conditioning module 410 may provide an indication of the bias to the compass 406, which is configured to adjust its output (e.g., an output of the device heading) based on the determined bias.
[0049] In one or more specific implementations, compass 406 can be a digital (e.g., electronic) compass that includes a magnetometer. As described above, one or more sensors 206 of electronic device 102 can include a magnetometer (e.g., an integrated circuit chip) for determining an estimate of the device's heading. Figure 4 As shown, the compass may provide an estimated device heading to the location filter 408 .
[0050] The positioning filter 408 (eg, implemented as a particle filter) can be configured to receive additional estimates related to the device heading, for example, from one or more of the image-based positioning module 402, the visual inertial odometry module 302, and the GNSS receiver 404. Figure 3 As discussed, the visual inertial odometry module 302 can be configured to determine device position and / or orientation, where the orientation can include a device heading. The heading can correspond to an angle of the electronic device 102 relative to magnetic north. In one or more implementations, the angle can be relative to the top of the electronic device 102.
[0051] In one or more implementations, the image-based localization module 402 can be configured to provide one or more estimates of the device heading. In one or more implementations, the image-based localization module 402 is configured to receive an image (e.g., captured by the image sensor 304) and determine one or more vanishing points within the captured image. The vanishing points can correspond to points on the image plane where parallel lines appear to converge.
[0052] For example, a rear-facing camera of the electronic device 102 can capture image data (e.g., an image stream, such as a video) while the user is holding the electronic device 102 in a vertical position while viewing the screen. In one or more implementations, the image-based positioning module 402 can detect vanishing points by determining where parallel lines appear to converge in the captured image. For example, one or more vanishing points can correspond to the far ends of a path (e.g., a road, a sidewalk, a street, etc.) that appears in the image.
[0053] The image-based positioning module 402 is also configured to correlate the detected one or more vanishing points with known map data. In one or more specific implementations, the map data may correspond to map tiles stored locally on the electronic device 102, for example, provided by a web mapping service configured to provide map tiles based on an approximate device location (e.g., from a GNSS positioning estimate). The map data may include information about a known path (e.g., a road, a sidewalk, a street path, etc.). Based on this information, the image-based positioning module 402 may align parallel lines of one or more vanishing points in the image with the known path, and estimate the heading of the electronic device 102 based on such alignment.
[0054] In one or more implementations, the image-based localization module 402 may provide two (or more) estimates of the device heading. For example, while the orientation of the image sensor 304 may be aligned with a path (e.g., based on a single vanishing point), the forward or backward orientation of the electronic device 102 relative to the map data may be unknown. Furthermore, in some cases, the image-based localization module 402 may detect multiple vanishing points (e.g., if there are multiple candidates for one or more paths associated with a map feature), where each of these vanishing points has two candidates for the device heading.
[0055] In addition, the image-based positioning module 402 can be configured to provide a weight value (e.g., a confidence score) for each candidate for the device heading. For example, the corresponding weight value can be based at least in part on the map data (e.g., the likelihood that the user is on one path rather than another, the likelihood that the user is walking in one direction on the path rather than another, etc.).
[0056] In one or more specific implementations, the GNSS receiver 404 is configured to receive signals received from the GNSS satellites 104a-104d in order to determine an estimate of the position and / or direction of motion of the electronic device 102. The direction of motion may relate to the device heading. For example, it may be assumed that the user typically holds the electronic device 102 in a vertical position when viewing the screen. Therefore, it may be assumed that the user does not hold the electronic device 102 in certain positions. For example, the user may not typically hold the electronic device 102 facing sideways (e.g., although it may be detected based on one or more sensors 206 how the user is holding the electronic device 102). Based on these assumptions and the estimated direction of motion, a deviation associated with the device heading (e.g., provided by the compass 406) may be estimated.
[0057] Positioning filter 408 (e.g., implemented as a particle filter) is configured to estimate deviations from the device heading provided by compass 406. Positioning filter 408 may receive as input outputs from each of image-based positioning module 402, visual inertial odometry module 302, and GNSS receiver 404. As described above, image-based positioning module 402 may provide multiple estimates of the device heading (e.g., with corresponding weight values), visual inertial odometry module 302 may provide a separate estimate of the device heading (e.g., which may have corresponding weight values), and GNSS receiver 404 may provide a direction of motion (e.g., which may have corresponding weight values).
[0058] Positioning filter 408 may receive these estimates of heading and / or direction of motion, along with an estimate of the device heading from compass 406, in order to determine an amount of bias associated with the output of compass 406. For example, the bias may be based on respective weight values of the estimates provided by image-based positioning module 402, visual inertial odometry module 302, and / or GNSS receiver 404.
[0059] The positioning filter 408 can provide the estimated bias to an output conditioning module 410, which is configured to adjust the output of the compass 406 (e.g., corresponding to the device heading provided by the magnetometer) to compensate for the estimated bias. Thus, the estimated heading 412 output by the compass can correspond to the magnetometer output, which has been adjusted based on signals (e.g., associated with the bias) received from one or more of the image-based positioning module 402, the visual inertial odometry module 302, or the GNSS receiver 404.
[0060] As described above, the positioning filter 408 can be implemented as a particle filter for estimating bias (e.g., based on multiple estimates associated with the device heading). However, the architecture 400 can perform such filtering in other ways. In this regard, a particle filter is an example of a component for mixing together the information, measurements, and assumptions described herein. Other filters (e.g., Bayesian, non-Bayesian) and / or estimators can be used instead of or in addition to the particle filter. For example, the positioning filter 408 can correspond to a Kalman filter, a sigma point filter, and / or any other type of filter configured to estimate bias as described herein.
[0061] In addition, although Figure 4 The example of illustrates the conditioning of the magnetometer output, but the subject system is not necessarily limited thereto. The subject system can generally provide for combining possibly biased and possibly multi-hypothesized heading measurements from multiple sources into a single (e.g., unbiased or reduced biased) heading estimate. For example, the source of the heading estimate can be one or more of a magnetometer, image-based point cloud matching, image-based road detection, a star tracker, a gyroscope, a calibrated INS, an attitude and heading reference system (AHRS), etc.
[0062] In one or more specific implementations, one or more components of the image-based positioning module 402, the visual inertial odometry module 302, the GNSS receiver 404, the positioning filter 408, the output conditioning module 410, and / or the compass 406 are implemented as software instructions stored in the memory 204, which, when executed by the host processor 202, causes the host processor 202 to perform one or more specific functions.
[0063] In one or more implementations, one or more components of the image-based positioning module 402, the visual-inertial odometry module 302, the GNSS receiver 404, the positioning filter 408, the output conditioning module 410, and / or the compass 406 may be implemented in software (e.g., subroutines and code), hardware (e.g., application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gated logic components, discrete hardware components, or any other suitable devices), and / or a combination of both. In one or more implementations, some or all of the depicted components may share hardware and / or circuitry, and / or one or more of the depicted components may utilize dedicated hardware and / or circuitry. Additional features and functionality of these modules in accordance with aspects of the subject technology are further described in this disclosure.
[0064] Figure 5An exemplary architecture 500 is shown that can be implemented by the electronic device 102 for performing stabilization of visual inertial odometry according to one or more implementations. However, not all of the depicted components can be used in all implementations, and one or more implementations may include additional or different components than those shown in the figures. Changes in the arrangement and type of these components may be made without departing from the spirit or scope of the claims listed herein. Additional components, different components, or fewer components may be provided.
[0065] In one or more specific implementations, the architecture 500 can provide an improved estimate of the device's location, such as for use by augmented reality applications. The improved estimate can be used to present digital content (e.g., visual, auditory, and / or tactile feedback) in an image of a real-world environment (e.g., captured by the image sensor 304). For example, the timing and / or positioning of notifications (e.g., prompts, overlays, auditory prompts, tactile feedback, etc.) can be based on the estimate provided by the architecture 500.
[0066] Architecture 500 may include Figure 3 to Figure 4 The GNSS receiver 404 and the visual inertial odometry module 302. In addition, the architecture 500 may include an extended Kalman filter 504. Figure 5 As shown, the extended Kalman filter may receive signals from the GNSS receiver 404 and the visual-inertial odometry module 302 as inputs and may provide an estimated device position 506 as output.
[0067] The architecture 500 may provide for fusing (e.g., aligning) the output of the visual inertial odometry module 302 with positioning data received by the GNSS receiver 404. The GNSS receiver 404 may define measurement intervals (or "epochs") over which the GNSS receiver 404 receives signals from the GNSS satellites 104a-104d. Thus, the GNSS receiver 404 may be configured to estimate a first device location (e.g., in absolute latitude-longitude coordinates) at a first time, and a second device location at a second time, the first time and the second time being defined by the measurement intervals.
[0068] In addition, the visual inertial odometry module 302 can be configured to estimate a relative travel distance and / or travel direction relative to a reference point (e.g., a first position). The estimated travel distance and / or travel direction can then be used to predict the next GNSS position (e.g., a second position).
[0069] The extended Kalman filter 504 can receive output from the visual-inertial odometry module 302 (e.g., corresponding to its estimates for the first position and the second position) and output from the GNSS receiver 404 (e.g., corresponding to its estimate of the second position). In one or more specific implementations, the extended Kalman filter 504 can correspond to an algorithm that uses a series of measurements / signals observed over time (e.g., which can contain noise and other inaccuracies) and produces estimates of unknown variables (e.g., device state / position) that tend to be more accurate than those based only on a single measurement (e.g., a single GNSS measurement). Thus, the extended Kalman filter 504 can be configured to determine an estimated position 506 using the corresponding estimates of the second position (e.g., provided by the visual-inertial odometry module 302 and the GNSS receiver 404).
[0070] In one or more implementations, the visual inertial odometry module 302 may experience drift. For example, the drift may be due to the yaw rotation (e.g., motion around a vertical axis) of the electronic device 102. Since the estimates of the visual inertial odometry module 302 are relative (e.g., relative to a reference point), the drift may increase with the distance traveled. For example, if the drift error is 1%, traveling a distance of 1 kilometer from the reference point may result in a drift error of 10 meters.
[0071] The architecture 500 provides for fusing one or more estimated positions provided by the visual-inertial odometry module 302 with one or more estimated positions provided by the GNSS receiver 404 (e.g., on a per-epoch basis, satisfying the distance requirements described below). Thus, the architecture 500 (e.g., via the extended Kalman filter 504) can reduce drift errors associated with the visual-inertial odometry module 302.
[0072] In one or more implementations, the sampling frequency of the visual-inertial odometry module 302 may not match the sampling frequency of the GNSS receiver 404. For example, the visual-inertial odometry module 302 may have a sampling frequency of 10 Hz (e.g., capturing 10 frames per second), while the GNSS receiver 404 may have a sampling frequency of 1 Hz (e.g., receiving 1 signal per second). In this case, the lower sampling frequency measurements (e.g., of the GNSS receiver 404) may be interpolated to correspond to the higher sampling frequency measurements (e.g., of the visual-inertial odometry module 302).
[0073] In one or more implementations, the extended Kalman filter 504 can implement a requirement for a minimum distance traveled between position estimates. For example, the minimum distance can be set to 3 meters. It is possible that the visual inertial odometry module 302 indicates that the distance traveled is 50 cm (e.g., an accurate amount representing the distance traveled from a reference point), while the GNSS receiver 404 may indicate that the distance traveled is 5 meters (e.g., an inaccurate amount representing the distance traveled from a reference point). For example, the 5 meters indicated by the GNSS receiver 404 may be incorrect due to (e.g., from Figure 1 Therefore, before compensating for drift errors associated with the visual-inertial odometry module 302, the extended Kalman filter 504 can implement the requirement that one or both of the visual-inertial odometry module 302 and the GNSS receiver 404 provide an estimate of the traveled distance that meets a minimum distance (e.g., 3 meters).
[0074] As described above, the extended Kalman filter 504 provides for fusing one or more estimated positions provided by the visual inertial odometry module 302 with one or more estimated positions provided by the GNSS receiver 404 on a per-epoch basis (e.g., satisfying the above distance requirements). Alternatively, the coordinate system of the visual inertial odometry module 302 (e.g., corresponding to relative coordinates) may be transformed into the coordinate system of the GNSS receiver 404 (e.g., corresponding to absolute coordinates of longitude-latitude). For example, based on the relative travel distance and / or rotation amount provided by the visual inertial odometry module 302, a transformation may be generated for converting the relative coordinates of the visual inertial odometry module 302 into absolute coordinates. The transformation may be applied to the visual inertial odometry module 302 in order to obtain absolute coordinates.
[0075] In one or more specific implementations, the following Formula 1 may be used to generate a transformation for converting relative coordinates of the visual inertial odometry module 302 into absolute coordinates:
[0076]
[0077] In Formula 1, in one or more implementations, R may represent a rotation matrix from relative coordinates to absolute coordinates, X may represent a position estimate where the elements (X, Y, Z) are in relative coordinates, and T may represent a transformation from the origin of the relative coordinate system to the origin of the absolute (e.g., earth-fixed) coordinate system.
[0078] In one or more implementations, one or more of the components of the GNSS receiver 404, the visual inertial odometry module, and / or the extended Kalman filter 504 are implemented as software instructions stored in the memory 204, which, when executed by the host processor 202, cause the host processor 202 to perform one or more specific functions.
[0079] In one or more implementations, one or more of the components of the GNSS receiver 404, the visual inertial odometry module, and / or the extended Kalman filter 504 may be implemented in software (e.g., subroutines and code), in hardware (e.g., application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), programmable logic components (PLDs), controllers, state machines, gated logic components, discrete hardware components, or any other suitable devices), and / or a combination of both. In one or more implementations, some or all of the depicted components may share hardware and / or circuitry, and / or one or more of the depicted components may utilize dedicated hardware and / or circuitry. Additional features and functionality of these modules in accordance with aspects of the subject technology are further described in this disclosure.
[0080] Figure 6 A flow chart of an exemplary process for adjusting a magnetometer output according to one or more specific implementations is shown. Figure 1 The process 600 is described with reference to the electronic device 102 of FIG. However, the process 600 is not limited to the electronic device 102, and one or more blocks (or operations) of the process 600 may be performed by one or more other components of the electronic device 102 and / or by other suitable devices. Further for the purpose of explanation, the blocks of the process 600 are described herein as occurring sequentially or linearly. However, multiple blocks of the process 600 may occur in parallel. In addition, the blocks of the process 600 do not have to be performed in the order shown, and / or one or more blocks of the process 600 do not have to be performed and / or may be replaced by other operations.
[0081] The electronic device 102 obtains a first estimate of a heading of the device, the first estimate being based on output from a magnetometer of the device (602). The electronic device 102 captures image data using an image sensor of the device (604).
[0082] The electronic device 102 determines at least one second estimate of the heading based on correlating the image data with the mapping data (606). The at least one second estimate may correspond to a vanishing point in the image data associated with a road indicated by the mapping data.
[0083] The electronic device 102 determines a bias in the output of the magnetometer based on the first estimate and the at least one second estimate (608). Determining the bias can be based on a particle filter configured to receive a plurality of candidate estimates for a heading of the device, the plurality of candidate estimates originating from a vanishing point.
[0084] The electronic device 102 may determine an additional estimate of at least one of the device orientation or the device position relative to a reference point associated with the device based on the image data. Alternatively or in addition, the electronic device 102 may utilize a global navigation satellite system (GNSS) sensor of the device to determine an additional estimate of the direction of motion of the device. Determining the deviation may be further based on one or more of these additional estimates.
[0085] The electronic device 102 provides adjusting the output of the magnetometer based on the determined deviation (610). For example, the deviation may be provided to a compass associated with the magnetometer, and the compass may be configured to adjust the output of the device heading based on the determined deviation. Capturing image data may be performed, for example, in association with an augmented reality application running on the device. The augmented reality application may be configured to provide real-time feedback based on the adjusted output of the magnetometer.
[0086] Figure 7 A flowchart of an exemplary process for estimating a device position and / or orientation according to one or more specific implementations is shown. Figure 1 The process 700 is described with reference to the electronic device 102 of FIG. However, the process 700 is not limited to the electronic device 102, and one or more blocks (or operations) of the process 700 may be performed by one or more other components of the electronic device 102 and / or by other suitable devices. Further for the purpose of explanation, the blocks of the process 700 are described herein as occurring sequentially or linearly. However, multiple blocks of the process 700 may occur in parallel. In addition, the blocks of the process 700 do not have to be performed in the order shown, and / or one or more blocks of the process 700 do not have to be performed and / or may be replaced by other operations.
[0087] The electronic device 102 receives a first estimated location of the device at a first time (702). The electronic device 102 captures an image using an image sensor of the device during a time period defined by the first time and a second time (704).
[0088] The electronic device 102 determines a second estimated position of the device based on the image, the second estimated position relative to the first estimated position (706). For example, the first estimated position may correspond to a reference point, and the second position is the amount of change measured relative to the reference point. The electronic device 102 may receive a first estimated orientation of the device at a first time, and determine a second estimated orientation of the device based on the image, the second estimated orientation relative to the first estimated orientation. The second estimated position and the second estimated orientation of the device may correspond to an amount of distance traveled and an amount of rotation since the first time, respectively.
[0089] Electronic device 102 receives a third estimated location of the device at a second time (708). The first estimated location and the third estimated location may be based on global navigation satellite system (GNSS) measurements. The third estimated location may be used to compensate for drift associated with the second estimated location.
[0090] The electronic device 102 estimates the location of the device based on the second estimated location and the third estimated location (710). The estimated location of the device may be further based on the second estimated orientation. The estimated location may be based on an output from a Kalman filter (e.g., an extended Kalman filter) configured to receive the first estimated location, the second estimated location, and the third estimated location, and the first estimated orientation and the second estimated orientation as input.
[0091] Capturing image data may be performed in association with an augmented reality application running on the device.The augmented reality application may be configured to provide real-time feedback based on the conditioned output of the magnetometer.
[0092] As described above, one aspect of the present technology is the collection and use of data from specific and legitimate sources for estimating device location and / or orientation. The present disclosure contemplates that, in some instances, the collected data may include personal information data that uniquely identifies or can be used to identify a specific person. Such personal information data may include demographic data, location-based data, online identifiers, phone numbers, email addresses, home addresses, data or records related to a user's health or fitness level (e.g., vital signs measurements, medication information, exercise information), date of birth, or any other personal information.
[0093] The present disclosure recognizes that the use of such personal information data in the present technology can be used to benefit users. For example, personal information data can be used to estimate device location and / or orientation. Therefore, the use of such personal information data can facilitate transaction processing (e.g., online transaction processing). In addition, the present disclosure also anticipates other uses of personal information data that benefit users. For example, health and fitness data can be used according to the user's preferences to provide insights into their overall health, or can be used as positive feedback to individuals who use technology to pursue health goals.
[0094] The present disclosure envisions that entities responsible for collecting, analyzing, disclosing, transmitting, storing or otherwise using such personal information data will comply with established privacy policies and / or privacy practices. Specifically, such entities will be expected to implement and consistently apply privacy practices that are generally recognized as meeting or exceeding the requirements of the industry or government that maintain user privacy. Such information about the use of personal data should be prominently and easily accessible to users, and should be updated as the collection and / or use of data changes. The user's personal information should be collected only for legitimate use. In addition, such collection / sharing should only occur after receiving user consent or other legal basis specified in applicable law. In addition, such entities should consider taking any necessary steps to defend and safeguard access to such personal information data and ensure that others who have access to personal information data comply with their privacy policies and processes. In addition, such entities may subject themselves to third-party assessments to demonstrate that they comply with widely accepted privacy policies and practices. In addition, policies and practices should be adjusted for specific types of personal information data that are collected and / or accessed, and applied to applicable laws and standards, including specific considerations that are exclusive to jurisdictions that can be used to impose higher standards. For example, in the United States, collection or access to certain health data may be governed by federal and / or state laws, such as the Health Insurance Portability and Accountability Act (HIPAA); while health data in other countries may be subject to other regulations and policies and should be handled accordingly.
[0095] Regardless of the foregoing, the present disclosure also contemplates implementation schemes in which users selectively block the use or access of personal information data. That is, the present disclosure contemplates that hardware elements and / or software elements may be provided to prevent or block access to such personal information data. For example, with respect to estimating device location and / or orientation, the present technology may be configured to allow a user to choose to “opt in” or “opt out” to participate in the collection of personal information data at any time during or after registration for a service. In addition to providing “opt-in” and “opt-out” options, the present disclosure contemplates providing notifications related to access or use of personal information. For example, a user may be notified that their personal information data will be accessed when downloading an application, and then be reminded again just before the personal information data is accessed by the application.
[0096] In addition, it is an object of the present disclosure that personal information data should be managed and processed to minimize the risk of unintentional or unauthorized access or use. Risks can be minimized by limiting data collection and deleting data once it is no longer needed. In addition, and when applicable, including in certain health-related applications, data de-identification can be used to protect the privacy of users. De-identification can be facilitated by removing identifiers, controlling the amount or specificity of stored data (e.g., collecting location data at the city level rather than at the address level), controlling how data is stored (e.g., aggregating data across users), and / or other methods such as differential privacy, when appropriate.
[0097] Therefore, while the present disclosure broadly covers the use of personal information data to implement one or more of the various disclosed embodiments, the present disclosure also contemplates that various embodiments may be implemented without access to such personal information data. That is, various embodiments of the present technology will not fail to function properly due to the lack of all or part of such personal information data.
[0098] Figure 8 An exemplary electronic system that can be used to implement various aspects of the subject technology according to one or more specific implementations is shown. Electronic system 800 can be used to generate reference Figures 1 to 5 Any electronic device that has the features and processes described and / or may be a part thereof, including but not limited to laptop computers, tablet computers, smart phones, and wearable devices (e.g., smart watches, fitness bands). The electronic system 800 may include various types of computer-readable media and interfaces for various other types of computer-readable media. The electronic system 800 includes one or more processing units 814-, a permanent storage device 802, a system memory 804 (and / or a buffer), an input device interface 806, an output device interface 808, a bus 810, a ROM 812, one or more processing units 814-, one or more network interfaces 816, a positioning circuit 818, one or more sensors 820, and / or subsets and variations thereof.
[0099] The bus 810 generally represents all system buses, peripheral busses, and chipset buses that communicatively connect the many internal devices of the electronic system 800. In one or more specific implementations, the bus 810 communicatively connects one or more processing units 814 with the ROM 812, the system memory 804, and the permanent storage device 802. The one or more processing units 814 retrieve instructions to be executed and data to be processed from these various memory units in order to perform the processes disclosed in the present subject matter. In different specific implementations, the one or more processing units 814 can be a single processor or a multi-core processor.
[0100] ROM 812 stores static data and instructions required by one or more processing units 814 and other modules of the electronic system 800. On the other hand, permanent storage device 802 can be a read-write memory device. Permanent storage device 802 can be a non-volatile memory unit that stores instructions and data even when the electronic system 800 is turned off. In one or more specific implementations, a mass storage device (such as a magnetic or optical disk and its corresponding disk drive) can be used as permanent storage device 802.
[0101] In one or more specific implementations, a removable storage device (such as a floppy disk, a flash drive and its corresponding disk drive) can be used as the permanent storage device 802. Like the permanent storage device 802, the system memory 804 can be a read-write memory device. However, unlike the permanent storage device 802, the system memory 804 can be a volatile read-write memory, such as a random access memory. The system memory 804 can store any of the instructions and data that one or more processing units 814 may need at runtime. In one or more specific implementations, the processes disclosed in the subject matter are stored in the system memory 804, the permanent storage device 802, and / or the ROM 812. The one or more processing units 814 retrieve instructions to be executed and data to be processed from these various memory units in order to perform the processes of one or more specific implementations.
[0102] The bus 810 is also connected to an input device interface 806 and an output device interface 808. The input device interface 806 enables a user to transmit information and select commands to the electronic system 800. Input devices that can be used with the input device interface 806 may include, for example, an alphanumeric keyboard and a pointing device (also referred to as a "cursor control device"). The output device interface 808 may, for example, enable the display of images generated by the electronic system 800. Output devices that can be used with the output device interface 808 may include, for example, a printer and a display device, such as a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a flexible display, a flat panel display, a solid state display, a projector, or any other device for outputting information.
[0103] One or more implementations may include a device that acts as both an input device and an output device, such as a touch screen. In these implementations, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and the input from the user may be received in any form, including acoustic, voice, or tactile input.
[0104] The bus 810 is also connected to a positioning circuit 818 and one or more sensors 820. The positioning circuit 818 can be used to determine the device location based on positioning technology. For example, the positioning circuit 818 can provide one or more of GNSS positioning, wireless access point positioning, cellular phone signal positioning, Bluetooth signal positioning, image recognition positioning, and / or INS (e.g., via motion sensors such as accelerometers and / or gyroscopes).
[0105] In one or more specific implementations, one or more sensors 820 may be used to detect the motion, travel, and orientation of the electronic system 800. For example, one or more sensors may include an accelerometer, a rate gyroscope, and / or one or more other motion-based sensors. Alternatively or in addition, one or more sensors 820 may include one or more audio sensors and / or one or more image-based sensors for determining the position and / or orientation of the device. For another example, one or more sensors 820 may include a barometer that can be used to detect atmospheric pressure (e.g., corresponding to the altitude of the device).
[0106] Finally, if Figure 8 As shown, bus 810 also couples electronic system 800 to one or more networks and / or to one or more network nodes via the one or more network interfaces 816. In this manner, electronic system 800 may be part of a computer network such as a LAN, a wide area network ("WAN"), or an intranet, or may be part of a network of networks such as the Internet. Any or all components of electronic system 800 may be used with the subject disclosure.
[0107] Implementations within the scope of the present disclosure may be implemented in part or in whole using a tangible computer-readable storage medium (or multiple tangible computer-readable storage media of one or more types) programmed with one or more instructions. Tangible computer-readable storage media may also be non-transitory in nature.
[0108] Computer-readable storage media can be any storage media that can be read, written, or otherwise accessed by a general or special computing device, including any processing electronics and / or processing circuitry capable of executing instructions. For example, without limitation, computer-readable media can include any volatile semiconductor memory, such as RAM, DRAM, SRAM, T-RAM, Z-RAM, and TTRAM. Computer-readable media can also include any non-volatile semiconductor memory, such as ROM, PROM, EPROM, EEPROM, NVRAM, flash memory, nvSRAM, FeRAM, FeTRAM, MRAM, PRAM, CBRAM, SONOS, RRAM, NRAM, racetrack memory, FJG, and Millipede memory.
[0109] In addition, the computer-readable storage medium may include any non-semiconductor memory, such as optical disk storage, magnetic disk storage, magnetic tape, other magnetic storage devices, or any other medium capable of storing one or more instructions. In one or more specific implementations, the tangible computer-readable storage medium may be directly coupled to the computing device, while in other specific implementations, the tangible computer-readable storage medium may be indirectly coupled to the computing device, for example, via one or more wired connections, one or more wireless connections, or any combination thereof.
[0110] Instructions can be directly executable, or can be used to develop executable instructions. For example, instructions can be implemented as executable or non-executable machine code, or can be implemented as high-level language instructions that can be compiled to produce executable or non-executable machine code. In addition, instructions can also be implemented as data, or can include data. Computer executable instructions can also be organized in any format, including routines, subroutines, programs, data structures, objects, modules, applications, applets, functions, etc. As recognized by those skilled in the art, the details including but not limited to the number, structure, sequence and organization of instructions can be significantly different without changing the underlying logic, function, processing and output.
[0111] Although the above discussion mainly involves microprocessors or multi-core processors that execute software, one or more implementations are performed by one or more integrated circuits such as ASICs or FPGAs. In one or more implementations, such integrated circuits execute instructions stored on the circuits themselves.
[0112] Those skilled in the art will recognize that the various illustrative frames, modules, elements, parts, methods and algorithms described herein can be implemented as electronic hardware, computer software or a combination of the two. In order to illustrate this interchangeability of hardware and software, various illustrative frames, modules, elements, parts, methods and algorithms have been generally described above according to functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the entire system. The technician can implement the described functionality in different ways for each specific application. Various parts and frames can be arranged differently (e.g., arranged in different orders, or divided in different ways) without departing from the scope of the subject technology.
[0113] It should be understood that the specific order or the hierarchical structure of the frame in the process disclosed by the present invention are the illustration of exemplary methods. Based on the design preferred requirements, it should be understood that the specific order or the hierarchical structure of the frame in the process can be rearranged or all the frames shown are executed. Any frame in these frames can be executed simultaneously. In one or more specific implementations, multitasking and parallel processing may be advantageous. In addition, the division of each system component in the above-mentioned specific implementation should not be understood as requiring such division in all specific implementations, and it should be understood that program components and systems can be generally integrated together in a single software product or encapsulated in multiple software products.
[0114] As used in this specification and any claims of this patent application, the terms "base station", "receiver", "computer", "server", "processor" and "memory" all refer to electronic devices or other technical devices. These terms exclude people or groups of people. For the purpose of this specification, the term "display" or "displaying" means displaying on an electronic device.
[0115] As used herein, the phrase "at least one of" following a list of items, any of which is separated by the terms "and" or "or", modifies the list as a whole, rather than each member (i.e., each item) of the list. The phrase "at least one of" does not require selection of at least one of each item listed; rather, the phrase allows for a meaning that includes at least one of any one item and / or at least one of any combination of items and / or at least one of each item. For example, the phrases "at least one of A, B, and C" or "at least one of A, B, or C" each refer to only A, only B, or only C; any combination of A, B, and C; and / or at least one of each of A, B, and C.
[0116] The predicate words "configured to," "operable to," and "programmed to" do not imply any specific tangible or intangible modification of a subject matter but are intended to be used interchangeably. In one or more specific implementations, a processor configured to monitor and control an operation or component may also mean that the processor is programmed to monitor and control the operation or that the processor is operable to monitor and control the operation. Similarly, a processor configured to execute code may be interpreted as a processor programmed to execute code or operable to execute code.
[0117] Phrases such as aspect, this aspect, on the other hand, some aspects, one or more aspects, a specific implementation, this specific implementation, another specific implementation, some specific implementations, one or more specific implementations, an embodiment, this embodiment, another embodiment, some embodiments, one or more embodiments, configuration, this configuration, other configurations, some configurations, one or more configurations, subject technology, disclosure, the present disclosure, other variations thereof, etc. are for convenience and do not mean that the disclosure involving such one or more phrases is essential to the subject technology, nor does it mean that such disclosure applies to all configurations of the subject technology. Disclosures involving such one or more phrases may apply to all configurations or one or more configurations. Disclosures involving such one or more phrases may provide one or more examples. Phrases such as aspect or some aspects may refer to one or more aspects and vice versa, and this applies similarly to the other aforementioned phrases.
[0118] The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any implementation described herein as "exemplary" or as an "example" is not necessarily to be construed as preferred or advantageous over other implementations. Furthermore, to the extent that the terms "including," "having," and the like are used in the specification or claims, such terms are intended to be inclusive, in a manner similar to the way the term "comprising" is interpreted when used as a transitional word in a claim.
[0119] All structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later become known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be covered by the claims. In addition, nothing disclosed herein is intended to be made available to the public regardless of whether the disclosure is explicitly stated in the claims. Pursuant to 35 U.S.C. §112, paragraph 6, no claim element shall be construed unless the element is expressly stated using the phrase “means for” or, in the case of a method claim, the element is stated using the phrase “step for”.
[0120] The previous description is provided to enable those skilled in the art to practice the various aspects described herein. Various modifications of these aspects are apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects. Therefore, the claims are not intended to be limited to the aspects shown herein, but are intended to make the full scope consistent with the language claims, wherein reference to elements in singular values is not intended to mean "only one", but refers to "one or more", unless specifically noted. Unless otherwise specifically stated, the term "some" refers to one or more. Male pronouns (e.g., his) include female and neutral (e.g., her and its), and vice versa. Titles and subtitles (if any) are used only for convenience and do not limit the subject disclosure.
Claims
1. A method, include: obtaining a first estimate of a heading of the device, the first estimate being based on an output from a first sensor of the device; capturing image data using a second sensor of the device, the second sensor being an image sensor; determining at least one second estimate of the heading based on correlating the image data with predefined mapping data and identifying a vanishing point using an aligned road or path identified in the image data, the correlating comprising aligning a road or path identified in the image data with a road or path represented in the predefined mapping data; determining a bias associated with an output of the first sensor based on the first estimate and the at least one second estimate; as well as An output of the first sensor is adjusted based on the determined deviation. The method of claim 1 , wherein the first sensor is a magnetometer. 3 . The method of claim 2 , wherein the correlating comprises aligning a road identified in the image data with a road represented in predefined mapping data. 4 . The method of claim 3 , wherein determining the deviation is based on a particle filter configured to receive a plurality of candidate estimates of the heading of the device, the plurality of candidate estimates originating from the vanishing point.
5. The method according to claim 2, further comprising: include: determining, based on the image data, a third estimate of at least one of a device orientation or a device position relative to a reference point associated with the device, Wherein determining the deviation is further based on the third estimate.
6. The method according to claim 2, further comprising: include: determining a third estimate of the direction of motion of the device using a Global Navigation Satellite System (GNSS) sensor of the device, Wherein determining the deviation is further based on the third estimate.
7. The method of claim 2, wherein capturing the image data is performed in association with an augmented reality application running on the device, and wherein the augmented reality application is configured to provide real-time feedback based on the adjusted output of the magnetometer.
8. A device, include: at least one processor; and a memory comprising instructions that, when executed by the at least one processor, cause the at least one processor to: obtaining a first estimate of a heading of the device, the first estimate being based on an output from a magnetometer of the device; capturing image data using an image sensor of the device; determining at least one second estimate of the heading based on aligning a road or path identified in the image data with a road or path represented in predefined mapping data and identifying a vanishing point using the aligned road or path identified in the image data; determining a bias associated with an output of the magnetometer based on the first estimate and the at least one second estimate; as well as An output of the magnetometer is adjusted based on the determined bias.
9. The apparatus of claim 8, wherein the aligning comprises aligning a road identified in the image data with a road represented in the mapping data.
10. The device of claim 9, wherein determining the deviation is based on a particle filter configured to receive a plurality of candidate estimates of the heading of the device, the plurality of candidate estimates originating from the vanishing point.
11. The apparatus of claim 8, wherein the instructions further cause the at least one processor to: determining, based on the image data, a third estimate of at least one of a device orientation or a device position relative to a reference point associated with the device, Wherein determining the deviation is further based on the third estimate.
12. The apparatus of claim 8, wherein the instructions further cause the at least one processor to: determining a third estimate of the direction of motion of the device using a Global Navigation Satellite System (GNSS) sensor of the device, Wherein determining the deviation is further based on the third estimate.
13. The device of claim 8, wherein capturing the image data is performed in association with an augmented reality application running on the device.
14. The device of claim 13, wherein the augmented reality application is configured to provide real-time feedback based on the adjusted output of the magnetometer.
15. A computer program product comprising code stored in a tangible computer readable storage medium, the code include: code for obtaining a first estimate of a heading of a device, the first estimate based on output from a sensor of the device; code for capturing image data using an image sensor of the device; code for determining at least one second estimate of the heading based on correlating the image data with mapping data; code for determining a third estimate of the direction of motion of the device using a Global Navigation Satellite System (GNSS) sensor of the device, wherein the sensor is separate from the image sensor and the GNSS sensor; code for determining a bias associated with an output of the sensor based on the first estimate, the at least one second estimate, and the third estimate; as well as Code for adjusting an output of the sensor based on the determined deviation.
16. The computer program product of claim 15, wherein the at least one second estimate is derived from a vanishing point in the image data associated with a road indicated by the calibration data.
17. The computer program product of claim 16, wherein determining the deviation is based on a particle filter configured to receive a plurality of candidate estimates of the heading of the device, the plurality of candidate estimates originating from the vanishing point.
18. The computer program product of claim 15, wherein capturing the image data is performed in association with an augmented reality application running on the device.
19. The computer program product of claim 18, wherein the augmented reality application is configured to provide real-time feedback based on the conditioned output of the sensor.
20. The computer program product of claim 18, wherein the deviation is determined using a particle filter.
21. The computer program product of claim 15, wherein the sensor comprises at least one of a magnetometer, a barometer, an accelerometer, a rate gyroscope, or an audio-based sensor.
