mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 19:44:14 +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 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:
|
|||||||
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:
|
||||||
|
Reference in New Issue
Block a user