Facial Emotion Detection by Minima and Re-Generation