You should read about True positive and True negative, false positve and negatives. With this formula of your accuracy=(TP+TN)/(Total). face recognition accuracy cab be measured according to the percentage of the recognized faces per the total number of tested faces of the same person.