Abstract Security is very important issue in today’s time. Face recognition, or facial recognition, is one of the largest areas of research within computer vision. The development of facial recognition systems has also developed and has been implemented for home door locking systems and is an option that is quite simple and easy to use and is quite accurate in recognizing the face of homeowners. We can now use face recognition to unlock our mobile phones, verify identification at security gates, and in some countries, make purchases. Although lot of progress has been made in domain of face detection and recognition for security, identification and attendance purpose, but still there are issues hindering the progress to reach or surpass human level accuracy. This paper consists of face recognition and Machine Learning for detecting an intruder and recognition.KeywordsMachine learningSecurityFace recognitionImage processingPython