If you want to measure any facial landmarks correctly, you should rotate facial image which is not straight. The person who taken an photo may not stand straight. To avoid this situation, firstly we drew two lines throught eyes and nose. We rotate the image according to eye line. After that, we found the angle between two lines. This angle should be about 90 degrees for correct and straight face photos. If this angle is between 85-95 degrees, this photo can use to measuring and we rotate the image other but if it is not, the program gives an warning which is "This photo was rejected. Please take a photo again". So this method will give much more correct. Taken image Rotated image As you can see, the program gave a warning because the photo taken has an incorrect angle. Taken photo Rotated and original photo The program didn't give a warning. This photo is suitable.