CN103514460B - Video monitoring multi-view-angle vehicle detecting method and device - Google Patents

Video monitoring multi-view-angle vehicle detecting method and device Download PDF

Info

Publication number
CN103514460B
CN103514460B CN201310326911.9A CN201310326911A CN103514460B CN 103514460 B CN103514460 B CN 103514460B CN 201310326911 A CN201310326911 A CN 201310326911A CN 103514460 B CN103514460 B CN 103514460B
Authority
CN
China
Prior art keywords
image
gradient
detection
vehicle
tree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310326911.9A
Other languages
Chinese (zh)
Other versions
CN103514460A (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.)
Aizhi Technology Shenzhen Co ltd
Zmodo Technology Shenzhen Corp ltd
Original Assignee
SHENZHEN ZMODO TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN ZMODO TECHNOLOGY Co Ltd filed Critical SHENZHEN ZMODO TECHNOLOGY Co Ltd
Priority to CN201310326911.9A priority Critical patent/CN103514460B/en
Publication of CN103514460A publication Critical patent/CN103514460A/en
Application granted granted Critical
Publication of CN103514460B publication Critical patent/CN103514460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a video monitoring multi-view-angle vehicle detecting method and device. The method comprises the steps that on the bases of a gradient channel characteristic and an LUV channel characteristic of an image sample, training is carried out through an Adaboost training algorithm, tree-based cascading Adaboost classifiers corresponding to multiple detection scales are obtained, the tree-based cascading Adaboost classifiers comprise multiple cascading classifier branches, and each cascading classifier branch is used for detecting a vehicle target in a preset view-angle range in the image; a video image to be detected is input; according to the gradient channel characteristic and the LUV channel characteristic of the video image to be detected, the input video image are identified according to the tree-based cascading Adaboost classifiers corresponding to the multiple detection scales, and the vehicle target detection result in the video image corresponding to each detection scale is obtained; the vehicle target detection results of the tree-based cascading Adaboost classifiers corresponding to the multiple detection scales are combined. According to the technical scheme, target detection accuracy and processing efficiency can be improved.

Description

