Method and system for achieving dynamic input resolution of vSLAM system

By dynamically adjusting the image resolution and optimizing the computing resource requirements of the vSLAM unit, the problem of insufficient efficient utilization of computing resources in existing AR technology is solved, and the system performance and feature detection speed are improved.

CN115088016BActive Publication Date: 2024-08-23GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180012967.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-02-05
Filing Date
2021-02-04
Publication Date
2024-08-23
Estimated Expiration
2041-02-04

AI Technical Summary

Technical Problem

Existing augmented reality (AR) technology requires high computing resources during the visual simultaneous localization and mapping (vSLAM) process, resulting in insufficient system performance and difficulty in achieving efficient initialization and feature detection.

Method used

Improve system performance by dynamically adjusting image resolution and responsively reducing image resolution based on computing resource needs, such as using high-resolution images during vSLAM initialization, using scalers to shrink lower-resolution images during pose generation, leveraging scalers and data The scaling processor optimizes the image resolution to optimize the computational demands and power consumption of the vSLAM unit.

Benefits of technology

Improved the speed, computing performance and power consumption characteristics of vSLAM initialization and feature detection routines, reduced delays in the vSLAM process and improved system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115088016B_ABST
    Figure CN115088016B_ABST
Patent Text Reader

Abstract

A method implemented by a computer system includes: initializing a visual simultaneous localization and mapping (vSLAM) unit in communication with the computer system using a first image and a first calibration data set. The first image has a first pixel resolution. The method also includes determining an initialization quality value and determining that the initialization quality value is outside a predetermined initialization threshold. The method also includes generating a second image at a second pixel resolution higher than the first pixel resolution, generating a second calibration data set based at least in part on the second pixel resolution associated with the second image, and reinitializing the vSLAM unit using the second image and the second calibration data set.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Augmented reality (AR) overlays virtual content on a user's view of the real world. With the development of AR software development kits (SDKs), the mobile industry has brought smartphone AR into the mainstream. ARSDKs typically provide six degrees-of-freedom (6DoF) tracking capabilities. A user can scan the environment using a camera included in an electronic device (such as a smartphone or AR system), and the device performs real-time visual simultaneous localization and mapping (vSLAM). vSLAM can be implemented in a mobile device using a vSLAM unit to detect features of real-world objects and track these features as the mobile device moves in its three-dimensional environment.

[0002] Despite advances in the field of AR, there is a need in the art for improved methods and systems related to AR. Summary of the invention

[0003] The present invention generally relates to methods and systems related to augmented reality applications. More specifically, embodiments of the present invention provide methods and systems for dynamic image input resolution scaling. The present invention is applicable to various applications involving vSLAM operations, including but not limited to online 3D modeling based on computer vision, AR visualization, facial recognition, robotics, and self-driving cars.

[0004] As described herein, embodiments of the present invention respond to computing resource requirements by adjusting image resolution during vSLAM. Image resolution can be adjusted (e.g., reduced) to reduce computing requirements and improve system performance. For example, vSLAM initialization can use high-resolution images, while gesture generation can use lower-resolution images that are scaled down using a scaler.

[0005] A system consisting of one or more computers can be used to perform specific operations or actions by installing software, firmware, hardware or a combination thereof on the system, which software, firmware, hardware or a combination thereof causes the system to perform these actions when running. One or more computer programs can be used to perform specific operations or actions by including instructions, which, when executed by a data processing device, cause the device to perform these actions. General aspects include a dynamic visual simultaneous localization and mapping (vSLAM) processing method. In this method, a computer system initializes a vSLAM unit that communicates with the computer system using a first image and a first calibration data set, wherein the first image has a first pixel resolution. The method also includes determining an initialization quality value and determining that the initialization quality value is outside a predetermined initialization threshold. The method also includes generating a second image at a second pixel resolution higher than the first pixel resolution, and generating a second calibration data set based at least in part on a second pixel resolution associated with the second image. The method also includes reinitializing the vSLAM unit using the second image and the second calibration data set.

[0006] Implementations of the above method may include one or more of the following features. Optionally, the method includes receiving an original image at an initial pixel resolution and receiving an initial calibration data set. The method may also include generating a first image from the original image and generating a first calibration data set from the initial calibration data set at least in part based on the first pixel resolution. Optionally, the computer system receives the original image from an optical sensor in communication with the computer system. Optionally, generating the first image includes: receiving a reduction factor from the performance monitor in a scaler unit in communication with the performance monitor and the optical sensor and reducing the original image from the initial pixel resolution to the first pixel resolution at least in part based on the reduction factor, wherein the first pixel resolution is lower than the initial pixel resolution. Optionally, initializing the vSLAM unit includes generating an initialization result, the initialization result including at least one of an initial output pose, a coordinate system, or an initial object mapping. Optionally, the computer system determines an initialization quality value by measuring an initialization accuracy at least in part using a performance monitor in communication with the computer system, at least in part by measuring an error between the initialization result and motion data generated by an inertial measurement unit in communication with the vSLAM unit. Optionally, a second image is generated from the first image by scaling the first image from the first pixel resolution to the second pixel resolution. Optionally, the first calibration data set is received by the vSLAM unit from a data scaling processor in communication with a performance monitor. Optionally, the data scaling processor generates the second calibration data set based at least in part on one or more instructions from the performance monitor. Optionally, the first calibration data set is generated based at least in part on a hardware calibration data set associated with an optical sensor in communication with a computer system.

[0007] Another general aspect includes a method for performing dynamic feature tracking. In this method, a computer system tracks one or more features in a first tracking image having a first tracking pixel resolution using at least in part a first tracking calibration dataset, and performs feature tracking using a vSLAM unit in communication with the computer system. The method also includes determining a tracking performance criterion and determining that the tracking performance criterion is outside a predetermined tracking threshold. The computer system also generates a second tracking image at a second tracking pixel resolution lower than the first tracking pixel resolution, and generates a second tracking calibration dataset based at least in part on the second tracking pixel resolution of the second tracking image. The method also includes performing feature tracking using the vSLAM unit, the second tracking image, and the second tracking calibration dataset.

[0008] Implementations of the above method may include one or more of the following features. Optionally, the first tracking pixel resolution is the second pixel resolution, determined by an initializer in communication with the vSLAM unit. Optionally, the first tracking pixel resolution is lower than the second pixel resolution, and the first tracking image is generated from the second image by scaling the second image from the second pixel resolution to the first tracking pixel resolution. Optionally, the second tracking calibration data set is generated from the first tracking calibration data set at least in part based on the second pixel resolution. Optionally, the performance monitor determines the tracking performance criterion at least in part by measuring one or more of a feature detection speed, a CPU utilization value, or a power consumption value.

[0009] Another general aspect includes a system for implementing dynamic visual simultaneous localization and mapping (vSLAM) in a mobile device. In this system, a memory is used to store computer executable instructions. An optical sensor is used to generate an image with an initial pixel resolution. A motion sensor is used to generate motion data. The system includes a scaler that communicates with the optical sensor and a data scaling processor that communicates with the memory. The system includes a performance monitor that communicates with the scaler and the data scaling processor. The system also includes a vSLAM unit that communicates with the performance monitor, the data scaling processor, the scaler, the optical sensor, and the motion sensor. The system also includes one or more processors that communicate with the memory, and the one or more processors are used to execute computer executable instructions to implement one or more of the above methods. For example, the system can implement a method to perform dynamic initialization of the vSLAM unit when the vSLAM unit is not initialized, and when the vSLAM unit is initialized, the vSLAM unit performs dynamic feature tracking on one or more features in the image generated by the optical sensor.

