| | |
| | | class CurrentPriceCapture |
| | | { |
| | | private: |
| | | static bool tradeTimeCapture; |
| | | static OpenCLExcuter* openCLExcuter; |
| | | static RecognitionManager* recognitionManager; |
| | | static bool inited; |
| | |
| | | |
| | | |
| | | public: |
| | | static void setTradeTimeCapture(bool enable) { |
| | | tradeTimeCapture = enable; |
| | | } |
| | | |
| | | void init(CallbackFun_Current_Price callback, void* context); |
| | | |
| | | //重新创建运行线程 |
| | |
| | | |
| | | bool isRunning(); |
| | | |
| | | static list<CurrentPriceData> capture(cv::Mat img); |
| | | static list<CurrentPriceData> capture(cv::Mat img, OpenCLExcuter* openCLExcuter); |
| | | |
| | | static list<CurrentPriceData> capture(); |
| | | |
| | |
| | | bool isInited(); |
| | | }; |
| | | |
| | | |
| | | |