The invention provides a
crowd counting method and device for a dense scene,
electronic equipment and a storage medium, and belongs to the field of intelligent traffic, and the method comprises the steps: inputting an obtained to-be-detected crowd image into a completely trained
crowd counting network, carrying out the grouping type
pyramid feature
convolution of the to-be-detected crowd image, and obtaining a preliminary
convolution feature, performing
frequency domain conversion enhancement on the preliminary
convolution features to obtain
frequency domain enhanced features, performing visual information modeling on the
frequency domain enhanced features to obtain
visual modeling enhanced features, and performing density regression output on the
visual modeling enhanced features to obtain an estimated density map; and performing peak point filtering on the estimated density map to obtain
crowd counting recognition output. According to the method, the image is converted to the frequency domain through frequency domain conversion enhancement to capture the contour and features of the
pedestrian, the
pedestrian feature precision is improved, visual information modeling is carried out on the
pedestrian features in global and medium-long distance levels through visual information enhancement, more complete feature information is obtained, and the crowd counting accuracy is effectively improved.