Artificial intelligence (AI)-based technology systems are developing rapidly. Along with technological development the number of criminal cases caused by facial forgery is also growing. Cases of theft and housebreaking with fake photos are a common problem in Semarang. In 2022–2023 the number of cases of theft and housebreaking reached 372,965 with a crime risk level of 137/100,000 people. To overcome this problem the facial recognition system used in the door security system uses digital image processing. This method works by imitating how nerve cells communicate with interconnected neurons, or more precisely, how artificial neural networks function in humans. As training data, image capture and facial recognition are carried out using a webcam and the Python programming language with the TensorFlow library. The image processing algorithm uses 400 facial images with an accuracy rate of 95%. However further development is needed to improve the efficiency and accuracy of the system to produce better results.