diff --git a/modules/objdetect/include/opencv2/objdetect.hpp b/modules/objdetect/include/opencv2/objdetect.hpp index c587b26a37..d7f5b1a4b0 100644 --- a/modules/objdetect/include/opencv2/objdetect.hpp +++ b/modules/objdetect/include/opencv2/objdetect.hpp @@ -197,7 +197,7 @@ class CV_EXPORTS_W CascadeClassifier { public: CV_WRAP CascadeClassifier(); - CV_WRAP explicit CascadeClassifier(const String& filename); + CV_WRAP CascadeClassifier(const String& filename); ~CascadeClassifier(); CV_WRAP bool empty() const; CV_WRAP bool load( const String& filename ); @@ -234,7 +234,7 @@ public: void setMaskGenerator(const Ptr& maskGenerator); Ptr getMaskGenerator(); -protected: + Ptr cc; };