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