Updating distance estimation of camera