Commit 9d8dc78d authored by Vladimir's avatar Vladimir

Untabify VOT dataset code

parent c3e88a71
...@@ -68,30 +68,30 @@ struct TRACK_votObj : public Object ...@@ -68,30 +68,30 @@ struct TRACK_votObj : public Object
{ {
int id; int id;
std::string imagePath; std::string imagePath;
vector <Point2d> gtbb; vector <Point2d> gtbb;
}; };
class CV_EXPORTS TRACK_vot : public Dataset class CV_EXPORTS TRACK_vot : public Dataset
{ {
public: public:
static Ptr<TRACK_vot> create(); static Ptr<TRACK_vot> create();
virtual void load(const std::string &path) = 0; virtual void load(const std::string &path) = 0;
virtual int getDatasetsNum() = 0; virtual int getDatasetsNum() = 0;
virtual int getDatasetLength(int id) = 0; virtual int getDatasetLength(int id) = 0;
virtual bool initDataset(int id) = 0; virtual bool initDataset(int id) = 0;
virtual bool getNextFrame(Mat &frame) = 0; virtual bool getNextFrame(Mat &frame) = 0;
virtual vector <Point2d> getGT() = 0; virtual vector <Point2d> getGT() = 0;
protected: protected:
vector <vector <Ptr<TRACK_votObj> > > data; vector <vector <Ptr<TRACK_votObj> > > data;
int activeDatasetID; int activeDatasetID;
int frameCounter; int frameCounter;
}; };
//! @} //! @}
......
This diff is collapsed.
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