Improving identification by pruning: a case study on face recognition and body soft biometric