CN105138998A - Method and system for re-identifying pedestrian based on view angle self-adaptive subspace learning algorithm - Google Patents

Method and system for re-identifying pedestrian based on view angle self-adaptive subspace learning algorithm Download PDF

Info

Publication number
CN105138998A
CN105138998A CN201510564338.4A CN201510564338A CN105138998A CN 105138998 A CN105138998 A CN 105138998A CN 201510564338 A CN201510564338 A CN 201510564338A CN 105138998 A CN105138998 A CN 105138998A
Authority
CN
China
Prior art keywords
pedestrian
image
camera
data set
visual angle
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
CN201510564338.4A
Other languages
Chinese (zh)
Other versions
CN105138998B (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.)
Hefei Dilusense Technology Co Ltd
Original Assignee
Shanghai Jiaotong 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 Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN201510564338.4A priority Critical patent/CN105138998B/en
Publication of CN105138998A publication Critical patent/CN105138998A/en
Application granted granted Critical
Publication of CN105138998B publication Critical patent/CN105138998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • G06V20/53Recognition of crowd images, e.g. recognition of crowd congestion

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a method and a system for re-identifying a pedestrian based on view angle self-adaptive subspace algorithm. With the method, a rectangular image only comprising a single pedestrian or a target rectangular frame cut from an original video image is used as an input image; a feature vector is extracted from the input image; a data set is divided into a training data set and a testing data set; a transformation matrix is acquired on the training data set by learning the view angle self-adaptive subspace learning algorithm; and the transformation matrix acquired on the testing data set by learning the view angle self-adaptive subspace learning algorithm is utilized to calculate the distance and re-identify the pedestrian. According to the invention, the fact that different cameras have different properties is taken into account; and different transformations are used to compensate the transformation properties of different cameras, thus the optimum transformation relationship between each pair of the cameras can be acquired more flexibly through learning; and the features under different cameras after the cameras are transformed can be closer to the ideal feature distribution.

Description

Based on pedestrian's heavily recognition methods and system of visual angle self-adaptation sub-space learning algorithm
Technical field
The present invention relates to a kind of method of computer vision field, particularly, relate to a kind of pedestrian's heavily recognition methods and system based on visual angle self-adaptation sub-space learning algorithm.
Background technology
Along with the development of infotech, Intelligent treatment terminal has become very universal, and the collection of multi-medium data also becomes more and more convenient.In the face of the multi-medium data of magnanimity, how intellectual analysis carried out to them, accomplish to use by oneself, be community service, become the important subject of computer vision field.Target detection technique, target following technology and target identification technology etc. all obtain huge development, and for the detection of pedestrian, tracking and recognition technology because its important practical value obtains the concern of many researchers.In the field such as security protection and family endowment, we often pay close attention to the long-term locking tracking problem for specific pedestrian, and this relates to multiple technology such as pedestrian detection, pedestrian tracking.And when pedestrian disappears from a camera, when he appears under another camera again, we wish to identify this pedestrian and proceed to follow the tracks of, this relates to the heavy recognition technology of pedestrian.Pedestrian heavily identifies that the target that will realize connects, the target detected in two mutually not overlapping cameras to realize the relay tracking across camera.But due to the configuration of different cameras, the position of laying, scene difference, the color causing the pedestrian's image under different camera to exist in various degree changes and Geometrical change, under adding complicated monitoring scene, there is blocking in various degree between pedestrian, make the heavy identification problem of the pedestrian under different camera become more thorny.Coupling between current pedestrian heavily identifies mainly for picture, also do not utilize video information, the algorithm of main flow can be divided into two large classes: the pedestrian's macroscopic features matching algorithm extracted based on low-level image feature, and based on the Feature Correspondence Algorithm of metric learning.Pedestrian's feature that first kind algorithm is devoted to extract robust more, that have discrimination, to improve the matching accuracy rate of pedestrian's appearance.And Equations of The Second Kind algorithm is devoted to study to more rational feature space, change to reduce same a group traveling together due to posture, visual angle etc. the feature difference caused.First kind method does not need training sample, is therefore convenient to promote the use of, but it needs numerous and diverse characteristic Design, and the factor causing pedestrian's macroscopic features to change under reality is too complicated, is difficult to find the pervasive feature having discrimination.The content that patent of the present invention is studied belongs to Equations of The Second Kind algorithm, and target utilizes training data to obtain more excellent proper subspace, makes in new proper subspace more close with a group traveling together's feature, and different pedestrian's feature more away from.
By a large amount of literature searches, we find that existing metric learning algorithm is mainly to the conversion of mahalanobis distance, target is a kind of eigentransformation matrix of study, the feature after converting is made more to meet desirable feature distribution (the feature distribution namely with a group traveling together is more close, the feature of different pedestrian more away from).In the people such as AlexisMignon " PCCA:ANewApproachforDistanceLearningfromSparsePairwiseCo nstraints " literary composition in the InternaltionalConferenceonComputerVisionandPatternRecogi ntion of 2012, proposition utilizes training data to learn to obtain a low n-dimensional subspace n, the training sample reserved of getting the bid in this space distributes (feature samples of same pedestrian is adjusted the distance and is less than a threshold value, and the feature samples of different pedestrian is to being greater than this threshold value) to meeting desirable feature.The method is applicable to high-dimensional feature space, and also can obtain good effect when training sample is less.In the people such as Wei-ShiZheng " PersonRe-identificationbyProbabilisticRelativeDistanceCo mparison " literary composition in the InternaltionalConferenceonComputerVisionandPatternRecogi ntion of 2011, a kind of metric learning algorithm based on tlv triple input is proposed, target be the feature samples that makes to belong to same a group traveling together between distance be less than the feature samples that belongs to different pedestrian to the maximization of spacing.But this method has more restriction (tlv triple) to input data, and processing speed is slower under high dimensional feature input condition.
Chinese patent literature CN103500345A, open (bulletin) day 2014.01.08, disclose the heavy recognizer of a kind of pedestrian based on metric learning, this invention carries out pedestrian's re-examination card by adopting newly-designed Smooth Regularization distance metric model, has taken into full account covariance matrix offset issue in model.There is the advantage not needing complicated Optimized Iterative process.But the method does not consider that the pedestrian's image under different camera visual angle correspond to the change at different illumination, visual angle etc., what the tolerance therefore obtained neither be best.
Summary of the invention
For defect of the prior art, the object of this invention is to provide a kind of pedestrian's heavily recognition methods and system based on visual angle self-adaptation sub-space learning algorithm, fully can excavate the impact of different camera on pedestrian's feature, and pointedly for each camera learns corresponding transformation relation, drop to minimum to make the impact of camera on pedestrian's macroscopic features, just only can pay close attention to the difference of pedestrian's macroscopic features in the characteristic matching stage that pedestrian heavily identifies, thus greatly improve the accuracy rate that pedestrian heavily identifies.
According to an aspect of the present invention, a kind of pedestrian's heavily recognition methods based on visual angle self-adaptation sub-space learning algorithm is provided, described method is only to comprise the rectangular image of single pedestrian or to cut out target rectangle frame as input picture from raw video image by tracking results, extract proper vector over an input image, and data set is divided into training dataset and test data set, training dataset obtains transformation matrix according to visual angle self-adaptation sub-space learning Algorithm Learning, the transformation matrix that test data set utilizes study to obtain carries out distance calculating and pedestrian heavily identifies.
Described method comprises the steps:
Step 1): utilize feature extraction algorithm to carry out feature extraction to input picture, obtain proper vector set, proper vector set is divided into again training dataset and test data set further;
Step 2), on training dataset, obtain the adaptive sub-space transform matrix in visual angle to each camera study, the process of its learning mapping matrix realizes by optimizing loss function;
Step 3), in test data set, first the eigenmatrix of all test patterns is mapped to corresponding subspace, obtains the proper vector after mapping, and carry out pedestrian on this basis and heavily identify.
Further, step 2) in, described loss function is as shown in formula (1):
l ( L A , L B ) = 1 | S | Σ i = 1 N t r a i n | | L A x i - L B y i | | 2 - λ | D | Σ i = 1 N t r a i n Σ j = 1 , j ≠ i N t r a i n | | L A x i - L B y j | | 2 + μ A | | L A | | F 2 + μ B | | L B | | F 2 - - - ( 1 )
Wherein: L a, L bthe mapping matrix needing study, L afor compensating the change that camera A brings to pedestrian's appearance features vector under this camera lens, L bfor compensating the change that camera B brings to pedestrian's appearance features vector under this camera lens, all training samples are all paired appearance, and the proper vector under camera A is: { x i, i=1,2 ..., N train, the proper vector under camera B is: { y i, i=1,2 ..., N train, in two characteristic sets, the feature of correspondence position is corresponding to the same a group traveling together under different camera and x iwith y icorresponding to same a group traveling together; | S|, | D| represent respectively positive sample to namely with a group traveling together's feature to the number right with negative sample; λ, μ a, μ bfor the parameter of each significance level in regulation loss function; || || fthe Frobenius norm of homography;
Loss function in formula (1) can the illumination of camera, depending on Jiao Alto change be not special complicated situation under obtain good effect, but can only linear transformation operation be carried out to the proper vector under each camera, in order to adapt to complicated actual scene better, nonlinear transformation is introduced by kernel function, thus bring more dirigibility to model, can reduce the macroscopic features of pedestrian itself better; The method of described introducing kernel function is as follows:
Proper vector is calculated by following formula in the distance of nuclear space:
d L A K , L B K 2 ( x i , y j ) = | | L A K φ ( x i ) - L B K φ ( y j ) | | 2 - - - ( 2 )
Wherein: φ (x i), φ (y j) be the proper vector of nuclear space, it is the mapping matrix of corresponding nuclear space;
On the basis of formula (2), the loss function in formula (1) is generalized to nuclear space, because the dimension of nuclear space is very high, can not be directly right learn, therefore introduce transformation matrix Q a, Q brepresent physical relationship is as follows:
L A K = Q A φ ( A ) L B K = Q B φ ( B ) - - - ( 3 )
Wherein: φ ( A ) = [ φ ( x 1 ) , φ ( x 2 ) , ... , φ ( x N t r a i n ) ] , φ ( B ) = [ φ ( y 1 ) , φ ( y 2 ) , ... , φ ( y N t r a i n ) ] , For the matrix that the proper vector of nuclear space forms;
Thus, as follows at the loss function of nuclear space:
l K ( L A K , L B K ) = 1 | S | t r ( K A T K A Q A T Q A - 2 K B T K A Q A T Q B + K B T K B Q B T Q B ) - λ | D | t r ( ( | S | - 1 ) K A T K A Q A T Q A - 2 K A T XK B Q B T Q A + ( | S | - 1 ) K B T K B Q B T Q B ) + μ A | | L A K | | F 2 + μ B | | L B K | | F 2 - - - ( 4 )
Wherein: be nuclear space with for the loss function of parameter, K a=φ (A) tφ (A), K b=φ (B) tφ (B), the mark computing of tr () representing matrix, T is matrix transpose symbol, and X represents that all the other elements are all the square formation of except diagonal entry is zero; Can prove that formula (4) is about Q a, Q bconvex function, therefore adopt simple gradient descent method to converge to optimum solution; It is as follows that described gradient descent method is optimized to formula (4) method solved:
First respectively to Q a, Q bcarry out differentiate, obtain following result:
∂ l ∂ Q A = 2 | S | ( Q A K A K A - Q B K B K A ) - 2 λ | D | [ ( | S | - 1 ) Q A K A K A - Q B K B XK A ] + 2 μ A Q A K A ∂ l ∂ Q B = 2 | S | ( Q B K B K B - Q A K A K B ) - 2 λ | D | [ ( | S | - 1 ) Q B K B K B - Q A K A XK B ] + 2 μ B Q B K B - - - ( 5 )
Wherein: l is loss function, K a, K b, Q a, Q b, corresponding with formula (4) of X;
On this basis to Q a, Q bcarry out iteration renewal, update rule is:
Q A ( t + 1 ) = Q A ( t ) - η A ∂ l ∂ Q A , Q B ( t + 1 ) = Q B ( t ) - η B ∂ l ∂ Q B - - - ( 6 )
Wherein: l is loss function, η a, η bfor the step-length that iteration upgrades, obtained by cross validation; T is iterations.
Further, step 3) in, described pedestrian heavily identifies to refer to and test data to be concentrated any image characteristic of correspondence vector under camera A to carry out distance with all image characteristic of correspondence vector sets under camera B to calculate, and sort from small to large according to distance, the same a group traveling together of mating under namely the image coming foremost is considered to different camera;
Concrete, described pedestrian heavily identifies, comprises the steps:
3.1) concentrate in test data, the feature of all pedestrians under the characteristics of image of the first man under camera A and camera B is carried out distance and calculates, obtain the first row data M of distance matrix M 1;
3.2) step 3.1 is repeated), compare until all pedestrians under camera A have carried out characteristic distance with pedestrian under camera B, and obtain distance matrix M 2, M 3..., M i,j, wherein M i,jrepresent the characteristic distance of i-th pedestrian in A and the jth pedestrian in B;
Every a line of M sorted from small to large, come the image in B corresponding to the distance of i-th, the image namely mated with this row corresponding image i-th in A, what wherein come first row is the image mated most.
More preferably, described distance calculating method is as shown in formula (7):
d K 2 ( x i , y j ) = e i T K A t e s t Q A T ( K A t e s t ) T e i - 2 e j T K B t e s t Q B T ( K A t e s t ) T e i + e j T K B t e s t Q B T ( K B t e s t ) T e j - - - ( 7 )
Wherein: K A t e s t = φ ( A t e s t ) T φ ( A t r a i n ) , K B t e s t = φ ( B t e s t ) T φ ( B t r a i n ) , φ (A test), φ (A train) correspond respectively to the set that in camera A, test set and training set form in the proper vector of nuclear space; Correspondingly, φ (B test), φ (B train) correspond respectively to the set that in camera B, test set and training set form in the proper vector of nuclear space; Q a, Q bstep 2) mapping matrix that obtains of learning; e i, e jrepresent that the i-th, j element is one respectively, all the other be all zero column vector.
According to another aspect of the present invention, provide a kind of pedestrian based on visual angle self-adaptation sub-space learning algorithm heavy recognition system, described system comprises the characteristic extracting module, subspace mapping matrix study module and the heavy identification module that connect successively; Wherein:
Described system comprises: the heavy identification module of characteristic extracting module, the adaptive sub-space learning module in visual angle and pedestrian, wherein:
Described characteristic extracting module, its input is original pedestrian's image, and this module carries out feature extraction to pedestrian's image that each inputs, and obtains d dimensional feature vector; In all pedestrians, randomly draw pedestrian's image of some as training data set, and using the input of their characteristics of correspondence as subspace mapping matrix study module; All the other pedestrian's images are as in test data set;
Described subspace mapping matrix study module, its input is the training data set that characteristic extracting module exports, for adaptively for the study of each camera obtains best mapping matrix, make the proper vector after converting meet desired characteristics distribution as far as possible, that is: with the proper vector of a group traveling together apart from little, different pedestrian's proper vector distance is large; This module exports the transformation matrix Q obtained a, Q b;
Described heavy identification module, this module, at the enterprising row relax of test data set, utilizes the transformation matrix Q that subspace mapping matrix study module obtains a, Q bcarry out distance to test data set image to calculate, and the pedestrian under the B camera the most similar to certain a group traveling together under A camera is exported as the heavy recognition result of pedestrian.
Compared with prior art, the present invention has following beneficial effect:
Traditional metric learning often does identical conversion to the picture feature under different camera, make the feature space after converting meet desirable feature distribution (it is comparatively near that ideal distribution refers to the characteristic distance belonging to same a group traveling together, and the characteristic distance belonging to different pedestrian is far away) as far as possible.But consider illumination corresponding to pedestrian's image under different camera visual angles, visual angle, adopt identical transformation matrix can not excavate different camera characteristic separately to different cameras, what the transformation space therefore learning to obtain neither be optimum.Based on this, the present invention proposes the recognition methods adopting the adaptive sub-space learning algorithm in visual angle, it further considers that on the basis of traditional measure learning algorithm different cameras has different characteristics, and adopts different conversion (linear or non-linear) to make up the conversion characteristics of different camera.By this thought, the present invention can learn the optimal mapping relation obtaining often pair of camera more neatly, and the feature making to convert under rear different camera distributes close to desirable feature more.Experimental result in the heavy identification mission of pedestrian confirms the validity of the method that the present invention proposes.
Accompanying drawing explanation
By reading the detailed description done non-limiting example with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 is the process flow diagram of one embodiment of the invention;
Fig. 2 is one embodiment of the invention visual angle self-adaptation sub-space learning algorithm flow chart;
Fig. 3 is the schematic diagram that one embodiment of the invention is illustrated visual angle adaptive sub-space learning algorithm and is better than traditional metric learning algorithm;
Fig. 4 is that one embodiment of the invention personage heavily identifies several groups that randomly draw of conventional data centralization pedestrian's images to be matched;
Fig. 5 is the visual recognition effect figure of one embodiment of the invention method, first is classified as image to be matched, and other are classified as the feature utilizing the present invention to extract, after carrying out characteristic matching, before the rank drawn ten matching image, second is classified as the most matching image obtained according to method of the present invention;
Fig. 6 is sub-space learning algorithm proposed by the invention, is applied to when personage heavily identifies and the accuracy rate comparison diagram of additive method.
Fig. 7 is system architecture diagram in one embodiment of the invention.
Embodiment
Below in conjunction with specific embodiment, the present invention is described in detail.Following examples will contribute to those skilled in the art and understand the present invention further, but not limit the present invention in any form.It should be pointed out that to those skilled in the art, without departing from the inventive concept of the premise, some distortion and improvement can also be made.These all belong to protection scope of the present invention.
As shown in Figure 1, a kind of pedestrian's heavily recognition methods based on visual angle self-adaptation sub-space learning algorithm, described method is only to comprise the rectangular image of single pedestrian or to cut out target rectangle frame as input picture from raw video image by tracking results, extract proper vector over an input image, and data set is divided into training dataset and test data set, training dataset obtains transformation matrix according to visual angle self-adaptation sub-space learning Algorithm Learning, and the transformation matrix that test data set utilizes study to obtain carries out distance calculating and pedestrian heavily identifies.Concrete, comprise the steps:
Step 1): carry out feature extraction to the image of often opening of data centralization, obtain d dimensional feature vector, all proper vectors are randomly drawed out a part further as training dataset, remaining as test data set;
The method that this step can adopt prior art to record realizes, such as utilize document " LargeScaleMetricLearningfromEquivalenceConstraints (carrying out extensive metric learning from equity is about intrafascicular) " (Koestinger, M., Hirzer, M., Wohlhart, P., Roth, P.M., & Bischof, H.<ComputerVisionandPatternRecognitionGreat T.GreaT.GT, 2012) method in carries out feature extraction;
In the present embodiment, following explanation is done to said method specific implementation:
A given input picture, first be 128 × 48 by adjusted size, then use the window of 16 × 8 to slide on image, stepping is of a size of 8 × 8, the complete image of 128 × 48 can be divided into the zonule (interregional have overlap) of 90 16 × 8 like this;
In each zonule, extract Lab respectively, HSV histogram and LBP textural characteristics, wherein Lab, HSV extract the histogram of 24 dimensions to each passage, and LBP is the even LBP histogram of 59 dimensions.Each like this fritter can obtain the proper vector of one 203 dimension;
The proper vector that each fritter extracts once be stitched together in order, obtain the complete proper vector of image, the dimension of final proper vector is 18270.
In the present embodiment, in order to reduce the redundancy of information, improve arithmetic speed, adopt PCA algorithm that proper vector is carried out dimensionality reduction further, the dimension after dimensionality reduction is 34 simultaneously.
Step 2): on training dataset, study obtains the adaptive sub-space transform matrix in visual angle;
Described visual angle self-adaptation refers to and learns a specific transformation matrix to each camera, the characteristics of image after converting is kept consistency between different camera, thus improves heavy recognition effect more neatly.Due to the complicacy of situation in actual scene, in order to overcome the impact of the transfer pair pedestrian macroscopic features that camera is introduced better, introduce kernel function and simulate nonlinear transformation, illustrate as shown in Figure 3 and different transformation matrixs is adopted to different cameras, and introduce the advantage that kernel function simulates nonlinear transformation.
As shown in Figure 2, be the process flow diagram of sub-space learning algorithm proposed in one embodiment of the invention, concrete learning process following (parameter related to below is not particularly illustrated, and please refer to summary of the invention):
2.1) for some data set (as: VIPER, illustrate this data set part samples pictures as shown in Figure 4), data are divided into two groups, often group comprises a pictures of all pedestrians, VIPER has 612 couples of pedestrians, so first group of wherein piece image comprising 612 couples of pedestrians, and second group comprises another image, and same pedestrian putting in order in two groups is identical; The data centralization be divided into group is selected a part of pedestrian's data as training dataset (as: selecting all pictures of 316 couples of pedestrians in VIPER at random as training sample), remaining as test data set (only utilizing the feature of training sample in step 2);
2.2) because the dimension of nuclear space may be infinitely great, cannot be directly right be optimized, therefore, Wo Menling thus change into Q a, Q bbe optimized.Initialization Q a, Q bfor unit matrix, loss threshold epsilon=10 that convergence judges are set -5;
2.3) according to formula (4) counting loss function;
2.4) Q is calculated according to formula (5) a, Q bgradient;
2.5) Q is upgraded according to formula (6) a, Q b;
2.6) Q after upgrading is utilized a, Q b, according to formula (4) counting loss function l, if Δ l > is ε, then forward step 2.4 to, otherwise be judged to be convergence, export corresponding Q a, Q b.
Step 3): in step 2) learn the Q that obtains a, Q bbasis on, in test data set, enterprising every trade people heavily identifies; Concrete methods of realizing is as follows:
3.1) concentrate in test data, the feature of all pedestrians under the characteristics of image of the first man under camera A and camera B is carried out distance according to formula (7) and calculates, obtain the first row data M of distance matrix M 1.For VIPER data set, because test set has 316 pedestrians, so M 1comprise 316 range data.
3.2) step 3.1 is repeated) until all pedestrians under camera A have carried out characteristic distance with pedestrian under camera B and have compared, and obtain distance matrix M 2, M 3..., M 316, finally obtain the matrix of 316 × 316 sizes, wherein M i,jrepresent the characteristic distance of i-th pedestrian in A and the jth pedestrian in B;
Every a line of M sorted from small to large, come the image in B corresponding to the distance of i-th, be exactly the image mated with this row corresponding image i-th in A that this method provides, what wherein come first row is the image mated most.
As shown in Figure 7, based on above-mentioned method, the present invention also provides a kind of pedestrian based on the adaptive sub-space learning algorithm in visual angle heavy recognition system, and described system comprises: characteristic extracting module, self-adaptation subspace mapping matrix module and heavy identification module, wherein:
Described system comprises: the heavy identification module of characteristic extracting module, the adaptive sub-space learning module in visual angle and pedestrian, wherein:
Described characteristic extracting module, its input is original pedestrian's image, and this module carries out feature extraction to pedestrian's image that each inputs, and obtains d dimensional feature vector; In all pedestrians, randomly draw pedestrian's image of some as training data set, and using the input of their characteristics of correspondence as subspace mapping matrix study module; All the other pedestrian's images are as in test data set;
Described subspace mapping matrix study module, its input is the training data set that characteristic extracting module exports, and this module obtains the mapping matrix of the best for the study of each camera adaptively, and with the Q obtained a, Q beigentransformation is carried out to the feature that training data is concentrated, makes the proper vector after converting meet desired characteristics distribution (the proper vector distance with a group traveling together is less, and different pedestrian's proper vector distance is larger) as far as possible;
Described characteristic extracting module, is expressed as a d dimensional feature vector by each pedestrian's image inputted;
Described heavy identification module, this module, at the enterprising row relax of test data set, utilizes the transformation matrix Q learning to obtain a, Q bfeature Mapping is carried out to test data set, according to formula (7), distance is carried out to the feature after mapping and calculate, and the pedestrian under the camera B the most similar to certain a group traveling together under camera A is exported as the heavy recognition result of pedestrian.
In the present embodiment, to the some pedestrians in camera A, according to distance order from small to large, the pedestrian in camera B is sorted, come pedestrian in the B of foremost and, as the matching result with this pedestrian in camera A, export recognition result.
The technology that above-mentioned modules specifically adopts is corresponding with each several part of said method, again repeats no more.
As shown in Figure 5, it is the matching image of before the rank that draws of an embodiment ten, first is classified as image to be matched, each row are followed successively by the matching image of ten couplings that rank the first that the present embodiment provides below, what wherein dotted line circle went out is actual matching image, can find out that method that the present embodiment proposes can be good at carrying out identification and the coupling of same a group traveling together.
As shown in Figure 6, it is the heavy recognition accuracy comparison diagram (ILIDS data set) of the sub-space learning of an embodiment and non-self-adapting, wherein: SDALF is the extraction carrying out color, Texture eigenvalue based on symmetry, and all kinds of Fusion Features is carried out personage heavily know method for distinguishing; Metric learning then combines with the distance compare threshold of local auto-adaptive by SVMML, overcomes the shortcoming that single threshold value causes discrimination lower; KISSME proposes one metric learning method fast from the angle of statistical reasoning, does not need iteration optimization; KLFDA is then based on minimizing covariance in class, maximizing the method for the improvement classification results that the principle of covariance between class proposes; PCCA proposes to utilize training data to learn to obtain a low n-dimensional subspace n, and the training sample reserved of getting the bid in this space distributes to meeting desirable feature; PRDC learns more excellent tolerance, the feature samples making to belong to same a group traveling together between distance be less than the feature samples that belongs to different pedestrian to the maximization of spacing.OurLinearKernel and OurRBFKernel is the present embodiment accuracy rate result (simultaneously testing the effect of linear processes RBF core).Can find out that the present embodiment is similar to additive method on recognition accuracy, and the accuracy rate of the inventive method converge to 1 speed faster.
Above specific embodiments of the invention are described.It is to be appreciated that the present invention is not limited to above-mentioned particular implementation, those skilled in the art can make various distortion or amendment within the scope of the claims, and this does not affect flesh and blood of the present invention.

Claims (9)

1. the pedestrian's heavily recognition methods based on the adaptive sub-space learning algorithm in visual angle, it is characterized in that, described method is only to comprise the rectangular image of single pedestrian or to cut out target rectangle frame as input picture from raw video image by tracking results, extract proper vector over an input image, and data set is divided into training dataset and test data set, training dataset obtains transformation matrix according to visual angle self-adaptation sub-space learning Algorithm Learning, transformation matrix test data set utilizing visual angle self-adaptation sub-space learning Algorithm Learning obtain carries out distance calculating and pedestrian heavily identifies.
2. a kind of pedestrian's heavily recognition methods based on the adaptive sub-space learning algorithm in visual angle according to claim 1, it is characterized in that, described method comprises the steps:
Step 1): utilize feature extraction algorithm to carry out feature extraction to input picture, obtain proper vector set, proper vector set is divided into again training dataset and test data set further;
Step 2), on training dataset, obtain the adaptive sub-space transform matrix in visual angle to each camera study, the process of its learning mapping matrix realizes by optimizing loss function;
Step 3), in test data set, first the eigenmatrix of all test patterns is mapped to corresponding subspace, obtains the proper vector after mapping, and carry out pedestrian on this basis and heavily identify.
3. a kind of pedestrian's heavily recognition methods based on the adaptive sub-space learning algorithm in visual angle according to claim 2, it is characterized in that, step 1): for some data sets, data are divided into two groups, often group comprises a pictures of all pedestrians, and same pedestrian putting in order in two groups is identical; The data centralization be divided into group is selected at random a part of pedestrian's data as training dataset, remaining as test data set.
4. a kind of pedestrian's heavily recognition methods based on the adaptive sub-space learning algorithm in visual angle according to claim 2, is characterized in that, described step 2) carry out on training dataset, comprising:
2.2) first initialization Q a, Q bfor unit matrix, loss threshold epsilon=10 that convergence judges are set -5;
2.3) counting loss function; Described loss function is as shown in formula (4):
l K ( L A K , L B K ) = 1 | S | t r ( K A T K A Q A T Q A - 2 K B T K A Q A T Q B + K B T K B Q B T Q B ) - &lambda; | D | t r ( ( | S | - 1 ) K A T K A Q A T Q A - 2 K A T XK B Q B T Q A + ( | S | - 1 ) K B T K B Q B T Q B ) + &mu; A | | L A K | | F 2 + &mu; B | | L B K | | F 2 - - - ( 4 )
Wherein: the mapping matrix of corresponding nuclear space, be nuclear space with for the loss function of parameter, K a=φ (A) tφ (A), K b=φ (B) tφ (B), the mark computing of tr () representing matrix, X represents that all the other elements are all the square formation of except diagonal entry is zero; | S|, | D| represent respectively positive sample to namely with a group traveling together's feature to the number right with negative sample; λ, μ a, μ bfor the parameter of each significance level in regulation loss function; || || fthe Frobenius norm of homography;
2.4) gradient descent method is adopted to calculate Q according to formula (4) a, Q bgradient, respectively to Q a, Q bcarry out differentiate, obtain formula (5):
&part; l &part; Q A = 2 | S | ( Q A K A K A - Q B K B K A ) - 2 &lambda; | D | &lsqb; ( | S | - 1 ) Q A K A K A - Q B K B XK A &rsqb; + 2 &mu; A Q A K A &part; l &part; Q B = 2 | S | ( Q B K B K B - Q A K A K B ) - 2 &lambda; | D | &lsqb; ( | S | - 1 ) Q B K B K B - Q A K A XK B &rsqb; + 2 &mu; B Q B K B - - - ( 5 )
Wherein: l is loss function, K a, K b, Q a, Q b, X is corresponding with the parameter in formula (4);
2.5) on the basis of formula (5) to Q a, Q bupgrade, update rule is:
Q A ( t + 1 ) = Q A ( t ) - &eta; A &part; l &part; Q A , Q B ( t + 1 ) = Q B ( t ) - &eta; B &part; l &part; Q B - - - ( 6 )
Wherein: η a, η bfor the step-length that iteration upgrades, obtained by cross validation; T is iterations;
2.6) Q after upgrading is utilized a, Q b, according to formula (4) counting loss function l, if l > is ε, then forward step 2.4 to), otherwise be judged to be convergence, export corresponding Q a, Q b.
5. a kind of pedestrian's heavily recognition methods based on the adaptive sub-space learning algorithm in visual angle according to claim 2, is characterized in that, described step 3) comprising:
3.1) concentrate in test data, the feature of all pedestrians under the characteristics of image of the first man under camera A and camera B is carried out distance according to formula (7) and calculates, obtain the first row data M of distance matrix M 1;
d K 2 ( x i , y j ) = e i T K A t e s t Q A T ( K A t e s t ) T e i - 2 e j T K B t e s t Q B T ( K A t e s t ) T e i + e j T K B t e s t Q B T ( K B t e s t ) T e j - - - ( 7 )
Wherein: K A t e s t = &phi; ( A t e s t ) T &phi; ( A t r a i n ) , K B t e s t = &phi; ( B t e s t ) T &phi; ( B t r a i n ) , φ (A test), φ (A train) correspond respectively to the set that in camera A, test set and training set form in the proper vector of nuclear space; Correspondingly, φ (B test), φ (B train) correspond respectively to the set that in camera B, test set and training set form in the proper vector of nuclear space; Q a, Q bstep 2) mapping matrix that obtains of learning; e i, e jrepresent that the i-th, j element is one respectively, all the other be all zero column vector;
3.2) step 3.1 is repeated), compare until all pedestrians under camera A have carried out characteristic distance with pedestrian under camera B, and obtain distance matrix M 2, M 3..., M i,j, wherein M i,jrepresent the characteristic distance of i-th pedestrian in A and the jth pedestrian in B;
Every a line of M sorted from small to large, come the image in B corresponding to the distance of i-th, be the image mated with this row corresponding image i-th in A, what wherein come first row is the image mated most.
6. a kind of pedestrian's heavily recognition methods based on the adaptive sub-space learning algorithm in visual angle according to any one of claim 1-5, is characterized in that, described step 1) comprising:
1.1) a given input picture, be first 128*48 by adjusted size, then slide on image with the window of 16*8, stepping is of a size of 8*8, thus the complete image of 128*48 is divided into the zonule of 90 16*8, and interregional have overlap;
1.2) in each zonule, Lab is extracted respectively, HSV histogram and LBP textural characteristics, wherein Lab, HSV extract the histogram of 24 dimensions to each passage, LBP is the even LBP histogram of 59 dimensions, and each like this fritter can obtain the proper vector of one 203 dimension;
1.3) proper vector that each fritter extracts once be stitched together in order, obtain the complete proper vector of image, the dimension of final proper vector is 18270.
7. a kind of pedestrian's heavily recognition methods based on the adaptive sub-space learning algorithm in visual angle according to claim 6, is characterized in that, described 1.3) after, adopt PCA algorithm that proper vector is carried out dimensionality reduction further, the dimension after dimensionality reduction is 34.
8. one kind realizes the heavy recognition system of the pedestrian based on the adaptive sub-space learning algorithm in visual angle of method described in any one of the claims 1-7, it is characterized in that, described system comprises: the heavy identification module of characteristic extracting module, the adaptive sub-space learning module in visual angle and pedestrian, wherein:
Described characteristic extracting module, its input is original pedestrian's image, and this module carries out feature extraction to pedestrian's image that each inputs, and obtains d dimensional feature vector; In all pedestrians, randomly draw pedestrian's image of some as training data set, and using the input of their characteristics of correspondence as subspace mapping matrix study module; All the other pedestrian's images are as in test data set;
Described subspace mapping matrix study module, its input is the training data set that characteristic extracting module exports, for adaptively for the study of each camera obtains best mapping matrix, make the proper vector after converting meet desired characteristics distribution as far as possible, that is: with the proper vector of a group traveling together apart from little, different pedestrian's proper vector distance is large; This module exports the transformation matrix Q obtained a, Q b;
Described heavy identification module, this module, at the enterprising row relax of test data set, utilizes the transformation matrix Q that subspace mapping matrix study module obtains a, Q bcarry out distance to test data set image to calculate, and the pedestrian under the B camera the most similar to certain a group traveling together under A camera is exported as the heavy recognition result of pedestrian.
9. the heavy recognition system of the pedestrian based on the adaptive sub-space learning algorithm in visual angle according to claim 8, is characterized in that, described heavy identification module, utilizes the transformation matrix Q learning to obtain a, Q bfeature Mapping is carried out to test data set, and according to formula (7), distance calculating is carried out to the feature after mapping, to the some pedestrians in camera A, according to distance order from small to large, the pedestrian in camera B is sorted, to come in the B of foremost pedestrian as the matching result with this pedestrian in camera A.
CN201510564338.4A 2015-09-07 2015-09-07 Pedestrian based on the adaptive sub-space learning algorithm in visual angle recognition methods and system again Active CN105138998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510564338.4A CN105138998B (en) 2015-09-07 2015-09-07 Pedestrian based on the adaptive sub-space learning algorithm in visual angle recognition methods and system again

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510564338.4A CN105138998B (en) 2015-09-07 2015-09-07 Pedestrian based on the adaptive sub-space learning algorithm in visual angle recognition methods and system again

