#pragma once #include #include #include #include "ImgUtil.h" #include "RecognitionManager.h" #include "THSActionUtil.h" struct GPDataStruct { // SplitType type; string content; MoneyUnit unit; }; class THSGPDataCapture { private: OpenCLExcuter* openCLExcuter; bool inited; public: void init(); list> captureGPData(cv::Mat grayImg, SplitType types[], int length_per_num, int startColumn, int endColumn); cv::Mat grayImgs(cv::Mat img); bool isInited(); void stop(); };