CN101872414B - People flow rate statistical method and system capable of removing false targets - Google Patents

People flow rate statistical method and system capable of removing false targets Download PDF

Info

Publication number
CN101872414B
CN101872414B CN2010101181364A CN201010118136A CN101872414B CN 101872414 B CN101872414 B CN 101872414B CN 2010101181364 A CN2010101181364 A CN 2010101181364A CN 201010118136 A CN201010118136 A CN 201010118136A CN 101872414 B CN101872414 B CN 101872414B
Authority
CN
China
Prior art keywords
people
sorter
carried out
target
target trajectory
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.)
Active
Application number
CN2010101181364A
Other languages
Chinese (zh)
Other versions
CN101872414A (en
Inventor
呼志刚
朱勇
任烨
蔡巍巍
贾永华
胡扬忠
邬伟琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Software Co Ltd filed Critical Hangzhou Hikvision Software Co Ltd
Priority to CN2010101181364A priority Critical patent/CN101872414B/en
Publication of CN101872414A publication Critical patent/CN101872414A/en
Application granted granted Critical
Publication of CN101872414B publication Critical patent/CN101872414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a people flow rate statistical method and a system capable of removing false targets, wherein the method comprises the following steps: adopting a classifier to carry out human head detection on a current image, and determining all human heads in the current image; tracking all the determined human heads, and forming a motion trajectory of human head targets; carrying out smoothness analysis on the motion trajectory of the human head targets; and carrying out people flow rate counting in the direction of the motion trajectory of the human head targets after the analysis. Therefore, the method and the system can remove the false targets through the smoothness analysis of the trajectory of the human head targets, and further improve the detection accuracy.

Description

Can remove the method and system of the people flow rate statistical of false target
Technical field
The present invention relates to video monitoring and Flame Image Process and analysis technical field, relate in particular to a kind of method and system of removing the people flow rate statistical of false target.
Background technology
Along with the continuous progress of society, the range of application of video monitoring system is more and more wider.In the supermarket, the gateway in place such as market, gymnasium and station, airport often is equipped with rig camera, so that security personnel and supvr monitor the gateway in these places.On the other hand; The flow of the people of places such as supermarket, market, gymnasium and station, airport turnover has great significance for the operator in above-mentioned place or supvr; Wherein, Flow of the people is meant the number that flows by certain orientation, refers in particular among this paper by getting into/leave the number that both direction flows.
In the existing video monitoring, people flow rate statistical mainly is to check through monitor staff's manual work to realize.Reliable under the situation that the method for this complicate statistics flow of the people is short at monitoring period, flow of the people is sparse; But because the restriction of human eye biological nature; When monitoring period longer; When flow of the people is intensive, statistical accuracy will descend greatly, and the mode of complicate statistics needs the human cost of labor.Can realize the automatic statistics of flow of the people based on the people flow rate statistical method of video analysis, solve the variety of issue that complicate statistics brings.At present, the flow statistical method based on video analysis mainly contains three types:
One is based on the method for feature point tracking, and this method is at first followed the tracks of some motion characteristics points, and the track to unique point carries out cluster analysis then, thereby obtains flow of the people information; Need follow the tracks of some motion characteristics points based on the method for feature point tracking, the track to unique point carries out cluster analysis then, thereby obtains flow of the people information, and the shortcoming of this method is that unique point itself is difficult to stably follow the tracks of, and counting precision is relatively poor.
Two are based on the method that human body is cut apart and followed the tracks of, and this method at first need extract the moving target piece, the moving target piece are cut apart to obtain single human body target then, follow the tracks of each human body target at last and realize stream of people's quantitative statistics; Cut apart and the method for following the tracks of at first need extraction place moving target piece based on human body, the moving target piece is cut apart to obtain single human body target then, follow the tracks of the track that obtains each human body at last, thereby realize stream of people's quantitative statistics.The shortcoming of this method is that the accuracy that human body is cut apart is difficult to be guaranteed, and influences statistical precision when the human body existence is blocked.
Three are based on the method for the number of people or the detection and tracking of head shoulder, and this method detects the number of people or head shoulder in video, through stream of people's quantitative statistics is carried out in the tracking of the number of people or head shoulder.Method based on number of people detection and tracking is in video, to detect the number of people, carries out stream of people's quantitative statistics through the tracking to the number of people, when camera angle is suitable; The situation that blocking appears in the number of people is less, and the more preceding two kinds of method accuracys of method that therefore detect based on the number of people increase, and have company to propose the method based on number of people detection statistics number at present; For example Beijing Z-Star Microelectronics is in the method that the patent document of application number 200910076256.X is mentioned; At first extract sport foreground, adopt the sorter of haar features training dual serial in prospect, to search for the number of people of preliminary dimension then, realize that the number of people detects; Wherein, The haar characteristic is a kind of rectangular characteristic, through size that changes rectangle and shape and the half-tone information that array mode can be described target.This method is only confirmed number of people translation vector speed through estimation, thereby counts number of people quantity, and this mode accuracy is not high, is difficult for identification for false target, causes the number of people not statistical uncertainty really.
Summary of the invention
In view of this, the present invention provides a kind of method and system of removing the people flow rate statistical of false target, to solve the existing not statistical uncertainty true problem of people flow rate statistical scheme.
For this reason, the embodiment of the invention adopts following technical scheme:
A kind of method of removing the people flow rate statistical of false target; Comprise: the surveyed area in the image is carried out scene calibration; Obtaining number of people target size variation range in the said surveyed area, thereby said surveyed area is divided into plurality of sub-regions according to said number of people target size variation range; In said subregion, adopt sorter that present image is carried out the number of people and detect, confirm each number of people in the present image; Each number of people to determining is followed the tracks of, and forms number of people target trajectory; Number of people target trajectory is carried out the smoothness analysis; Carry out the flow of the people counting according to the number of people target trajectory direction after analyzing.
Saidly number of people target trajectory is carried out the smoothness analysis comprise: confirm the smoothness of number of people target trajectory, judge whether said smoothness satisfies threshold value, if, keep this number of people target trajectory, otherwise, this number of people target trajectory abandoned.
Adopt sorter present image is carried out the number of people detect after, confirm each number of people in the present image before, also comprise: the detected number of people of sorter is carried out the edge feature fine screening handle.
Saidly the detected number of people of sorter is carried out the edge feature fine screening handle and to comprise: calculate said sorter and be judged as the rectangle inward flange characteristic of number of people target and the degree of fitting of the upside of ellipse arc that presets; If degree of fitting is greater than threshold value; Then this rectangle is confirmed as the number of people, otherwise this rectangle is removed from object listing.
Said surveyed area in the image is carried out scene calibration,, comprise: select to demarcate frame thereby said surveyed area is divided into plurality of sub-regions according to said number of people target size variation range to obtain number of people target size variation range in the said surveyed area; Calculate the scene depth variation factor; Calculate number of people target size variation range in the surveyed area; According to the number of people target size variation range surveyed area is divided into plurality of sub-regions.
Said sorter is the multicategory classification device of parallel connection.
Said multicategory classification device carries out number of people detection to image and comprises: the detection order that all kinds of sorters are set; Adopting each sorter that present image is carried out the number of people successively according to the detection order detects; Up to determining the number of people; Wherein, the multicategory classification device of said parallel connection is formed in parallel by at least two types of sorters.
The multicategory classification device of said parallel connection is formed in parallel by any two or more in dark hair generic classifier, light hair sorter, cap sorter and the expansion sorter.
A kind of system of removing the people flow rate statistical of false target; Comprise: the scene calibration module; Be used for the surveyed area of image is carried out scene calibration; Obtaining number of people target size variation range in the said surveyed area, thereby said surveyed area is divided into plurality of sub-regions according to said number of people target size variation range; Number of people detection module is used in said subregion, adopting sorter that present image is carried out the number of people and detects, and confirms each number of people in the present image; Number of people target tracking module is used for each number of people of determining is followed the tracks of, and forms number of people target trajectory; Number of people target trajectory analysis module is used to calculate the smoothness of number of people target trajectory, judges whether said smoothness satisfies threshold value, if, keep this number of people target trajectory, otherwise, this number of people target trajectory abandoned; The flow of the people counting module, the number of people target trajectory direction that is used for after analysis is carried out the flow of the people counting.
Said sorter is the multicategory classification device of parallel connection; Said number of people detection module comprises rough detection submodule and fine screening submodule; Said rough detection submodule is used to be provided with the detection order of all kinds of sorters; Adopting each sorter that present image is carried out the number of people successively according to the detection order detects; Up to determining the number of people, wherein, the multicategory classification device of said parallel connection is formed in parallel by at least two types of sorters; The fine screening submodule is used for the detected number of people of multicategory classification device of parallel connection is carried out edge feature fine screening processing.
The multicategory classification device of said parallel connection is formed in parallel by any two or more in dark hair generic classifier, light hair sorter, cap sorter and the expansion sorter.
It is thus clear that the present invention can remove false target through the smoothness analysis to number of people target trajectory, can further improve the detection accuracy rate.Further, the present invention uses a plurality of sorter parallel connections, can detect multiclass number of people targets such as dark hair, light hair and shades of colour cap simultaneously, guarantees that statistics is more comprehensive.Further, the present invention also is provided with an expansion sorter, can be according to the application of particular surroundings, gather sample training, and detect the number of people of designated color or cap, such as the working cap in factory or warehouse etc.Further, on the basis of sorter as number of people rough detection of a plurality of parallel connections, utilize edge feature that the rough detection result is carried out fine screening again, obtain real number of people target at last, make that detection is more accurate.In addition, the present invention selects the size of detection window automatically through scene calibration before detection, makes the present invention can the various camera angle of self-adaptation, has widened range of application.
Description of drawings
Fig. 1 is the method flow diagram of one embodiment of the invention people flow rate statistical;
Fig. 2 is the method flow diagram of another embodiment of the present invention people flow rate statistical;
Fig. 3 is a preferred embodiment scene calibration process flow diagram of the present invention;
Fig. 4 is a preferred embodiment number of people detection module structured flowchart of the present invention;
Fig. 5 is all kinds of sorter cascade of a preferred embodiment of the present invention assorting process synoptic diagram;
Fig. 6 is the process flow diagram of preferred embodiment particle filter tracking of the present invention;
Fig. 7 is preferred embodiment movement locus smoothness analysis process figure of the present invention;
Fig. 8 is the system architecture synoptic diagram of inventor's traffic statistics.
Embodiment
The present invention proposes a kind of method of removing the people flow rate statistical of false target, sees also Fig. 1, is one embodiment of the invention process flow diagram, comprising:
S100: adopt sorter that present image is carried out the number of people and detect, confirm each number of people in the present image;
S101: each number of people to determining is followed the tracks of, and forms number of people target trajectory;
S102: number of people target trajectory is carried out the smoothness analysis;
S103: carry out the flow of the people counting according to the number of people target trajectory direction after analyzing.
Wherein, the process of number of people target trajectory being carried out the smoothness analysis is: confirm the smoothness of number of people target trajectory, judge whether said smoothness satisfies threshold value; If; Keep this number of people target trajectory, otherwise, this number of people target trajectory abandoned.
It is thus clear that the present invention detects can remove false target through the smoothness analysis to number of people target trajectory, can further improve the detection accuracy rate.
In order further to improve the accuracy of people flow rate statistical; On scheme basis shown in Figure 1, can further be optimized, comprise; The multicategory classification device of scene calibration, employing parallel connection carries out rough detection, the rough detection result is carried out edge feature fine screening etc.; See also Fig. 2, be another embodiment of the present invention process flow diagram, comprising:
S201: scene calibration;
Particularly, scene calibration is meant carries out scene calibration to the surveyed area in the image, thereby surveyed area is divided into plurality of sub-regions.
S202: the number of people detects;
The number of people detects and further comprises parallelly connected sorter rough detection and two steps of edge feature fine screening, thereby confirms each number of people in the present image.
S203: number of people target following;
Through each number of people of determining is followed the tracks of, form number of people target trajectory.
S204: number of people target trajectory is carried out the smoothness analysis;
Particularly, number of people target trajectory is carried out the smoothness analysis comprise: confirm the smoothness of number of people target trajectory, judge whether said smoothness satisfies threshold value, if, keep this number of people target trajectory, otherwise, this number of people target trajectory abandoned.
S205: people flow rate statistical: flow of the people is counted through number of people target trajectory direction.
Need to prove, above-mentioned scene calibration, the number of people of parallelly connected sorter rough detection is carried out the edge feature fine screening, and can combine to use, also can use separately the improvement that number of people target trajectory is analyzed.
Carry out labor in the face of the optimum embodiment of the present invention who comprises all improvements down.
1, scene calibration
Because the video camera that is used for people flow rate statistical generally all is hard-wired, the scene variability is less, so the scene calibration module only need launch before first frame detects number of people target, and the result who all adopts first frame to demarcate when each frame detects number of people afterwards gets final product.If scene changes, then need launch scene calibration once more.
Under video camera situation without spin, the change in depth of scene can be approximated to be along the linear variation of image y coordinate, that is:
w(x,y)=f×y+c (1)
Wherein, (x, y) expression center image coordinate is that (f is the scene depth coefficient for x, the width of number of people target boundary rectangle y), and c is a constant to w.The purpose of scene calibration is exactly to confirm the value of f and c through demarcating frame, thereby through type (1) is obtained the size of number of people target boundary rectangle in arbitrary coordinate place in the image.
Two unknown quantity f and the c of the present invention through selecting 4~6 to demarcate in the frame calculating formulas (1); Thereby obtain the change in depth coefficient of scene; In the coboundary and lower limb coordinate substitution formula (1) with the surveyed area boundary rectangle, obtain minimum people's area of bed w in the surveyed area then MinWith maximum people's area of bed w Max, last, according to the number of people change in size scope surveyed area is divided into plurality of sub-regions, corresponding one of each subregion changes less number of people range of size, and in ensuing number of people detection module, each subregion is with different size window search candidate rectangle.
Scene calibration step block diagram is as shown in Figure 3, comprising:
S301: select to demarcate frame;
S302: calculate the scene depth variation factor;
S303: calculate number of people target size variation range in the surveyed area;
S304: surveyed area is divided into plurality of sub-regions according to number of people target size variation range.
So far, scene calibration finishes.Next begin in each two field picture, to carry out detection, tracking and the counting of the number of people.
2, the number of people detects
The number of people among the present invention detects and is divided into parallelly connected sorter rough detection and two links of edge feature fine screening.
Through the good sorter of training in advance the inhuman head of major part is marked eliminating in the parallel connection sorter rough detection link; The inhuman head's mark of remaining number of people target and part flase drop behaviour head target; And then remove most of flase drop through edge feature fine screening link, keep real human head mark.Number of people detection module structured flowchart is as shown in Figure 4.
The present invention adopts the haar characteristic to train respectively based on the Adaboost algorithm to comprise the positive branch of the dark hair generic classifier of the front number of people and the back side number of people, dark hair sorter, dark hair back side branch sorter, light hair sorter, cap sorter and for adapting to the special a plurality of sorters such as expansion sorter that are provided with of specific environment.The array mode of a plurality of sorters is shown in Fig. 4 rough detection link: dark hair generic classifier and positive branch sorter, the synthetic tree structure of back side branch set of classifiers; Form parallelly connected with light hair sorter, cap sorter and expansion sorter then; The sorter testing result gets into people's head edge fine screening link, obtains real number of people target at last.
2.1, parallelly connected sorter rough detection link
Training aids needs to train with a large amount of positive samples and negative sample in advance, and the present invention adopts the haar characteristic of using in the detection of people's face to add Adaboost algorithm training recognizer.
The Haar characteristic is made up of the rectangle of two or three different sizes.The shape and the half-tone information of specific objective can be described through the size, array mode and the angle that change rectangle.The Adaboost algorithm is a kind of method that can some Weak Classifiers be combined into strong classifier.Each Weak Classifier selects one or several haar characteristic to come sample is classified, and several Weak Classifiers are through the synthetic one-level strong classifier of Adaboost algorithm groups.All kinds of sorters described in the present invention form by some grades of strong classifier cascades.
The present invention according to the number of people target size that the scene calibration module obtains, adopts the exhaustive mode seeker head to mark candidate rectangle in surveyed area.Candidate rectangle is input to respectively in dark hair generic classifier, light hair sorter, cap sorter and the expansion sorter classifies; If be classified as the number of people; Then this candidate rectangle is detected as the output of number of people target, continues to judge next candidate rectangle, otherwise; To select candidate rectangle to abandon, continue to judge next candidate rectangle.
In said process, a candidate rectangle is categorized as the strong classifiers at different levels that number of people target needs to pass through step by step cascade classifier by sorter, otherwise is classified as inhuman head's mark, and its process synoptic diagram is as shown in Figure 5.
In addition, in the above-mentioned sorter testing process, the preferential sorter of selecting can be adjusted according to practical application.The probability of dark hair is maximum in the general application scenarios, and the dark hair sorter of therefore preferential selection detects, and at special scenes, such as detecting the doorway, warehouse, the expansion sorter that can preferentially select the working cap sample training to obtain detects, to accelerate detection speed.
2.2, edge feature fine screening link
Through parallelly connected sorter rough detection link, most of non-number of people rectangle has been excluded, and only stays true number of people rectangle and is the rectangle of the number of people by the sorter flase drop.Edge feature fine screening link then can be removed most of flase drop rectangle through the edge feature that extracts in the rectangle, keeps real human head mark.
The present invention adopts oval first circular arc as the headform, and the edge feature fine screening is exactly to calculate by sorter to be judged as the rectangle inward flange characteristic of number of people target and the degree of fitting of oval first circular arc.If degree of fitting is greater than judgment threshold, then this rectangle is true number of people rectangle, otherwise is flase drop number of people rectangle, and this rectangle is removed from object listing.
3, the number of people is followed the tracks of
Need follow the tracks of after number of people target detection is come out, form target trajectory, to avoid same target repeat count.Target tracking module of the present invention adopts particle filter algorithm that number of people target is followed the tracks of.
The flow process of particle filter tracking is as shown in Figure 6, and detailed process is following:
Step 601: particle initialization;
When new detected number of people target does not have existing particle at once, a then newly-generated particle tracker, and with each particle position and size in the new detected object initialization tracker, and compose the weighted value of equating for each particle.
Step 602: particle resamples;
In tracing process; Particle " degradation phenomena " can occur through after weight is upgraded several times; Promptly the weight of the minority particle of approaching true number of people rectangle can become bigger; And becoming very little away from the weight of most of particle of number of people rectangle, a large amount of calculating can be wasted on the very little particle of these weights.In order to solve " degradation phenomena ", after upgrading, each particle weight should resample to particle.
It is exactly to keep and duplicate the bigger particle of weight that particle resamples, and rejects the less particle of weight, and the particle that makes the heavy particle of original cum rights be mapped as equal weight continues predicting tracing.When tracker was newly-generated, the weight of each particle equated in the tracker, therefore, need not resample again.
Step 603: the propagation of particle;
The propagation of particle also is the state transitions of particle, is meant the state renewal process in time of particle.Among the present invention, the state of particle is meant the position and the size of the target rectangle of particle representative.The propagation of particle adopts a kind of random motion process to realize that promptly the current state of particle adds that by Last status a random quantity obtains.Like this, each current particle is all being represented a possible position and the size of number of people target in present frame.
Step 604: according to observed reading new particle weight more;
Particle has just obtained possible position and the size of number of people target in present frame through circulation way, also need utilize the observed reading of present image to confirm that which particle most possibly is a number of people rectangle.Haar characteristic and the edge feature that extracts particle correspondence image rectangle among the present invention is as the observed reading weight of new particle more.The observed reading of particle is approaching more with the true number of people, and the rectangle that then this particle is corresponding possibly be number of people rectangle more, and the weight of particle increases; Otherwise the weight of particle reduces.
Step 605: upgrade target trajectory;
Particle is sorted by the weight size; Take out the maximum particle of weight, calculate the corresponding rectangle of the maximum particle of weight and detect the overlapping area that everyone head who obtains marks rectangle, overlapping area is maximum; And the number of people target greater than setting threshold promptly is the number of people of number of people target correspondence in present frame of this particle place tracker representative; Then use the target trajectory of the position renewal tracker of this number of people target, and replace the maximum particle of weight, get into next frame and follow the tracks of with this number of people target; If everyone head who detects in the maximum particle of weight and the present frame marks all not overlapping or overlapping area less than threshold value; Think that then the number of people target of this particle place tracker representative does not find the corresponding number of people in present frame; Then upgrade the target trajectory of tracker, and get into the next frame tracking with this particle position.If maximum particle N continuous (N>2) frame of weight can not find corresponding number of people target, the number of people target and the disappearance of the tracker representative at this particle place then are described, reject this tracker.
Through above-mentioned five steps, the number of people target between frame and the frame just associates the movement locus that has formed number of people target.
4, smooth trajectory degree analysis module
In general, the motion of real human head's target is smoother, and the flase drop target then may demonstrate mixed and disorderly motion, and therefore, the present invention removes flase drop through the smoothness analysis to target trajectory, further improves detection accuracy.
Target trajectory to tracking module generates is analyzed, and calculates the smoothing factor of target trajectory, if smoothing factor then keeps this track greater than the level and smooth threshold value of setting; Otherwise, reject this track.Smooth trajectory degree analysis module flow process is as shown in Figure 7, comprising:
S701: obtain target trajectory;
S702: the smoothness of confirming number of people target trajectory;
S703: judge whether smoothness satisfies the smoothness threshold value requirement of presetting, if, carry out S704, otherwise, S705 carried out;
S704: keep this target trajectory;
S705: abandon this target trajectory;
S706: export target movement locus.
5, flow of the people counting module
The present invention counts flow of the people through number of people target trajectory direction.The present invention judges in surveyed area whether the direction of this target trajectory is consistent with " people flows into " direction of setting, if consistent, then " entering number " counting adds one, otherwise " leaving number " counting adds one.Be " counting " with this target label after counting is accomplished, make track be in disarmed state, avoid same target repeat count.
So far, analyze and this five big step of people flow rate statistical, promptly accomplished comprehensive, accurate statistics flow of the people through scene calibration, number of people detection, number of people target following, number of people target trajectory.
Corresponding with said method, the present invention also provides a kind of system of people flow rate statistical, and this system can pass through software, hardware or software and hardware combining and realize.
With reference to figure 8, this system comprises:
Number of people detection module 801 is used to adopt sorter that present image is carried out the number of people and detects, and confirms each number of people in the present image;
Number of people target tracking module 802, each number of people that is used for number of people detection module 801 is determined is followed the tracks of, and forms number of people target trajectory;
Flow of the people counting module 803 is used for carrying out the flow of the people counting in the number of people target trajectory direction that number of people target tracking module 802 is confirmed;
Especially, this system also comprises number of people target trajectory analysis module 804, is used to calculate the smoothness of number of people target trajectory; Judge whether said smoothness satisfies threshold value, if keep this number of people target trajectory; Otherwise, abandon this number of people target trajectory.At this moment, flow of the people counting module 803 is on the basis of number of people target trajectory analysis module 804, adds up according to the number of people of movement locus direction.
Preferably, sorter adopts the multicategory classification device of parallel connection to realize, for example; Any two or more by in dark hair generic classifier, light hair sorter, cap sorter and the expansion sorter are formed in parallel, and at this moment, number of people detection module 801 comprises rough detection submodule and fine screening submodule; Wherein, The rough detection submodule is used to be provided with the detection order of all kinds of sorters, adopts each sorter that present image is carried out the number of people successively according to the detection order and detects, up to determining the number of people; The screening submodule is used for the detected number of people of multicategory classification device of parallel connection is carried out edge feature fine screening processing.
Preferably, this system also comprises:
Scene calibration module 805 is used for the surveyed area of image is carried out scene calibration, thereby surveyed area is divided into plurality of sub-regions.Wherein, the purpose of scene calibration module 805 is the depth coefficients that obtain scene, can calculate the size of the number of people target of each position in the image according to the scene depth coefficient, for the people head marks detection module the detection size is provided.At this moment, the size that number of people detection module 801 provides according to scene calibration module 805, seeker head's mark in the plurality of sub-regions of appointment.
The concrete realization of said system sees also method embodiment, does not give unnecessary details.
It is thus clear that the present invention can remove false target through the smoothness analysis to number of people target trajectory, can improve the detection accuracy rate.Further, the present invention adopt the haar characteristic based on the sorter of a plurality of parallel connections of Adaboost algorithm training as number of people rough detection, utilize edge feature that the rough detection result is carried out fine screening again, obtain real number of people target at last.Among the present invention a plurality of sorter parallel connections are used; Can detect multiclass number of people targets such as dark hair, light hair and shades of colour cap simultaneously; The present invention also is provided with an expansion sorter, can gather sample training according to the application of particular surroundings; Detect the number of people of designated color or cap, such as the working cap in factory or warehouse etc.In addition, the present invention selects the size of detection window automatically through scene calibration before detection, makes the present invention can the various camera angle of self-adaptation, has widened range of application.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (11)

1. the method that can remove the people flow rate statistical of false target is characterized in that, comprising:
Surveyed area in the image is carried out scene calibration, obtaining number of people target size variation range in the said surveyed area, thereby said surveyed area is divided into plurality of sub-regions according to said number of people target size variation range;
In said subregion, adopt sorter that present image is carried out the number of people and detect, confirm each number of people in the present image;
Each number of people to determining is followed the tracks of, and forms number of people target trajectory;
Number of people target trajectory is carried out the smoothness analysis;
Carry out the flow of the people counting according to the number of people target trajectory direction after analyzing.
2. according to the said method of claim 1, it is characterized in that, saidly number of people target trajectory is carried out the smoothness analysis comprise:
Confirm the smoothness of number of people target trajectory, judge whether said smoothness satisfies threshold value, if, keep this number of people target trajectory, otherwise, this number of people target trajectory abandoned.
3. according to the said method of claim 1, it is characterized in that, adopt sorter present image is carried out the number of people detect after, confirm each number of people in the present image before, also comprise:
The detected number of people of sorter is carried out the edge feature fine screening to be handled.
4. according to the said method of claim 3, it is characterized in that, saidly the detected number of people of sorter is carried out the edge feature fine screening handle and to comprise:
Calculate said sorter and be judged as the rectangle inward flange characteristic of number of people target and the degree of fitting of the upside of ellipse arc that presets,, otherwise this rectangle is removed from object listing if degree of fitting greater than threshold value, is then confirmed as the number of people with this rectangle.
5. according to the said method of claim 1; It is characterized in that; Said surveyed area in the image is carried out scene calibration; To obtain number of people target size variation range in the said surveyed area, comprise thereby said surveyed area is divided into plurality of sub-regions according to said number of people target size variation range:
Select to demarcate frame;
Calculate the scene depth variation factor;
Calculate number of people target size variation range in the surveyed area;
According to the number of people target size variation range surveyed area is divided into plurality of sub-regions.
6. according to each said method of claim 1 to 5, it is characterized in that said sorter is the multicategory classification device of parallel connection.
7. according to the said method of claim 6, it is characterized in that said multicategory classification device carries out number of people detection to image and comprises:
The detection order of all kinds of sorters is set, adopts each sorter that present image is carried out the number of people successively according to the detection order and detect, up to determining the number of people, wherein, the multicategory classification device of said parallel connection is formed in parallel by at least two types of sorters.
8. according to the said method of claim 6, it is characterized in that the multicategory classification device of said parallel connection is formed in parallel by any two or more in dark hair generic classifier, light hair sorter, cap sorter and the expansion sorter.
9. the system that can remove the people flow rate statistical of false target is characterized in that, comprising:
The scene calibration module is used for the surveyed area of image is carried out scene calibration, obtaining number of people target size variation range in the said surveyed area, thereby according to said number of people target size variation range said surveyed area is divided into plurality of sub-regions;
Number of people detection module is used in said subregion, adopting sorter that present image is carried out the number of people and detects, and confirms each number of people in the present image;
Number of people target tracking module is used for each number of people of determining is followed the tracks of, and forms number of people target trajectory;
Number of people target trajectory analysis module is used to calculate the smoothness of number of people target trajectory, judges whether said smoothness satisfies threshold value, if, keep this number of people target trajectory, otherwise, this number of people target trajectory abandoned;
The flow of the people counting module, the number of people target trajectory direction that is used for after analysis is carried out the flow of the people counting.
10. according to the said system of claim 9, it is characterized in that,
Said sorter is the multicategory classification device of parallel connection;
Said number of people detection module comprises rough detection submodule and fine screening submodule; Said rough detection submodule is used to be provided with the detection order of all kinds of sorters; Adopting each sorter that present image is carried out the number of people successively according to the detection order detects; Up to determining the number of people, wherein, the multicategory classification device of said parallel connection is formed in parallel by at least two types of sorters; The fine screening submodule is used for the detected number of people of multicategory classification device of parallel connection is carried out edge feature fine screening processing.
11., it is characterized in that the multicategory classification device of said parallel connection is formed in parallel by any two or more in dark hair generic classifier, light hair sorter, cap sorter and the expansion sorter according to the said system of claim 10.
CN2010101181364A 2010-02-10 2010-02-10 People flow rate statistical method and system capable of removing false targets Active CN101872414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101181364A CN101872414B (en) 2010-02-10 2010-02-10 People flow rate statistical method and system capable of removing false targets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101181364A CN101872414B (en) 2010-02-10 2010-02-10 People flow rate statistical method and system capable of removing false targets

Publications (2)

Publication Number Publication Date
CN101872414A CN101872414A (en) 2010-10-27
CN101872414B true CN101872414B (en) 2012-07-25

Family

ID=42997269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101181364A Active CN101872414B (en) 2010-02-10 2010-02-10 People flow rate statistical method and system capable of removing false targets

Country Status (1)

Country Link
CN (1) CN101872414B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130101159A1 (en) * 2011-10-21 2013-04-25 Qualcomm Incorporated Image and video based pedestrian traffic estimation
CN103577832B (en) * 2012-07-30 2016-05-25 华中科技大学 A kind of based on the contextual people flow rate statistical method of space-time
CN105704434A (en) * 2014-11-28 2016-06-22 上海新联纬讯科技发展有限公司 Stadium population monitoring method and system based on intelligent video identification
CN104778474B (en) * 2015-03-23 2019-06-07 四川九洲电器集团有限责任公司 A kind of classifier construction method and object detection method for target detection
CN108629230B (en) * 2017-03-16 2021-02-12 杭州海康威视数字技术股份有限公司 People counting method and device and elevator dispatching method and system
CN108961314B (en) * 2018-06-29 2021-09-17 北京微播视界科技有限公司 Moving image generation method, moving image generation device, electronic device, and computer-readable storage medium
CN109344800B (en) * 2018-10-25 2020-11-20 南昌工程学院 Rapid classification and identification method based on small moving target
CN109522854B (en) * 2018-11-22 2021-05-11 广州众聚智能科技有限公司 Pedestrian traffic statistical method based on deep learning and multi-target tracking
CN111860261B (en) * 2020-07-10 2023-11-03 北京猎户星空科技有限公司 Passenger flow value statistical method, device, equipment and medium
CN112977823A (en) * 2021-04-15 2021-06-18 上海工程技术大学 Unmanned aerial vehicle for monitoring people flow data and monitoring method
CN113536891B (en) * 2021-05-10 2023-01-03 新疆爱华盈通信息技术有限公司 Pedestrian traffic statistical method, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101416512A (en) * 2006-04-07 2009-04-22 微软公司 Quantization adjustment based on texture level
CN101464946A (en) * 2009-01-08 2009-06-24 上海交通大学 Detection method based on head identification and tracking characteristics
CN101477641A (en) * 2009-01-07 2009-07-08 北京中星微电子有限公司 Demographic method and system based on video monitoring

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2431717A (en) * 2005-10-31 2007-05-02 Sony Uk Ltd Scene analysis

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101416512A (en) * 2006-04-07 2009-04-22 微软公司 Quantization adjustment based on texture level
CN101477641A (en) * 2009-01-07 2009-07-08 北京中星微电子有限公司 Demographic method and system based on video monitoring
CN101464946A (en) * 2009-01-08 2009-06-24 上海交通大学 Detection method based on head identification and tracking characteristics

Also Published As

Publication number Publication date
CN101872414A (en) 2010-10-27

Similar Documents

Publication Publication Date Title
CN101872422B (en) People flow rate statistical method and system capable of precisely identifying targets
CN101877058B (en) People flow rate statistical method and system
CN101872431B (en) People flow rate statistical method and system applicable to multi-angle application scenes
CN101872414B (en) People flow rate statistical method and system capable of removing false targets
US8798327B2 (en) Method and system for people flow statistics
US9418546B1 (en) Traffic detection with multiple outputs depending on type of object detected
CN102542289B (en) Pedestrian volume statistical method based on plurality of Gaussian counting models
CN105512640B (en) A kind of people flow rate statistical method based on video sequence
CN109948582B (en) Intelligent vehicle reverse running detection method based on tracking trajectory analysis
CN100361138C (en) Method and system of real time detecting and continuous tracing human face in video frequency sequence
CN102147869B (en) Pedestrian detection method based on foreground analysis and pattern recognition
CN104951784B (en) A kind of vehicle is unlicensed and license plate shading real-time detection method
CN102722698B (en) Method and system for detecting and tracking multi-pose face
CN106446926A (en) Transformer station worker helmet wear detection method based on video analysis
CN102214309B (en) Special human body recognition method based on head and shoulder model
CN104268598B (en) Human leg detection method based on two-dimensional scanning lasers
Dupont et al. Crowd-11: A dataset for fine grained crowd behaviour analysis
CN104463196A (en) Video-based weather phenomenon recognition method
CN104134078B (en) Automatic selection method for classifiers in people flow counting system
CN108229256B (en) Road construction detection method and device
CN102521565A (en) Garment identification method and system for low-resolution video
CN109508664A (en) A kind of vegetable identification pricing method based on deep learning
CN104573811A (en) Pedestrian flow counting method based on infrared image and color image fusion
CN109918971A (en) Number detection method and device in monitor video
CN101980245A (en) Adaptive template matching-based passenger flow statistical method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: HANGZHOU HAIKANG WEISHI SOFTWARE CO., LTD.

Effective date: 20121025

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 310012 HANGZHOU, ZHEJIANG PROVINCE TO: 310051 HANGZHOU, ZHEJIANG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20121025

Address after: Hangzhou City, Zhejiang province 310051 Binjiang District East Road Haikang Science Park No. 700, No. 1

Patentee after: Hangzhou Hikvision Digital Technology Co., Ltd.

Address before: Ma Cheng Road Hangzhou City, Zhejiang province 310012 No. 36

Patentee before: Hangzhou Haikang Weishi Software Co., Ltd.