To calculate the distance between two points using the following formula: 
This will allow you to obtain the center points of the two eyes (as detected by the CIDetector) and compare their locations to display the results you are looking for.
if(faceFeature.hasLeftEyePosition && faceFeature.hasRightEyePosition) { CGPoint leftEyeCenter = faceFeature.leftEyePosition; CGPoint rightEyeCenter = faceFeature.rightEyePosition; float simpleDistance = rightEyeCenter.x - leftEyeCenter.x;
source share