From 60feedf43a35a9ca69d05095a01c5d1797b1bdc3 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 09 九月 2022 18:47:14 +0800
Subject: [PATCH] '完善'

---
 ConsoleApplication/CurrentPriceCapture.h |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ConsoleApplication/CurrentPriceCapture.h b/ConsoleApplication/CurrentPriceCapture.h
index 0482ccd..3dbcd5b 100644
--- a/ConsoleApplication/CurrentPriceCapture.h
+++ b/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();
 };
 
+
+

--
Gitblit v1.8.0