Publications (2)

Publication Number Publication Date
CN105138998A true CN105138998A (en) 2015-12-09
CN105138998B CN105138998B (en) 2019-01-11

Family

ID=54724342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510564338.4A Active CN105138998B (en) 2015-09-07 2015-09-07 Pedestrian based on the adaptive sub-space learning algorithm in visual angle recognition methods and system again

Country Status (1)

Country Link
CN (1) CN105138998B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678247A (en) * 2015-12-30 2016-06-15 武汉大学 Abnormal behavior early warning method and system for hovering event space-time big data analysis
CN106919909A (en) * 2017-02-10 2017-07-04 华中科技大学 The metric learning method and system that a kind of pedestrian recognizes again
CN107591026A (en) * 2017-09-11 2018-01-16 苏州莱孚斯特电子科技有限公司 A kind of pedestrian detection and the method for early warning
CN107832672A (en) * 2017-10-12 2018-03-23 北京航空航天大学 A kind of pedestrian's recognition methods again that more loss functions are designed using attitude information
CN108509854A (en) * 2018-03-05 2018-09-07 昆明理工大学 A kind of constrained based on projection matrix combines the pedestrian's recognition methods again for differentiating dictionary learning
CN108875445A (en) * 2017-05-08 2018-11-23 上海荆虹电子科技有限公司 A kind of pedestrian recognition methods and device again
CN108960013A (en) * 2017-05-23 2018-12-07 上海荆虹电子科技有限公司 A kind of pedestrian recognition methods and device again
CN110188641A (en) * 2019-05-20 2019-08-30 北京迈格威科技有限公司 Image recognition and the training method of neural network model, device and system
CN110222553A (en) * 2019-03-29 2019-09-10 宁波大学 A kind of recognition methods again of the Multi-shot pedestrian based on rarefaction representation
CN110580460A (en) * 2019-08-28 2019-12-17 西北工业大学 Pedestrian re-identification method based on combined identification and verification of pedestrian identity and attribute characteristics
CN110766628A (en) * 2019-10-16 2020-02-07 哈尔滨工程大学 Target edge inversion method based on multiband self-adaptive regularization iteration
CN111667001A (en) * 2020-06-05 2020-09-15 平安科技(深圳)有限公司 Target re-identification method and device, computer equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457985B (en) * 2019-06-05 2022-04-05 深圳大学 Pedestrian re-identification method and device based on video sequence and computer equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500345A (en) * 2013-09-29 2014-01-08 华南理工大学 Method for learning person re-identification based on distance measure
CN104268583A (en) * 2014-09-16 2015-01-07 上海交通大学 Pedestrian re-recognition method and system based on color area features

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500345A (en) * 2013-09-29 2014-01-08 华南理工大学 Method for learning person re-identification based on distance measure
CN104268583A (en) * 2014-09-16 2015-01-07 上海交通大学 Pedestrian re-recognition method and system based on color area features

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MARTIN HIRZER 等: "Relaxed Pairwise Learned Metric for Person Re-Identification", 《EUROPEAN CONFERENCE ON COMPUTER VISION》 *
WEI-SHI ZHENG 等: "Person re-identification by probabilistic relative distance comparison", 《IN PROC. CVPR》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678247A (en) * 2015-12-30 2016-06-15 武汉大学 Abnormal behavior early warning method and system for hovering event space-time big data analysis
CN105678247B (en) * 2015-12-30 2019-01-29 武汉大学 The abnormal behaviour method for early warning and system of event of hovering space-time big data analysis
CN106919909A (en) * 2017-02-10 2017-07-04 华中科技大学 The metric learning method and system that a kind of pedestrian recognizes again
CN106919909B (en) * 2017-02-10 2018-03-27 华中科技大学 The metric learning method and system that a kind of pedestrian identifies again
CN108875445A (en) * 2017-05-08 2018-11-23 上海荆虹电子科技有限公司 A kind of pedestrian recognition methods and device again
CN108875445B (en) * 2017-05-08 2020-08-25 深圳荆虹科技有限公司 Pedestrian re-identification method and device
CN108960013A (en) * 2017-05-23 2018-12-07 上海荆虹电子科技有限公司 A kind of pedestrian recognition methods and device again
CN108960013B (en) * 2017-05-23 2020-09-15 深圳荆虹科技有限公司 Pedestrian re-identification method and device
CN107591026A (en) * 2017-09-11 2018-01-16 苏州莱孚斯特电子科技有限公司 A kind of pedestrian detection and the method for early warning
CN107591026B (en) * 2017-09-11 2021-04-02 苏州莱孚斯特电子科技有限公司 Pedestrian detection and early warning method
CN107832672B (en) * 2017-10-12 2020-07-07 北京航空航天大学 Pedestrian re-identification method for designing multi-loss function by utilizing attitude information
CN107832672A (en) * 2017-10-12 2018-03-23 北京航空航天大学 A kind of pedestrian's recognition methods again that more loss functions are designed using attitude information
CN108509854A (en) * 2018-03-05 2018-09-07 昆明理工大学 A kind of constrained based on projection matrix combines the pedestrian's recognition methods again for differentiating dictionary learning
CN110222553A (en) * 2019-03-29 2019-09-10 宁波大学 A kind of recognition methods again of the Multi-shot pedestrian based on rarefaction representation
CN110188641A (en) * 2019-05-20 2019-08-30 北京迈格威科技有限公司 Image recognition and the training method of neural network model, device and system
CN110188641B (en) * 2019-05-20 2022-02-01 北京迈格威科技有限公司 Image recognition and neural network model training method, device and system
CN110580460A (en) * 2019-08-28 2019-12-17 西北工业大学 Pedestrian re-identification method based on combined identification and verification of pedestrian identity and attribute characteristics
CN110766628A (en) * 2019-10-16 2020-02-07 哈尔滨工程大学 Target edge inversion method based on multiband self-adaptive regularization iteration
CN111667001A (en) * 2020-06-05 2020-09-15 平安科技(深圳)有限公司 Target re-identification method and device, computer equipment and storage medium
CN111667001B (en) * 2020-06-05 2023-08-04 平安科技(深圳)有限公司 Target re-identification method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN105138998B (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN105138998A (en) Method and system for re-identifying pedestrian based on view angle self-adaptive subspace learning algorithm
Liu et al. EHPE: Skeleton cues-based gaussian coordinate encoding for efficient human pose estimation
Lin et al. Consistent-aware deep learning for person re-identification in a camera network
Masi et al. Learning pose-aware models for pose-invariant face recognition in the wild
CN105844239B (en) It is a kind of that video detecting method is feared based on CNN and LSTM cruelly
Leibe et al. Combined object categorization and segmentation with an implicit shape model
CN109359608B (en) Face recognition method based on deep learning model
CN108596203B (en) Optimization method of parallel pooling layer for pantograph carbon slide plate surface abrasion detection model
CN101930537B (en) Method and system for identifying three-dimensional face based on bending invariant related features
CN110728694B (en) Long-time visual target tracking method based on continuous learning
CN102930300B (en) Method and system for identifying airplane target
Perakis et al. Feature fusion for facial landmark detection
CN105447441A (en) Face authentication method and device
CN105574475A (en) Common vector dictionary based sparse representation classification method
CN104700089A (en) Face identification method based on Gabor wavelet and SB2DLPP
CN104392241A (en) Mixed regression-based head pose estimation method
CN108230330B (en) Method for quickly segmenting highway pavement and positioning camera
CN105760898A (en) Vision mapping method based on mixed group regression method
Fang et al. Real-time hand posture recognition using hand geometric features and fisher vector
Suo et al. Structured dictionary learning for classification
Shi et al. Face recognition algorithm based on self-adaptive blocking local binary pattern
CN113052017A (en) Unsupervised pedestrian re-identification method based on multi-granularity feature representation and domain adaptive learning
CN104715266A (en) Image characteristics extracting method based on combination of SRC-DP and LDA
CN116798070A (en) Cross-mode pedestrian re-recognition method based on spectrum sensing and attention mechanism
Wang et al. Learning to find reliable correspondences with local neighborhood consensus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220106

Address after: 100083 room 3032, North B, bungalow, building 2, A5 Xueyuan Road, Haidian District, Beijing

Patentee after: BEIJING DILUSENSE TECHNOLOGY CO.,LTD.

Address before: 200240 No. 800, Dongchuan Road, Shanghai, Minhang District

Patentee before: SHANGHAI JIAO TONG University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230323

Address after: 230091 room 611-217, R & D center building, China (Hefei) international intelligent voice Industrial Park, 3333 Xiyou Road, high tech Zone, Hefei, Anhui Province

Patentee after: Hefei lushenshi Technology Co.,Ltd.

Address before: 100083 room 3032, North B, bungalow, building 2, A5 Xueyuan Road, Haidian District, Beijing

Patentee before: BEIJING DILUSENSE TECHNOLOGY CO.,LTD.