CN106778504A - A kind of pedestrian detection method - Google Patents
A kind of pedestrian detection method Download PDFInfo
- Publication number
- CN106778504A CN106778504A CN201611043194.9A CN201611043194A CN106778504A CN 106778504 A CN106778504 A CN 106778504A CN 201611043194 A CN201611043194 A CN 201611043194A CN 106778504 A CN106778504 A CN 106778504A
- Authority
- CN
- China
- Prior art keywords
- pedestrian
- gradient
- feature
- image
- tau
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/213—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/285—Selection of pattern recognition techniques, e.g. of classifiers in a multi-classifier system
Abstract
The invention discloses a kind of pedestrian detection method, comprise the following steps:1)Source images are pre-processed by collection pedestrian's video image;2)The primary detection of pedestrian:Extract great amount of images and be used as training sample;Feature extraction is carried out with improved HOG feature extracting methods;A two-value grader is built according to characteristic is extracted, sample training is carried out to grader;It is identified by grader, obtains primary pedestrian detection result;3)Pedestrian's accurate detection:Extract great amount of images and be used as training sample;The extraction of color, gradient, histogram feature is carried out using Integration tunnel feature extracting method, adjacent scale feature is calculated using adjacent scale feature approximate calculation method;It is trained using Adaboost obtains final strong classifier for target classification;Primary pedestrian detection result images are classified using grader, accurate pedestrian detection result is obtained.
Description
Technical field
The present invention relates to pedestrian detection technology field, and in particular to a kind of pedestrian detection method.
Background technology
The main body of pedestrian detection technology research is the main part of real world, therefore explores what is pursued as people
Emphasis.With the development of information technology, pedestrian detection technology also being applied among reality slowly, such as intelligent monitor system,
Vehicle-mounted accessory system, intelligent robot etc..Just because of the demand of social development, pedestrian detection technology field has attracted everybody's ginseng
With the research to this field.It is pedestrian detection technology breakthrough that HOG features in 2005 are proposed for pedestrian detection.With
10 years afterwards derive numerous methods, all obtain great successes.But pedestrian detection has the difficult point of many in itself:
(1) pedestrian is used as non-rigid targets, the change that the aspect such as itself outward appearance, attitude all can be at any time, influence pedestrian's inspection
The accuracy of survey;
(2) complicated background environment can cause pedestrian detection flase drop or missing inspection occur, how to remove complex background and disturb into
It is the difficult point of research;
(3) pedestrian's highly dense under large scene, pedestrian blocks the complexity for causing pedestrian detection.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of pedestrian detection method.
A kind of pedestrian detection method, comprises the following steps:
S1:Source images are pre-processed by collection pedestrian's video image;
S2:The primary detection of pedestrian:
S2-1:Extract great amount of images and be used as training sample, positive sample is had to comprising pedestrian, and negative sample does not include pedestrian's
The combination of various background pictures;
S2-2:Feature extraction is carried out with improved HOG feature extracting methods;
S2-3:A two-value grader is built according to characteristic is extracted, sample training is carried out to grader;
S2-4:Extract great amount of images and be used as detection sample, feature extraction is carried out with improved HOG feature extracting methods;
S2-5:It is identified by grader, obtains primary pedestrian detection result;
S3:Pedestrian's accurate detection:
S3-1:Extract great amount of images and be used as training sample, positive sample is had to comprising pedestrian, and negative sample does not include pedestrian's
The combination of various background pictures;
S3-2:The extraction of color, gradient, histogram feature is carried out using Integration tunnel feature extracting method, using adjacent
Scale feature approximate calculation method calculates adjacent scale feature;
S3-3:It is trained using Adaboost obtains final strong classifier for target classification;
S3-4:The primary pedestrian detection result images obtained to step S2, carry out Integration tunnel feature extracting method extraction
Feature, the grader using step S3-3 is classified, and obtains accurate pedestrian detection result.
Further, the improved HOG feature extracting methods are specific as follows:
1) source images are carried out into greyscale transformation and obtains corresponding gray level image;
2) Gamma corrections i.e. color space normalized is carried out to the gray level image for obtaining;
3) gradient of each pixel is calculated, the profile information of target image is obtained;
4) N number of Cell (cell compartment) is divided an image into, then several adjacent Cs ell is combined into a Block (sides
Block region), the histogram of gradients in each Cell is calculated, the Feature Descriptor connection that all of Cell in Block is obtained is just
To the feature of each Block;
5) it is as follows histogram of gradients as the probability density function in comentropy definition:
The θ of formulaiThe ratio of the gradient number and total gradient number in a gradient direction interval is represented, ladder in Block is calculated
Degree the Direction interval manhole ladder number of degrees and the ratio of total gradient number, obtain the information entropy of each block, special using comentropy as sample
Take over the detection of the training and pedestrian target in grader for use.
Further, the gradient calculation is specific as follows:
Gradient in gray level image each pixel two-dimensional coordinate plane is calculated, formula is as follows:
Gradx(x, y)=IM (x+1, y)-IM (x-1, y)
Grady(x, y)=IM (x, y+1)-IM (x, y-1),
Wherein, Gradx、GradyWith the gradient that IM (x, y) is respectively abscissa, the gradient on ordinate, image intensity value
Size, therefore, the gradient calculation of each pixel is as follows in image:
Wherein, Grad (x, y) is the gradient magnitude size of IM (x, y), and θ (x, y) is that IM (x, y) gradient direction angle is big
It is small.
Further, the adjacent scale feature approximate calculation is as follows:
1) for source images Im (x, y) for giving, the factor of influence τ of picture up-sampling, by the image of up-sampling by Im'
(x, y) is represented, the formula of conversion is as follows:
Im'(x, y)=Im (x/ τ, y/ τ);
2) mode calculated according to image gradient can be seen that the gradient of image gradient information and source images after up-sampling
There is following relation in information:
3) relation therefore between the total gradient magnitude of up-sampling image and the gradient magnitude of source images is as follows:
The beneficial effects of the invention are as follows:
1) present invention uses improved HOG features to be detected for pedestrian target in primary detection, in traditional HOG features
Combining information entropy feature on the basis of detection, is favorably improved the accuracy rate of pedestrian detection.
2) present invention detects that Integration tunnel feature is main using Integration tunnel feature in accurate detection for pedestrian target
Color, gradient magnitude and histogram of gradients information are merged, it is contemplated that feature is extracted in the case of Image Multiscale and spends more
Time, it is proposed that the method that swift nature is calculated, the method for fast computing features is mainly the feature letter calculated under current scale
Breath, then approximate calculation goes out the characteristic information of adjacent yardstick hypograph, in the situation of Preliminary detection exclusive segment non-pedestrian window
Under, can more accurately detect pedestrian target.
Specific embodiment
The present invention is further elaborated for specific examples below, but not as a limitation of the invention.
A kind of pedestrian detection method, comprises the following steps:
S1:Source images are pre-processed by collection pedestrian's video image;
S2:The primary detection of pedestrian:
S2-1:Extract great amount of images and be used as training sample, positive sample is had to comprising pedestrian, and negative sample does not include pedestrian's
The combination of various background pictures;
S2-2:Feature extraction is carried out with improved HOG feature extracting methods;
S2-3:A two-value grader is built according to characteristic is extracted, sample training is carried out to grader;
S2-4:Extract great amount of images and be used as detection sample, feature extraction is carried out with improved HOG feature extracting methods;
S2-5:It is identified by grader, obtains primary pedestrian detection result;
S3:Pedestrian's accurate detection:
S3-1:Extract great amount of images and be used as training sample, positive sample is had to comprising pedestrian, and negative sample does not include pedestrian's
The combination of various background pictures;
S3-2:The extraction of color, gradient, histogram feature is carried out using Integration tunnel feature extracting method, using adjacent
Scale feature approximate calculation method calculates adjacent scale feature;
S3-3:It is trained using Adaboost obtains final strong classifier for target classification;
S3-4:The primary pedestrian detection result images obtained to step S2, carry out Integration tunnel feature extracting method extraction
Feature, the grader using step S3-3 is classified, and obtains accurate pedestrian detection result.
Improved HOG feature extracting methods are specific as follows:
1) source images are carried out into greyscale transformation and obtains corresponding gray level image;
2) Gamma corrections i.e. color space normalized is carried out to the gray level image for obtaining;
3) gradient of each pixel is calculated, the profile information of target image is obtained;
4) N number of Cell (cell compartment) is divided an image into, then several adjacent Cs ell is combined into a Block (sides
Block region), the histogram of gradients in each Cell is calculated, the Feature Descriptor connection that all of Cell in Block is obtained is just
To the feature of each Block;
5) it is as follows histogram of gradients as the probability density function in comentropy definition:
The θ of formulaiThe ratio of the gradient number and total gradient number in a gradient direction interval is represented, ladder in Block is calculated
Degree the Direction interval manhole ladder number of degrees and the ratio of total gradient number, obtain the information entropy of each block, special using comentropy as sample
Take over the detection of the training and pedestrian target in grader for use.
Gradient calculation is specific as follows:
Gradient in gray level image each pixel two-dimensional coordinate plane is calculated, formula is as follows:
Gradx(x, y)=IM (x+1, y)-IM (x-1, y)
Grady(x, y)=IM (x, y+1)-IM (x, y-1),
Wherein, Gradx、GradyWith the gradient that IM (x, y) is respectively abscissa, the gradient on ordinate, image intensity value
Size, therefore, the gradient calculation of each pixel is as follows in image:
Wherein, Grad (x, y) is the gradient magnitude size of IM (x, y), and θ (x, y) is that IM (x, y) gradient direction angle is big
It is small.
Adjacent scale feature approximate calculation is as follows:
1) for source images Im (x, y) for giving, the factor of influence τ of picture up-sampling, by the image of up-sampling by Im'
(x, y) is represented, the formula of conversion is as follows:
Im'(x, y)=Im (x/ τ, y/ τ);
2) mode calculated according to image gradient can be seen that the gradient of image gradient information and source images after up-sampling
There is following relation in information:
3) relation therefore between the total gradient magnitude of up-sampling image and the gradient magnitude of source images is as follows:
Under general environment and complex environment, time consuming comparing is calculated using HOG, HogLbp and the inventive method,
Result is as shown in Table 1 and Table 2.
Pedestrian detection method time contrast table under the general environment of table 1
Pedestrian detection method time contrast table under the complex environment of table 2
As can be seen from the above table in the case where swift nature approximate calculation is not used, the time of first two method consumption is very
Many, the detection time that the method for the present invention spends is minimum.As can be seen here, using the method for swift nature approximate calculation, in not shadow
The speed of detection can be improved in the case of ringing Detection results, contributes to real-time to detect pedestrian target.
Claims (4)
1. a kind of pedestrian detection method, it is characterised in that comprise the following steps:
S1:Source images are pre-processed by collection pedestrian's video image;
S2:The primary detection of pedestrian:
S2-1:Extract great amount of images and be used as training sample, positive sample is had to comprising pedestrian, and negative sample is various not comprising pedestrian
The combination of background picture;
S2-2:Feature extraction is carried out with improved HOG feature extracting methods;
S2-3:A two-value grader is built according to characteristic is extracted, sample training is carried out to grader;
S2-4:Extract great amount of images and be used as detection sample, feature extraction is carried out with improved HOG feature extracting methods;
S2-5:It is identified by grader, obtains primary pedestrian detection result;
S3:Pedestrian's accurate detection:
S3-1:Extract great amount of images and be used as training sample, positive sample is had to comprising pedestrian, and negative sample is various not comprising pedestrian
The combination of background picture;
S3-2:The extraction of color, gradient, histogram feature is carried out using Integration tunnel feature extracting method, using adjacent yardstick
Feature approximate calculation method calculates adjacent scale feature;
S3-3:It is trained using Adaboost obtains final strong classifier for target classification;
S3-4:The primary pedestrian detection result images obtained to step S2, carry out Integration tunnel feature extracting method and extract feature,
Grader using step S3-3 is classified, and obtains accurate pedestrian detection result.
2. pedestrian detection method according to claim 1, it is characterised in that the improved HOG feature extracting methods tool
Body is as follows:
1) source images are carried out into greyscale transformation and obtains corresponding gray level image;
2) Gamma corrections i.e. color space normalized is carried out to the gray level image for obtaining;
3) gradient of each pixel is calculated, the profile information of target image is obtained;
4) N number of Cell (cell compartment) is divided an image into, then several adjacent Cs ell is combined into a Block (square area
Domain), the histogram of gradients in each Cell is calculated, the Feature Descriptor connection that all of Cell in Block is obtained is arrived every
The feature of individual Block;
5) it is as follows histogram of gradients as the probability density function in comentropy definition:
The θ of formulaiThe ratio of the gradient number and total gradient number in a gradient direction interval is represented, gradient direction in Block is calculated
The interval manhole ladder number of degrees and the ratio of total gradient number, obtain the information entropy of each block, are used for comentropy as sample characteristics
The training of grader and the detection of pedestrian target.
3. pedestrian detection method according to claim 1, it is characterised in that the gradient calculation is specific as follows:
Gradient in gray level image each pixel two-dimensional coordinate plane is calculated, formula is as follows:
Wherein, Gradx、GradyWith the gradient that IM (x, y) is respectively abscissa, the gradient on ordinate, image intensity value size,
Therefore, the gradient calculation of each pixel is as follows in image:
Wherein, Grad (x, y) is the gradient magnitude size of IM (x, y), and θ (x, y) is IM (x, y) gradient direction angle size.
4. pedestrian detection method according to claim 1, it is characterised in that the adjacent scale feature approximate calculation is such as
Under:
1) for source images Im (x, y) for giving, the factor of influence τ of picture up-sampling, by the image of up-sampling by Im'(x,
Y) represent, the formula of conversion is as follows:
Im'(x, y)=Im (x/ τ, y/ τ);
2) mode calculated according to image gradient can be seen that the gradient information of image gradient information and source images after up-sampling
In the presence of following relation:
3) relation therefore between the total gradient magnitude of up-sampling image and the gradient magnitude of source images is as follows:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611043194.9A CN106778504A (en) | 2016-11-21 | 2016-11-21 | A kind of pedestrian detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611043194.9A CN106778504A (en) | 2016-11-21 | 2016-11-21 | A kind of pedestrian detection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106778504A true CN106778504A (en) | 2017-05-31 |
Family
ID=58975242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611043194.9A Withdrawn CN106778504A (en) | 2016-11-21 | 2016-11-21 | A kind of pedestrian detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106778504A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109446956A (en) * | 2018-10-17 | 2019-03-08 | 华东师范大学 | A kind of pedestrian recognition methods and equipment again |
CN110232314A (en) * | 2019-04-28 | 2019-09-13 | 广东工业大学 | A kind of image pedestrian's detection method based on improved Hog feature combination neural network |
CN110458227A (en) * | 2019-08-08 | 2019-11-15 | 杭州电子科技大学 | A kind of ADAS pedestrian detection method based on hybrid classifer |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102147869A (en) * | 2011-03-31 | 2011-08-10 | 上海交通大学 | Pedestrian detection method based on foreground analysis and pattern recognition |
CN105654104A (en) * | 2014-11-28 | 2016-06-08 | 无锡慧眼电子科技有限公司 | Pedestrian detection method based on multi-granularity feature |
CN106096553A (en) * | 2016-06-06 | 2016-11-09 | 合肥工业大学 | A kind of pedestrian traffic statistical method based on multiple features |
-
2016
- 2016-11-21 CN CN201611043194.9A patent/CN106778504A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102147869A (en) * | 2011-03-31 | 2011-08-10 | 上海交通大学 | Pedestrian detection method based on foreground analysis and pattern recognition |
CN105654104A (en) * | 2014-11-28 | 2016-06-08 | 无锡慧眼电子科技有限公司 | Pedestrian detection method based on multi-granularity feature |
CN106096553A (en) * | 2016-06-06 | 2016-11-09 | 合肥工业大学 | A kind of pedestrian traffic statistical method based on multiple features |
Non-Patent Citations (1)
Title |
---|
崔剑: "基于多特征融合的分级行人检测方法研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109446956A (en) * | 2018-10-17 | 2019-03-08 | 华东师范大学 | A kind of pedestrian recognition methods and equipment again |
CN109446956B (en) * | 2018-10-17 | 2021-01-01 | 华东师范大学 | Pedestrian re-identification method and equipment |
CN110232314A (en) * | 2019-04-28 | 2019-09-13 | 广东工业大学 | A kind of image pedestrian's detection method based on improved Hog feature combination neural network |
CN110458227A (en) * | 2019-08-08 | 2019-11-15 | 杭州电子科技大学 | A kind of ADAS pedestrian detection method based on hybrid classifer |
CN110458227B (en) * | 2019-08-08 | 2021-11-23 | 杭州电子科技大学 | ADAS pedestrian detection method based on hybrid classifier |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105046196B (en) | Front truck information of vehicles structuring output method based on concatenated convolutional neutral net | |
CN106874894B (en) | Human body target detection method based on regional full convolution neural network | |
CN110348376B (en) | Pedestrian real-time detection method based on neural network | |
WO2018214195A1 (en) | Remote sensing imaging bridge detection method based on convolutional neural network | |
CN103530599B (en) | The detection method and system of a kind of real human face and picture face | |
CN107103277B (en) | Gait recognition method based on depth camera and 3D convolutional neural network | |
CN107330390B (en) | People counting method based on image analysis and deep learning | |
CN103778436B (en) | A kind of pedestrian's attitude detecting method based on image procossing | |
CN107248159A (en) | A kind of metal works defect inspection method based on binocular vision | |
CN104299009B (en) | License plate character recognition method based on multi-feature fusion | |
CN103996198A (en) | Method for detecting region of interest in complicated natural environment | |
CN102722891A (en) | Method for detecting image significance | |
CN104794737B (en) | A kind of depth information Auxiliary Particle Filter tracking | |
CN103400156A (en) | CFAR (Constant False Alarm Rate) and sparse representation-based high-resolution SAR (Synthetic Aperture Radar) image ship detection method | |
CN108021869A (en) | A kind of convolutional neural networks tracking of combination gaussian kernel function | |
CN105868734A (en) | Power transmission line large-scale construction vehicle recognition method based on BOW image representation model | |
CN114067444A (en) | Face spoofing detection method and system based on meta-pseudo label and illumination invariant feature | |
Ji et al. | Integrating visual selective attention model with HOG features for traffic light detection and recognition | |
CN105469111A (en) | Small sample set object classification method on basis of improved MFA and transfer learning | |
CN102156881B (en) | Method for detecting salvage target based on multi-scale image phase information | |
CN105184317B (en) | A kind of registration number character dividing method based on svm classifier | |
CN106845458B (en) | Rapid traffic sign detection method based on nuclear overrun learning machine | |
CN106127799A (en) | A kind of visual attention detection method for 3 D video | |
CN108549901A (en) | A kind of iteratively faster object detection method based on deep learning | |
CN104463134A (en) | License plate detection method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170531 |
|
WW01 | Invention patent application withdrawn after publication |