I would like to match two license plate images, sample images given below
Here these two license plate belong to same vehicle, hence they should give match. There may be zoom and slight rotation in these images, also only a part of the original may be visible as given in the example. If the License plate belong to different vehicle algorithm should say it is different.
Which is best algorithm for doing this ?
I would suggest you use openCV functions from Features2D Framework, and Homography method to handle the scaling and rotation problem. Specifically, in Features2D, there are classes that may be helpful for your to detect the letter, extract them, and match your two templates after extraction.