Video monitoring various visual angles vehicle checking method and device
Technical field
The present invention relates to technical field of video monitoring, more particularly to a kind of video monitoring various visual angles vehicle checking method and Device.
Background technology
In traffic video monitoring, various visual angles vehicle detection is an important task, and its target is to detect all regarding The all types of vehicle in angle, for example, identify the vehicle differing certain angle with car front, the back side.
At present, single-view vehicle detection comparative maturity, and various visual angles vehicle detection, due to vehicle different visual angles outward Sight difference is larger, and the accuracy rate ratio of detection is relatively low, simultaneously in traditional detection technique, needs image is repeatedly scaled, Therefore process is inefficient.
Content of the invention
Based on this it is necessary to provide a kind of video monitoring various visual angles vehicle checking method and device, it is possible to increase from various visual angles The accuracy rate of vehicle detection, improves the efficiency processing.
A kind of video monitoring various visual angles vehicle checking method, methods described includes:
Gradient channel feature based on image pattern and luv channel characteristics, are trained by adaboost training algorithm, Obtain multiple detection corresponding tree-shaped cascade adaboost graders of yardstick, described tree-shaped cascade adaboost grader includes many Individual cascade classifier branch, each cascade classifier branch is used for the vehicle target in default angular field of view in detection image;
Input video image to be detected;
Gradient channel feature according to video image to be detected and luv channel characteristics, with the plurality of detection yardstick pair The tree-shaped cascade adaboost grader answered is identified to the described video image of input, obtains each detection yardstick corresponding Vehicle target testing result in video image;
Merge the vehicle target testing result of multiple detection corresponding tree-shaped cascade adaboost graders of yardstick.
Wherein in an embodiment, the described gradient channel feature based on image pattern and luv channel characteristics, pass through The step that adaboost training algorithm is trained includes:
Input comprises the image pattern of the vehicle target in default angular field of view;
Extract gradient channel feature and the luv channel characteristics of described image sample;
Based on described gradient channel feature and described luv channel characteristics, it is trained using adaboost training algorithm, obtains To the cascade classifier branch corresponding to described default angular field of view.
Wherein in an embodiment, the luv of the described gradient channel feature extracting image pattern and extraction image pattern The step of channel characteristics includes executing the following step in the rgb space of image and luv space respectively:
Image is smoothed;
The derivative dx in picture traverse direction for the image value of pixel (x, y) in calculating image, and pixel in image In the derivative dy in picture altitude direction, for pixel in picture traverse direction coordinate, y is pixel to wherein x to the image value of (x, y) Picture altitude direction coordinate;
With formulaCalculate corresponding gradient-norm m of pixel (x, y) in image, by each pixel Gradient-norm m is worth to gradient-norm image m (x, y) as image;
- 90 are spent and is divided into 6 directions to the gradient direction of 90 degree of scopes, 30 degree of each direction, the corresponding ladder in each direction Degree directional imageWith formulaCalculate pixel (x, y) corresponding gradient direction θ in image, if θ is located at j-th direction, then the corresponding gradient direction image in j-th directionWith formulaCalculate Image value, wherein 1≤j≤6, are integer;
Calculate gradient-norm image m (x, y), gradient direction imageCorresponding passage integral image ii(x, y), leads to Trace integral image ii(x, y) image value at (x, y) place is passage integral image ii(x, y) corresponding gradient-norm image m (x, y) Or gradient direction imageIt is located at the cumulative of all image values in (x, y) place upper left corner, wherein 1≤j≤6,1≤i≤7, be Integer;
Passage integral image i is calculated with formula f (i, x, y, w, h)=a+d-b-ci(x, y) corresponding gradient channel feature f (i, x, y, w, h), wherein a=ii(x, y), b=ii(x+w, y), c=ii(x, y+h), d=ii(x+w, y+h), 1≤i≤7, w Value is 1 to default detection width, and h value is 1 to default detection height.
Wherein in an embodiment, described tree-shaped cascade adaboost grader includes n level grader, and n is more than 1, is Integer;
First order grader is used for detection and is differed the vehicle target in 45 degree of angulars field of view with vehicle axis;
As n >=more than or equal to 2, described tree-shaped cascade adaboost grader include the first cascade classifier branch, the Two cascade classifier branches and third level connection grader branch, described first cascade classifier branch is used for detection and vehicle axis Line differs the vehicle target in 15 degree of angulars field of view, and described second cascade classifier branch is used for detection and is differed with vehicle axis Vehicle target in 15 to 30 degree angulars field of view, described third level connection grader branch is used for detection and differs 30 with vehicle axis Vehicle target to 45 degree of angulars field of view.
Wherein in an embodiment, merge multiple detection corresponding tree-shaped cascade adaboost graders of yardstick described The step of vehicle target testing result after, also include carrying out non-maximum suppression to described vehicle target testing result.
A kind of video monitoring various visual angles vehicle detection apparatus, described device includes:
Input module, for input picture sample and video image to be detected;
Training module, for the gradient channel feature based on image pattern and luv channel characteristics, is trained by adaboost Algorithm is trained, and obtains multiple detection corresponding tree-shaped cascade adaboost graders of yardstick, described tree-shaped cascade Adaboost grader includes multiple cascade classifier branches, and each cascade classifier branch is used for default visual angle in detection image In the range of vehicle target;
Detection module, for the gradient channel feature according to video image to be detected and luv channel characteristics, with described many The individual detection corresponding tree-shaped cascade adaboost grader of yardstick is identified to the described video image of input, obtains each inspection Survey the vehicle target testing result in the corresponding video image of yardstick;
Result output module, for merging the vehicle mesh of multiple detection corresponding tree-shaped cascade adaboost graders of yardstick Mark testing result.
In one embodiment, described training module is used for the vehicle target comprising in default angular field of view of receives input Image pattern;And extract gradient channel feature and the luv channel characteristics of described image sample;And led to based on described gradient Road feature and described luv channel characteristics, are trained using adaboost training algorithm, obtain corresponding to described default visual angle model The cascade classifier branch enclosing.
In one embodiment, described training module is used for respectively in rgb space and the luv space of image, to image Smoothed;And in calculating image pixel (x, y) the derivative dx in picture traverse direction for the image value, and picture in image In the derivative dy in picture altitude direction, for pixel in picture traverse direction coordinate, y is picture to wherein x to the image value of vegetarian refreshments (x, y) Vegetarian refreshments picture altitude direction coordinate;And with formulaCalculate the corresponding ladder of pixel (x, y) in image Degree mould m, is worth to gradient-norm image m (x, y) by gradient-norm m of each pixel as image;And spend -90 to 90 degree of scopes Gradient direction be divided into 6 directions, 30 degree of each direction, each direction correspond to a gradient direction imageWith formulaCalculate pixel (x, y) corresponding gradient direction θ in image, if θ is located at j-th direction, j-th side To corresponding gradient direction imageWith formulaCalculate image value, wherein 1≤j≤6, are whole Number;And calculate gradient-norm image m (x, y), gradient direction imageCorresponding passage integral image ii(x, y), passage Integral image ii(x, y) image value at (x, y) place is passage integral image ii(x, y) corresponding gradient-norm image m (x, y) or Gradient direction imageIt is located at the cumulative of all image values in (x, y) place upper left corner, wherein 1≤j≤6,1≤i≤7, are whole Number;And passage integral image i is calculated with formula f (i, x, y, w, h)=a+d-b-ci(x, y) corresponding gradient channel feature f (i, x, y, w, h), wherein a=ii(x, y), b=ii(x+w, y), c=ii(x, y+h), d=ii(x+w, y+h), 1≤i≤7, w Value is 1 to default detection width, and h value is 1 to default detection height.
In one embodiment, described tree-shaped cascade adaboost grader includes n level grader, and n is more than 1, is integer;
First order grader is used for detection and is differed the vehicle target in 45 degree of angulars field of view with vehicle axis;
As n >=more than or equal to 2, described tree-shaped cascade adaboost grader include the first cascade classifier branch, the Two cascade classifier branches and third level connection grader branch, described first cascade classifier branch is used for detection and vehicle axis Line differs the vehicle target in 15 degree of angulars field of view, and described second cascade classifier branch is used for detection and is differed with vehicle axis Vehicle target in 15 to 30 degree angulars field of view, described third level connection grader branch is used for detection and differs 30 with vehicle axis Vehicle target to 45 degree of angulars field of view.
In one embodiment, described result output module is used for described vehicle target testing result is carried out with non-maximum suppression System.
Above-mentioned video monitoring various visual angles vehicle checking method and device, in training, are simultaneously based on the gradient of image pattern Channel characteristics and luv channel characteristics, are trained obtaining multiple detection yardsticks using adaboost training algorithm corresponding tree-shaped Cascade adaboost grader, detection when, using tree-shaped cascade adaboost to input video image to be detected, according to The gradient channel feature of image and luv channel characteristics are detected, efficiently utilize the colouring information in image, improve inspection The accuracy surveyed, and in training with regard to training in advance the tree-shaped cascade adaboost grader of multiple yardsticks, in detection no Conventionally image need to repeatedly be scaled, be improve the efficiency of object detection process.
Brief description
Fig. 1 is a kind of schematic flow sheet of video monitoring various visual angles vehicle checking method in an embodiment;
Fig. 2 is the structural representation of tree-shaped cascade adaboost grader and detects schematic diagram in an embodiment;
Fig. 3 is a kind of structural representation of video monitoring various visual angles vehicle detection apparatus in an embodiment.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and It is not used in the restriction present invention.
Referring to Fig. 1, in one embodiment, there is provided a kind of video monitoring various visual angles vehicle checking method.Its flow process bag Include:
Step 102, the gradient channel feature based on image pattern and luv channel characteristics, by adaboost training algorithm It is trained, obtain multiple detection corresponding tree-shaped cascade adaboost graders of yardstick.
Wherein, tree-shaped cascade adaboost grader includes multiple cascade classifier branches, each cascade classifier branch For the vehicle target in angular field of view default in detection image, thus by the multiple visual angle of multiple cascade classifier branch detection Vehicle target.In a step 102, multiple detection yardsticks can empirically be worth to set, and each detection yardstick corresponds to one The size of individual detector detection window, in the present embodiment, detection yardstick maximum could be arranged to the size of image, remaining inspection Survey yardstick to be reduced according to an experience ratio value.
In the present embodiment, step 102 is gradient channel feature based on image pattern and luv channel characteristics are trained The tree-shaped cascade adaboost grader of multiple detection yardsticks, detects the corresponding tree-shaped cascade of yardstick training each During adaboost grader, can follow these steps to be trained:
Step 102a, input comprises the image pattern of the vehicle target in default angular field of view.
Step 102b, extracts gradient channel feature and the luv channel characteristics of image pattern.
In the present embodiment, during execution step 102b, the gradient channel feature of extraction image pattern is the rgb color in image Color space is carried out;The luv channel characteristics extracting image pattern are to carry out in the luv color space of image, only need to be by image in rgb The image value in space switchs to the image value of luv color space.
The step extracting the gradient channel feature of image pattern includes:
(1) image is smoothed, for example, can be, but not limited to be using Gaussian smoothing algorithm, image to be smoothed.
(2) the derivative dx in picture traverse direction for the image value of pixel (x, y) in calculating image, and pixel in image In the derivative dy in picture altitude direction, for pixel in picture traverse direction coordinate, y is pixel to wherein x to the image value of point (x, y) Dot image short transverse coordinate.
(3) with formulaCalculate corresponding gradient-norm m of pixel (x, y) in image, by each pixel Gradient-norm m of point is worth to gradient-norm image m (x, y) as image.
(4) gradient direction spent -90 to 90 degree of scopes is divided into 6 directions, 30 degree of each direction, each direction corresponding Gradient direction imageWith formulaCalculate pixel (x, y) corresponding gradient direction θ in image, If θ is located at j-th direction, the corresponding gradient direction image in j-th directionWith formulaMeter Nomogram picture value, wherein 1≤j≤6, are integer.
(5) gradient-norm image m (x, y), gradient direction image are calculatedCorresponding passage integral image ii(x, y), Passage integral image ii(x, y) image value at (x, y) place is passage integral image ii(x, y) corresponding gradient-norm image m (x, Or gradient direction image y)Cumulative positioned at all image values in (x, y) place upper left corner, wherein 1≤j≤6,1≤i≤7, For integer.
(6) passage integral image i is calculated with formula f (i, x, y, w, h)=a+d-b-ci(x, y) corresponding gradient channel is special Levy f (i, x, y, w, h), wherein a=ii(x, y), b=ii(x+w, y), c=ii(x, y+h), d=ii(x+w, y+h), 1≤i≤ 7, w values are 1 to default detection width, and h value is 1 to default detection height.
The luv channel characteristics extracting image pattern are to carry out in the luv color space of image, and its extraction process is carried with above-mentioned The process taking gradient channel feature is similar to, and will not be described here.
Step 102c, based on gradient channel feature and luv channel characteristics, is trained using adaboost training algorithm, Obtain the cascade classifier branch corresponding to default angular field of view.
According to the gradient channel feature extracted and luv channel characteristics, instructed using traditional adaboost training algorithm Practice, obtain the cascade classifier branch corresponding to this angular field of view.The angular field of view being provided is more, can examine during subsequent detection The angular field of view surveyed is wider.For example in traffic video monitoring, monitor vehicle axis (including as viewed from after Herba Plantaginis and car) Target in 45 degree of angulars field of view of difference has been able to satisfaction and is actually needed.In training, can be, but not limited to mesh in sample Mark is trained every 15 degree of angular field of view input picture samples, obtains the corresponding cascade detecting within 15 degree of angulars field of view and divides Cascade classifier in class device, the cascade classifier of detection 15 to 30 degree angular field of view, and detection 30 to 45 degree angular field of view. In hands-on, angular divisions can also reset as needed.Obtain after training corresponding to default angular field of view Cascade classifier, with the increase of series, its detection false alarm rate is more and more lower, the accuracy also more and more higher thus detecting.
Step 104, inputs video image to be detected.
Step 106, the gradient channel feature according to video image to be detected and luv channel characteristics, use the plurality of inspection Survey the corresponding tree-shaped cascade adaboost grader of yardstick the described video image of input is identified, obtain each detection ruler Spend the vehicle target testing result in corresponding video image.
In the present embodiment, it is gradient channel feature based on the video image being inputted and luv channel characteristics to target It is identified, the gradient channel feature of video image and the extracting mode of luv channel characteristics, lead to the gradient of above-mentioned image pattern Road feature is identical with the extraction process of luv channel characteristics, will not be described here.
In the present embodiment, referring to Fig. 2, trained for various visual angles detection tree-shaped cascade adaboost grader bag Include n level grader, n is more than 1, is integer.First order grader 201 is used for detection and is differed 45 degree of angulars field of view with vehicle axis Interior vehicle target.As n >=more than or equal to 2, tree-shaped cascade adaboost grader include the first cascade classifier branch, the Two cascade classifier branches and third level connection grader branch, the first cascade classifier branch is used for detection and vehicle axis phase Differ from the vehicle target in 15 degree of angulars field of view, first order cascade classifier branch includes second level grader 2022, the third level is divided Class device 2032 etc..Second cascade classifier branch is used for detection and is differed the vehicle in 15 to 30 degree angulars field of view with vehicle axis Target, the second cascade classifier branch includes second level grader 2024, third level grader 2034 etc..The third level joins grader Branch is used for the vehicle target that detection differs in 30 to 45 degree angulars field of view with vehicle axis, third level connection grader branch bag Include second level grader 2026, third level grader 2036 etc..In the present embodiment, if altimetric image to be checked is classified by the first order The detection of device, and the inspection of grader branch is joined by the first cascade classifier branch or the second cascade classifier branch or the third level Survey, then sentencing this fixed altimetric image to be checked is vehicle target, is not otherwise vehicle target.
Step 108, merges the vehicle target detection knot of multiple detection corresponding tree-shaped cascade adaboost graders of yardstick Really.
In the present embodiment, after merging testing result, non-maximum suppression can also be carried out to testing result, optionally side The corresponding close rectangle frame having overlap of method vehicle target as detected by merge.In other embodiments, can also adopt Mean shift algorithm.
Referring to Fig. 3, in one embodiment, there is provided a kind of video monitoring various visual angles vehicle detection apparatus, comprising:
Input module 302, for input picture sample and video image to be detected.
Training module 304, for the gradient channel feature based on image pattern and luv channel characteristics, by adaboost Training algorithm is trained, and obtains multiple detection corresponding tree-shaped cascade adaboost graders of yardstick, tree-shaped cascade Adaboost grader includes multiple cascade classifier branches, and each cascade classifier branch is used for default visual angle in detection image In the range of vehicle target.
Detection module 306, for the gradient channel feature according to video image to be detected and luv channel characteristics, with many The individual detection corresponding tree-shaped cascade adaboost grader of yardstick is identified to the video image of input, obtains each detection ruler Spend the vehicle target testing result in corresponding video image.
Result output module 308, for merging the car of multiple detection corresponding tree-shaped cascade adaboost graders of yardstick Object detection results.
In one embodiment, training module 304 is used for the vehicle target comprising in default angular field of view of receives input Image pattern;And extract gradient channel feature and the luv channel characteristics of described image sample;And led to based on described gradient Road feature and described luv channel characteristics, are trained using adaboost training algorithm, obtain corresponding to default angular field of view Cascade classifier branch.The tree-shaped cascade adaboost grader obtaining is trained to include n level grader, n is more than 1, is integer; First order grader is used for detection and is differed the vehicle target in 45 degree of angulars field of view with vehicle axis;When n >=be more than or equal to 2 When, tree-shaped cascade adaboost grader includes the first cascade classifier branch, the second cascade classifier branch and third level connection Grader branch, the first cascade classifier branch is used for detection and is differed the vehicle mesh in 15 degree of angulars field of view with vehicle axis Mark, the second cascade classifier branch is used for the vehicle target that detection differs in 15 to 30 degree angulars field of view with vehicle axis, the Three cascade classifier branches are used for detection and are differed the vehicle target in 30 to 45 degree angulars field of view with vehicle axis.
In one embodiment, training module 304 is used for respectively in rgb space and the luv space of image, and image is entered Row is smooth;And in calculating image pixel (x, y) the derivative dx in picture traverse direction for the image value, and pixel in image In the derivative dy in picture altitude direction, for pixel in picture traverse direction coordinate, y is pixel to wherein x to the image value of point (x, y) Dot image short transverse coordinate;And with formulaCalculate the corresponding gradient of pixel (x, y) in image Mould m, is worth to gradient-norm image m (x, y) by gradient-norm m of each pixel as image;And spend -90 to 90 degree of scopes Gradient direction is divided into 6 directions, 30 degree of each direction, and each direction corresponds to a gradient direction imageWith formulaCalculate pixel (x, y) corresponding gradient direction θ in image, if θ is located at j-th direction, j-th side To corresponding gradient direction imageWith formulaCalculate image value, wherein 1≤j≤6, are whole Number;And calculate gradient-norm image m (x, y), gradient direction imageCorresponding passage integral image ii(x, y), passage Integral image ii(x, y) image value at (x, y) place is passage integral image ii(x, y) corresponding gradient-norm image m (x, y) or Gradient direction imageIt is located at the cumulative of all image values in (x, y) place upper left corner, wherein 1≤j≤6,1≤i≤7, are whole Number;And passage integral image i is calculated with formula f (i, x, y, w, h)=a+d-b-ci(x, y) corresponding gradient channel feature f (i, x, y, w, h), wherein a=ii(x, y), b=ii(x+w, y), c=ii(x, y+h), d=ii(x+w, y+h), 1≤i≤7, w Value is 1 to default detection width, and h value is 1 to default detection height.
In one embodiment, result output module 308 is used for carrying out non-maximum suppression to vehicle target testing result.
Embodiment described above only have expressed the several embodiments of the present invention, and its description is more concrete and detailed, but simultaneously Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, some deformation can also be made and improve, these broadly fall into the guarantor of the present invention Shield scope.Therefore, the protection domain of patent of the present invention should be defined by claims.

