admin
2022-09-09 60feedf43a35a9ca69d05095a01c5d1797b1bdc3
ConsoleApplication/CurrentPriceCapture.h
@@ -21,6 +21,7 @@
class CurrentPriceCapture
{
private:
   static bool tradeTimeCapture;
   static OpenCLExcuter* openCLExcuter;
   static RecognitionManager* recognitionManager;
   static bool inited;
@@ -43,6 +44,10 @@
public:
   static void setTradeTimeCapture(bool enable) {
      tradeTimeCapture = enable;
   }
   void init(CallbackFun_Current_Price callback, void* context);
   //重新创建运行线程
@@ -52,7 +57,7 @@
   bool isRunning();
   static list<CurrentPriceData> capture(cv::Mat img);
   static list<CurrentPriceData> capture(cv::Mat img, OpenCLExcuter* openCLExcuter);
   static list<CurrentPriceData> capture();
@@ -63,3 +68,5 @@
   bool isInited();
};