Face recognition using PCA and LDA