#ifndef ExtractBase_H_ #define ExtractBase_H_ #include #include #define ExtractBaseBASE_VERSION 1 class ExtractBase { protected: ExtractBase() {} public: // delete camera interface ~ExtractBase() {} static ExtractBase *GetInstance(); // 复制想使用的参数 virtual int ReadCELLImg(std::string strimgPath, cv::Mat &outImg, bool bdecode) = 0; // 返回检测版本信息 virtual std::string GetVersion() = 0; // 返回错误信息 virtual std::string GetErrorInfo() = 0; }; #endif