Method and device for detecting crowd gathered region
A technology of gathering areas and detection methods, applied in character and pattern recognition, instruments, computer parts, etc., can solve problems such as many false positives
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] like figure 1 As shown, a method for detecting a crowd gathering area provided by an embodiment of the present invention includes the following steps:
[0061] S101. Sampling an input video image and performing preprocessing to obtain a grayscale image.
[0062] Specifically, the video image is acquired from the video acquisition device, the video image is down-sampled, the down-sampled color image is converted into a grayscale image, and pre-processing such as filtering and noise removal is performed.
[0063] S102. Use a preset multi-scale rectangular window to traverse the grayscale image, and use a classifier to roughly locate a densely populated area.
[0064] In this step, the grayscale image can be traversed separately by presetting multiple small-scale rectangular windows. For example, the preset initial small-scale rectangular window has a size of 100*100 pixels, and the window moving step is 2 pixels. Each traversal After finishing an image, the scale of the...
Embodiment 2
[0078] like image 3 As shown, a method for coarse positioning of a crowded area provided by a preferred embodiment of the present invention includes the following steps:
[0079] S301. Traversing the rectangular window from the upper left corner of the image.
[0080] Specifically, before this step, the color image obtained by the video acquisition device is down-sampled, and the color image is down-sampled to a preset scale (320*240 is used in the embodiment of the present invention) and then converted into a grayscale image; then use Gaussian filters filter grayscale images to remove noise. In this step, use a small-scale rectangular window to slide in the grayscale image, from left to right, from top to bottom, of course, you can also slide in other directions, as long as the entire image can be traversed. In the embodiment of the present invention, the initial size of the rectangular window is 100*100 pixels, and the moving step of the window is 2 pixels.
[0081] S302...
Embodiment 3
[0103] like Figure 4 As shown, a method for fine positioning of a crowded area provided by a preferred embodiment of the present invention includes the following steps:
[0104] S1031. According to the location of the crowded area, intercept the corresponding image of the crowded area from the input color image.
[0105] In this step, according to the positions of the densely-crowded areas roughly positioned, images of these positions are intercepted from the input color image as candidate crowd-gathering areas.
[0106] S1032. Scale the image of the densely populated area to a preset size, and convert it into a grayscale image to obtain a grayscale image of the densely populated area.
[0107] In this step, the color image of the candidate crowd gathering area is converted into a grayscale image, and the scale of the grayscale image is uniformly scaled to a specified size, which is convenient for feature extraction. In the embodiment of the present invention, the size of t...
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