Commit f5bb5eb5 authored by liuhy's avatar liuhy
Browse files

1、添加注释

parent d20ac126
...@@ -44,13 +44,14 @@ bool XsortFp32(std::vector<float> a, std::vector<float> b) { ...@@ -44,13 +44,14 @@ bool XsortFp32(std::vector<float> a, std::vector<float> b) {
if (a[0] != b[0]) if (a[0] != b[0])
return a[0] < b[0]; return a[0] < b[0];
return false; return false;
} }
bool XsortInt(std::vector<int> a, std::vector<int> b) { bool XsortInt(std::vector<int> a, std::vector<int> b) {
if (a[0] != b[0]) if (a[0] != b[0])
return a[0] < b[0]; return a[0] < b[0];
return false; return false;
} }
namespace ppocr{ namespace ppocr{
OcrDet::OcrDet(const std::string det_model_path, OcrDet::OcrDet(const std::string det_model_path,
std::string precision_mode, std::string precision_mode,
......
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