Facial Detection, Comparison, and Expression Analysis