CN101561928A - Multi-human body tracking method based on attribute relational graph appearance model - Google Patents

Multi-human body tracking method based on attribute relational graph appearance model Download PDF

Info

Publication number
CN101561928A
CN101561928A CNA2009100435375A CN200910043537A CN101561928A CN 101561928 A CN101561928 A CN 101561928A CN A2009100435375 A CNA2009100435375 A CN A2009100435375A CN 200910043537 A CN200910043537 A CN 200910043537A CN 101561928 A CN101561928 A CN 101561928A
Authority
CN
China
Prior art keywords
human body
tracking
attribute
relational graph
appearance model
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.)
Granted
Application number
CNA2009100435375A
Other languages
Chinese (zh)
Other versions
CN101561928B (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.)
Hunan University
Original Assignee
Hunan University
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 Hunan University filed Critical Hunan University
Priority to CN2009100435375A priority Critical patent/CN101561928B/en
Publication of CN101561928A publication Critical patent/CN101561928A/en
Application granted granted Critical
Publication of CN101561928B publication Critical patent/CN101561928B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

Aiming at the problem of multi-human bodies tracking in fixed monitoring scene, the invention provides a multi-human body tracking method based on an attribute relational graph appearance model. The method comprises the following steps: firstly, setting up the attribute relational graph appearance model for a current frame human body detection region; secondly, computing the similarity between the attribute relational graph appearance model of tracking human body at the current frame and the attribute relational graph appearance model of tracking human body at the former frame; thirdly, ensuring the matching of interframe human body according to the similarity so as to ensure human body tracking condition and acquire motion track. The method can greatly improve the accuracy, the reliability and the real-time performance of the multi-human body tracking in the fixed monitoring scene.

Description

