Object Recognition algorithms in OpenCV , C++