[0010] Another general aspect includes a method for dynamic initialization and feature tracking using a vSLAM unit. In this method, a computer system receives an original image and an initial calibration data set at an initial pixel resolution. The computer system reduces the original image to provide a first reduced image at a first reduced pixel resolution lower than the initial pixel resolution, and generates a first calibration data set from the initial calibration data set at least in part based on the first reduced pixel resolution. The computer system also initializes a visual simultaneous localization and mapping (vSLAM) system using the first reduced image and the first calibration data set. The computer system also generates a first initialization quality value and can determine that the first initialization quality value is outside a predetermined initialization threshold. If the first initialization quality value is outside the predetermined initialization threshold, the computer system generates a second reduced image at a second pixel resolution, the second pixel resolution is higher than the first reduced pixel resolution and lower than the initial pixel resolution, and generates a second calibration data set. Subsequently, the computer system initializes the vSLAM system using the second reduced image and the second calibration data set. Similar to the previous initialization, the computer system determines a second initialization quality value and can determine that the second initialization quality value is within the predetermined initialization threshold. If the second initialization quality value is within the predetermined initialization threshold, the computer system receives a third image and tracks one or more features in the third image. The computer system determines a tracking performance criterion and may determine that the tracking performance criterion is outside a predetermined tracking threshold. If the tracking performance criterion is outside the predetermined tracking threshold, the computer system reduces the third image to provide a third reduced image at a third pixel resolution lower than the second pixel resolution, and tracks one or more features in the third reduced image.

[0011] Implementations of the above method may include one or more of the following features: Optionally, the third image is received at a second pixel resolution.

[0012] Many benefits are achieved by the present invention relative to conventional techniques. For example, embodiments of the present invention provide methods and systems for improving the speed, computational performance, and power consumption characteristics of vSLAM initialization routines and feature detection routines. These and other embodiments of the present invention and their many advantages and features will be described in more detail in conjunction with the following text and accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 An example of a computer system including an inertial measurement unit (IMU) and an RGB optical sensor for feature detection and tracking applications according to an embodiment of the present invention is shown.

[0014] Figure 2 is a simplified schematic diagram illustrating a system for initializing a vSLAM unit according to an embodiment of the present invention.

[0015] Figure 3is a simplified schematic diagram illustrating a system for performing feature tracking according to an embodiment of the present invention.

[0016] Figure 4 is a simplified schematic diagram illustrating a system for performing dynamic initialization and feature tracking using a vSLAM unit according to an embodiment of the present invention.

[0017] Figure 5 is a simplified flow chart illustrating a method of initializing a vSLAM unit according to an embodiment of the present invention.

[0018] Figure 6 is a simplified flow chart illustrating a method of performing feature tracking according to an embodiment of the present invention.

[0019] Figure 7 is a simplified flow chart illustrating a method of performing initialization and feature tracking according to an embodiment of the present invention.

[0020] Figure 8 An example computer system according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0021] In the following description according to embodiments of the present invention, various embodiments will be described. For the purpose of explanation, specific configurations and details are set forth in order to provide a thorough understanding of the embodiments. However, it will also be apparent to those skilled in the art that the embodiments may also be implemented without the specific details. In addition, well-known features may be omitted or simplified in order not to obscure the described embodiments.

[0022] Embodiments of the present disclosure are particularly directed to techniques for initializing and operating a visual simultaneous localization and mapping (vSLAM) unit in a mobile device. The mobile device may include a scaler and a data scaling processor, whereby the image and calibration data received by the feature tracking unit and the initializer are scaled at least in part using the vSLAM unit operating conditions.

[0023] In some embodiments, the vSLAM unit communicates with a scaler, a data scaling processor, and a performance monitor. An image including a real-world object captured by an RGB optical sensor (e.g., a camera) can be reduced by the scaler at least in part based on one or more instructions from a performance monitor. In addition, the data scaling processor can receive a separate instruction from the performance monitor to update the calibration data associated with the RGB optical sensor for use by the vSLAM unit. In this way, the vSLAM unit can use the adjusted input data to implement an initialization routine and / or a feature detection and tracking routine to optimize vSLAM performance.

[0024] In an illustrative example, a smartphone application (also referred to as a smartphone app) may include an AR function for superimposing animated elements on objects in the real world. For example, the animated elements may be logos, floral patterns, cartoon animals, and the like. For example, a smartphone application may detect and track specific objects so that specific animated elements appear on the phone screen only when the specific objects appear in the camera's field of view. The smartphone application may rely on information about the surfaces of objects in the environment surrounding the phone to properly place the animated elements in the display domain at the appropriate size, perspective, and position so that it appears to be interacting with real-world objects. In some cases, this information includes images captured by the camera in the phone and information about the movement of the phone in the environment. In some cases, these two types of information are processed together in a vSLAM unit that is part of the phone to allow the smartphone application to identify the boundaries and surfaces of objects in the world around the phone.

[0025] The vSLAM unit can complete an initialization routine before detecting and tracking object features. Initialization is important because it defines the two-dimensional coordinate system that the smartphone application uses to place animations and generates an initial map of real objects in the phone's field of view. The initialization results are used in feature detection and tracking routines while the vSLAM unit continues to update the mapping of real objects and updates the placement and rendering of virtual objects. In the above example, the smartphone application can initialize the vSLAM unit and continue to detect and track real objects in the environment around the phone so that it can map the two-dimensional animated decorations on the objects in real time.

[0026] In this example, the vSLAM unit may be accompanied by additional units that optimize initialization, detection, and tracking operations. For example, a scaler can modify the resolution of the image used by the vSLAM unit for initialization and / or detection and tracking. For example, the scaler can reduce the resolution of the image generated by the camera, so that the vSLAM unit requires fewer system resources. The scaler can also reduce the resolution of the image generated by the camera for the detection and tracking routine, which can utilize the image with reduced resolution. In another example, the scaler can be controlled by a performance monitor that detects whether the vSLAM unit is initialized. If it is initialized, the performance monitor can instruct the scaler to switch from the initialization zoom to a relatively low detection and tracking zoom for the image received by the vSLAM unit. In order to optimize the performance of the smartphone when using the application, the zoom used for detection and tracking can change with the movement of the phone or the changes in the environment around the phone. In this example, the performance monitor can repeatedly check the detection and tracking quality in the vSLAM unit and adjust the zoom adjustment accordingly. The performance monitor can also adjust the data used by the vSLAM unit to process the image generated by the camera. This data can be called calibration data, which describes the hardware used by the smartphone to collect image and motion data. For example, a vSLAM unit can use calibration data to account for the different positions of different components in a smartphone that generate different types of data used by the vSLAM unit.

