Method and device for calculating dense crowd flow based on video
A flow calculation and dense crowd technology, applied in the field of image processing, can solve problems such as manual intervention
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] This embodiment provides a video-based dense crowd flow calculation method, such as figure 1 shown, including the following steps:
[0059] Step 1: Obtain a video sequence of a moving pedestrian target, and preprocess the acquired video sequence;
[0060] The video sequence can be acquired through the camera or added manually, and the video format can be avi, h.264 or mp4.
[0061] Step 2: Process video frames by frame difference to extract moving pedestrian targets;
[0062] Let the i-th frame of video use I i Indicates that the i+1th frame of video is represented by I i+1 Indicates that the i+2th frame of video is represented by I i+2 Indicates that the calculation of I i with I i+1 difference image of
[0063] Diff i = I i+1 -I i (1)
[0064] and I i+1 with I i+2 difference image of
[0065] Diff i+1 = I i+2 -I i+1 (2)
[0066] where Diff i means I i with I i+1 The difference image, Diff i+1 means I i+2 with I i+1 difference image.
[0067]...
Embodiment 2
[0103] Based on the calculation method for dense crowd flow provided by Embodiment 1, the present invention also provides another embodiment: a device for calculating dense crowd flow based on video, including:
[0104] A data acquisition module, configured to acquire a video sequence of a moving pedestrian target;
[0105] The target extraction module is used to process video frames through frame difference to extract moving pedestrian targets;
[0106] Region growing module for morphological processing of extracted pedestrian objects;
[0107] The number statistics module is used to obtain the movement trajectory of pedestrian targets, and count the pedestrian targets based on the movement trajectory.
[0108] Counting the pedestrian targets based on the motion trajectory in the number statistics module includes: for each pedestrian target, obtaining the moving distance of the target; calculating the moving direction of the pedestrian target; performing cross-border detecti...
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