Commit 27075d22 authored by Vladislav Sovrasov's avatar Vladislav Sovrasov

tracking: hide getModel() method

parent 38758066
...@@ -565,11 +565,6 @@ class CV_EXPORTS_W Tracker : public virtual Algorithm ...@@ -565,11 +565,6 @@ class CV_EXPORTS_W Tracker : public virtual Algorithm
virtual void read( const FileNode& fn )=0; virtual void read( const FileNode& fn )=0;
virtual void write( FileStorage& fs ) const=0; virtual void write( FileStorage& fs ) const=0;
Ptr<TrackerModel> getModel()
{
return model;
}
protected: protected:
virtual bool initImpl( const Mat& image, const Rect2d& boundingBox ) = 0; virtual bool initImpl( const Mat& image, const Rect2d& boundingBox ) = 0;
......
...@@ -122,6 +122,11 @@ public: ...@@ -122,6 +122,11 @@ public:
void read(const FileNode& fn); void read(const FileNode& fn);
void write(FileStorage& fs) const; void write(FileStorage& fs) const;
Ptr<TrackerModel> getModel()
{
return model;
}
class Pexpert class Pexpert
{ {
public: public:
......
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