[0027] In general, vSLAM allows AR systems and other types of systems that use computer vision (CV) to detect features and objects in the real world to detect and track objects as the system moves relative to the object. Because computing resources on mobile devices are typically limited, the vSLAM process can be optimized for system constraints such as power consumption and CPU usage. In addition, when computing resources are sufficient, optimized initialization quality results in better motion tracking accuracy, while the system optimizes the performance of the vSLAM unit during detection and tracking. Embodiments of the present invention reduce the delay in defining surfaces during the vSLAM process, thereby improving system performance.

[0028] Figure 1An example of a computer system 110 including an inertial measurement unit (IMU) 112 and an RGB optical sensor 114 for feature detection and tracking applications according to an embodiment of the present invention is shown. Feature detection and tracking can be implemented by a vSLAM unit 116 of the computer system 110. Typically, the RGB optical sensor 114 generates an RGB image of a real-world environment including, for example, real-world objects 130. In some embodiments, the IMU 112 generates motion data related to the motion of the computer system 110 in a three-dimensional environment, wherein the data includes, for example, rotation and translation of the IMU 112 relative to six degrees of freedom (e.g., translation and rotation according to three Cartesian axes). After initialization of an AR session (wherein the initialization may include calibration and tracking), the vSLAM unit 116 renders an optimized output pose 120 of the real-world environment in the AR session, wherein the optimized output pose 120 describes a pose of the RGB optical sensor 114 at least partially relative to a feature map 124 detected in the real-world objects 130. The optimized output pose 120 describes a coordinate system and graph for placing a two-dimensional AR object on a real-world object representation 122 of a real-world object 130 .

[0029] In the example, the computer system 110 represents a suitable user device, which includes one or more graphics processing units (GPUs), one or more general purpose processors (GPPs), and one or more memories storing computer-readable instructions that can be executed by at least one processor to perform various functions of the embodiments of the present invention, in addition to the IMU 112 and the RGB optical sensor 114. For example, the computer system 110 can be any one of a smartphone, a tablet computer, an AR headset, or a wearable AR device, etc.

[0030] The IMU 112 may have a known sampling rate (e.g., the temporal frequency at which data points are generated), and this value may be stored locally and / or accessible by the vSLAM unit 116. The RGB optical sensor 114 may be a color camera. The RGB optical sensor 114 and the IMU 112 may have different sampling rates. Typically, the sampling rate of the RGB optical sensor 114 is lower than the sampling rate of the IMU 112. For example, the sampling rate of the RGB optical sensor 114 may be 30 Hz, while the sampling rate of the IMU 112 may be 100 Hz.

[0031] In addition, the IMU 112 and the RGB optical sensor 114 installed in the computer system 110 can be separated by a transformation (e.g., distance offset, field of view angle difference, etc.). The transformation can be known and its value can be stored locally and / or accessible by the vSLAM unit 116. During the movement of the computer system 110, the RGB optical sensor 114 and the IMU 112 may experience different motions relative to the centroid, center of mass, or another rotation point of the computer system 110. In some cases, the transformation may cause errors or mismatches in the vSLAM optimized output posture. To this end, the computer system may include calibration data. In some cases, the calibration data can be set based solely on the transformation. As shown in FIG. Figures 2 to 4 As described, the calibration data may include data at least partially associated with the resolution of the RGB optical sensor 114, such that variations in the scaling of an image generated by the RGB optical sensor 114 may be compensated for by corresponding adjustments in the calibration data.

[0032] The vSLAM unit 116 may be implemented as dedicated hardware and / or a combination of hardware and software (e.g., a general purpose processor and computer readable instructions stored in a memory and executable by the general purpose processor). Figures 2 to 4 As described, in addition to initializing an AR session and performing feature detection and tracking as part of the vSLAM process, the computer system 110 can also dynamically manage the computational requirements and power consumption of the vSLAM unit 116 by implementing a performance monitor that communicates with the scaler and data scaling processor.

[0033] exist Figure 1 In an illustrative example of , a smartphone is used to display an AR session of a real-world environment. In particular, the AR session includes rendering an AR scene that includes a representation of a real-world table on which a vase 132 (or some other real-world object) is placed. Virtual objects 126 will be displayed in the AR scene. In particular, the virtual objects will be displayed on the table. As part of detecting how the smartphone is oriented relative to the table and the vase in the real-world environment, the smartphone can initialize a vSLAM unit using images from an RBG optical sensor 114 or other camera. The vSLAM unit will define a reference coordinate system relative to which the vSLAM unit will detect features in the table and the vase. After initialization, the vSLAM unit will detect and track features as part of the overall AR system. When detecting and tracking features, the smartphone can monitor the power consumption, computational requirements, and performance of the vSLAM unit, and can adjust the pixel resolution of the image and the calibration data used by the vSLAM unit to actively manage power consumption and computational requirements.

