A Koopman-Based Reduced-Order State Observer for Visual Localization of Robots