CN103902968A - Pedestrian detection model training method based on AdaBoost classifier - Google Patents

Pedestrian detection model training method based on AdaBoost classifier Download PDF

Info

Publication number
CN103902968A
CN103902968A CN201410066461.9A CN201410066461A CN103902968A CN 103902968 A CN103902968 A CN 103902968A CN 201410066461 A CN201410066461 A CN 201410066461A CN 103902968 A CN103902968 A CN 103902968A
Authority
CN
China
Prior art keywords
training
sample
negative sample
omega
centerdot
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
CN201410066461.9A
Other languages
Chinese (zh)
Other versions
CN103902968B (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.)
National University of Defense Technology
Original Assignee
National University of Defense Technology
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 National University of Defense Technology filed Critical National University of Defense Technology
Priority to CN201410066461.9A priority Critical patent/CN103902968B/en
Publication of CN103902968A publication Critical patent/CN103902968A/en
Application granted granted Critical
Publication of CN103902968B publication Critical patent/CN103902968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a pedestrian detection model training method based on an AdaBoost classifier. The pedestrian detection model training method comprises the steps of firstly, conducting real-time statistics on the sum of sample weight values in the AdaBoost training process, when degeneration is carried out to a certain extent, using a currently-trained weak classifier set for scanning a non-pedestrian image for a false detection window, using the false detection window as a difficult sample to be added in negative sample training sets, and decreasing a degeneration degree threshold value so as to reduce sample update efficiency; finally, removing a part of negative samples through random sampling, and reducing the number of the negative sample training sets so as to reduce the calculated amount of the training process. According to the pedestrian detection model training method based on the AdaBoost classifier, on the premise that a feature extraction method is not changed, the training effect of the classifier can be improved to the maximum extent, and the final detection precision is improved.

Description