Multi-human body tracking method based on attribute relational graph appearance model
Technical field
What the present invention relates to is multi-human body tracking method in the fixed monitoring scene, specifically is a kind of multi-human body tracking method based on attribute relational graph appearance model.
Background technology
In higher public places of safety requirements such as bank, hotel, subways, the suspicious people who needs discovery in time to have abnormal behaviour.Adopt the fixing mode monitoring scene of video camera at present in these places mostly, therefore the computer vision monitoring need realize the accurate tracking to a plurality of human body compound movement situations under fixed scene, and this also is the basis that follow-up behavior is understood, unusual trace is analyzed the contour level visual processes.Because tracing process promptly is the different human body in the identification monitor video successive frame, and the human appearance feature is in most cases to distinguish the important evidence of different human body, therefore the tracking based on the human appearance model is subjected to extensive concern.At present, the method for following the tracks of human body based on display model mainly contains three kinds: 1) color histogram method: in the human appearance feature, color is an important clue, and traditional method of setting up display model is to adopt color histogram.But, owing to only obtaining the color statistical value, color histogram lost spatial information, cause mistake easily, the people who wears green upper garment, red trousers as the people and of the whole body red coloration upper garment, green trousers, the color histogram that their outward appearance is set up is almost completely consistent, can't only distinguish out two people according to its color histogram.2) method that combines with spatial information of color histogram: when calculating color histogram, add spatial information, as proposing body shape is divided into three parts, each several part is described its color characteristic with color histogram, and realize human body tracking with Condensation (bunching) algorithm, but, this method lack the partes corporis humani divided between the description of structural relation, follow the tracks of accuracy, reliability is low; 3) color correlogram method: the color correlogram calculates the probability of certain distance of being separated by between two pixels with co-occurrence matrix.Though the color correlogram can reflect different colours between spatial coherence, but since need to adopt three-dimensional array characterize different colours to and distance, make the method computation complexity very high, can't be used for monitoring in real time follows the tracks of, and lack the analysis to the target travel situation in the document, accuracy is followed the tracks of in influence.
Therefore, following the tracks of the subject matter that the method for human body exists based on display model has: how to set up the accuracy that display model is more accurately described human body, how to be improved many human body tracking.
Summary of the invention
Inventing technical matters to be solved is to propose a kind of multi-human body tracking method based on attribute relational graph appearance model, with feature combinations such as human appearance color, space structures, set up human appearance model more accurately and effectively, under the situation that monitoring scene is fixed, improve accuracy, the validity of many human body tracking.
For achieving the above object, technical scheme of the present invention is:
A kind of multi-human body tracking method based on attribute relational graph appearance model is characterized in that, may further comprise the steps:
1) obtains the image of the fixed scene that includes tracked human body continuously, attribute relational graph appearance model is set up in the human detection zone of current frame image: the human region that detects is divided into head, upper body and three body parts of lower limb; The corresponding described body part of each node of attribute relational graph appearance model, nodal community characterizes the feature of body part, is shown by following three scales: the mark of corresponding body part, color histogram, boundary rectangle frame center point coordinate; The limit of attribute relational graph appearance model is represented that by the straight-line segment of the central point that connects any two body parts of human body side attribute adopts the length and the angle of straight-line segment to represent;
2) calculate the attribute relational graph appearance model of present frame human body and the similarity that previous frame is followed the tracks of the attribute relational graph appearance model of human body;
3) follow the tracks of the present frame human body according to the similarity of calculating gained.
Described nodal community is defined as Δ (θ i)={ ω i, p i, hist i, wherein, ω iThe mark of representing the body part of i tracked object: head, upper body, lower limb are labeled as " head ", " up " and " low " respectively; p iThe center point coordinate of representing the body part boundary rectangle frame of i tracked human body; Hist iBe the color characteristic of the body part of i tracked human body, hist iBe expressed as with normalized HSV space one dimension color histogram: hist i=9H+3S+V; Wherein, the value of H, S, V remarked pixel point three-component H, S, V in the HSV space;
Side attribute is defined as: r (θ i, θ j)={ r l, r g(i ≠ j), wherein r lBe length attribute, represent two node θ iAnd θ jBetween length of straigh line, adopt the Euclidean distance between the central point in the nodal community to represent: r l=| p i-p j|, p i, p jRepresent node θ respectively iAnd θ jAttribute in center point coordinate; r gBe the angle attribute, represent this two node θ iAnd θ jBetween the straight-line segment angle, r g = arcsin y i - y j r l , Y wherein i, y jBe node θ i, θ jAttribute in central point y direction coordinate, r gSpan be [0, π];
Described similarity is defined as follows:
τ ( G , G ^ ) = Σ i λ 1 δ 1 ( Δ ( θ i ) , Δ ( θ ^ i ) ) + Σ i Σ j λ 2 δ 2 ( r ( θ i , θ j ) , r ^ ( θ ^ i , θ ^ j ) ) (i≠j)
Wherein, λ 1, λ 2Be weight coefficient, and constraint condition is: λ 1+ λ 2=1, make similarity τ within interval [0,1], δ 1(Δ (θ i),
Figure A20091004353700073
The expression G and
Figure A20091004353700074
In the internodal similarity of corresponding similar body part, δ 2(r (θ i, θ j),
Figure A20091004353700075
Be G and
Figure A20091004353700076
In connect the similarity on the limit of two similar body parts, G and
Figure A20091004353700077
Be respectively the attribute relational graph appearance model of present frame human body and the attribute relational graph appearance model that previous frame is followed the tracks of human body;
Described step according to similarity tracking present frame human body is: set up the coupling matrix, list each surveyed area and previous frame and follow the tracks of the similarity of human body: the row of establishing the coupling matrix number is represented present frame human detection zone, row number represents previous frame tracking human body, with the matching degree τ of attribute relational graph appearance model NmAs the matrix element value record, n represents the sequence number of present frame human body, and m represents the mark of former frame tracking human body, then according to matching threshold τ 0Determine whether coupling, matching result is
Figure A20091004353700078
By the situation of coupling matrix, determine many human bodies in the present frame tracking mode, obtain human body motion track, and upgrade its display model; Match condition reduces four kinds:
1) new human body occurs: τ ' during n is capable NmBe 0: and sustained continuous three frames, thinking that then " new human body " occurs, human body n distributes new mark for human body newly occurring, sets up its attribute relational graph appearance model, begins to follow the tracks of this human body;
2) the normal tracking: n is capable and only has a τ ' Nm=1 element: then human body n mates with tracking human body m, think " the normal tracking ", be human body n distribute labels m, write down its boundary rectangle frame center position, and with the display model of human body n as following the tracks of the attribute relational graph appearance model that human body m upgrades;
3) block tracking: n is capable a plurality of element τ ' to occur Nm=1: then think " blocking tracking ", human body n is made up of a plurality of human bodies that block, and the human body that is blocked is τ ' NmThe tracking human body of=1 element column correspondence;
4) human body disappears: m column element τ ' NmBe 0: and this situation occurs at continuous three frames, then thinks " human body disappearance ", promptly follows the tracks of human body m and disappears, this human body of deletion from tracking sequence.
As improvement, under the situation of blocking, the position of adopting the Kalman filter prediction to block human body, thus definite attribute relational graph appearance model that respectively blocks human body is finished the tracking under the situation of blocking.
The present invention at first sets up attributed relational graph to the detected human body connected region of present frame and describes the human appearance feature, calculate the similarity of following the tracks of the attribute relational graph appearance model of human body with previous frame again, judge interframe human body match condition by similarity, follow the tracks of human body according to different match condition, thereby realize the many human body tracking in the successive frame.Particular content is as follows:
(1) detected human body is set up attribute relational graph appearance model
The present invention proposes to utilize attributed relational graph to set up the human appearance model.At first detected human region is divided into head, upper body, three parts of lower limb in the health ratio, the node of attribute relational graph appearance model is represented body part, nodal community is defined as mark, color histogram, the boundary rectangle frame center point coordinate of body part, the limit of attribute relational graph appearance model is expressed as the straight-line segment that connects any two body parts of human body, and side attribute adopts length, the viewpoint definition of straight-line segment.
(2) similarity of calculating human body attribute relational graph appearance model
In order to measure the similarity of many human appearance of interframe model, need computation attribute graph of a relation display model similarity.Because the attributed relational graph similarity comprises nodal community similarity, side attribute similarity, the present invention is according to the definition of nodal community, side attribute, the similarity of each attributive character in analysis, computing node attribute, the side attribute draws human body attribute relational graph appearance model similarity thereby derive respectively.
(3) follow the tracks of many human bodies according to different match condition
According to the similarity of interframe human body attribute relational graph appearance model, set up the coupling matrix, analyze the match condition that draws the interframe human body and comprise four kinds: new human body occurs, human body disappears, normally follows the tracks of, blocks tracking.Follow the tracks of human body according to different match condition respectively, the situation of " blocking tracking " in this way, owing to can't detect the position of blocking human body, adopt the prediction of Kalman wave filter to block the position of human body at present frame, thereby set up the attribute relational graph appearance model that blocks human body, realize blocking the many human body tracking under the situation.
Beneficial effect:
Compared with prior art, superiority of the present invention is embodied in:
1, proposes to set up the human appearance model with attributed relational graph, can not only characterize the color and the space characteristics of each body part of human body, and structural relation between each body part has been described, can describe the human appearance feature more accurately, thereby improve the accuracy of follow-up many human body tracking greatly;
2, according to the definition of human body attribute relational graph appearance model, the similarity of each attributive character in nodal community by analytic attribute graph of a relation display model, the side attribute, derivation calculates the similarity of attribute relational graph appearance model, and it is more easy, effective to make similarity calculate;
3, according to the attribute relational graph appearance model similarity of deriving and calculating, four kinds of match condition of many human bodies of having set up the coupling matrix analysis between successive frame, and realize many human body tracking under the different situations in view of the above, obtain movement locus, thereby can more effectively realize the tracking of many human bodies under the complex situations, and the matching algorithm complexity is low, has improved the real-time of tracker.
Description of drawings:
Fig. 1 the inventive method overview flow chart
Fig. 2 makes up the human body attribute relational graph appearance model.A) the boundary rectangle collimation mark is known the human detection zone; B) each human body is divided into three body parts, and sets up the human body attribute relational graph appearance model in view of the above.
Fig. 3 makes up and blocks the human body attribute relational graph appearance model.A) respectively block the estimation range of human body; B) block the human body attribute relational graph appearance model.
The tracking results of the indoor monitor video sequence of Fig. 4.A)-f) be respectively the 71st frame, 106 frames, 138 frames, 176 frames, 206 frames and 241 frame tracking results.
Fig. 5 tracking error figure.
Embodiment
Below in conjunction with specific embodiment the present invention is described in further detail.
Embodiment 1: the general flow chart of present embodiment such as Fig. 1.
1, detected human body is set up attribute relational graph appearance model
After adopting the background subtraction method to detect the target prospect connected region, annotate surveyed area (a)) as Fig. 2 with the boundary rectangle collimation mark.Next need the surveyed area selected characteristic and set up the human appearance model, with this model as following the tracks of according in successive video frames, following the tracks of human body.Therefore, accurately whether the Feature Selection of surveyed area and the model of foundation directly influence tracking results.The present invention combines color, the spatial structure characteristic of human appearance, proposes to set up the human appearance model with attributed relational graph.
Owing to only human body is followed the tracks of, then the zone is surveyed in the health check-up of leting others have a look at of the boundary rectangle frame table of prospect connected region.According to the ratio of human body, as Fig. 2 b) shown in, connected region in the rectangle frame is divided into three the corresponding expression of part heads, upper body, lower limb, as the node θ of attributed relational graph i(be i ∈ head, up, low}); The limit is represented by the straight-line segment that connects any two body parts of human body.Then utilize attributed relational graph to set up the human appearance model: the G={ ∑ Δ, ∑ r, ∑ wherein Δ={ Δ (θ Head), Δ (θ Up), Δ (θ Low) expression nodal community set, ∑ r={ r (θ Head, θ Up), r (θ Up, θ Low), r (θ Head, θ Low) set of expression side attribute, being defined as follows of nodal community and side attribute:
1) defined node attribute: Δ (θ i)={ ω i, p i, hist i}
● ω iThe mark of expression human body part: head, upper body, lower limb are labeled as " head ", " up " and " low " respectively;
● p iThe central point of expression body part boundary rectangle frame;
● hist iThe color characteristic of expression body part adopts the color histogram of this body part to represent.
Choose HSV space, the rgb value of each pixel in this body part is converted into the HSV value with human visual system, and in order to reduce computation complexity, hist iAdopt normalized HSV space one dimension color histogram:
hist i=9H+3S+V (1)
Wherein, the value of H, S, V remarked pixel point three-component H, S, V in the HSV space.
2) definition side attribute: r (θ i, θ j)={ r l, r g(i ≠ j)
The feature on side attribute reflection limit is used to characterize two internodal space structure relations.Because the limit is expressed as the straight-line segment between any two body parts of human body, then side attribute adopts two attributes of length, angle of this straight-line segment to represent:
● r l: length attribute is represented two node θ iAnd θ jBetween length of straigh line, adopt the Euclidean distance between the central point in the nodal community to represent: r l=| p i-p j| (p i, p jRepresent node θ respectively iAnd θ jAttribute in center point coordinate);
● r g: these two node θ of angle attribute representation iAnd θ jBetween the straight-line segment angle:
r g = arcsin y i - y j r l , Y wherein i, y jBe node θ i, θ jAttribute in central point y direction coordinate, r then gSpan be [0, π].
Fig. 2 b) be depicted as the attribute relational graph appearance model of human body, its node represented by circle, and the limit represented by the line segment of band arrow, wherein the zone of arrow points generation relation on attributes.The node of the corresponding attributed relational graph of the round dot among the figure in the human body, the limit of the corresponding attributed relational graph of straight line.As seen, attribute relational graph appearance model has vividly described the structure and the pattern feature of the body part of human body, and then all also are converted into calculating between the attribute relational graph appearance model accordingly at the calculating between the pattern.
2, calculate the similarity of human body attribute relational graph appearance model
Because following the tracks of many human bodies promptly is to discern different human body in the monitor video successive frame, after adopting attributed relational graph to set up display model to each human detection zone, many human body tracking need be mated the different human body display model in successive frame, therefore solving tracking problem is to obtain human body attributed relational graph similarity between successive frame.
Because attributed relational graph comprises a plurality of nodes, limit, then the similarity of attributed relational graph is calculated needs under the constraint of nodal community, side attribute, seek a kind of optimum corresponding relation between two attributed relational graphs, this is a combinatorial optimization problem, solution commonly used such as decision tree search, simulated annealing etc.And the different body parts of human body are represented on node, limit in the human body attributed relational graph that the present invention proposes, the feature and the structure of the different body parts of their property value reflection human body, therefore the similarity of human body attributed relational graph is calculated between the nodal community that only needs at the similar body part of correspondence, the side attribute and is carried out, rather than combinatorial optimization problem.Human body attribute relational graph appearance model below in conjunction with the present invention's definition provides human body attribute relational graph appearance model calculation of similarity degree:
If the attribute relational graph appearance model in a certain human detection zone is G in the present frame, the attribute relational graph appearance model of a certain tracking human body is in the former frame
Figure A20091004353700121
Definition identical with G, its nodal community
Figure A20091004353700122
And side attribute is expressed as respectively Δ ( θ ^ i ) = { ω ^ i , b l ^ ob i , h i ^ st i } , r ( θ ^ i , θ ^ j ) = { r ^ l , r ^ g } . Because attributed relational graph comprises three nodes and three limits among the present invention, and the body part of each node, the corresponding human body in limit and mutual structural relation thereof, therefore similarity only need be carried out between the node of representing similar human body part and limit, and it is as follows then to define similarity:
τ ( G , G ^ ) = Σ i λ 1 δ 1 ( Δ ( θ i ) , Δ ( θ ^ i ) ) + Σ i Σ j λ 2 δ 2 ( r ( θ i , θ j ) , r ^ ( θ ^ i , θ ^ j ) ) , ( i ≠ j ) - - - ( 2 )
Wherein, first representation attribute graph of a relation display model G and In the internodal nodal community matching degree of all corresponding similar body parts, all connect the matching degree of the side attribute between limits of similar body part second expression.λ 1, λ 2Be weight coefficient, and constraint condition is: ∑ λ 1,2=1, make similarity τ within interval [0,1], δ 1(Δ (θ i), The internodal similarity of representing corresponding similar body part, δ 2(r (θ i, θ j), Similarity between the limit of two similar body parts of expression connection.
1) computing node attribute similarity δ 1(Δ (θ i),
Figure A20091004353700129
In formula (2), at the similar body part of two human bodies, nodal community Δ (θ i)={ ω i, p i, hist iMiddle mark ω iBe identical, as mate " head " of two human bodies, i.e. mark ω iBe " head ", then can redefine the two nodal community Δ (θ that need to calculate similarity i), Δ (θ i)={ p i, hist i, Δ ( θ ^ i ) = { p ^ i , h i ^ st i } , Therefore the nodal community similarity is defined as the weighted sum of position vector similarity and color histogram similarity:
δ 1 ( Δ ( θ i ) , Δ ( θ ^ i ) ) = λ p δ p ( p i , p ^ i ) + λ h δ h ( hist i , h i ^ st i ) - - - ( 3 )
Weight λ wherein p+ λ h=1, make δ 1Value is in 0-1.
1. calculating location similarity
Figure A200910043537001213
At first calculate Mahalanobis (Ma Shi) distance according to target state:
σ ( p i , p ^ i ) = ( p i - p ^ i ) × ( P + P ^ ) × ( p i - p ^ i ) T - - - ( 4 )
Wherein, P,
Figure A200910043537001215
Be respectively position vector p i,
Figure A200910043537001216
Covariance matrix, specifically ask method to illustrate below.The present invention utilizes kalman (Kalman) estimator to ask the Mahalanobis distance delta.
In monitor video, time interval Δ t is very little between consecutive frame usually, and the motion of human body can be similar to thinks uniform motion, and this linear system state equation and measurement equation are:
x(t)=Ax(t-1)+w(t) (5)
y(t)=Cx(t)+v(t) (6)
In the formula (5), w is a system noise, the levels of precision of reflection linear system model, and satisfying average is zero Gaussian distribution, its covariance matrix is Q, establishes Q=0.01 * I (I is a unit matrix); V is an observation noise, is that average is that zero white noise sequence and w are uncorrelated mutually, and its covariance matrix is R, can obtain by the variance of asking certain picture element observed reading in the background images in a period of time.Simultaneously, definition status vector x (t)=[p i, v i] TWith observation vector y (t)=p i, v wherein iBe that the position is p iThe speed of point, then obtain system state equation A and observation equation C according to the uniform motion kinetics equation:
A = 1 Δt 0 1 C=[1 0] (7)
According to the linear system equation of kalman estimator and definition, obtain every in the formula (4) and be calculated as respectively:
p i=y(t) (8)
p ^ i = y ^ ( t | t - 1 ) - - - ( 9 )
P=R (10)
P ^ = CP ( t | t - 1 ) C T - - - ( 11 )
Then obtain present frame observation vector p and preceding frame pursuit gain thereof
Figure A20091004353700134
Mahalanobis distance be:
σ = ( y ( t ) - y ^ ( t | t - 1 ) ) T ( CP ( t | t - 1 ) C T + R ) - 1 ( y ( t ) - y ^ ( t | t - 1 ) ) - - - ( 12 )
Wherein,
Figure A20091004353700136
Be the observed quantity predicted value of preceding frame (t-1 frame) pursuit gain in present frame (t frame), P (t|t-1) is the prediction matrix of state vector covariance matrix, obtains by the kalman estimator:
y ^ ( t | t - 1 ) = Cx ( t | t - 1 ) = C × A × x ( t - 1 ) - - - ( 13 )
P(t|t-1)=AP(t-1|t-1)A T+Q(t-1) (14)
Obviously, less than certain threshold value, can think then that on behalf of same feature, two positions promptly match each other as σ.Obeys card side according to σ and distribute, and degree of freedom is 1 in this linear system, looks into chi-square distribution table (establishing the true and false acceptance probability of establishing is 95%) that then threshold epsilon is 3.841.Thus, obtain location similarity according to mahalanobis distance measure σ:
&delta; p ( p i , p ^ i ) = &epsiv; - &sigma; &epsiv; , ( &sigma; < &epsiv; ) 0 , ( &sigma; &GreaterEqual; &epsiv; ) - - - ( 15 )
2. calculate the color histogram similarity
Figure A20091004353700142
Tolerance histogram similarity commonly used be Bhattacharyya (Batachelia) distance, then two color histogram hist i,
Figure A20091004353700143
Between similarity be expressed as:
&delta; h ( hist i , h i ^ st i ) = &Sigma; &beta; = 1 72 hist i ( &beta; ) h i ^ st i ( &beta; ) - - - ( 16 )
Hist in the formula i,
Figure A20091004353700145
Represent respectively attributed relational graph G,
Figure A20091004353700146
Nodal community in color histogram, by formula
(1) calculate, β represents color histogram hist i,
Figure A20091004353700147
Figure place.
Formula (15), (16) substitution formula (3) are then obtained the nodal community similarity.
2) calculate side attribute similarity δ 2(r (θ i, θ j),
Figure A20091004353700148
Ask the similarity of side attribute, as Fig. 2 b) shown in, the characteristic similarity of two straight-line segments promptly asked.Owing to comprise length of straigh line, two attributes of angle in the definition of side attribute, so the side attribute similarity adopts the similarity of length of straigh line, angle to calculate:
&delta; 2 ( r ( &theta; i , &theta; j ) , r ^ ( &theta; ^ i , &theta; ^ j ) ) = &lambda; l &delta; l ( r l , r ^ l ) + &lambda; g &delta; g ( r g , r ^ g ) - - - ( 17 )
Wherein, δ l, δ gBe respectively length of straigh line, angle matching degree, weight satisfies λ l+ λ g=1.In the formula, r l,
Figure A200910043537001410
Be respectively G and
Figure A200910043537001411
The length attribute value on middle limit, r gWith
Figure A200910043537001412
Be respectively G each and
Figure A200910043537001413
The angle property value on middle limit.
Length of straigh line matching degree δ lTolerance length of straigh line difference:
&delta; l = 1 - | r l - r ^ l | r l + r ^ l - - - ( 18 )
Straight-line segment angle coupling δ gTolerance straight-line segment angle difference:
Figure A200910043537001415
Formula (18), (19) are updated to formula (17), obtain the side attribute matching degree.
At last, the nodal community similarity that formula (3) is calculated, the side attribute similarity substitution formula (2) that formula (17) is calculated, obtain attribute relational graph appearance model G and
Figure A20091004353700151
Similarity.
3, the tracking situation analysis of mating based on attributed relational graph
After the attributed relational graph in human detection zone and former frame are followed the tracks of the similarity of attributed relational graph of human body in obtaining present frame, the corresponding coupling of tracking human body of human body that can in view of the above present frame be detected and former frame is to finish the tracking to many human bodies in the monitoring scene.The present invention at first sets up the coupling matrix, lists the similarity that each surveyed area and previous frame are followed the tracks of human body: the row of establishing the coupling matrix number represent present frame human detection zone, and row number are represented previous frame tracking human body, with the matching degree τ of attribute relational graph appearance model Nm(n represents the sequence number of present frame human body, and m represents the mark of former frame tracking human body) is as the matrix element value record, then according to matching threshold τ 0Determine whether coupling:
Figure A20091004353700152
Table 1 t frame coupling matrix
Figure A20091004353700153
By the match condition of coupling matrix, analyze, determine many human bodies in the present frame tracking mode, obtain human body motion track, and upgrade its display model.Match condition can reduce four kinds, corresponding four kinds of tracking situations:
1) new human body occurs: τ ' during n is capable NmBe 0: and sustained continuous three frames, thinking that then " new human body " occurs, human body n distributes new mark for human body newly occurring, sets up its attribute relational graph appearance model, begins to follow the tracks of this human body;
2) the normal tracking: n is capable and only has a τ ' Nm=1 element: then human body n mates with tracking human body m, think " the normal tracking ", be human body n distribute labels m, write down its boundary rectangle frame center position, and with the display model of human body n as following the tracks of the attribute relational graph appearance model that human body m upgrades;
3) block tracking: n is capable a plurality of τ ' Nm=1 element: then think " blocking tracking ", human body n is made up of a plurality of human bodies that block, and the human body that is blocked is τ ' NmThe tracking human body of=1 element column correspondence is respectively followed the tracks of the detected value of human body at present frame owing to lose, can't be by coupling matrix identification different human body, and this tracking situation adopts aftermentioned " to block the tracking under the situation " and handles;
4) human body disappears: m column element τ ' NmBe 0: and this situation occurs at continuous three frames, then thinks " human body disappearance ", promptly follows the tracks of human body m and disappears, this human body of deletion from tracking sequence.
● block the tracking under the situation
Under the situation of blocking, block the foreground area that human body is formed owing to detecting, respectively block position of human body and can't distinguish, the position that the present invention adopts the prediction of Kalman wave filter to block human body, thereby determine respectively to block the attribute relational graph appearance model of human body, finish the tracking under the situation of blocking, concrete steps are as follows:
1. block the human body label according to what the coupling matrix obtained, block the position of human body by the Kalman wave filter according to its position prediction at present frame at previous frame, and according to this predicted position and block the size of human body, determine that this blocks the boundary rectangle frame zone of human body at present frame at previous frame boundary rectangle frame.
The motion process of human body boundary rectangle frame central point is modeled as the uniform motion model, and adopts the prediction of Kalman wave filter to block the position of human body boundary rectangle frame in present frame.State vector is expressed as x (t)=[p t, v t] T, observation vector is expressed as y (t)=p t, p wherein t, v tRepresent central point x direction coordinate, speed respectively, then obtain state-transition matrix and the observing matrix identical with formula (7), employing formula (13) obtains the measured value of Kalman prediction
Figure A20091004353700161
As blocking human body at the central point x of present frame direction coordinate figure, central point y direction coordinate also in like manner can get, and the center point coordinate of record prediction is to obtain pursuit path.Then, the boundary rectangle frame zone of blocking human body can obtain according to the predicted position of central point and in the boundary rectangle frame size of previous frame.As Fig. 3 a) shown in, frame of broken lines is represented the estimation range.
2. the prospect outward appearance that will block in the human body boundary rectangle frame is modeled as the attribute relational graph appearance model that blocks human body, is used for mating with the human body of next frame, carries out Continuous Tracking.Adopt and the identical definition of human body attribute relational graph appearance model G, the prospect of each estimation range is modeled as the attribute relational graph appearance model that blocks human body, block human body attribute relational graph appearance model such as Fig. 3 b), its orbicular spot is represented node, dotted line is represented the limit.
The method that the present invention proposes is passed through the method (tracking, the color correlogram tracking of color histogram tracking, employing color and spatial information) that the human appearance model follows the tracks of and is compared with at present main, the human body attribute relational graph appearance model of setting up has not only been described color characteristic, the spatial information of human appearance, also characterized the body structure feature of human body, improved the accuracy of human appearance model greatly, and display model and matching algorithm that the present invention proposes are easy, effective, can realize the real-time follow-up of many human bodies.Figure 4 shows that the experimental result of tracking in many people compound movement monitor video that the present invention proposes.The computer configuration that experiment is adopted is four-processor, internal memory 1GB, the dominant frequency 3.00GHz of running quickly, and in the running environment of Matlab7.0, travelling speed reaches about 10-11 frame/second, the real-time performance of tracking height.The human body of 3 different outward appearances is walked from different directions, is met in a hall and separates in this video, and video sequence resolution is 250 * 370, and frame speed is per second 25 frames, has 355 frames, wherein has 120 frames to occur blocking.Fig. 4 is respectively the 71st frame, 106 frames, 138 frames, 176 frames, 206 frames and 241 frame tracking results, wherein c shown in a)-f)), d) in realized that many people block the tracking under the situation, e), f) show blocking each human body of back and still can correctly follow the tracks of.Fig. 5 has compared the tracking of traditional color histogram modeling human appearance and the tracking error of tracking in this video that the present invention proposes, tracking error is calculated by the Euclidean distance between human body boundary rectangle frame center point coordinate and its actual value in the tracking results, as seen the tracking error of the tracking of the present invention's proposition has improved the accuracy of many human body tracking, validity in the fixed monitoring scene greatly far below traditional color histogram tracking.

