Facial detection, processing and storing for facial recognition