1 #ifndef _OPENCV_IMAGESTORAGE_H_
2 #define _OPENCV_IMAGESTORAGE_H_
5 class CvCascadeImageReader
8 bool create( const std::string _posFilename, const std::string _negFilename, cv::Size _winSize );
9 void restart() { posReader.restart(); }
10 bool getNeg(cv::Mat &_img) { return negReader.get( _img ); }
11 bool getPos(cv::Mat &_img) { return posReader.get( _img ); }
19 bool create( const std::string _filename );
20 bool get( cv::Mat &_img );
35 bool create( const std::string _filename, cv::Size _winSize );
36 bool get( cv::Mat& _img );
40 std::vector<std::string> imgFilenames;
41 cv::Point offset, point;