Claims (3)

1, a kind of multi-human body tracking method based on attribute relational graph appearance model is characterized in that, may further comprise the steps:
1) obtains the image of the fixed scene that includes tracked human body continuously, attribute relational graph appearance model is set up in the human detection zone of current frame image: the human region that detects is divided into head, upper body and three body parts of lower limb; The corresponding described body part of each node of attribute relational graph appearance model, nodal community characterizes the feature of body part, is shown by following three scales: the mark of corresponding body part, color histogram, boundary rectangle frame center point coordinate; The limit of attribute relational graph appearance model is represented that by the straight-line segment of the central point that connects any two body parts of human body side attribute adopts the length and the angle of straight-line segment to represent;
2) calculate the attribute relational graph appearance model of present frame human body and the similarity that previous frame is followed the tracks of the attribute relational graph appearance model of human body;
3) follow the tracks of the present frame human body according to the similarity of calculating gained.
2, the multi-human body tracking method based on attribute relational graph appearance model according to claim 1 is characterized in that, described nodal community is defined as Δ (θ i)={ ω i, p i, hist i, wherein, ω iThe mark of representing the body part of i tracked object: head, upper body, lower limb are labeled as " head ", " up " and " low " respectively; p iThe center point coordinate of representing the body part boundary rectangle frame of i tracked human body; Hist iBe the color characteristic of the body part of i tracked human body, hist iBe expressed as with normalized HSV space one dimension color histogram: hist i=9H+3S+V; Wherein, the value of H, S, V remarked pixel point three-component H, S, V in the HSV space;
Side attribute is defined as: r (θ i, θ j)={ r l, r g(i ≠ j), wherein r lBe length attribute, represent two node θ iAnd θ jBetween length of straigh line, adopt internodal Euclidean distance to represent: r l=| p i-p j|, p i, p jRepresent node θ respectively i, θ jAttribute in center point coordinate; r gBe the angle attribute, represent this two node θ iAnd θ jBetween the straight-line segment angle, r g = arcsin y i - y j r l , Y wherein i, y jBe node θ i, θ jAttribute in central point y direction coordinate, r gSpan be [0, π];
Described similarity is defined as follows:
&tau; ( G , G ^ ) = &Sigma; i &lambda; 1 &delta; 1 ( &Delta; ( &theta; i ) , &Delta; ( &theta; ^ i ) ) + &Sigma; i &Sigma; j &lambda; 2 &delta; 2 ( r ( &theta; i , &theta; j ) , r ^ ( &theta; ^ i , &theta; ^ j ) ) , ( i &NotEqual; j )
Wherein, λ 1, λ 2Be weight coefficient, and constraint condition is: λ 1+ λ 2=1, make similarity τ within interval [0,1], δ 1(Δ (θ i),
Figure A2009100435370003C2
The expression G and
Figure A2009100435370003C3
In the internodal similarity of corresponding similar body part, δ 2(r (θ i, θ j),
Figure A2009100435370003C4
Be G and
Figure A2009100435370003C5
In connect the similarity on the limit of two similar body parts, G and
Figure A2009100435370003C6
Be respectively the attribute relational graph appearance model of present frame human body and the attribute relational graph appearance model that previous frame is followed the tracks of human body;
Described step according to similarity tracking present frame human body is: set up the coupling matrix, list each surveyed area and previous frame and follow the tracks of the similarity of human body: the row of establishing the coupling matrix number is represented present frame human detection zone, row number represents previous frame tracking human body, with the matching degree τ of attribute relational graph appearance model NmAs the matrix element value record, n represents the sequence number of present frame human body, and m represents the mark of former frame tracking human body, then according to matching threshold τ 0Determine whether coupling, matching result is
Figure A2009100435370003C7
By the match condition of coupling matrix, can determine many human bodies in the present frame tracking mode, obtain human body motion track, and upgrade its display model; Match condition reduces four kinds:
1) new human body occurs: τ ' during n is capable NmBe 0: and sustained continuous three frames, thinking that then " new human body " occurs, human body n distributes new mark for human body newly occurring, sets up its attribute relational graph appearance model, begins to follow the tracks of this human body;
2) the normal tracking: n is capable and has only a τ ' Nm=1 element: then human body n mates with tracking human body m, think " the normal tracking ", be human body n distribute labels m, write down its boundary rectangle frame center position, and with the attribute relational graph appearance model of the human body n attribute relational graph appearance model as the renewal of following the tracks of human body m;
3) block tracking: n is capable a plurality of τ ' to occur Nm=1 element: then think " blocking tracking ", human body n is made up of a plurality of human bodies that block, and the human body that is blocked is τ ' NmThe tracking human body of=1 element column correspondence;
4) human body disappears: m column element τ ' NmBe 0: and this situation occurs at continuous three frames, then thinks " human body disappearance ", promptly follows the tracks of human body m and disappears, this human body of deletion from tracking sequence.
3, the multi-human body tracking method based on attribute relational graph appearance model according to claim 2, it is characterized in that, under the situation of blocking, the position of adopting the Kalman filter prediction to block human body, thereby determine respectively to block the attribute relational graph appearance model of human body, finish the tracking under the situation of blocking.
CN2009100435375A 2009-05-27 2009-05-27 Multi-human body tracking method based on attribute relational graph appearance model Expired - Fee Related CN101561928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100435375A CN101561928B (en) 2009-05-27 2009-05-27 Multi-human body tracking method based on attribute relational graph appearance model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100435375A CN101561928B (en) 2009-05-27 2009-05-27 Multi-human body tracking method based on attribute relational graph appearance model

