提交 1d46dd69 编写于 作者: littletomatodonkey's avatar littletomatodonkey

Support to recognize space text

上级 d6331154
...@@ -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.
先完成此消息的编辑!
想要评论请 注册