Crowd counting method and system based on multi-scale feature information
A multi-scale feature and crowd counting technology, applied in the field of computer vision, can solve the problems of poor algorithm's ability to count small objects, loss, and multi-detail information, so as to improve accuracy, good accuracy and robustness, and improve perception. effect of effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] Such as figure 1 As shown, Embodiment 1 of the present disclosure provides a crowd counting method based on multi-scale feature information, including the following steps:
[0036] Step 1: Image preprocessing
[0037] Convolve the image data set with head position annotation through a two-dimensional Gaussian convolution kernel to generate the crowd density map label corresponding to each image in the data set, and form a training sample set.
[0038] In the crowd counting task, the convolutional neural network needs to be trained. This implementation chooses to use the density map as the data label. Since the crowd counting database only provides the coordinate points marked by the head, it is necessary to generate the density map of the training picture before the network training.
[0039] Then the generation density map equation can be expressed as:
[0040]
[0041] Among them, N represents the number of people in the crowd image, x represents the position of ...
Embodiment 2
[0065] Embodiment 2 of the present disclosure provides a crowd counting system based on multi-scale feature information.
[0066] A crowd counting system based on multi-scale feature information, characterized in that it includes:
[0067] The data preprocessing module is configured to: preprocess the acquired image to obtain a crowd density map corresponding to the image;
[0068] The feature extraction module is configured to: input the obtained crowd density map into the preset multi-feature extraction network model, calculate layer by layer to obtain multiple feature maps with gradually reduced scales, and reverse the obtained feature maps with multiple scales. Connect to the layer-by-layer side to get multiple connected feature maps;
[0069] The crowd counting module is configured to: perform feature fusion on the obtained multiple connected feature maps to obtain multi-scale feature maps, perform density map regression to obtain the final crowd density map, and then ob...
Embodiment 3
[0072] Embodiment 3 of the present disclosure provides a medium on which a program is stored. When the program is executed by a processor, the steps in the crowd counting method based on multi-scale feature information as described in Embodiment 1 of the present disclosure are implemented.
[0073] The steps are specifically:
[0074] Preprocessing the acquired image to obtain the crowd density map corresponding to the image;
[0075] Input the obtained crowd density map into the preset multi-feature extraction network model, calculate layer by layer to obtain multiple feature maps with gradually decreasing scales, and perform reverse side-by-side connection of the obtained multi-scale feature maps to obtain Multiple connected feature maps;
[0076] The feature fusion of the obtained multiple connected feature maps is performed to obtain a multi-scale feature map, and the final crowd density map is obtained after density map regression, and then the final crowd count value is...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com