Commit 833102c1 authored by Alexey Kazakov's avatar Alexey Kazakov

Replaced few methods to virtual in CascaseClassifier class (objdetect.hpp)

parent 4e460cd7
...@@ -306,7 +306,7 @@ public: ...@@ -306,7 +306,7 @@ public:
CV_WRAP virtual bool empty() const; CV_WRAP virtual bool empty() const;
CV_WRAP bool load( const string& filename ); CV_WRAP bool load( const string& filename );
bool read( const FileNode& node ); virtual bool read( const FileNode& node );
CV_WRAP virtual void detectMultiScale( const Mat& image, CV_WRAP virtual void detectMultiScale( const Mat& image,
CV_OUT vector<Rect>& objects, CV_OUT vector<Rect>& objects,
double scaleFactor=1.1, double scaleFactor=1.1,
...@@ -343,7 +343,7 @@ protected: ...@@ -343,7 +343,7 @@ protected:
friend int predictCategoricalStump( CascadeClassifier& cascade, Ptr<FeatureEvaluator> &featureEvaluator); friend int predictCategoricalStump( CascadeClassifier& cascade, Ptr<FeatureEvaluator> &featureEvaluator);
bool setImage( Ptr<FeatureEvaluator>&, const Mat& ); bool setImage( Ptr<FeatureEvaluator>&, const Mat& );
int runAt( Ptr<FeatureEvaluator>&, Point ); virtual int runAt( Ptr<FeatureEvaluator>&, Point );
class Data class Data
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment