a lot of small corrections to bring down the number of undocumented functions, reported by the script; added em.cpp sample
This commit is contained in:
@@ -34,7 +34,7 @@ Base class for computing feature values in cascade classifiers ::
|
||||
|
||||
FeatureEvaluator::read
|
||||
--------------------------
|
||||
.. cpp:function:: bool FeatureEvaluator::read(const FileNode\& node)
|
||||
.. cpp:function:: bool FeatureEvaluator::read(const FileNode& node)
|
||||
|
||||
Reads parameters of features from the ``FileStorage`` node.
|
||||
|
||||
@@ -60,7 +60,7 @@ FeatureEvaluator::getFeatureType
|
||||
|
||||
FeatureEvaluator::setImage
|
||||
------------------------------
|
||||
.. cpp:function:: bool FeatureEvaluator::setImage(const Mat\& img, Size origWinSize)
|
||||
.. cpp:function:: bool FeatureEvaluator::setImage(const Mat& img, Size origWinSize)
|
||||
|
||||
Sets an image where the features are computed??.
|
||||
|
||||
@@ -193,7 +193,7 @@ The cascade classifier class for object detection ::
|
||||
|
||||
CascadeClassifier::CascadeClassifier
|
||||
----------------------------------------
|
||||
.. cpp:function:: CascadeClassifier::CascadeClassifier(const string\& filename)
|
||||
.. cpp:function:: CascadeClassifier::CascadeClassifier(const string& filename)
|
||||
|
||||
Loads a classifier from a file.
|
||||
|
||||
@@ -211,7 +211,7 @@ CascadeClassifier::empty
|
||||
|
||||
CascadeClassifier::load
|
||||
---------------------------
|
||||
.. cpp:function:: bool CascadeClassifier::load(const string\& filename)
|
||||
.. cpp:function:: bool CascadeClassifier::load(const string& filename)
|
||||
|
||||
Loads a classifier from a file. The previous content is destroyed.
|
||||
|
||||
@@ -221,7 +221,7 @@ CascadeClassifier::load
|
||||
|
||||
CascadeClassifier::read
|
||||
---------------------------
|
||||
.. cpp:function:: bool CascadeClassifier::read(const FileNode\& node)
|
||||
.. cpp:function:: bool CascadeClassifier::read(const FileNode& node)
|
||||
|
||||
Reads a classifier from a FileStorage node. The file may contain a new cascade classifier (trained traincascade application) only.
|
||||
|
||||
@@ -229,7 +229,7 @@ CascadeClassifier::read
|
||||
|
||||
CascadeClassifier::detectMultiScale
|
||||
---------------------------------------
|
||||
.. cpp:function:: void CascadeClassifier::detectMultiScale( const Mat\& image, vector<Rect>\& objects, double scaleFactor=1.1, int minNeighbors=3, int flags=0, Size minSize=Size())
|
||||
.. cpp:function:: void CascadeClassifier::detectMultiScale( const Mat& image, vector<Rect>& objects, double scaleFactor=1.1, int minNeighbors=3, int flags=0, Size minSize=Size())
|
||||
|
||||
Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.
|
||||
|
||||
@@ -249,7 +249,7 @@ CascadeClassifier::detectMultiScale
|
||||
|
||||
CascadeClassifier::setImage
|
||||
-------------------------------
|
||||
.. cpp:function:: bool CascadeClassifier::setImage( Ptr<FeatureEvaluator>\& feval, const Mat\& image )
|
||||
.. cpp:function:: bool CascadeClassifier::setImage( Ptr<FeatureEvaluator>& feval, const Mat& image )
|
||||
|
||||
Sets an image for detection, which is called by ``detectMultiScale`` at each image level.
|
||||
|
||||
@@ -261,7 +261,7 @@ CascadeClassifier::setImage
|
||||
|
||||
CascadeClassifier::runAt
|
||||
----------------------------
|
||||
.. cpp:function:: int CascadeClassifier::runAt( Ptr<FeatureEvaluator>\& feval, Point pt )
|
||||
.. cpp:function:: int CascadeClassifier::runAt( Ptr<FeatureEvaluator>& feval, Point pt )
|
||||
|
||||
Runs the detector at the specified point. Use ``setImage`` to set the image that the detector is working with.
|
||||
|
||||
@@ -276,7 +276,7 @@ Otherwise, it returns ``si``, which is an index of the stage that first predicte
|
||||
|
||||
groupRectangles
|
||||
-------------------
|
||||
.. cpp:function:: void groupRectangles(vector<Rect>\& rectList, int groupThreshold, double eps=0.2)
|
||||
.. cpp:function:: void groupRectangles(vector<Rect>& rectList, int groupThreshold, double eps=0.2)
|
||||
|
||||
Groups the object candidate rectangles.
|
||||
|
||||
|
Reference in New Issue
Block a user