Patent attributes
Embodiments described herein relate generally to determining correspondence between a template and an object in an image. A method may include: receiving an image of an environment including an image of an object within the image of the environment; resizing the first template to obtain a scaled first template having a size corresponding to a size of the image of the object; calculating a number of correspondences between the scaled first template and the image of the object; receiving a candidate homography; testing the candidate homography; and replacing the image of the object with a second template of a different object according to the candidate homography in response to the candidate homography being established as corresponding to the image of the object.