The present application provides a rapid face density prediction and face detection method and apparatus, an electronic device, and a storage medium. The method comprises the following steps: obtaining an image to be detected; extracting, by using a feature pyramid residual block, a multi-scale feature in the image to be detected; performing feature fusion by using a mutual embedded upsampling module; and using a face detection module to predict a face confidence level and the width and height of the face. In the implementation process described above, the present application uses a method for predicting Gaussian distribution to predict the face density in the image and detect the face in the image, so as to avoid unstable factors caused by using a candidate box; a feature pyramid residual block is used and a small convolution kernel is used, and the depth of a network is not increased to increase the receptive field of neurons; the depth and parameter of the network are not increased, and the receptive field of the neurons is improved, so that more face information can be extracted by means of the network.
RAPID FACE DENSITY PREDICTION AND FACE DETECTION METHOD AND APPARATUS, ELECTRONIC DEVICE, AND STORAGE MEDIUM