OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::datasets::Dataset Class Referenceabstract

#include <opencv2/datasets/dataset.hpp>

Collaboration diagram for cv::datasets::Dataset:

Public Member Functions

 Dataset ()
 
virtual ~Dataset ()
 
int getNumSplits () const
 
std::vector< Ptr< Object > > & getTest (int splitNum=0)
 
std::vector< Ptr< Object > > & getTrain (int splitNum=0)
 
std::vector< Ptr< Object > > & getValidation (int splitNum=0)
 
virtual void load (const std::string &path)=0
 

Protected Attributes

std::vector< std::vector< Ptr< Object > > > test
 
std::vector< std::vector< Ptr< Object > > > train
 
std::vector< std::vector< Ptr< Object > > > validation
 

Constructor & Destructor Documentation

◆ Dataset()

cv::datasets::Dataset::Dataset ( )
inline

◆ ~Dataset()

virtual cv::datasets::Dataset::~Dataset ( )
inlinevirtual

Member Function Documentation

◆ getNumSplits()

int cv::datasets::Dataset::getNumSplits ( ) const

◆ getTest()

std::vector< Ptr< Object > > & cv::datasets::Dataset::getTest ( int splitNum = 0)

◆ getTrain()

std::vector< Ptr< Object > > & cv::datasets::Dataset::getTrain ( int splitNum = 0)

◆ getValidation()

std::vector< Ptr< Object > > & cv::datasets::Dataset::getValidation ( int splitNum = 0)

◆ load()

Member Data Documentation

◆ test

std::vector< std::vector< Ptr<Object> > > cv::datasets::Dataset::test
protected

◆ train

std::vector< std::vector< Ptr<Object> > > cv::datasets::Dataset::train
protected

◆ validation

std::vector< std::vector< Ptr<Object> > > cv::datasets::Dataset::validation
protected

The documentation for this class was generated from the following file: