| | |
| | | }; |
| | | |
| | | |
| | | typedef void (*CallbackFun_Industry)(list<IndustryData> dataList, void* contex); |
| | | |
| | | class IndustryCapture |
| | | { |
| | | private: |
| | |
| | | static bool inited; |
| | | |
| | | static HWND win; |
| | | static CallbackFun_Industry data_callback; |
| | | static void* context; |
| | | |
| | | static cv::Mat grayImgs(cv::Mat img); |
| | | |
| | | static bool terminated; |
| | | |
| | | |
| | | public: |
| | | void init(); |
| | | void init(CallbackFun_Industry callback, void* context); |
| | | void refreshHWND(); |
| | | |
| | | static list<list<IndustryData>> captureIndustryCodes(cv::Mat img); |
| | |
| | | static list<list<IndustryData>> captureIndustryCodes(); |
| | | |
| | | bool isInited(); |
| | | |
| | | void stop(); |
| | | }; |
| | | |