Crowd density estimation method and system
A technology of crowd density and density, applied in the field of computer vision, to achieve the effects of high acquisition efficiency, accelerated training, and adaptive enhancement of location features
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] This embodiment discloses a crowd density map estimation method based on multi-scale modules and feature enhancement units, such as figure 1 shown, including:
[0044] Step 1: Obtain a scene image, perform crowd area recognition and head recognition on the scene image;
[0045] Step 2: Estimate the head density of each crowd area based on the nearest neighbor algorithm, and generate a crowd density label map;
[0046] First, the original image is scaled, and then the density map label is generated based on the position of the head. Specifically, the size of the head in the image is estimated using the nearest neighbor algorithm, and then the corresponding Gaussian kernel is generated according to the size of the head and covered to the corresponding position of the density map to obtain the density map. Label. The sum of the pixel values of each head area is 1, the non-zero value represents the area where the head is located, and the value of the background area is ...
Embodiment 2
[0062] The purpose of this embodiment is to provide a crowd density estimation system based on multi-scale modules and feature enhancement units.
[0063] A crowd density estimation system based on multi-scale modules and feature enhancement units of the present invention includes:
[0064] The image acquisition module acquires the scene image;
[0065] The label map generation module preprocesses the scene image to generate a crowd density label map;
[0066] The data augmentation module performs data augmentation on scene images and crowd density label maps to obtain multiple scene images and corresponding crowd density label maps;
[0067] The model training module trains the crowd density map estimation model according to the plurality of scene images and corresponding crowd density label maps;
[0068] The density estimation module receives scene images, and performs crowd density estimation based on the trained crowd density map estimation model.
[0069] The populati...
Embodiment 3
[0071] The purpose of this embodiment is to provide an electronic device.
[0072] An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the program, the following steps are implemented, including:
[0073] Obtain the scene image, preprocess the scene image, and generate a crowd density label map;
[0074] Perform data augmentation on scene images and crowd density label maps to obtain multiple scene images and corresponding crowd density label maps;
[0075] Training a crowd density map estimation model according to the multiple scene images and corresponding crowd density label maps;
[0076] Receive the scene image, and estimate the crowd density based on the trained crowd density map estimation model.
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