mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 02:16:34 +08:00
tracking: hide getModel() method
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user