A kind of pedestrian detection model training method based on AdaBoost sorter
Technical field:
The present invention is mainly concerned with the pedestrian detection field based on still image, refers in particular to a kind of pedestrian detection model training method based on AdaBoost sorter.
Background technology:
Traffic hazard is to cause casualties peacetime and the major reason of property loss, wherein, there is the traffic hazard that pedestrian participates in to account for 14% of traffic hazard total amount, extremely whole society's extensive concern of the safety problem of pedestrian in road traffic, researchist starts to be devoted to vehicle assistant drive technology and reduces the accident rate of pedestrian in road traffic, and it is particularly important that pedestrian detection technology seems therein.Because pedestrian has the characteristic of rigidity and flexible article concurrently, the impacts [4] such as outward appearance is subject to dress, yardstick, blocks, attitude and visual angle, make pedestrian detection become Research Challenges and the focus of computer vision.
In the last few years, the method for machine learning was introduced in the research of pedestrian detection, and Detection accuracy is improved, and the research of pedestrian detection at present mainly concentrates on the selection of feature extraction and sorter.The method that the people such as Pepageorgios have proposed sliding window for the first time for detection of, the mode that they have adopted SVM and Multi-Scale Haar Wavelet to cross complete base combination detects, the people such as Viola and Jones, based on this thinking, has introduced integrogram thought and AdaBoost Fast Classification device (VJ).Above-mentioned two kinds of thinkings have formed the nowadays foundation stone of pedestrian detection operator.Then the people such as Dalal, based on pedestrian's overall profile feature, proposes histograms of oriented gradients feature (HOG), and HOG feature is in conjunction with svm classifier device, and Detection accuracy has been obtained revolutionary progress.The people such as Dollar are merged the thought of Viola and Dalal, propose integration channel characteristics (ChnFtr), in conjunction with AdaBoost sorter, have promoted detection speed and accuracy in detection.
AdaBoost, is the abbreviation of English " Adaptive Boosting " (self-adaptation enhancing), is a kind of machine learning method, is proposed by Yoav Freund and Robert Schapire [1].AdaBoost method is a kind of iterative algorithm, adds a new Weak Classifier in each is taken turns, until reach certain predetermined enough little error rate or reach predetermined Weak Classifier number.The self-adaptation of AdaBoost method is: the sample of previous sorter misclassification can be used to train next sorter.AdaBoost method is very sensitive for noise data and abnormal data.But in some problems, than most of learning algorithms, AdaBoost method, for other learning algorithm of great majority, can not be easy to occur over-fitting phenomenon.The sorter using in AdaBoost method may very weak (such as occurring very serious mistake rate), but as long as its classifying quality better than at random (such as two class Question Classification error rates are slightly less than 0.5) just can improve the model finally obtaining.And error rate is also useful higher than the Weak Classifier of random assortment device, because in the linear combination of the multiple sorters that finally obtain, can give negative coefficient to them, equally also can promote classifying quality.
No matter based on which kind of method, all need great amount of samples train sorter that accuracy rate is high for detection of.In order better to contrast the effect of algorithms of different, researchers have proposed the research of series of standards data set for pedestrian detection algorithm, conventional have MIT data set, INRIA data set, ETH data set and a Caltech data set, these data sets are all made up of two parts sample set, be respectively used to training and testing, every partitioned data set (PDS) all comprises pedestrian's image collection and non-pedestrian's image collection, is positive sample image and negative sample image.Wherein MIT and INRIA are made up of still image, and ETH and Caltech are made up of sequence of frames of video.Obtaining in training set process, positive sample need to be according to comment file, from positive sample image, extract pedestrian's image of fixed resolution, general all for the training of sorter, negative sample can obtain from negative sample picture frame block diagram non-pedestrian's image of magnanimity, researcher can carry out cutting and screening according to own actual demand, and the image resolution ratio of the positive and negative sample training collection obtaining is 64*128.In the last few years, in the research in pedestrian detection field, researchers mostly only pay close attention to characteristic Design and sorter is selected, and had ignored the reasonable utilization of training sample information, can not fully excavate the effect of institute's using method.For the negative sample information of magnanimity, how it is carried out to adequately and reasonably cutting and screening, the false drop rate, the lifting sorter training effectiveness that reduce sorter are played to vital effect.
Summary of the invention:
The technical problem to be solved in the present invention is: current most of pedestrian detection method is mainly paid close attention in the selection and optimization of feature and sorter, and ignore the reasonable application to magnanimity negative sample in training process, the present invention aims to provide a kind of pedestrian detection model training method based on AdaBoost sorter, in conjunction with AdaBoost Weak Classifier training process, according to the degree of degeneration of sample training centralization of state power value, negative sample training set is carried out reasonably dynamically adjusting, keep the diversity of negative sample training set, promote the training effectiveness of Weak Classifier, can effectively promote the accuracy of final disaggregated model, optimize the efficiency of training process, reduce the training time.
In order to solve the problems of the technologies described above, the technical scheme that the present invention proposes is: a kind of pedestrian detection model training method based on AdaBoost sorter, it is characterized in that: the weight of first determining initial positive and negative sample training collection and positive negative sample by known standard pedestrian's data set, then in AdaBoost training process in real-time statistics training set sample weights value and, in the time there is obvious weight degradation in training set, the non-pedestrian's image that goes sliding window scanning detection raw data to concentrate by the current Weak Classifier group having trained, and add in negative sample training set flase drop video in window as difficult sample, then reject part negative sample by random sampling, finally reduce degree of degeneration threshold value, reduce training set renewal frequency, continue AdaBoost training process, until finally obtain pedestrian detection model.
The specific implementation step of the above-mentioned pedestrian detection model training method based on AdaBoost sorter is:
1) determine initial positive and negative sample training collection:
First, select a pedestrian detection standard data set, comprising the positive sample image that comprises pedestrian with do not comprise pedestrian's negative sample image.According to the comment file of data set, from obtaining pedestrian's image of 64*128 and carry out mirror process, positive sample image Block Diagrams extracts image integration channel characteristics, form positive sample training collection
Figure BDA0000470169340000047
wherein N=2416, negative sample image Block Diagrams obtains non-pedestrian's image of countless 64*128, is regarded as magnanimity negative sample raw data set S ∞ - = { ( x 1 , - 1 ) , · · · , ( x N ω - , - 1 ) } , ( N ∞ - → ∞ ) , Again by get non-pedestrian's image of fixed qty with machine frame on every width negative sample image, from S -in obtain original negative sample training collection wherein N -=20,000.Therefore, initial training collection is S = S + ∪ S 0 - = { ( x 1 , y 1 ) , · · · , ( x N , y N ) } , Wherein N=N ++ N -;
2) weight of the positive and negative sample training collection of initialization is:
ω = { ω 1 , ω 2 , · · · , ω N } = ω + = { ω i + | ω i + = 1 / 2 N + , i = 1,2 , · · · , N + } ω - = { ω i - | ω i - = 1 / 2 N - , i = 1,2 , · · · , N - }
Wherein with
Figure BDA0000470169340000045
represent respectively the weight of positive sample and negative sample;
3) initialization difficulty sample adds the upper limit
Figure BDA0000470169340000046
initial value τ=0.1 of weights degree of degeneration threshold value is set;
4) establishing AdaBoost Weak Classifier number is T=2048, initialization t=0;
5) t=t+1 forwards step 13 in the time of t>T);
6) according to known Weak Classifier training method (referring to specific implementation method), based on step 1) and step 2) the training set S that obtains and its weight sets ω, training obtains t Weak Classifier ht (x) ∈ { 1,1};
7) the classification error rate of statistics Weak Classifier in sample
Figure BDA0000470169340000051
this Weak Classifier h t(x) weight is α t=log ((1-err t) err t);
8) upgrade sample weights ω nnexp (α th t(x n)), and calculate negative sample weight and loss t = Σ ω n ∈ ω y n = - 1 ω n ;
9) if loss t> τ, training set S remains unchanged, and jumps to step 5); Otherwise, make τ=τ/10, continue following steps;
10) using the t a having trained Weak Classifier as current sorter
Figure BDA0000470169340000053
on original minus sample image, use current sorter H t(x) scan N fPthe sliding window FP(False of individual flase drop Positives), after extraction integration channel characteristics, add negative sample training set S to -in, wherein
Figure BDA0000470169340000054
wherein
Figure BDA0000470169340000055
for difficult sample adds the upper limit;
11) from negative sample training set S -in random reject a part of negative sample, make final negative sample number be
Figure BDA0000470169340000056
12) upgrade negative sample training set S -in the weights omega of the new difficult sample adding n=exp (H t(x n)) 2N -, wherein (x n, y n) ∈ FP, FP refers to difficult sample, then jumps to step 5);
13) obtain final disaggregated model H ( x ) = sign ( Σ t = 1 T α t h t ( x ) ) .
In sum, of the present inventionly reduce the false drop rate of final mask based on taking full advantage of negative sample training set information, and by dynamically controlling training set sample size, promoted training effectiveness.On the basis based on same characteristic features extracting method, the present invention trains gained disaggregated model to have higher detection precision.
List of references:
[1]Freund Y,Schapire R E.A desicion-theoretic generalization of on-line learning and an application to boosting[C]//Computational learning theory.Springer Berlin Heidelberg,1995:23-37.
[2]Dollár P,Tu Z,Perona P,et al.Integral Channel Features[C]//BMVC.2009,2(4):5.
[3]Dollár P,Belongie S,Perona P.The Fastest Pedestrian Detector in the West[C]//BMVC.2010,2(3):7.
[4]Dollar P,Wojek C,Schiele B,et al.Pedestrian detection:An evaluation of the state of the art[J].Pattern Analysis and Machine Intelligence,IEEE Transactions on,2012,34(4):743-761.
Accompanying drawing explanation:
Fig. 1 is process flow diagram of the present invention;
It is the obtain manner of positive and negative sample training collection that Fig. 2 (a), Fig. 2 (b) distribute, positive sample training collection is pedestrian's image of getting 64*128 from positive sample image center, and negative sample training set is non-pedestrian's image of getting corresponding 64*128 from background image according to certain tactful frame;
The integrogram of 10 passages of Fig. 3 mono-secondary pedestrian image;
Fig. 4 is the training effect comparison diagram based under different threshold values, this figure is the ROC curve of gained after sorter that application training is good detects on test set, wherein horizontal ordinate fppi (false positive per-image) represents the average false drop rate of every width image, and ordinate miss rate represents loss;
Fig. 5 is the training effect comparison diagram under different training set update modes, by contrasting negative sample at t=[16642561024] moment renewal and the even training effect upgrading, give prominence to the importance of training process in early stage, verify the outstanding immanent cause of training effect under dynamic threshold, wherein horizontal ordinate fppi represents the average false drop rate of every width image, and ordinate miss rate represents loss;
Fig. 6 (a) is the disaggregated model effect contrast figure who randomly draws under varying number negative sample training set, (b) be to add difficult sample by the Bootstrapping method of different rounds, the modelling effect comparison diagram training under different sample diversity conditions, wherein as above figure of transverse and longitudinal coordinate definition, can find out by two width figure, the diversity of training sample is more remarkable on the impact of final disaggregated model;
Fig. 7 is under based on integration channel characteristics method, the comparison diagram of the final disaggregated model that the original training method of training method of the present invention and Dollar trains.
Embodiment:
As shown in Figure 1, the present embodiment provides a kind of pedestrian detection model training method based on AdaBoost sorter:
1. determining of positive negative sample initial training collection:
First, select a suitable pedestrian detection standard data set, for example INRIA data set, comprising the positive sample image that comprises pedestrian with do not comprise pedestrian's negative sample image.According to the comment file of data set, from positive sample image Block Diagrams obtains pedestrian's image of 64*128 and carries out Mirror Symmetry processing and copies, the extraction image integration channel characteristics [2] (the 4th of aftermentioned has a detailed description) that adopts document 3 to propose, namely all positive sample pedestrian images are carried out after reverse symmetry copies, joining positive sample training and concentrating.Form by the way positive sample training collection
Figure BDA0000470169340000086
wherein N=2416, can block diagram in negative sample image obtains non-pedestrian's image of countless 64*128, and we are regarded as magnanimity negative sample raw data set S ∞ - = { ( x 1 , - 1 ) , · · · , ( x N ω - , - 1 ) } , ( N ∞ - → ∞ ) , Can be by get non-pedestrian's image of fixed qty with machine frame on every width negative sample image, from S -in obtain original negative sample training collection
Figure BDA0000470169340000087
wherein N -=20,000.Therefore, initial training collection is S = S + ∪ S 0 - = { ( x 1 , y 1 ) , · · · , ( x N , y N ) } , Wherein N=N ++ N -;
And the weight of these positive and negative sample training collection of initialization:
ω = { ω 1 , ω 2 , · · · , ω N } = ω + = { ω i + | ω i + = 1 / 2 N + , i = 1,2 , · · · , N + } ω - = { ω i - | ω i - = 1 / 2 N - , i = 1,2 , · · · , N - }
Wherein
Figure BDA0000470169340000084
with
Figure BDA0000470169340000085
represent respectively the weight of positive sample and negative sample.
This weight sets represents the significance level of training sample set in training Weak Classifier process, and by the more samples of Weak Classifier classification error number of times, weight is larger, often completes the training of a sorter later, and weight is according to following Policy Updates:
ω nnexp(α th t(x n)) (2)
: ω n=exp (H t(x n)) 2N -, (3) wherein H t ( x ) = Σ k = 1 t α k h k ( x ) , (x n,y n)∈FP;
Finally, according to weight sets training Weak Classifier h t(x) { 1 ,+1}, adds up this Weak Classifier error rate err to ∈ t, and calculate these Weak Classifier weights α t, computation process is as follows:
err t = Σ i = 1 N ω i · 1 [ y i ≠ h i ( x i ) ] - - - ( 4 )
α t=log((1-err t)err t) (5)
Use T final Weak Classifier to form final strong classifier
Figure BDA0000470169340000093
Wherein Weak Classifier training method is the published content of document 3, specifically sees the 5th description of this part.
2. degenerate and control the renewal of negative sample training set according to weights:
Weights and the weights degree of degeneration that represents negative sample training set with negative sample:
loss t = Σ ω n ∈ ω y n = - 1 ω n - - - ( 6 )
Wherein weights omega nnexp (α th t(x n))
Regard front t Weak Classifier group as current sorter H t(x), weights degree of degeneration found out by formula (6), as weights degree of degeneration loss tmuch smaller than 1/2 o'clock, illustrate that most of negative sample meets H t(x i) <0, i.e. current sorter H t(x) negative sample training set has been possessed to good separating capacity, there is serious degradation in current negative sample training set, ensuing sorter training process affected to conspicuousness variation, need to from original background image, again obtain new difficult sample, weights degree of degeneration loss is set tinitial value τ=0.1 of threshold value, in the time being less than threshold values, upgrades negative sample training set; And upgrade weight degradation threshold tau=τ/10, can progressively reduce like this negative sample renewal frequency, by computational resource more for the training process in early stage, guaranteeing in training effect, the less training time to greatest extent.
In the AdaBoost sorter based on softcascade, often most of detection window only needs front several Weak Classifier just can be defined as non-pedestrian, so in actual testing process, sorter frequency of utilization more forward in AdaBoost Weak Classifier group is higher, its significance level is also just more remarkable, should more pay close attention to so the training of training Weak Classifier in early stage in training process.
3. dynamically control negative sample training set quantity:
Compare sample size, sample diversity is more obvious for the impact of training effect, is the shortening training time in training process, dynamically control negative sample quantity, complete after the renewal of negative sample training set at every turn, weed out at random part negative sample, the number of new negative sample training set is met:
Figure BDA0000470169340000101
like this, be greater than the negative sample quantity in training later stage in the quantity of training negative sample in early stage, reduced the average computation amount of Weak Classifier, realized the acceleration of training process.
4. integration channel characteristics:
The present invention has used published integration channel characteristics extracting method in document 3, its core concept is carried out multiple linearity or nonlinear conversion to input picture exactly, and with the form storage of integrogram, to be similar to the rectangular area of Harr feature and as feature, can to pass through the quick calculating of integrogram realization character.
Suppose that input picture is I, Ω represents the mapping relations of certain channel image and source images I, can obtain thus respective channel mapping graph C=Ω (I), and C is converted to the form of integrogram f, wherein
Figure BDA0000470169340000111
dollar has used in test ten class integration channel C k(k=1,2 ..., 10), be respectively three LUV Color Channels, gradient assignment passage, six gradient direction passages (as shown in Figure 3).
(1) LUV Color Channel: input original image I is RGB color space, is translated into LUV color space and represents, three the channel information composition LUV Color Channel figures of image I on LUV color space,
Figure BDA0000470169340000112
k=1,2,3.
(2) gradient assignment passage: gradient assignment channel C 4the gray-scale map I of calculating based on image I gray, computing method are as follows:
C 4 ( x , y ) = ( &PartialD; I gray ( x , y ) &PartialD; x ) 2 + ( &PartialD; I gray ( x , y ) &PartialD; y ) 2 .
(3) gradient direction passage: first will be based on gray-scale map I graycalculate the gradient direction of each location of pixels:
&Theta; ( x , y ) = tan - 1 ( &PartialD; I gray &PartialD; x ( x , y ) &PartialD; I gray &PartialD; y ( x , y ) ) ,
Then
Figure BDA0000470169340000115
discrete is six gradient directions obtain the gradient assignment passage figure on six direction: C k ( x , y ) = C 4 ( x , y ) &CenterDot; 1 [ &Theta; ( x , y ) = &theta; k - 5 ] , Wherein k=5,6 ..., 10.
For the quick calculating of realization character, Dollar by characterizing definition be random rectangular area on passage figure pixel value and, can under constant complexity, complete calculating by passage integrogram, that is:
&Sigma; x 1 < x < x 2 y 1 < y < y 2 C k ( x , y ) = f k ( x 2 , y 2 ) - f k ( x 1 , y 2 ) - f k ( x 2 , y 1 ) + f k ( x 1 , y 1 ) .
Integration passage belongs to a kind of feature of many Fusion Features, but it has solved the slow-footed shortcoming of many Fusion Features by the method for integrogram, and in testing process, space orientation accuracy is higher, there is less parameter setting, be well suited for, with cascade classifier combination, reaching detection speed faster.
5. the present invention has adopted training and the screening of document 3 disclosed Weak Classifiers:
For each sample image, first we ask for the integrogram of 10 passages, then on passage integrogram random 10, the rectangle of 000 4*4, using the pixel value of the passage figure in rectangle and as eigenwert, this value can, by the form of integrogram, be obtained fast under constant complexity.
In the time of t Weak Classifier of training, we are for 10, the feature that had not participated in final Weak Classifier training in 000 dimensional feature uses respectively the mode of AdaBoost to train multiple Weak Classifiers, and the error rate of adding up them, we are using Weak Classifier minimum classification error rate as t final Weak Classifier, complete the screening to Weak Classifier, and mark respective dimension feature is no longer applied to ensuing training process, the Weak Classifier remaining finally participates in forming AdaBoost strong classifier.
The concrete methods of realizing process description of technique scheme is as follows:
Input:
● pedestrian detection training set (comprising the non-pedestrian's image of positive sample pedestrian image and negative sample);
● AdaBoost Weak Classifier is counted T;
● difficult sample (FP) adds the upper limit
Figure BDA0000470169340000131
with negative sample training set capacity N -.
Initialization:
● using positive sample pedestrian image as positive sample training collection S +, original negative sample training collection S -from non-pedestrian's image, random sliding window frame is got and is obtained, and sample number is N -, form AdaBoost training set S=S +∪ S -.
● the positive sample weights of initialization
Figure BDA0000470169340000132
with negative sample weights &omega; - = { &omega; n - | &omega; n - = 1 / 2 N - } , Form weight sets ω=ω +∪ ω -;
● weights degree of degeneration threshold tau=0.1 is set.
Flow process:
For t=1,…,T
1. based on training set (S, ω), train t Weak Classifier ht (x) ∈ { 1,1};
2. miscount rate α t=log ((1-err t) err t);
3. upgrade sample weights ω={ ω n| ω nnexp (α th t(x n)), calculate negative sample weight and: loss t = &Sigma; &omega; n - &Element; &omega; - &omega; n - ;
4.If loss t
4.1 on original non-pedestrian's image, by current sorter
Figure BDA0000470169340000136
scanning is less than flase drop window add negative sample training set S to -in;
4.2 from S -in randomly draw individual negative sample, forms new negative sample training set S -;
4.3 upgrade S -in the weights omega of the new difficult sample adding n=exp (H t(x n)) 2N -, (x n, y n) ∈ FPs;
5. obtain final disaggregated model H ( x ) = sign ( &Sigma; t = 1 T &alpha; t h t ( x ) )
For verifying effect of the present invention, the integration channel characteristics that the present embodiment proposes based on people such as Dollar, improve according to said method, having carried out programming realizes, train the sorter that final sorter and Dollar original method train and contrast, as shown in Figure 7, under same characterization method, the final disaggregated model effect training by the present embodiment training method is better than original method, has higher accuracy of detection.

Claims (2)

1. the pedestrian detection model training method based on AdaBoost sorter, it is characterized in that: the weight of first determining initial positive and negative sample training collection and positive negative sample by known standard pedestrian's data set, then in AdaBoost training process in real-time statistics training set sample weights value and, in the time there is obvious weight degradation in training set, the non-pedestrian's image that goes sliding window scanning detection raw data to concentrate by the current Weak Classifier group having trained, and add in negative sample training set flase drop video in window as difficult sample, then reject part negative sample by random sampling, finally reduce degree of degeneration threshold value, reduce training set renewal frequency, continue AdaBoost training process, until finally obtain pedestrian detection model.
2. the pedestrian detection model training method based on AdaBoost sorter according to claim 1, is characterized in that, specifically comprises the steps:
1) determine initial positive and negative sample training collection:
First, select a pedestrian detection standard data set, comprising the positive sample image that comprises pedestrian with do not comprise pedestrian's negative sample image; According to the comment file of described data set, from obtaining pedestrian's image of 64*128 and carry out mirror process, positive sample image Block Diagrams extracts image integration channel characteristics, form positive sample training collection
Figure FDA0000470169330000013
wherein N=2416, negative sample image Block Diagrams obtains non-pedestrian's image of countless 64*128, and is regarded as magnanimity negative sample raw data set S &infin; - = { ( x 1 , - 1 ) , &CenterDot; &CenterDot; &CenterDot; , ( x N &omega; - , - 1 ) } , ( N &infin; - &RightArrow; &infin; ) , Again by get non-pedestrian's image of fixed qty with machine frame on every width negative sample image, from S -in obtain original negative sample training collection
Figure FDA0000470169330000012
wherein N -=20,000; Therefore, initial training collection is S = S + &cup; S 0 - = { ( x 1 , y 1 ) , &CenterDot; &CenterDot; &CenterDot; , ( x N , y N ) } , Wherein N=N ++ N -;
2) weight of the positive and negative sample training collection of initialization is:
&omega; = { &omega; 1 , &omega; 2 , &CenterDot; &CenterDot; &CenterDot; , &omega; N } = &omega; + = { &omega; i + | &omega; i + = 1 / 2 N + , i = 1,2 , &CenterDot; &CenterDot; &CenterDot; , N + } &omega; - = { &omega; i - | &omega; i - = 1 / 2 N - , i = 1,2 , &CenterDot; &CenterDot; &CenterDot; , N - }
Wherein
Figure FDA0000470169330000023
with
Figure FDA0000470169330000024
represent respectively the weight of positive sample and negative sample;
3) initialization difficulty sample adds the upper limit initial value τ=0.1 of weights degree of degeneration threshold value is set;
4) establishing AdaBoost Weak Classifier number is T=2048, initialization t=0;
5) t=t+1 forwards step 13 in the time of t>T);
6) according to Weak Classifier training method, based on step 1) and step 2) the training set S that obtains and its weight sets ω, training obtains t Weak Classifier h t(x) ∈ { 1,1};
7) the classification error rate of statistics Weak Classifier in sample this Weak Classifier h t(x) weight is α t=log ((1-err t) err t);
8) upgrade sample weights ω nnexp (α th t(x n)), and calculate negative sample weight and loss t = &Sigma; &omega; n &Element; &omega; y n = - 1 &omega; n ;
9) if loss t> τ, training set S remains unchanged, and jumps to step 5); Otherwise, make τ=τ/10, continue following steps;
10) using the t a having trained Weak Classifier as current sorter
Figure FDA0000470169330000028
on original minus sample image, use current sorter H t(x) scan N fPthe sliding window FP(False of individual flase drop Positives), after extraction integration channel characteristics, add negative sample training set S to -in, wherein
Figure FDA0000470169330000029
wherein
Figure FDA00004701693300000210
for difficult sample adds the upper limit;
11) from negative sample training set S -in random reject a part of negative sample, make final negative sample number be
12) upgrade negative sample training set S -in the weights omega of the new difficult sample adding n=exp (H t(x n)) 2N -, wherein (x n, y n) ∈ FP, then jump to step 5);
13) obtain final disaggregated model H ( x ) = sign ( &Sigma; t = 1 T &alpha; t h t ( x ) ) .
CN201410066461.9A 2014-02-26 2014-02-26 Pedestrian detection model training method based on AdaBoost classifier Active CN103902968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410066461.9A CN103902968B (en) 2014-02-26 2014-02-26 Pedestrian detection model training method based on AdaBoost classifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410066461.9A CN103902968B (en) 2014-02-26 2014-02-26 Pedestrian detection model training method based on AdaBoost classifier