Publications (2)

Publication Number Publication Date
CN101561928A true CN101561928A (en) 2009-10-21
CN101561928B CN101561928B (en) 2011-09-14

Family

ID=41220715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100435375A Expired - Fee Related CN101561928B (en) 2009-05-27 2009-05-27 Multi-human body tracking method based on attribute relational graph appearance model

Country Status (1)

Country Link
CN (1) CN101561928B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156879A (en) * 2011-04-11 2011-08-17 上海交通大学 Human target matching method based on weighted terrestrial motion distance
CN102156880A (en) * 2011-04-11 2011-08-17 上海交通大学 Method for detecting abnormal crowd behavior based on improved social force model
CN101901486B (en) * 2009-11-17 2012-10-03 华为技术有限公司 Method for detecting moving target and device thereof
CN103065126A (en) * 2012-12-30 2013-04-24 信帧电子技术(北京)有限公司 Re-identification method of different scenes on human body images
CN103310462A (en) * 2013-05-22 2013-09-18 成都信通易安科技有限公司 Method for tracking multiple human bodies based on united characteristic model
CN103324950A (en) * 2012-03-22 2013-09-25 中国科学院计算技术研究所 Human body reappearance detecting method and system based on online study
CN104156973A (en) * 2014-08-26 2014-11-19 清华大学深圳研究生院 Real-time three-dimensional video monitoring method based on stereo matching
CN105574535A (en) * 2015-12-19 2016-05-11 华北电力大学(保定) Graphic symbol identification method based on indirect distance angle histogram space relation expression model
WO2016183770A1 (en) * 2015-05-18 2016-11-24 Xiaogang Wang A system and a method for predicting crowd attributes
CN107992827A (en) * 2017-12-03 2018-05-04 湖南工程学院 A kind of method and device of the multiple mobile object tracking based on threedimensional model
CN108090916A (en) * 2017-12-21 2018-05-29 百度在线网络技术(北京)有限公司 For tracking the method and apparatus of the targeted graphical in video
CN108509994A (en) * 2018-03-30 2018-09-07 百度在线网络技术(北京)有限公司 character image clustering method and device
CN108629180A (en) * 2018-03-29 2018-10-09 腾讯科技(深圳)有限公司 The determination method and apparatus of abnormal operation, storage medium, electronic device
CN109831622A (en) * 2019-01-03 2019-05-31 华为技术有限公司 A kind of image pickup method and electronic equipment
CN110210417A (en) * 2019-06-05 2019-09-06 深圳前海达闼云端智能科技有限公司 Method, terminal and readable storage medium for predicting pedestrian motion trail
CN112287043A (en) * 2020-12-29 2021-01-29 成都数联铭品科技有限公司 Automatic graph code generation method and system based on domain knowledge and electronic equipment
CN113168694A (en) * 2018-12-26 2021-07-23 欧姆龙株式会社 Human detection device and human detection method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977796A (en) * 2019-03-06 2019-07-05 新华三技术有限公司 Trail current detection method and device

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901486B (en) * 2009-11-17 2012-10-03 华为技术有限公司 Method for detecting moving target and device thereof
CN102156880A (en) * 2011-04-11 2011-08-17 上海交通大学 Method for detecting abnormal crowd behavior based on improved social force model
CN102156879B (en) * 2011-04-11 2012-11-28 上海交通大学 Human target matching method based on weighted terrestrial motion distance
CN102156880B (en) * 2011-04-11 2013-01-09 上海交通大学 Method for detecting abnormal crowd behavior based on improved social force model
CN102156879A (en) * 2011-04-11 2011-08-17 上海交通大学 Human target matching method based on weighted terrestrial motion distance
CN103324950A (en) * 2012-03-22 2013-09-25 中国科学院计算技术研究所 Human body reappearance detecting method and system based on online study
CN103065126B (en) * 2012-12-30 2017-04-12 信帧电子技术(北京)有限公司 Re-identification method of different scenes on human body images
CN103065126A (en) * 2012-12-30 2013-04-24 信帧电子技术(北京)有限公司 Re-identification method of different scenes on human body images
CN103310462A (en) * 2013-05-22 2013-09-18 成都信通易安科技有限公司 Method for tracking multiple human bodies based on united characteristic model
CN103310462B (en) * 2013-05-22 2016-07-06 成都信通易安科技有限公司 A kind of multi-human body tracking method based on union feature model
CN104156973A (en) * 2014-08-26 2014-11-19 清华大学深圳研究生院 Real-time three-dimensional video monitoring method based on stereo matching
WO2016183770A1 (en) * 2015-05-18 2016-11-24 Xiaogang Wang A system and a method for predicting crowd attributes
CN105574535A (en) * 2015-12-19 2016-05-11 华北电力大学(保定) Graphic symbol identification method based on indirect distance angle histogram space relation expression model
CN105574535B (en) * 2015-12-19 2019-06-25 华北电力大学(保定) Graphic symbol recognition method based on indirect distance angle histogram space relational model
CN107992827A (en) * 2017-12-03 2018-05-04 湖南工程学院 A kind of method and device of the multiple mobile object tracking based on threedimensional model
CN108090916B (en) * 2017-12-21 2019-05-07 百度在线网络技术(北京)有限公司 Method and apparatus for tracking the targeted graphical in video
CN108090916A (en) * 2017-12-21 2018-05-29 百度在线网络技术(北京)有限公司 For tracking the method and apparatus of the targeted graphical in video
CN108629180A (en) * 2018-03-29 2018-10-09 腾讯科技(深圳)有限公司 The determination method and apparatus of abnormal operation, storage medium, electronic device
CN108509994A (en) * 2018-03-30 2018-09-07 百度在线网络技术(北京)有限公司 character image clustering method and device
CN113168694A (en) * 2018-12-26 2021-07-23 欧姆龙株式会社 Human detection device and human detection method
CN109831622A (en) * 2019-01-03 2019-05-31 华为技术有限公司 A kind of image pickup method and electronic equipment
WO2020140726A1 (en) * 2019-01-03 2020-07-09 华为技术有限公司 Photographing method and electronic device
CN109831622B (en) * 2019-01-03 2021-06-22 华为技术有限公司 Shooting method and electronic equipment
US11889180B2 (en) 2019-01-03 2024-01-30 Huawei Technologies Co., Ltd. Photographing method and electronic device
CN110210417A (en) * 2019-06-05 2019-09-06 深圳前海达闼云端智能科技有限公司 Method, terminal and readable storage medium for predicting pedestrian motion trail
CN112287043A (en) * 2020-12-29 2021-01-29 成都数联铭品科技有限公司 Automatic graph code generation method and system based on domain knowledge and electronic equipment
CN112287043B (en) * 2020-12-29 2021-06-18 成都数联铭品科技有限公司 Automatic graph code generation method and system based on domain knowledge and electronic equipment

