Commit 6ba723a8 authored by Vladimir's avatar Vladimir

Untabify VOT dataset code

parent 4bfc2ab8
......@@ -68,30 +68,30 @@ struct TRACK_votObj : public Object
{
int id;
std::string imagePath;
vector <Point2d> gtbb;
vector <Point2d> gtbb;
};
class CV_EXPORTS TRACK_vot : public Dataset
{
public:
static Ptr<TRACK_vot> create();
static Ptr<TRACK_vot> create();
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:
vector <vector <Ptr<TRACK_votObj> > > data;
int activeDatasetID;
int frameCounter;
vector <vector <Ptr<TRACK_votObj> > > data;
int activeDatasetID;
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