Commit 92cd66fa authored by liucong's avatar liucong
Browse files

修改代码

parent 218c2664
...@@ -195,6 +195,7 @@ ErrorCode DB::Infer(const cv::Mat& img, std::vector<cv::Mat>& imgList) ...@@ -195,6 +195,7 @@ ErrorCode DB::Infer(const cv::Mat& img, std::vector<cv::Mat>& imgList)
cropImg = Utility::GetRotateCropImage(img, ocrResults[j].box); cropImg = Utility::GetRotateCropImage(img, ocrResults[j].box);
imgList.push_back(cropImg); imgList.push_back(cropImg);
} }
return SUCCESS;
} }
void DBPostProcessor::GetContourArea(const std::vector<std::vector<float>>& box, void DBPostProcessor::GetContourArea(const std::vector<std::vector<float>>& box,
......
...@@ -29,6 +29,7 @@ ErrorCode VLPR::Initialize(InitializationParameterOfDB initParamOfDB, ...@@ -29,6 +29,7 @@ ErrorCode VLPR::Initialize(InitializationParameterOfDB initParamOfDB,
exit(-1); exit(-1);
} }
LOG_INFO(stdout, "succeed to initialize svtr\n"); LOG_INFO(stdout, "succeed to initialize svtr\n");
return SUCCESS;
} }
ErrorCode ErrorCode
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment