CN104700475A - Self-adaptive passenger flow counting algorithm based on video analysis - Google Patents
Self-adaptive passenger flow counting algorithm based on video analysis Download PDFInfo
- Publication number
- CN104700475A CN104700475A CN201410767890.9A CN201410767890A CN104700475A CN 104700475 A CN104700475 A CN 104700475A CN 201410767890 A CN201410767890 A CN 201410767890A CN 104700475 A CN104700475 A CN 104700475A
- Authority
- CN
- China
- Prior art keywords
- time
- passenger flow
- data
- people
- flow counting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Traffic Control Systems (AREA)
- Time Recorders, Dirve Recorders, Access Control (AREA)
Abstract
The invention discloses a self-adaptive passenger flow counting algorithm based on video analysis. The passenger flow counting algorithm mainly aims at the condition of passenger flow congestion during the rush hour. The statistic analysis of historical video data and passenger flow counting data proves that under the condition that the number of people who get on a bus once exceeds a certain value (20 people/time), the passenger flow counting accuracy is relatively low, and less counting is mainly caused. Therefore, the passenger flow counting data with larger error is correspondingly corrected according to the passenger flow counting time and the historical passenger flow data, so that the passenger flow counting data is closer to the truth, and the whole accuracy of the passenger flow data can be improved.
Description
Technical field
The present invention relates to passenger flow counting algorithm field, specifically a kind of self-adaptation passenger flow counting algorithm based on video analysis.
Background technology
Along with the development of computer vision counting, the passenger flow counting technology based on video is more and more paid attention to.Mainly by camera acquisition view data, video processing technique is then utilized to obtain passenger flow data.By video passenger flow calculating instrument, can obtain a large amount of bus passenger flow data reliably, stability and the accuracy rate of statistics reach practical purpose completely.The accuracy rate how improving passenger flow counting is the emphasis of research.
Find carrying out actual statistical study to history video record data, when single get on the bus number higher than certain number (20 people/time), counting accuracy rate is relatively low, mainly counts less.。
Summary of the invention
The object of this invention is to provide a kind of self-adaptation passenger flow counting algorithm based on video analysis, to solve the not high problem of accuracy rate under the passenger flow congested conditions of prior art peak period.。
In order to achieve the above object, the technical solution adopted in the present invention is:
Based on the self-adaptation passenger flow counting algorithm of video analysis, it is characterized in that: comprise the following steps:
(1), by history video data certain hour N is counted, the actual value U of the number of getting on the bus that vehicle every day is each in N>=1 month
ii=1,2 ..., N
1, N
1for the data volume counted on;
(2) the number W that gets on the bus that every day in the N time, passenger flow counting device statistics went out, is counted
i, and extract when every day gone up visitor by vehicle at every turn and open the door the T.T. of closing the door, namely count passenger's single and to get on the bus T.T. T
i;
(3), from step (1), (2) gained passenger flow counting data W
iin, choose W
i>=20 people/time time corresponding all data, comprise the number W that gets on the bus of passenger flow counting
j, video statistics to the number U that truly gets on the bus
j, passenger's single gets on the bus T.T. T
j, j=1,2 ..., N
2, N
2for meeting W
i>=20 people/time data volume, then can be met W
i>=20 people/time time passenger flow counting total number of getting on the bus of obtaining
actual total number of getting on the bus
total pick-up time
the single pick-up time of single
and then can obtain at W
i>=20 people/time time passenger flow counting accuracy rate be
the mean value of the single pick-up time of single
(4), choose the data needing to correct according to people's logarithmic data of getting on the bus of passenger flow counting, comprise the following steps:
(4.1), according to the mean value of the single pick-up time of single
choose the enumeration data needing to correct: by t
j?
outside Data correction be
if desired the data volume corrected is N
3, then each enumeration data after correcting is respectively
k=1,2 ... N
3, after correcting, total count value is
the accuracy rate obtaining correcting rear passenger flow counting is
(4.2), according to total pick-up time T and reality always get on the bus number U ratio namely
choose the enumeration data needing to correct: by t
jdata correction outside (t-t*10%, t+t*10%) is t, and the data volume if desired corrected is N
4, then each enumeration data after correcting is respectively
r=1,2 ..., N
4, then the total count value after correcting is
the accuracy rate obtaining correcting rear passenger flow counting is
(5), by actual passenger flow video data and passenger flow counting data, utilize above-mentioned correcting algorithm, compare the accuracy rate of passenger flow counting before and after correcting, the feasibility of verification algorithm;
(6), due to when 20 people/when time to get on the bus, can there is relatively large deviation in passenger flow counting, can select when enumeration data be 18 people/time or 16 people/time more than situation correct, if according to averaging time
correct and utilize
people/time or the time point of 16 people/time a to draw bound
* 18 people/time or 16 people/time, with
people/time or 16 people/time, at (t
under, t
on) data outside scope according to T.T. divided by
draw the numerical value of correction second.
Algorithm of the present invention to occur that the situation of very large deviation has carried out corresponding correction, make it more close to real situation, from the globality of data, be eliminate larger error to correct in the situation according to normality, improve the accuracy rate of passenger flow data whole body counting.
Accompanying drawing explanation
Fig. 1 is process flow diagram of the present invention.
Embodiment
Shown in Figure 1, based on the self-adaptation passenger flow counting algorithm of video analysis, comprise the following steps:
(1), by history video data certain hour N is counted, the actual value U of the number of getting on the bus that vehicle every day is each in N>=1 month
ii=1,2 ..., N
1, N
1for the data volume counted on;
(2) the number W that gets on the bus that every day in the N time, passenger flow counting device statistics went out, is counted
i, and extract when every day gone up visitor by vehicle at every turn and open the door the T.T. of closing the door, namely count passenger's single and to get on the bus T.T. T
i;
(3), from step (1), (2) gained passenger flow counting data W
iin, choose W
i>=20 people/time time corresponding all data, comprise the number W that gets on the bus of passenger flow counting
j, video statistics to the number U that truly gets on the bus
j, passenger's single gets on the bus T.T. T
j, j=1,2 ..., N
2, N
2for meeting W
i>=20 people/time data volume, then can be met W
i>=20 people/time time passenger flow counting total number of getting on the bus of obtaining
actual total number of getting on the bus
total pick-up time
the single pick-up time of single
and then can obtain at W
i>=20 people/time time passenger flow counting accuracy rate be
the mean value of the single pick-up time of single
(4), choose the data needing to correct according to people's logarithmic data of getting on the bus of passenger flow counting, comprise the following steps:
(4.1), according to the mean value of the single pick-up time of single
choose the enumeration data needing to correct: by t
j?
outside Data correction be
if desired the data volume corrected is N
3, then each enumeration data after correcting is respectively
k=1,2 ... N
3, after correcting, total count value is
the accuracy rate obtaining correcting rear passenger flow counting is
(4.2), according to total pick-up time T and reality always get on the bus number U ratio namely
choose the enumeration data needing to correct: by t
jdata correction outside (t-t*10%, t+t*10%) is t, and the data volume if desired corrected is N
4, then each enumeration data after correcting is respectively
r=1,2 ..., N
4, then the total count value after correcting is
the accuracy rate obtaining correcting rear passenger flow counting is
(5), by actual passenger flow video data and passenger flow counting data, utilize above-mentioned correcting algorithm, compare the accuracy rate of passenger flow counting before and after correcting, the feasibility of verification algorithm;
(6), due to when 20 people/when time to get on the bus, can there is relatively large deviation in passenger flow counting, can select when enumeration data be 18 people/time or 16 people/time more than situation correct, if according to averaging time
correct and utilize
people/time or the time point of 16 people/time a to draw bound
* 18 people/time or 16 people/time, with
people/time or 16 people/time, at (t
under, t
on) data outside scope are according to the numerical value drawing correction T.T. divided by t second.
Claims (1)
1., based on the self-adaptation passenger flow counting algorithm of video analysis, it is characterized in that: comprise the following steps:
(1), by history video data certain hour N is counted, the actual value U of the number of getting on the bus that vehicle every day is each in N>=1 month
ii=1,2 ..., N
1, N
1for the data volume counted on;
(2) the number W that gets on the bus that every day in the N time, passenger flow counting device statistics went out, is counted
i, and extract when every day gone up visitor by vehicle at every turn and open the door the T.T. of closing the door, namely count passenger's single and to get on the bus T.T. T
i;
(3), from step (1), (2) gained passenger flow counting data W
iin, choose W
i>=20 people/time time corresponding all data, comprise the number W that gets on the bus of passenger flow counting
j, video statistics to the number U that truly gets on the bus
j, passenger's single gets on the bus T.T. T
j, j=1,2 ..., N
2, N
2for meeting W
i>=20 people/time data volume, then can be met W
i>=20 people/time time passenger flow counting total number of getting on the bus of obtaining
actual total number of getting on the bus
total pick-up time
the single pick-up time of single
and then can obtain at W
i>=20 people/time time passenger flow counting accuracy rate be
the mean value of the single pick-up time of single
(4), choose the data needing to correct according to people's logarithmic data of getting on the bus of passenger flow counting, comprise the following steps:
(4.1), according to the mean value of the single pick-up time of single
choose the enumeration data needing to correct: by t
j?
outside Data correction be
if desired the data volume corrected is N
3, then each enumeration data after correcting is respectively
k=1,2 ... N
3, after correcting, total count value is
the accuracy rate obtaining correcting rear passenger flow counting is
(4.2), according to total pick-up time T and reality always get on the bus number U ratio namely
choose the enumeration data needing to correct: by t
jdata correction outside (t-t*10%, t+t*10%) is t, and the data volume if desired corrected is N
4, then each enumeration data after correcting is respectively
r=1,2 ..., N
4, then the total count value after correcting is
the accuracy rate obtaining correcting rear passenger flow counting is
(5), by actual passenger flow video data and passenger flow counting data, utilize above-mentioned correcting algorithm, compare the accuracy rate of passenger flow counting before and after correcting, the feasibility of verification algorithm;
(6), due to when 20 people/when time to get on the bus, can there is relatively large deviation in passenger flow counting, can select when enumeration data be 18 people/time or 16 people/time more than situation correct, if according to averaging time
correct and utilize
* 18 people/time or the time point of 16 people/time a to draw bound
* 18 people/time or 16 people/time, with
* 18 people/time or 16 people/time, at (t
under, t
on) data outside scope according to T.T. divided by
draw the numerical value of correction second.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410767890.9A CN104700475A (en) | 2014-12-12 | 2014-12-12 | Self-adaptive passenger flow counting algorithm based on video analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410767890.9A CN104700475A (en) | 2014-12-12 | 2014-12-12 | Self-adaptive passenger flow counting algorithm based on video analysis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104700475A true CN104700475A (en) | 2015-06-10 |
Family
ID=53347555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410767890.9A Pending CN104700475A (en) | 2014-12-12 | 2014-12-12 | Self-adaptive passenger flow counting algorithm based on video analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104700475A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110893870A (en) * | 2019-06-20 | 2020-03-20 | 朱来清 | Self-adaptive time length adjusting method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201035760Y (en) * | 2007-04-26 | 2008-03-12 | 长春联信技术有限公司 | Public transport passenger flow and mileage information acquisition device |
CN101231755A (en) * | 2007-01-25 | 2008-07-30 | 上海遥薇实业有限公司 | Moving target tracking and quantity statistics method |
CN102360450A (en) * | 2011-09-26 | 2012-02-22 | 华中科技大学 | Method for counting number of people based on masses |
US20130223688A1 (en) * | 2008-07-16 | 2013-08-29 | Verint Systems Inc. | System and Method for Capturing, Storing, Analyzing and Displaying Data Related to the Movements of Objects |
CN103778442A (en) * | 2014-02-26 | 2014-05-07 | 哈尔滨工业大学深圳研究生院 | Central air-conditioner control method based on video people counting statistic analysis |
CN103871082A (en) * | 2014-03-31 | 2014-06-18 | 百年金海科技有限公司 | Method for counting people stream based on security and protection video image |
-
2014
- 2014-12-12 CN CN201410767890.9A patent/CN104700475A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101231755A (en) * | 2007-01-25 | 2008-07-30 | 上海遥薇实业有限公司 | Moving target tracking and quantity statistics method |
CN201035760Y (en) * | 2007-04-26 | 2008-03-12 | 长春联信技术有限公司 | Public transport passenger flow and mileage information acquisition device |
US20130223688A1 (en) * | 2008-07-16 | 2013-08-29 | Verint Systems Inc. | System and Method for Capturing, Storing, Analyzing and Displaying Data Related to the Movements of Objects |
CN102360450A (en) * | 2011-09-26 | 2012-02-22 | 华中科技大学 | Method for counting number of people based on masses |
CN103778442A (en) * | 2014-02-26 | 2014-05-07 | 哈尔滨工业大学深圳研究生院 | Central air-conditioner control method based on video people counting statistic analysis |
CN103871082A (en) * | 2014-03-31 | 2014-06-18 | 百年金海科技有限公司 | Method for counting people stream based on security and protection video image |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110893870A (en) * | 2019-06-20 | 2020-03-20 | 朱来清 | Self-adaptive time length adjusting method |
CN110893870B (en) * | 2019-06-20 | 2021-11-05 | 朱来清 | Self-adaptive time length adjusting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108234347B (en) | Method, device, network equipment and storage medium for extracting feature string | |
SG10201804054YA (en) | Systems and methods for event detection and diagnosis | |
CN103312940A (en) | Self-adaptive median filter method based on FPGA (filed programmable gate array) | |
CN103365965B (en) | A kind of aggregation process method and apparatus of data | |
Baker et al. | Estimates of the lawful permanent resident population in the United States: January 2013 | |
CN109327345A (en) | The detection method and device of exception flow of network, computer readable storage medium | |
CN104700475A (en) | Self-adaptive passenger flow counting algorithm based on video analysis | |
CN108700640B (en) | Calibration method, control platform and the system of voltage acquisition module, storage medium | |
US20240087347A1 (en) | Systems and methods for using image analysis to automatically determine vehicle information | |
CN106295683A (en) | A kind of outlier detection method of time series data based on sharpness | |
WO2023246391A1 (en) | Extraction of risk feature description | |
US20170083531A1 (en) | Selecting an incremental backup approach | |
Ghate et al. | Why were some Indian states so slow to participate in the turnaround? | |
CN103744779A (en) | Change point based FSQ-RWD software reliability growth model and correction model thereof | |
CN111028509B (en) | Traffic saturation flow obtaining method and device and terminal equipment | |
CN105912503B (en) | A variety of collision sample acquiring methods, apparatus and system based on data fitting | |
CN104197975B (en) | A kind of sensor measuring accuracy raising method based on the constraint of observed value differential | |
CN105318940B (en) | A kind of multi-way stream gauge calibrating installation pulse counting signal reconstructing method | |
CN104460440B (en) | Programmable logic device internal highly-reliable automatic reset method | |
CN111189502B (en) | Water consumption monitoring device and water consumption monitoring method | |
Wu | The GARCH option pricing model: a modification of lattice approach | |
CN108198066A (en) | A kind of financial industry automates charge system | |
CN111048203B (en) | Brain blood flow regulator evaluation device | |
CN104200017B (en) | Tolerance simulating analysis | |
van Oordt | A Summary of Introductory Econometrics By Wooldridge |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150610 |
|
RJ01 | Rejection of invention patent application after publication |