Move confidence for homography into main callback