https://5dok.org/document/myj5n06q-face-detection-and-pose-estimation-using-triplet-invariants.html