Publications (2)

Publication Number Publication Date
CN103902968A true CN103902968A (en) 2014-07-02
CN103902968B CN103902968B (en) 2015-03-25

Family

ID=50994281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410066461.9A Active CN103902968B (en) 2014-02-26 2014-02-26 Pedestrian detection model training method based on AdaBoost classifier

Country Status (1)

Country Link
CN (1) CN103902968B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104134078A (en) * 2014-07-22 2014-11-05 华中科技大学 Automatic selection method for classifiers in people flow counting system
CN104239854A (en) * 2014-08-30 2014-12-24 电子科技大学 Pedestrian feature extraction and representing method based on region sparse integration passage
WO2016095068A1 (en) * 2014-12-15 2016-06-23 Xiaoou Tang Pedestrian detection apparatus and method
CN105975982A (en) * 2016-04-28 2016-09-28 湖南大学 Front vehicle detection method
CN106845520A (en) * 2016-12-23 2017-06-13 深圳云天励飞技术有限公司 A kind of image processing method and terminal
WO2017143919A1 (en) * 2016-02-26 2017-08-31 阿里巴巴集团控股有限公司 Method and apparatus for establishing data identification model
CN108021925A (en) * 2016-10-31 2018-05-11 北京君正集成电路股份有限公司 A kind of detection method and equipment
CN108154071A (en) * 2016-12-05 2018-06-12 北京君正集成电路股份有限公司 Detector training method and device, the detection method and device of pedestrian's moving direction
CN105069396B (en) * 2015-07-06 2018-10-30 河海大学 Dynamic percentage feature cuts AdaBoost Face datection algorithms
CN109194684A (en) * 2018-10-12 2019-01-11 腾讯科技(深圳)有限公司 A kind of method, apparatus and calculating equipment of simulation Denial of Service attack
CN110163033A (en) * 2018-02-13 2019-08-23 京东方科技集团股份有限公司 Positive sample acquisition methods, pedestrian detection model generating method and pedestrian detection method
CN110222710A (en) * 2019-04-30 2019-09-10 北京深演智能科技股份有限公司 Data processing method, device and storage medium
CN111126247A (en) * 2019-12-20 2020-05-08 中南大学 Pedestrian detector training method and system based on binary search
CN112070840A (en) * 2020-09-11 2020-12-11 上海幻维数码创意科技有限公司 Human body space positioning and tracking method with integration of multiple depth cameras
US11151182B2 (en) 2017-07-24 2021-10-19 Huawei Technologies Co., Ltd. Classification model training method and apparatus
CN114022800A (en) * 2021-09-27 2022-02-08 百果园技术(新加坡)有限公司 Model training method, illegal live broadcast identification method, device, equipment and storage medium
CN117523521A (en) * 2024-01-04 2024-02-06 山东科技大学 Vehicle detection method based on Haar features and improved HOG features

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102842045A (en) * 2012-08-03 2012-12-26 华侨大学 Pedestrian detection method based on combined features
CN102945374A (en) * 2012-10-24 2013-02-27 北京航空航天大学 Method for automatically detecting civil aircraft in high-resolution remote sensing image
CN103020986A (en) * 2012-11-26 2013-04-03 哈尔滨工程大学 Method for tracking moving object

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102842045A (en) * 2012-08-03 2012-12-26 华侨大学 Pedestrian detection method based on combined features
CN102945374A (en) * 2012-10-24 2013-02-27 北京航空航天大学 Method for automatically detecting civil aircraft in high-resolution remote sensing image
CN103020986A (en) * 2012-11-26 2013-04-03 哈尔滨工程大学 Method for tracking moving object

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104134078A (en) * 2014-07-22 2014-11-05 华中科技大学 Automatic selection method for classifiers in people flow counting system
CN104134078B (en) * 2014-07-22 2017-04-26 华中科技大学 Automatic selection method for classifiers in people flow counting system
CN104239854A (en) * 2014-08-30 2014-12-24 电子科技大学 Pedestrian feature extraction and representing method based on region sparse integration passage
CN104239854B (en) * 2014-08-30 2017-07-11 电子科技大学 A kind of pedestrian's feature extraction and method for expressing based on region sparse integral passage
WO2016095068A1 (en) * 2014-12-15 2016-06-23 Xiaoou Tang Pedestrian detection apparatus and method
CN107003834A (en) * 2014-12-15 2017-08-01 北京市商汤科技开发有限公司 Pedestrian detection apparatus and method
CN107003834B (en) * 2014-12-15 2018-07-06 北京市商汤科技开发有限公司 Pedestrian detection device and method
CN105069396B (en) * 2015-07-06 2018-10-30 河海大学 Dynamic percentage feature cuts AdaBoost Face datection algorithms
US11551036B2 (en) 2016-02-26 2023-01-10 Alibaba Group Holding Limited Methods and apparatuses for building data identification models
WO2017143919A1 (en) * 2016-02-26 2017-08-31 阿里巴巴集团控股有限公司 Method and apparatus for establishing data identification model
CN105975982A (en) * 2016-04-28 2016-09-28 湖南大学 Front vehicle detection method
CN105975982B (en) * 2016-04-28 2019-06-07 湖南大学 A kind of front vehicles detection method
CN108021925A (en) * 2016-10-31 2018-05-11 北京君正集成电路股份有限公司 A kind of detection method and equipment
CN108021925B (en) * 2016-10-31 2022-02-25 北京君正集成电路股份有限公司 Detection method and equipment
CN108154071A (en) * 2016-12-05 2018-06-12 北京君正集成电路股份有限公司 Detector training method and device, the detection method and device of pedestrian's moving direction
CN106845520A (en) * 2016-12-23 2017-06-13 深圳云天励飞技术有限公司 A kind of image processing method and terminal
CN106845520B (en) * 2016-12-23 2018-05-18 深圳云天励飞技术有限公司 A kind of image processing method and terminal
US11151182B2 (en) 2017-07-24 2021-10-19 Huawei Technologies Co., Ltd. Classification model training method and apparatus
CN110163033A (en) * 2018-02-13 2019-08-23 京东方科技集团股份有限公司 Positive sample acquisition methods, pedestrian detection model generating method and pedestrian detection method
US11238296B2 (en) 2018-02-13 2022-02-01 Boe Technology Group Co., Ltd. Sample acquisition method, target detection model generation method, target detection method, computing device and computer readable medium
CN109194684A (en) * 2018-10-12 2019-01-11 腾讯科技(深圳)有限公司 A kind of method, apparatus and calculating equipment of simulation Denial of Service attack
CN110222710B (en) * 2019-04-30 2022-03-08 北京深演智能科技股份有限公司 Data processing method, device and storage medium
CN110222710A (en) * 2019-04-30 2019-09-10 北京深演智能科技股份有限公司 Data processing method, device and storage medium
CN111126247B (en) * 2019-12-20 2021-11-05 中南大学 Pedestrian detector training method and system based on binary search
CN111126247A (en) * 2019-12-20 2020-05-08 中南大学 Pedestrian detector training method and system based on binary search
CN112070840A (en) * 2020-09-11 2020-12-11 上海幻维数码创意科技有限公司 Human body space positioning and tracking method with integration of multiple depth cameras
CN112070840B (en) * 2020-09-11 2023-10-10 上海幻维数码创意科技股份有限公司 Human body space positioning and tracking method fused by multiple depth cameras
CN114022800A (en) * 2021-09-27 2022-02-08 百果园技术(新加坡)有限公司 Model training method, illegal live broadcast identification method, device, equipment and storage medium
CN117523521A (en) * 2024-01-04 2024-02-06 山东科技大学 Vehicle detection method based on Haar features and improved HOG features
CN117523521B (en) * 2024-01-04 2024-04-02 山东科技大学 Vehicle detection method based on Haar features and improved HOG features

