C++ sample code to detect facial features