Algorithm to obtain anthropometric parameters in frontal images of human faces