Also Published As

Publication number Publication date
CN101561928B (en) 2011-09-14

Similar Documents

Publication Publication Date Title
CN101561928B (en) Multi-human body tracking method based on attribute relational graph appearance model
CN107545582B (en) Video multi-target tracking method and device based on fuzzy logic
US10417503B2 (en) Image processing apparatus and image processing method
US10242266B2 (en) Method and system for detecting actions in videos
Veeraraghavan et al. Computer vision algorithms for intersection monitoring
CN110717414A (en) Target detection tracking method, device and equipment
CN101141633B (en) Moving object detecting and tracing method in complex scene
CN103854027A (en) Crowd behavior identification method
CN101344965A (en) Tracking system based on binocular camera shooting
CN103164858A (en) Adhered crowd segmenting and tracking methods based on superpixel and graph model
CN106682573B (en) A kind of pedestrian tracting method of single camera
CN102447835A (en) Non-blind-area multi-target cooperative tracking method and system
Ren et al. Multi-camera video surveillance for real-time analysis and reconstruction of soccer games
CN107563310A (en) A kind of lane change detection method violating the regulations
CN103729861A (en) Multiple object tracking method
Cao et al. Correlation-based tracking of multiple targets with hierarchical layered structure
CN106447698A (en) Multi-pedestrian tracking method and system based on distance sensor
CN116403139A (en) Visual tracking and positioning method based on target detection
CN114926859A (en) Pedestrian multi-target tracking method in dense scene combined with head tracking
CN114916964A (en) Pharynx swab sampling effectiveness detection method and self-service pharynx swab sampling method
CN111178201A (en) Human body sectional type tracking method based on OpenPose posture detection
KR20090093119A (en) Multiple Information Fusion Method for Moving Object Tracking
CN111986237A (en) Real-time multi-target tracking algorithm irrelevant to number of people
Lu et al. Hybrid deep learning based moving object detection via motion prediction
CN116342645A (en) Multi-target tracking method for natatorium scene

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110914

Termination date: 20120527