Claims (6)

1. a kind of video monitoring various visual angles vehicle checking method, methods described includes:
Input comprises the image pattern of the vehicle target in default angular field of view;
Extract gradient channel feature and the luv channel characteristics of described image sample, the gradient channel of described extraction image pattern is special The step of the luv channel characteristics extracting image pattern of seeking peace includes following in the rgb space of image and the execution of luv space respectively Step:
Image is smoothed;
The derivative dx in picture traverse direction for the image value of pixel (x, y) in calculating image, and pixel (x, y) in image The derivative dy in picture altitude direction for the image value, wherein x be pixel in picture traverse direction coordinate, y is pixel dot image Short transverse coordinate;
With formulaCalculate corresponding gradient-norm m of pixel (x, y) in image, by the gradient of each pixel Mould m is worth to gradient-norm image m (x, y) as image;
- 90 are spent and is divided into 6 directions to the gradient direction of 90 degree of scopes, 30 degree of each direction, each direction corresponds to a gradient side To imageWith formulaCalculate pixel (x, y) corresponding gradient direction θ in image, if θ is located at J-th direction, then the corresponding gradient direction image in j-th directionWith formulaCalculate image Value, wherein 1≤j≤6, are integer;
Calculate gradient-norm image m (x, y), gradient direction imageCorresponding passage integral image ii(x, y), passage integrates Image ii(x, y) image value at (x, y) place is passage integral image ii(x, y) corresponding gradient-norm image m (x, y) or gradient Directional imageIt is located at the cumulative of all image values in (x, y) place upper left corner, wherein 1≤j≤6,1≤i≤7, are integer;
Passage integral image i is calculated with formula f (i, x, y, w, h)=a+d-b-ci(x, y) corresponding gradient channel feature f (i, x, Y, w, h), wherein a=ii(x, y), b=ii(x+w, y), c=ii(x, y+h), d=ii(x+w, y+h), 1≤i≤7, w value is 1 to default detection width, and h value is 1 to default detection height;
Gradient channel feature based on described image sample and luv channel characteristics, are trained by adaboost training algorithm, Obtain multiple detection corresponding tree-shaped cascade adaboost graders of yardstick, described tree-shaped cascade adaboost grader includes many Individual cascade classifier branch, each cascade classifier branch is used for the vehicle mesh in default angular field of view described in detection image Mark;
Input video image to be detected;
Gradient channel feature according to video image to be detected and luv channel characteristics, corresponding with the plurality of detection yardstick Tree-shaped cascade adaboost grader is identified to the described video image of input, obtains each and detects the corresponding video of yardstick Vehicle target testing result in image;
Merge the vehicle target testing result of multiple detection corresponding tree-shaped cascade adaboost graders of yardstick.
2. method according to claim 1 is it is characterised in that described tree-shaped cascade adaboost grader includes n fraction Class device, n is more than 1, is integer;
First order grader is used for detection and is differed the vehicle target in 45 degree of angulars field of view with vehicle axis;
When n >=more than or equal to 2 when, described tree-shaped cascade adaboost grader includes the first cascade classifier branch, the second level Connection grader branch and third level connection grader branch, described first cascade classifier branch is used for detection and vehicle axis phase Differ from the vehicle target in 15 degree of angulars field of view, described second cascade classifier branch be used for detection differ with vehicle axis 15 to Vehicle target in 30 degree of angulars field of view, described third level connection grader branch is used for detection and differs 30 to 45 with vehicle axis Vehicle target in degree angular field of view.
3. method according to claim 1 is it is characterised in that merge multiple detection corresponding tree-shaped cascades of yardstick described After the step of vehicle target testing result of adaboost grader, also include described vehicle target testing result is carried out non- Maximum suppression.
4. a kind of video monitoring various visual angles vehicle detection apparatus are it is characterised in that described device includes:
Input module, for input picture sample and video image to be detected;
Training module, for the image pattern of the vehicle target comprising in default angular field of view of receives input;And extract institute State gradient channel feature and the luv channel characteristics of image pattern, the gradient channel feature based on described image sample and luv passage Feature, is trained by adaboost training algorithm, obtains the corresponding tree-shaped cascade adaboost classification of multiple detection yardsticks Device, described tree-shaped cascade adaboost grader includes multiple cascade classifier branches, and each cascade classifier branch is used for examining Vehicle target in default angular field of view described in altimetric image;
Described training module is used for respectively in rgb space and the luv space of image, and image is smoothed;And calculate figure The derivative dx in picture traverse direction for the image value of pixel (x, y) in picture, and in image, the image value of pixel (x, y) exists , for pixel in picture traverse direction coordinate, y is that pixel picture altitude direction is sat for the derivative dy in picture altitude direction, wherein x Mark;And with formulaCalculate corresponding gradient-norm m of pixel (x, y) in image, by each pixel Gradient-norm m is worth to gradient-norm image m (x, y) as image;- 90 are spent and are divided into 6 directions to the gradient direction of 90 degree of scopes, 30 degree of each direction, each direction corresponds to a gradient direction imageWith formulaCalculate in image Pixel (x, y) corresponding gradient direction θ, if θ is located at j-th direction, the corresponding gradient direction image in j-th directionWith formulaCalculate image value, wherein 1≤j≤6, are integer;And calculate gradient-norm image m (x, y), gradient direction imageCorresponding passage integral image ii(x, y), passage integral image ii(x, y) is at (x, y) The image value at place is passage integral image ii(x, y) corresponding gradient-norm image m (x, y) or gradient direction imageIt is located at Cumulative, wherein 1≤j≤6 of all image values in (x, y) place upper left corner, 1≤i≤7, are integer;And with formula f (i, x, y, w, H)=a+d-b-c calculates passage integral image ii(x, y) corresponding gradient channel feature f (i, x, y, w, h), wherein a=ii(x, Y), b=ii(x+w, y), c=ii(x, y+h), d=ii(x+w, y+h), 1≤i≤7, w value is 1 to default detection width, h Value is 1 to default detection height;
Detection module, for the gradient channel feature according to video image to be detected and luv channel characteristics, uses the plurality of inspection Survey the corresponding tree-shaped cascade adaboost grader of yardstick the described video image of input is identified, obtain each detection ruler Spend the vehicle target testing result in corresponding video image;
Result output module, for merging the vehicle target inspection of multiple detection corresponding tree-shaped cascade adaboost graders of yardstick Survey result.
5. device according to claim 4 is it is characterised in that described tree-shaped cascade adaboost grader includes n fraction Class device, n is more than 1, is integer;
First order grader is used for detection and is differed the vehicle target in 45 degree of angulars field of view with vehicle axis;
When n >=more than or equal to 2 when, described tree-shaped cascade adaboost grader includes the first cascade classifier branch, the second level Connection grader branch and third level connection grader branch, described first cascade classifier branch is used for detection and vehicle axis phase Differ from the vehicle target in 15 degree of angulars field of view, described second cascade classifier branch be used for detection differ with vehicle axis 15 to Vehicle target in 30 degree of angulars field of view, described third level connection grader branch is used for detection and differs 30 to 45 with vehicle axis Vehicle target in degree angular field of view.
6. device according to claim 4 is it is characterised in that described result output module is used for described vehicle target is examined Survey result and carry out non-maximum suppression.
CN201310326911.9A 2013-07-30 2013-07-30 Video monitoring multi-view-angle vehicle detecting method and device Active CN103514460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310326911.9A CN103514460B (en) 2013-07-30 2013-07-30 Video monitoring multi-view-angle vehicle detecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310326911.9A CN103514460B (en) 2013-07-30 2013-07-30 Video monitoring multi-view-angle vehicle detecting method and device

Publications (2)

Publication Number Publication Date
CN103514460A CN103514460A (en) 2014-01-15
CN103514460B true CN103514460B (en) 2017-02-01

Family

ID=49897152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310326911.9A Active CN103514460B (en) 2013-07-30 2013-07-30 Video monitoring multi-view-angle vehicle detecting method and device

Country Status (1)

Country Link
CN (1) CN103514460B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103871077B (en) * 2014-03-06 2016-06-15 中国人民解放军国防科学技术大学 A kind of extraction method of key frame in road vehicles monitoring video
CN103914706B (en) * 2014-03-31 2017-03-15 深圳市智美达科技有限公司 Object detection method and device based on grader
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
CN105138987B (en) * 2015-08-26 2018-05-18 电子科技大学 A kind of vehicle checking method based on converging channels feature and estimation
CN106845520B (en) * 2016-12-23 2018-05-18 深圳云天励飞技术有限公司 A kind of image processing method and terminal
CN108197622A (en) * 2017-12-26 2018-06-22 新智数字科技有限公司 A kind of detection method of license plate, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004920A (en) * 2010-11-12 2011-04-06 浙江工商大学 Method for splitting and indexing surveillance videos
CN102136075A (en) * 2011-03-04 2011-07-27 杭州海康威视软件有限公司 Multiple-viewing-angle human face detecting method and device thereof under complex scene
CN102496001A (en) * 2011-11-15 2012-06-13 无锡港湾网络科技有限公司 Method of video monitor object automatic detection and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004920A (en) * 2010-11-12 2011-04-06 浙江工商大学 Method for splitting and indexing surveillance videos
CN102136075A (en) * 2011-03-04 2011-07-27 杭州海康威视软件有限公司 Multiple-viewing-angle human face detecting method and device thereof under complex scene
CN102496001A (en) * 2011-11-15 2012-06-13 无锡港湾网络科技有限公司 Method of video monitor object automatic detection and system thereof

