Face detection is one of the important topics in computer vision research and is the basis of many applications. A face detection algorithm based on improved Multi-Task Convolution Neural Network (MTCNN) is proposed in this paper. To increase the accuracy of eye location in complex situations, this method improves the network structure of MTCNN, builds a neural network model based on MTCNN using TensorFlow, and cascades an eye regression network. The Face-Net neural network model was used for training, and the obtained training model was used for detection. Experiments have shown that the accuracy on the LFW dataset is 0.9963 and the accuracy on the YouTube Faces DB dataset is 0.9512.