How to get facial recogniction?

I bet you could use OpenCV to segment a face. Then train a neural network on the faces. This is not an Arduino project.