Also Published As

Publication number Publication date
CN103902968B (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN103902968B (en) Pedestrian detection model training method based on AdaBoost classifier
CN105956560B (en) A kind of model recognizing method based on the multiple dimensioned depth convolution feature of pondization
CN102682287B (en) Pedestrian detection method based on saliency information
CN101930549B (en) Second generation curvelet transform-based static human detection method
CN107945153A (en) A kind of road surface crack detection method based on deep learning
CN104598885B (en) The detection of word label and localization method in street view image
CN103679191B (en) An automatic fake-licensed vehicle detection method based on static state pictures
CN106096561A (en) Infrared pedestrian detection method based on image block degree of depth learning characteristic
CN103514456A (en) Image classification method and device based on compressed sensing multi-core learning
CN105389556B (en) A kind of high-resolution remote sensing image vehicle checking method for taking shadow region into account
CN104881662A (en) Single-image pedestrian detection method
CN103679187B (en) Image-recognizing method and system
CN101609509B (en) Image and object detection method and system based on pre-classifier
CN103971097A (en) Vehicle license plate recognition method and system based on multiscale stroke models
CN107092884A (en) Rapid coarse-fine cascade pedestrian detection method
CN104484681A (en) Hyperspectral remote sensing image classification method based on space information and ensemble learning
CN106446792A (en) Pedestrian detection feature extraction method in road traffic auxiliary driving environment
CN103699904A (en) Image computer-aided diagnosis method for multi-sequence nuclear magnetic resonance images
CN105760858A (en) Pedestrian detection method and apparatus based on Haar-like intermediate layer filtering features
CN103077399B (en) Based on the biological micro-image sorting technique of integrated cascade
CN104978567A (en) Vehicle detection method based on scenario classification
CN101251896B (en) Object detecting system and method based on multiple classifiers
CN101364263A (en) Method and system for detecting skin texture to image
CN103186776A (en) Human detection method based on multiple features and depth information
CN106960176A (en) A kind of pedestrian&#39;s gender identification method based on transfinite learning machine and color characteristic fusion

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