I tested this code of yours: https://github.com/patchy631/machine-learning/blob/main/computer_vision/face_detection.ipynb and found a problem: 