In-out people counting method based on human shape detection and speed calculation
The invention discloses a method for counting the number of people going in and out through human shape detection and speed calculation. The method comprises the following steps: (1) selecting a detection area in a video; (2) carrying out human shape detection on a first frame in the selected two ad...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a method for counting the number of people going in and out through human shape detection and speed calculation. The method comprises the following steps: (1) selecting a detection area in a video; (2) carrying out human shape detection on a first frame in the selected two adjacent frames; (3) calculating an average displacement vector of each pedestrian in the detection area by adopting a dense optical flow method; (4) calculating reference data of the video sample; (5) calculating the passing proportion N of a single pedestrian according to the average displacement vector of each pedestrian and the reference data of the video sample; and (6) calculating the total proportion of all pedestrians passing through the detection area, namely the number of passing pedestrians. According to the method for counting the number of people going in and out, frame-by-frame processing does not need to be carried out on the video, the requirement for hardware performance is lowered, the motion trail |
---|