ConsoleApplication/ImgUtil.h
@@ -66,6 +66,14 @@ int endy; }; struct OCRResult { string text; RECT rect; }; using namespace std; class ImgUtil { @@ -125,6 +133,9 @@ static cv::Mat formatNumGPCode(cv::Mat num) throw(string); static cv::Mat formatNumTradeQueue(cv::Mat num) throw(string); // 标记Mat中的区域 static cv::Mat markMat(cv::Mat mat, cv::Rect rect, uchar borderColor, int borderWidth); };