This facial learning software that Facebook calls DeepFace uses a 3-D model to rotate faces and learn patterns.