[0034] Figure 22 is a simplified schematic diagram showing a system 200 for initializing a vSLAM unit according to an embodiment of the present invention. Figure 1 As described above, the vSLAM unit 116 may be implemented as a computer system (eg, Figure 1 The vSLAM unit 116 may receive the image set 210 and the motion data 280. For example, the vSLAM unit 116 may receive the image set 210 and the motion data 280 from the IMU (e.g., Figure 1 The IMU 112 of the image sensor 210 receives the motion data 280. For example, the sampling rate can be any frequency greater than 0 Hz, including but not limited to 50 Hz, 60 Hz, 70 Hz, 80 Hz, 90 Hz, 100 Hz, etc. The image set 210 can be generated by an optical sensor (e.g., an RGB optical sensor 114) at an initial pixel resolution, and the above optical sensor includes but is not limited to a camera. The initial pixel resolution can be a characteristic of the optical sensor and can range from thousands to millions or more pixel resolutions, including but not limited to 1 MP, 2 MP, 10 MP, 20 MP, etc. The optical sensor can generate the image set 210 at a refresh rate greater than 0 Hz, including but not limited to 10 Hz, 24 Hz, 30 Hz, 48 Hz, 60 Hz, etc.

[0035] The vSLAM unit 116 may include an initializer unit 254 that performs operations consistent with initializing the vSLAM unit 116, including but not limited to the operations described in reference to Figure 1 As described, a coordinate map and an initial output posture of the optical sensor are generated. The scaler 220 can reduce the images in the image set 210 from the initial pixel resolution to a first pixel resolution lower than the initial pixel resolution to facilitate the initialization of the vSLAM unit 116. The first pixel resolution can be a static value associated at least in part with the hardware configuration of the vSLAM unit 116, or can be based at least in part on one or more characteristic changes of the motion data 280 and the image set 210. For example, an image may contain relatively few features and may allow initialization at a relatively low first pixel resolution. Although the scaler 220 is discussed with respect to the reduction of the image in some embodiments, this is not required by the present invention, and the scaler can pass the image to the vSLAM unit 116 without reducing or enlarging it, but maintaining the original resolution.

[0036] A performance monitor 270 in communication with the vSLAM unit 116 can be used to monitor the performance of the vSLAM unit 116 and provide data to one or more system elements described herein. The performance monitor can generate a set of performance metrics, including initialization speed, feature tracking speed, CPU resource usage, initialization accuracy, etc. In some embodiments, the initialization accuracy is represented by a measurement cost, which is at least partially based on an error value calculated between the visual information generated during the initialization process and the IMU information, so that the initialization accuracy at least partially describes the degree of match between the visual data and the motion data 280 received by the vSLAM unit 116. In response to these performance metrics, the image resolution can be increased or decreased as described herein. In addition, because new calibration data associated with the image with reduced resolution can be utilized for the reduced resolution, the performance metrics can be used to provide a request for calibration data.

[0037] The performance monitor 270 may also determine an initialization quality value or metric to describe the initialization accuracy. The initialization quality value may be any indicator, score, value, or grade. For example, the initialization quality value may be expressed as a score of 100 points, a value between 0 and 1, a value between 0 and 2, etc. Other examples are possible. In one example, the initialization quality value is expressed as a number centered on 1, where a number greater than or less than 1 given margin equivalently indicates a reduced initialization quality. In this example, a threshold value will be determined relative to 1, for example, an initialization quality value outside the range of 0.95 to 1.05 or 0.9 to 1.1. Those of ordinary skill in the art will recognize many variations, modifications, and substitutions. As at least part of determining the initialization quality, the performance monitor 270 may compare the initialization quality value with a threshold value. The threshold value may be a static margin (e.g., 95% of the maximum initialization quality value), or may be dynamically determined based on one or more performance characteristics of the vSLAM unit 116.

[0038] In some vSLAM systems, the image provided to the vSLAM unit 116 is scaled down to a resolution that is lower than the original resolution of the image. In some embodiments, the image is provided to the vSLAM unit 116 at the original resolution, is scaled down before being transmitted to the vSLAM unit, or is scaled up before being transmitted to the vSLAM unit. In one example, the performance monitor 270 may determine that the initialization quality is low. In response, the scaler 220 may receive an instruction from the performance monitor to begin scaling the image set 210 to a second pixel resolution that is higher than the first pixel resolution. In some cases, the first pixel resolution may be too low for the initializer 254 to successfully initialize the vSLAM unit 116, but the second pixel resolution may be sufficient for the vSLAM unit 116 to successfully initialize. The performance monitor may continue to determine additional initialization quality values ​​and iteratively adjust the scaler 220 until the initialization quality value meets a threshold. The performance monitor may also determine a target pixel resolution based at least in part on information generated by the vSLAM unit 116, including but not limited to motion data, detection quality, etc. As described in reference Figure 3 As described, the system 200 may switch from the initialization process performed by the initializer 254 to feature detection and tracking in response to the initialization quality value satisfying a threshold.

[0039] System 200 may include a data scaling processor 240 that receives input from a performance monitor 270 during initialization based at least in part on an initialization quality value. Figure 1 As described, compared with the optical sensor, the vSLAM unit 116 can be located at a different position or direction relative to the centroid of the computer system. This may require a set of calibration data 230 to allow the vSLAM unit 116 to compensate for the difference. In other embodiments, the calibration data includes intrinsic and extrinsic calibration data of the optical system. The calibration data can be used by the data scaling processor to adjust the calibration data based on the image resolution currently used by the vSLAM unit 116 (i.e., the current scaling of the image data implemented by the scaler 220), thereby providing updated calibration data that can be loaded into the vSLAM unit 116. In some cases, the calibration data 230 can be predetermined based on the hardware configuration of the computer system. The performance monitor 270 can coordinate the operation of the scaler 220 with the operation of the data scaling processor 240 to adjust the calibration data 230 at least in part according to the enlargement or reduction performed by the scaler 220. As an example, if an initialization quality metric is outside a predetermined threshold as detected by a performance monitor, the data scaling processor and scaler may be used to increase the resolution of the image provided to the vSLAM unit to improve the initialization process, e.g., without modifying the resolution of other parts of the system (including feature detection, feature tracking, bundle adjustment, etc.).

[0040] Figure 3 is a simplified schematic diagram showing a system 300 for performing feature tracking according to an embodiment of the present invention. Figure 1 and Figure 2 As described, the system 300 may include a vSLAM unit 116, a scaler 220, a data scaling processor 240, and a performance monitor 270. To perform feature detection and tracking, the vSLAM unit 116 may receive an image set 210 that has been scaled down by the scaler 220 to a size smaller than that of an optical sensor (e.g., Figure 1 The pixel resolution of the reduced image received by the vSLAM unit 116 may be lower than the pixel resolution of the initial or raw pixel resolution generated by the RGB optical sensor 114. The reduced image received by the vSLAM unit 116 may be used for feature detection and tracking by the feature tracking unit 356. The pixel resolution of the reduced image may be lower than the pixel resolution of the image received during the initialization process (e.g. Figure 2 The pixel resolution used by the initializer 254 is shown in FIG. Figure 1 As described above, the feature tracking unit 356 may detect features in the image with reference to the coordinate system and map generated during initialization of the vSLAM unit 116 .

[0041] The performance monitor 270 may determine a performance metric associated at least in part with one or more parameters associated with the operation of the feature tracking unit 356. For example, the performance monitor 270 may determine a processing speed of the feature tracking unit 356, a processor (e.g., CPU) utilization associated with the vSLAM unit 116, a power (e.g., battery) consumption rate of the vSLAM unit, or an initialization accuracy.

[0042] The processing rate (also referred to as speed) of the feature tracking unit 356 can be the time period of each feature tracking cycle. Similarly, the processing speed can be expressed as the number of cycles per unit time. The processing rate can be compared to a threshold, and in response to the processing rate not meeting the threshold, the performance monitor 270 can adjust the operation of the scaler unit 220 to reduce the image set 210 and reduce the pixel resolution of the image received by the vSLAM unit 116. As described with respect to Figure 2 As discussed, in coordination with adjusting the scaler unit 220, the performance monitor 270 can adjust the operation of the data scaling processor 240 to achieve corresponding adjustments in the calibration data 230. The performance monitor 270 can adjust the scaler unit 220 and the data scaling processor 240 in response to any parameter failing to meet a threshold. The performance monitor 270 can also determine a single performance standard value and make adjustments based on a comparison of that value with a threshold. In some cases, such as in the case of an initialization failure and before the vSLAM unit 116 completes reinitialization, as a way to improve feature detection, the performance monitor 270 can adjust the scaler unit 220 and the data scaling processor 240 to reduce the amount of reduction of the images in the image set 210.

[0043] During operation, if the performance monitor 270 determines that the feature tracking performance is outside the desired performance region, the image provided to the vSLAM unit can be scaled down to improve the feature tracking performance, as described herein. In some embodiments, once the performance is within the desired performance region, the image provided to the vSLAM unit can be scaled up to a resolution closer to or equal to the native resolution of the camera system. Those of ordinary skill in the art will recognize many variations, modifications, and alternatives.

[0044] The vSLAM unit 116 may include a bundle adjustment (BA) unit 358. The BA unit 358 may receive data from an IMU (e.g. Figure 1 The BA unit 358 can optimize the output pose 360 ​​generated by the vSLAM unit 116 to minimize a cost function that quantifies the error in fitting the model to parameters including, but not limited to, the camera pose and features detected in the three-dimensional environment and provided to the BA unit 358 by the feature tracking unit 356 (e.g., Figure 1 The coordinates in the coordinate map associated with the feature 124).

[0045] In the system 300, binding adjustment operations in the BA unit 358 may be independent of the operation of the scaler 220. For example, adjustments to the pixel resolution of images in the image set 210 received by the vSLAM unit 116 after downscaling by the scaler 220 may be applied differently to the operation of the BA unit 358. In this way, the performance of the vSLAM unit 116 relative to the feature tracking unit 356 may be managed by the performance monitor 270 without affecting the output poses 360 generated by the vSLAM unit 116.

[0046] Figure 4 4 is a simplified schematic diagram showing a system 400 for performing dynamic initialization and feature tracking using a vSLAM unit according to an embodiment of the present invention. The vSLAM unit 116 may be configured in a computer system (e.g., Figure 1The computer system 110 of the present invention can be moved from one environment to another environment with different conditions and can continue to operate during a period of time. For example, when an AR application is running, a mobile phone running an AR application can be brought from an internal environment to an external environment. In an embodiment of the system 400, the vSLAM unit 116 may include logic implemented as software or hardware to determine the initialization state 452. The initialization state 452 may fail when the initial output posture, initial detection features, or coordinate system no longer describes the environment of the computer system with sufficient accuracy, or when the error function describing the accuracy does not pass the threshold test. The vSLAM unit 116 can switch from the feature tracking mode 474 to the initialization mode 472, whereby the performance monitor 270 adjusts the scaler 220 to reduce the images in the image set 210 received by the vSLAM unit 116 to the pixel resolution used by the initializer unit 254, rather than using the pixel resolution used by the feature tracking unit 356. Similarly, the performance monitor 270 adjusts the operation of the data scaling processor 240 in the initialization mode 472 to provide updated and / or adjusted calibration data 230 to the vSLAM unit 116 for use by the initializer 254. The initialization mode 472 may include reference Figure 2 Dynamic adjustment of description.

[0047] After initializing or reinitializing the vSLAM unit 116, when the initialization state 452 indicates that the vSLAM system is initialized, the system 400 can switch from the initialization mode 472 to the feature tracking mode 474, applying the updated coordinate map and the initial output pose generated by the initializer 254. The operation of the system 400 in the feature tracking mode 474 can be as described with reference to Figure 3 As described above, the operation of the scaler 220 and the data scaling processor 240 is dynamically adjusted continuously or periodically to optimize the performance of the vSLAM unit 116. Figure 3 As described, the operation of system 400 can be isolated to a single mode at a time. For example, when system 400 is in initialization mode 472, the performance monitor can adjust the scaler 220 and the data scaling processor only for images in image set 210 that are used for initialization rather than for feature tracking. In this way, when system 400 switches from initialization mode 472 to feature tracking mode 474, scaler 220 and data scaling processor can apply scaling adjustments to perform feature tracking rather than starting feature tracking with initialization parameters. System 400 can store scaler 220 and data scaling processor 240 parameters and / or can apply default parameters each time system 400 switches modes. System 400 can also apply other methods to optimize mode switching.

[0048] Figures 5 to 7It is a simplified flow chart showing a method for performing dynamic operations of a vSLAM unit according to at least one aspect of the present disclosure. The process is described in conjunction with a computer system as an example of the computer system described above. Some or all operations of the process can be implemented via specific hardware on the computer system and / or can be implemented as computer-readable instructions stored on a non-temporary computer-readable medium of the computer system. As stored, the computer-readable instructions represent a programmable module including a code that can be executed by a processor of the computer system. The execution of such instructions configures the computer system to perform the corresponding operation. Each programmable module combined with the processor represents a device for performing the corresponding operation. Although the operations are described in a specific order, it should be understood that the specific order is not necessary and one or more operations can be omitted, skipped, and / or reordered. The methods described in separate processes can be combined in a single method.

[0049] Figure 5 5 is a simplified flow chart showing a method of initializing a vSLAM unit according to an embodiment of the present invention. The method includes initializing a visual simultaneous localization and mapping (vSLAM) unit in communication with a computer system using a first image and a first calibration data set, wherein the first image has a first pixel resolution (502). As shown in reference Figure 2 As described, the vSLAM unit can be initialized before feature detection and tracking to determine parameters for mapping features in a three-dimensional environment to a two-dimensional coordinate system. Optionally, the method may include receiving an original image at an initial pixel resolution, receiving an initial calibration data set, generating a first image from the original image, and generating a first calibration data set from the initial calibration data set based at least in part on the first pixel resolution. As shown in reference Figure 1 As described, the computer system may include an RGB optical sensor, which includes but is not limited to a camera and can generate a raw image at an initial or original pixel resolution. Figures 2 to 4 When operating the system, the image can be dynamically adjusted during initialization and / or feature detection and tracking operations to optimize the vSLAM unit (e.g. Figures 1 to 4 Optionally, generating the first image may include receiving a downscaling factor from the performance monitor at a scaler unit in communication with the performance monitor and the camera, and downscaling the original image from an initial pixel resolution to a first pixel resolution based at least in part on the downscaling factor, wherein the first pixel resolution is lower than the initial pixel resolution.

[0050] Alternatively, the computer system may receive the raw image from a camera in communication with the computer system. Figure 2As described above, the vSLAM unit may utilize a reduced pixel resolution for initialization and / or feature tracking operations in order to conserve system resources. For example, the computer system may be a mobile device, including but not limited to a smartphone or a tablet. For example, a smartphone may use images captured at a native resolution of up to 20MP, and a pixel resolution of 20MP may cause the vSLAM unit to operate beyond the expected performance target. As shown in reference Figures 2 to 4 The computer system may implement a scaler to generate a reduced or enlarged image to enable the vSLAM unit to operate effectively. Optionally, the first calibration data set may be received by the vSLAM unit from a data scaling processor in communication with the performance monitor. Optionally, the first calibration data set may be generated based at least in part on a hardware calibration data set associated with a camera in communication with the computer system.

[0051] The method also includes determining an initialization quality value (504). In some cases, the computer system can determine the initialization quality value as a way to increase initialization accuracy and improve vSLAM operation. Optionally, the computer system can determine the initialization quality value at least in part by measuring the initialization accuracy using a performance monitor in communication with the computer system. Figures 2 to 4 As described in more detail, the initialization quality value may be determined according to a cost function based at least in part on a measure of error between the motion data and the image data.

[0052] The method also includes determining that the initialization quality value is outside a predetermined threshold (506). Figure 2 As described, the computer system may compare the initialization quality value to a threshold. For example, the threshold may indicate that the initialization quality is unsatisfactory. The system may repeat the initialization, adjusting the image resolution upward until the accuracy is within a predetermined threshold.

[0053] The method also includes generating a second image at a second pixel resolution higher than the first pixel resolution (508). Optionally, the second image can be generated from the first image. Figures 2 to 4 In more detail, the vSLAM unit may receive an image from an image set, which is used for initialization. In some cases, the image may be reduced for a first initialization process, which may produce unsatisfactory results, so the image is enlarged to a higher second pixel resolution for a second initialization process.

[0054] The method also includes generating a second calibration data set based at least in part on a second pixel resolution associated with the second image (510). Optionally, the data scaling processor may generate the second calibration data set based at least in part on one or more instructions from the performance monitor. Figures 2 to 4As described in more detail, the performance monitor may adjust the calibration data based at least in part on a pixel resolution of an image generated by the scaler.

[0055] The method also includes reinitializing the vSLAM unit (512) using the second image and the second calibration data set. In the initialization mode, as shown in FIG. Figure 4 The vSLAM unit of the computer system can continue to operate, determine whether the system is initialized, and continue the initialization operation until the initialization quality meets the minimum accuracy level. For example, if the initialization operation using one image is not satisfactory, the vSLAM system can repeat the operation for a new image.

[0056] It should be understood that Figure 5 The specific steps shown provide a specific method for initializing a vSLAM unit according to an embodiment of the present invention. According to alternative embodiments, other step sequences may also be performed. For example, alternative embodiments of the present invention may perform the above steps in a different order. In addition, Figure 5 The various steps shown may include multiple sub-steps, which may be performed in various orders according to the various steps. In addition, additional steps may be added or deleted according to specific applications. Those of ordinary skill in the art will recognize many variations, modifications, and substitutions.

[0057] Figure 6 is a simplified flow chart illustrating a method for performing feature tracking according to an embodiment of the present invention. The method includes performing feature tracking using a visual simultaneous localization and mapping (vSLAM) unit in communication with a computer system at least in part by detecting one or more features in a first image based at least in part on a first calibration data set, wherein the first image has a first pixel resolution (602). As shown in reference Figure 3 As described, the computer system can detect features and track these features over time and motion, and optimize the output pose of the RGB optical sensor at least in part using the tracked features, so that the computer system can be used as an AR system. Optionally, as described in reference Figure 5 In more detail, the first pixel resolution can be determined by an initializer in communication with the vSLAM unit. Optionally, the method includes receiving a raw image at an initial pixel resolution, receiving an initial calibration data set, generating a first image from the raw image, and generating a first calibration data set from the initial calibration data set based at least in part on the first pixel resolution. Optionally, as described in reference Figure 2 In more detail, the scaler unit may receive a raw image at an initial pixel resolution from a camera in communication with the computer system. Optionally, a first calibration data set may be generated by a data scaling processor in communication with the computer system, wherein the first calibration data set is associated with one or more characteristics of the camera.

[0058] The method also includes determining tracking performance criteria (604). Figure 3 As described above, the computer system can continue to operate while repeatedly performing multiple iterations of feature tracking, dynamically modifying the pixel resolution and calibration data used by the vSLAM unit to optimize the performance determined by the performance monitor. To this end, the computer system can determine performance characteristics, such as reference Figure 3 to determine how to dynamically optimize the vSLAM unit (e.g. Figures 1 to 4 Optionally, the performance monitor determines the performance criterion at least in part by measuring one or more of a feature detection speed, a CPU utilization value, or a power consumption value.

[0059] The method also includes determining that the tracking performance criterion is outside a predetermined threshold (606). Figure 3 to Figure 4 In more detail, a tracking performance criterion may be monitored for each feature tracking process (602) to measure whether the vSLAM unit is operating within predetermined parameters. For example, the tracking performance criterion may indicate that the speed of feature tracking is too slow compared to a predetermined threshold.

[0060] The method also includes generating a second image at a second pixel resolution lower than the first pixel resolution (608). Figure 3 As described, in response to the performance criteria failing to meet the threshold, the second image can be scaled down differently than the first image. Optionally, the second image is generated from the first image. In this way, the second image can be provided by scaling up the first image from the first pixel resolution to the second pixel resolution, as opposed to scaling down the corresponding original image from the initial pixel resolution to the second pixel resolution.

[0061] The method further includes generating a second calibration data set based at least in part on a second pixel resolution of the second image (610). Optionally, the data scaling processor generates the second calibration data set based at least in part on one or more instructions from the performance monitor. Figures 3 to 5 In more detail, the vSLAM unit can receive calibration data from a calibration data processor, which can receive instructions from a performance monitor. As part of the operation of the dynamic vSLAM unit, the calibration data can be adjusted based at least in part on the pixel resolution used by the vSLAM unit for feature tracking. Optionally, a second calibration data set is generated from the first calibration data set.

[0062] The method also includes performing feature tracking (612) using the vSLAM unit, the second image, and the second calibration data set. Figure 3 to Figure 4 In more detail, the vSLAM unit can continuously perform feature tracking on a set of images received from a sensor (such as a camera or other sensor), dynamically adjusting the pixel resolution used by the vSLAM system.

[0063] It should be understood that Figure 6 The specific steps shown provide a specific method for tracking one or more features in an image according to an embodiment of the present invention. According to alternative embodiments, other sequences of steps may also be performed. For example, alternative embodiments of the present invention may perform the above steps in a different order. In addition, Figure 6 The various steps shown may include multiple sub-steps, which may be performed in various orders according to the various steps. In addition, additional steps may be added or deleted according to specific applications. Those of ordinary skill in the art will recognize many variations, modifications, and substitutions.

[0064] Figure 7 is a simplified flow chart illustrating a method for performing initialization and feature tracking according to an embodiment of the present invention. The method includes receiving a raw image at an initial pixel resolution (702).

[0065] The method also includes receiving an initial calibration data set (704).

[0066] The method also includes downscaling the original image to provide a first downscaled image at a first downscaled pixel resolution that is lower than the initial pixel resolution (706).

[0067] The method also includes generating a first calibration data set from the initial calibration data set based at least in part on a first reduced pixel resolution associated with the first image (708).

[0068] The method also includes initializing the vSLAM system using the first reduced pixel resolution and the first calibration data set (710).

[0069] The method also includes generating a first initialization quality value (712).

[0070] The method also includes determining that the first initialization quality value is outside a predetermined threshold (714).

[0071] The method also includes generating a second image at a second pixel resolution that is higher than the first pixel resolution and lower than the initial pixel resolution (716).

[0072] The method also includes generating a second calibration data set based at least in part on a second pixel resolution of the second image (718).

[0073] The method also includes reinitializing the vSLAM unit using the second downscaled image and the second calibration data set (720).

[0074] The method also includes determining a second initialization quality value (722).

[0075] The method also includes determining that the second initialization quality value is within a predetermined threshold (724).

[0076] The method also includes receiving a third image (726). Optionally, the third image is received at a second pixel resolution. Figure 6 As described in more detail, the pixel resolution used for initialization can be used as a first pixel resolution to perform feature tracking operations, and a performance monitor communicating with a scaler and a data scaling processor can dynamically adjust the pixel resolution of images in an image set according to the pixel resolution to optimize VSLAM unit performance.

[0077] The method also includes tracking one or more features in the third image (728).

[0078] The method also includes determining tracking performance criteria (732).

[0079] The method also includes determining that the tracking performance criterion is outside a predetermined threshold (734).

[0080] The method also includes downscaling the third image to provide a third downscaled image at a third pixel resolution that is lower than the second pixel resolution (736).

[0081] The method also includes tracking one or more features in the third reduced image (738).

[0082] It should be understood that Figure 7 The specific steps shown provide a specific method for initializing a vSLAM unit and tracking one or more features in an image according to an embodiment of the present invention. According to alternative embodiments, other sequences of steps may also be performed. For example, alternative embodiments of the present invention may perform the above steps in a different order. In addition, Figure 7 The various steps shown may include multiple sub-steps, which may be performed in various orders according to the various steps. In addition, additional steps may be added or deleted according to specific applications. Those of ordinary skill in the art will recognize many variations, modifications, and substitutions.

[0083] Figure 8 An example computer system according to an embodiment of the present invention is shown. Computer system 800 is an example of the computer system described above. Although these components are shown as belonging to the same computer system 800, computer system 800 may also be distributed.

[0084] The computer system 800 includes at least a processor 802, a memory 804, a storage device 806, an input / output peripheral (I / O) 808, a communication peripheral 810, and an interface bus 812. The interface bus 812 can be used to communicate, send, and transfer data, control, and commands between the various components of the computer system 800. The memory 804 and the storage device 806 include computer-readable storage media, such as RAM, ROM, electrically erasable programmable read-only memory (EEPROM), hard drives, CD-ROMs, optical storage devices, magnetic storage devices, electronic non-volatile computer storage, such as Memory, and other tangible storage media. Any such computer-readable storage media can be used to store instructions or program codes that implement various aspects of the present disclosure. Memory 804 and storage device 806 also include computer-readable signal media. Computer-readable signal media include propagated data signals containing computer-readable program code. Such propagated signals take any of a variety of forms, including but not limited to electromagnetic, optical, or any combination thereof. Computer-readable signal media include any computer-readable media that is not a computer-readable storage medium and can communicate, propagate, or transmit a program for use in conjunction with computer system 800.

[0085] In addition, the memory 804 may include an operating system, a program, and an application. The processor 802 is used to execute stored instructions and includes, for example, a logic processing unit, a microprocessor, a digital signal processor, and other processors. The memory 804 and / or the processor 802 may be virtualized and may be hosted in another computer system such as a cloud network or a data center. The I / O peripherals 808 include a user interface, such as a keyboard, a screen (e.g., a touch screen), a microphone, a speaker, other input / output devices, and a computing component such as a graphics processing unit, a serial port, a parallel port, a universal serial bus, and other input / output peripherals. The I / O peripherals 808 are connected to the processor 802 by any port coupled to the interface bus 812. The communication peripherals 810 are used to facilitate communication between the computer system 800 and other computing devices through a communication network, and include, for example, a network interface controller, a modem, a wireless and wired interface card, an antenna, and other communication peripherals.

[0086] Although the subject matter has been described in detail with respect to its specific embodiments, it should be understood that those skilled in the art, after obtaining an understanding of the foregoing, can easily generate changes, variations, and equivalents to these embodiments. Therefore, it should be understood that the present disclosure is presented for the purpose of illustration rather than limitation, and does not exclude the inclusion of such modifications, variations, and / or additions to the subject matter that are obvious to a person of ordinary skill in the art. In fact, the methods and systems described herein can be implemented in a variety of other forms; in addition, various omissions, substitutions, and changes can be made to the form of the methods and systems described herein without departing from the spirit of the present disclosure. The attached claims and their equivalents are intended to cover such forms or modifications that fall within the scope and spirit of the present disclosure.

[0087] Unless expressly stated otherwise, it should be understood that terms such as "process," "compute," "determine," and "identify" are used throughout the discussion of this specification to refer to the actions or processes of a computing device (e.g., one or more computers or similar electronic computing devices) that manipulates or transforms data represented as physical electronic or magnetic quantities in a memory, register, or other information storage device, transmission device, or display device of a computing platform.

[0088] The one or more systems discussed herein are not limited to any particular hardware architecture or configuration. A computing device may include any suitable arrangement of components that provide a result conditioned on one or more inputs. Suitable computing devices include multi-purpose microprocessor-based computer systems that access stored software that programs or configures the computer system from a general-purpose computing device to a dedicated computing device that implements one or more embodiments of the present subject matter. Any suitable programming, scripting, or other type of language or combination of languages ​​may be used to implement the teachings contained herein in software for programming or configuring a computing device.

[0089] Embodiments of the methods disclosed herein may be performed in the operation of such a computing device. The order of the blocks presented in the above examples may be changed—for example, the blocks may be reordered, combined, and / or decomposed into sub-blocks. Certain blocks or processes may be performed in parallel.

[0090] Conditional language used herein, such as "may," "might," "for example," and the like, unless expressly stated otherwise or otherwise understood in the context of use, is generally intended to convey that certain examples include and other examples do not include certain features, elements, and / or steps. Thus, such conditional language generally does not imply that one or more examples require the features, elements, and / or steps in any way, or that one or more examples must include logic for deciding, with or without author input or prompting, whether such features, elements, and / or steps are included or will be performed in any particular example.

[0091] The terms "including", "having", "having", etc. are synonymous and are used inclusively in an open manner and do not exclude other elements, features, actions, operations, etc. In addition, the term "or" is used in its inclusiveness (rather than exclusiveness), so that when used to connect a list of elements, for example, the term "or" represents one, some or all of the elements in the list. "Applicable to" or "for" used herein refers to open and inclusive language, and does not exclude devices that are applicable to or used to perform additional tasks or steps. In addition, the use of "based on" means openness and inclusiveness, because the process, step, calculation or other action "based on" one or more listed conditions or values ​​may actually be based on additional conditions or values ​​outside the list. Similarly, the use of "based at least in part" means openness and inclusiveness, because the process, step, calculation or other action "based at least in part on" one or more listed conditions or values ​​can be based on additional conditions or values ​​outside the list in practice. The titles, lists and numbers included herein are only for ease of explanation and are not meant to be limiting.

[0092] The various features and processes described above can be used independently of each other, or can be used in combination in various ways. All possible combinations and sub-combinations are intended to fall within the scope of the present disclosure. In addition, some method or process blocks can be omitted in some embodiments. The methods and processes described herein are also not limited to any particular order, and the blocks or states related thereto can be performed in other appropriate orders. For example, the described blocks or states can be performed in a different order than that specifically disclosed, or multiple blocks or states can be combined in a single block or state. The example blocks or states can be performed serially, in parallel, or in some other way. Blocks or states can be added to or deleted from the disclosed examples. Similarly, the example systems and components described herein can be configured to be different from those described. For example, compared to the disclosed examples, elements can be added, removed, or rearranged.

Claims

1. A method implemented by a computer system, the method comprising: initializing a visual simultaneous localization and mapping (vSLAM) unit in communication with the computer system using a first image and a first calibration data set, wherein the first image has a first pixel resolution; Determine the initialization quality value; determining that the initialization quality value is outside a predetermined initialization threshold; generating a second image at a second pixel resolution higher than the first pixel resolution; generating a second calibration data set based at least in part on the second pixel resolution associated with the second image; and The vSLAM unit is reinitialized using the second image and the second calibration data set.

2. The method according to claim 1, further comprising: receiving a raw image at an initial pixel resolution; receiving an initial calibration data set; generating the first image from the original image; as well as The first calibration data set is generated from the initial calibration data set based at least in part on the first pixel resolution.

3. The method according to claim 2, wherein: The computer system receives the raw image from an optical sensor in communication with the computer system.

4. The method according to claim 3, wherein: Generating the first image includes: receiving a downscaling factor from a performance monitor at a scaler unit in communication with the performance monitor and the optical sensor; and The original image is downscaled from the initial pixel resolution to the first pixel resolution based at least in part on the downscaling factor, wherein the first pixel resolution is lower than the initial pixel resolution.

5. The method according to claim 1, wherein: Initializing the vSLAM unit includes generating an initialization result, the initialization result including at least one of an initial output pose, a coordinate system, or an initial object map; as well as Determining an initialization quality value includes measuring initialization accuracy using a performance monitor in communication with the computer system at least in part by measuring an error between the initialization result and motion data generated by an inertial measurement unit in communication with the vSLAM unit.

6. The method according to claim 1, wherein: The second image is generated from the first image by upscaling the first image from the first pixel resolution to the second pixel resolution.

7. The method according to claim 1, wherein: The first calibration data set is received by the vSLAM unit from a data scaling processor in communication with a performance monitor.

8. The method according to claim 7, wherein: The data scaling processor generates the second calibration data set based at least in part on one or more instructions from the performance monitor.

9. The method according to claim 1, wherein: The first calibration data set is generated based at least in part on a hardware calibration data set associated with an optical sensor in communication with the computer system.

10. The method according to claim 1, further comprising: performing feature tracking using the vSLAM unit in communication with the computer system at least in part by tracking one or more features in a first tracking image having a first tracking pixel resolution using a first tracking calibration dataset; Determine tracking performance standards; determining that the tracking performance criterion is outside a predetermined tracking threshold; generating a second tracking image at a second tracking pixel resolution lower than the first tracking pixel resolution; generating a second tracking calibration dataset based at least in part on the second tracking pixel resolution of the second tracking image; as well as Feature tracking is performed using the vSLAM unit, the second tracking image, and the second tracking calibration dataset.

11. The method according to claim 10, wherein: The first tracking pixel resolution is the second pixel resolution, which is determined by an initializer in communication with the vSLAM unit.

12. The method according to claim 10, wherein: The first tracking pixel resolution is lower than the second pixel resolution; as well as The first tracking image is generated from the second image by downscaling the second image from the second pixel resolution to the first tracking pixel resolution.

13. The method according to claim 10, wherein: The second tracking calibration dataset is generated from the first tracking calibration dataset based at least in part on the second pixel resolution.

14. The method according to claim 10, wherein: The performance monitor determines the tracking performance criterion at least in part by measuring one or more of a feature detection speed, a CPU utilization value, or a power consumption value.

15. A system for implementing dynamic visual simultaneous localization and mapping (vSLAM) in a mobile device, the system comprising: A memory for storing computer executable instructions; An optical sensor for generating an image at native pixel resolution; A motion sensor for generating motion data; a scaler in communication with the optical sensor; a data scaling processor in communication with the memory; a performance monitor in communication with the scaler and the data scaling processor; a vSLAM unit in communication with the performance monitor, the data scaling processor, the scaler, the optical sensor, and the motion sensor; and one or more processors in communication with the memory, configured to execute the computer-executable instructions to at least: When the vSLAM unit is not initialized, performing dynamic initialization of the vSLAM unit; and When the vSLAM unit is initialized, the vSLAM unit performs dynamic feature tracking on one or more features in the image generated by the optical sensor.

16. The system of claim 15, wherein: Dynamic initialization includes: The scaler receives a raw image from the optical sensor at the initial pixel resolution; The data scaling processor receives an initial calibration data set from the memory; The scaler scales down the original image to provide a first scaled down image at a first scaled down pixel resolution lower than the initial pixel resolution; the data scaling processor generating a first calibration data set from the initial calibration data set based at least in part on the first reduced pixel resolution; Initialize the vSLAM unit using the first reduced image and the first calibration data set; The performance monitor generates a first initialization quality value; The performance monitor determines that the first initialization quality value is outside a predetermined initialization threshold; The scaler generates a second reduced image at a second pixel resolution, the second pixel resolution being higher than the first reduced pixel resolution and lower than the initial pixel resolution; The data scaling processor generates a second calibration data set based at least in part on the second pixel resolution of the second image; reinitialize the vSLAM unit using the second downscaled image and the second calibration data set; The performance monitor determines a second initialization quality value; and The performance monitor determines that the second initialization quality value is within the predetermined initialization threshold.

17. The system of claim 16, wherein: The scaler generates the second reduced image by upscaling the first reduced image from the first reduced pixel resolution to the second pixel resolution.

18. The system of claim 16, wherein: Dynamic feature tracking includes: The vSLAM unit receives a third image from the scaler at a third pixel resolution; The vSLAM unit receives a third calibration data set from the data scaling processor based at least in part on the third pixel resolution; The vSLAM unit tracks one or more features in the third image; The performance monitor determines tracking performance criteria; The performance monitor determines that the tracking performance criterion is outside a predetermined tracking threshold; The sealer generates a fourth image at a fourth pixel resolution lower than the third pixel resolution; The data scaling processor generates a fourth calibration data set based at least in part on the fourth pixel resolution; The vSLAM unit tracks one or more features in the fourth image; the performance monitor determining an updated tracking performance criterion based at least in part on tracking the one or more features in the fourth image; and The performance monitor determines that the updated tracking performance criterion is within the predetermined tracking threshold.

19. The system of claim 18, wherein: Dynamic feature tracking also includes the one or more processors storing the third pixel resolution in the memory, and when performing the dynamic feature tracking operation, the scaler downscaling the image received from the optical sensor from the initial pixel resolution to the third pixel resolution.

20. The system of claim 18, wherein: The third image is received from the sealer at the second pixel resolution.

21. The system of claim 18, wherein: The scaler generates the fourth image by downscaling the third image from the third pixel resolution to the fourth pixel resolution.

22. The system of claim 18, wherein: The performance monitor determines the tracking performance criterion at least in part by measuring one or more of a feature detection speed, a CPU utilization value, or a power consumption value.

23. A method implemented by a computer system, the method comprising: receiving a raw image at an initial pixel resolution; receiving an initial calibration data set; reducing the original image to provide a first reduced image at a first reduced pixel resolution lower than the initial pixel resolution; generating a first calibration data set from the initial calibration data set based at least in part on the first reduced pixel resolution; Initializing a visual simultaneous localization and mapping (vSLAM) system using the first reduced image and the first calibration data set; generating a first initialization quality value; determining that the first initialization quality value is outside a predetermined initialization threshold; generating a second reduced image at a second pixel resolution, the second pixel resolution being higher than the first reduced pixel resolution and lower than the initial pixel resolution; generating a second calibration data set based at least in part on the second pixel resolution of the second image; reinitialize the vSLAM system using the second reduced image and the second calibration data set; determining a second initialization quality value; determining that the second initialization quality value is within the predetermined initialization threshold; receiving a third image; tracking one or more features in the third image; Determine tracking performance standards; determining that the tracking performance criterion is outside a predetermined tracking threshold; reducing the third image to provide a third reduced image at a third pixel resolution lower than the second pixel resolution; as well as The one or more features in the third reduced image are tracked.

24. The method according to claim 23, wherein: The third image is received at the second pixel resolution.