tracking: hide getModel() method

pull/1084/head
Vladislav Sovrasov 8 years ago
parent 38758066de
commit 27075d22bf
  1. 5
      modules/tracking/include/opencv2/tracking/tracker.hpp
  2. 7
      modules/tracking/src/tldTracker.hpp

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

@ -122,6 +122,11 @@ public:
void read(const FileNode& fn);
void write(FileStorage& fs) const;
Ptr<TrackerModel> getModel()
{
return model;
}
class Pexpert
{
public:
@ -166,4 +171,4 @@ public:
}
}
#endif
#endif

Loading…
Cancel
Save