1. A computerized method for optimizing object recognition, comprising: receiving at least one image of an object and at least one reference image; identifying at least one performance metric corresponding to an object recognition task using a computing device, wherein the object recognition task comprises an object verification task, an object identification task, or a combination thereof; optimizing the identified performance metric to generate the corresponding optimized performance metric by determining an optimal subspace based on a determined objective function corresponding to the object recognition task and a difference between the received image and the corresponding reference image, wherein optimizing the identified performance metric for determining the optimal subspace corresponding to one or more of the object verification task and the object identification task comprises: identifying an initial subspace by employing a subspace learning algorithm; iteratively varying the identified performance metric to determine the corresponding optimized performance metric; and optimizing the initial subspace to determine the optimal subspace based on the optimized performance metric; and comparing the received image with the reference image based on the optimized performance metric for performing the object recognition task using the computing device.