1 #ifndef _OPENCV_IMAGESTORAGE_H_
2 #define _OPENCV_IMAGESTORAGE_H_
8 class CvCascadeImageReader
11 bool create( const std::string _posFilename, const std::string _negFilename, Size _winSize );
12 void restart() { posReader.restart(); }
13 bool getNeg(Mat &_img) { return negReader.get( _img ); }
14 bool getPos(Mat &_img) { return posReader.get( _img ); }
22 bool create( const std::string _filename );
23 bool get( Mat &_img );
38 bool create( const std::string _filename, Size _winSize );
39 bool get( Mat& _img );
43 std::vector<std::string> imgFilenames;