merged all the latest changes from 2.4 to trunk
This commit is contained in:
@@ -12,7 +12,7 @@ First, a classifier (namely a *cascade of boosted classifiers working with haar-
|
||||
|
||||
After a classifier is trained, it can be applied to a region of interest (of the same size as used during the training) in an input image. The classifier outputs a "1" if the region is likely to show the object (i.e., face/car), and "0" otherwise. To search for the object in the whole image one can move the search window across the image and check every location using the classifier. The classifier is designed so that it can be easily "resized" in order to be able to find the objects of interest at different sizes, which is more efficient than resizing the image itself. So, to find an object of an unknown size in the image the scan procedure should be done several times at different scales.
|
||||
|
||||
The word "cascade" in the classifier name means that the resultant classifier consists of several simpler classifiers (*stages*) that are applied subsequently to a region of interest until at some stage the candidate is rejected or all the stages are passed. The word "boosted" means that the classifiers at every stage of the cascade are complex themselves and they are built out of basic classifiers using one of four different ``boosting`` techniques (weighted voting). Currently Discrete Adaboost, Real Adaboost, Gentle Adaboost and Logitboost are supported. The basic classifiers are decision-tree classifiers with at least 2 leaves. Haar-like features are the input to the basic classifers, and are calculated as described below. The current algorithm uses the following Haar-like features:
|
||||
The word "cascade" in the classifier name means that the resultant classifier consists of several simpler classifiers (*stages*) that are applied subsequently to a region of interest until at some stage the candidate is rejected or all the stages are passed. The word "boosted" means that the classifiers at every stage of the cascade are complex themselves and they are built out of basic classifiers using one of four different ``boosting`` techniques (weighted voting). Currently Discrete Adaboost, Real Adaboost, Gentle Adaboost and Logitboost are supported. The basic classifiers are decision-tree classifiers with at least 2 leaves. Haar-like features are the input to the basic classifiers, and are calculated as described below. The current algorithm uses the following Haar-like features:
|
||||
|
||||
|
||||
.. image:: pics/haarfeatures.png
|
||||
@@ -205,7 +205,7 @@ Detects objects of different sizes in the input image. The detected objects are
|
||||
|
||||
:param scaleFactor: Parameter specifying how much the image size is reduced at each image scale.
|
||||
|
||||
:param minNeighbors: Parameter specifying how many neighbors each candiate rectangle should have to retain it.
|
||||
:param minNeighbors: Parameter specifying how many neighbors each candidate rectangle should have to retain it.
|
||||
|
||||
:param flags: Parameter with the same meaning for an old cascade as in the function ``cvHaarDetectObjects``. It is not used for a new cascade.
|
||||
|
||||
@@ -213,6 +213,7 @@ Detects objects of different sizes in the input image. The detected objects are
|
||||
|
||||
:param maxSize: Maximum possible object size. Objects larger than that are ignored.
|
||||
|
||||
The function is parallelized with the TBB library.
|
||||
|
||||
|
||||
CascadeClassifier::setImage
|
||||
|
@@ -248,7 +248,7 @@ and corresponding confidence levels.
|
||||
|
||||
LatentSvmDetector::getClassNames
|
||||
--------------------------------
|
||||
Return the class (model) names that were passed in constructor or method ``load`` or extructed from models filenames in those methods.
|
||||
Return the class (model) names that were passed in constructor or method ``load`` or extracted from models filenames in those methods.
|
||||
|
||||
.. ocv:function:: const vector<string>& LatentSvmDetector::getClassNames() const
|
||||
|
||||
|
Reference in New Issue
Block a user