I guess you should take a look at the features2d tutorials where known objects are matched based on their local features.
Click here, here, here or here!
Last one does exactly what you need, but I would suggest using your time to go through first tutorials to grasp all the concepts used.