You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
584 B
25 lines
584 B
#ifndef ExtractBase_H_
|
|
#define ExtractBase_H_
|
|
#include <string>
|
|
#include <opencv2/opencv.hpp>
|
|
#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 |