Also Published As

Publication number Publication date
CN103514460A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
CN103514460B (en) Video monitoring multi-view-angle vehicle detecting method and device
CN108898047B (en) Pedestrian detection method and system based on blocking and shielding perception
CN105913093B (en) A kind of template matching method for Text region processing
CN103164706B (en) Object counting method and device based on video signal analysis
CN109711288A (en) Remote sensing ship detecting method based on feature pyramid and distance restraint FCN
CN104008399B (en) The recognition methodss of the gauge pointer shake based on support vector machine in a kind of instrument detection
CN107248159A (en) A kind of metal works defect inspection method based on binocular vision
CN105975929A (en) Fast pedestrian detection method based on aggregated channel features
CN106874894A (en) A kind of human body target detection method based on the full convolutional neural networks in region
CN106530271B (en) A kind of infrared image conspicuousness detection method
CN107273832B (en) License plate recognition method and system based on integral channel characteristics and convolutional neural network
CN107392885A (en) A kind of method for detecting infrared puniness target of view-based access control model contrast mechanism
RU2015134095A (en) METHOD AND DEVICE FOR DETECTING A DIRECT LINE
CN109711322A (en) A kind of people's vehicle separation method based on RFCN
CN104424632B (en) A kind of video contrast's method for detecting abnormality and device
CN106951898B (en) Vehicle candidate area recommendation method and system and electronic equipment
CN104463138B (en) The text positioning method and system of view-based access control model structure attribute
CN102855500A (en) Haar and HoG characteristic based preceding car detection method
CN105913003A (en) Multi-characteristic multi-model pedestrian detection method
CN105956632A (en) Target detection method and device
CN105426863B (en) The method and apparatus for detecting lane line
CN104182985A (en) Remote sensing image change detection method
CN109506628A (en) Object distance measuring method under a kind of truck environment based on deep learning
CN108009556A (en) A kind of floater in river detection method based on fixed point graphical analysis
CN101196995B (en) Method for detecting maximum face in image

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Floor 25, Building A, Financial Technology Building, No. 11, Keyuan Road, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: ZMODO TECHNOLOGY SHENZHEN Corp.,Ltd.

Address before: Unit ABCD, 17/F, Financial Technology Building, No. 11, Keyuan Road, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: Zmodo Technology Shenzhen Corp.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221229

Address after: 518000 1F218, Building B, Guoren Building, No. 5, Keji Middle Third Road, Maling Community, Yuehai Street, Nanshan District, Shenzhen, Guangdong

Patentee after: Aizhi Technology (Shenzhen) Co.,Ltd.

Address before: Floor 25, Building A, Financial Technology Building, No. 11, Keyuan Road, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: ZMODO TECHNOLOGY SHENZHEN Corp.,Ltd.