OpenCV MySQL C++ face search and compare