提交 833102c1 编写于 作者: A Alexey Kazakov

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

上级 4e460cd7
......@@ -306,7 +306,7 @@ public:
CV_WRAP virtual bool empty() const;
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_OUT vector<Rect>& objects,
double scaleFactor=1.1,
......@@ -343,7 +343,7 @@ protected:
friend int predictCategoricalStump( CascadeClassifier& cascade, Ptr<FeatureEvaluator> &featureEvaluator);
bool setImage( Ptr<FeatureEvaluator>&, const Mat& );
int runAt( Ptr<FeatureEvaluator>&, Point );
virtual int runAt( Ptr<FeatureEvaluator>&, Point );
class Data
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册