未验证 提交 4da55955 编写于 作者: D dyning 提交者: GitHub

Merge pull request #347 from littletomatodonkey/fix_cpp_infer_blank

Support to recognize space text
...@@ -46,6 +46,7 @@ public: ...@@ -46,6 +46,7 @@ public:
this->use_mkldnn_ = use_mkldnn; this->use_mkldnn_ = use_mkldnn;
this->label_list_ = Utility::ReadDict(label_path); this->label_list_ = Utility::ReadDict(label_path);
this->label_list_.push_back(" ");
LoadModel(model_dir); LoadModel(model_dir);
} }
...@@ -83,4 +84,4 @@ private: ...@@ -83,4 +84,4 @@ private:
}; // class CrnnRecognizer }; // class CrnnRecognizer
} // namespace PaddleOCR } // namespace PaddleOCR
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册