[Hackthon_4th 242] Support en_ppstructure_mobile_v2.0_SLANet (#1816)

* first draft

* update api name

* fix bug

* fix bug and

* fix bug in c api

* fix bug in c_api

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
This commit is contained in:
thunder95
2023-04-27 10:45:14 +08:00
committed by GitHub
parent ef576ce875
commit 2c5fd91a7f
35 changed files with 2505 additions and 39 deletions

View File

@@ -19,11 +19,13 @@ namespace fastdeploy {
void BindPPOCRModel(pybind11::module& m);
void BindPPOCRv3(pybind11::module& m);
void BindPPOCRv2(pybind11::module& m);
void BindPPStructureV2Table(pybind11::module& m);
void BindOcr(pybind11::module& m) {
auto ocr_module = m.def_submodule("ocr", "Module to deploy OCR models");
BindPPOCRModel(ocr_module);
BindPPOCRv3(ocr_module);
BindPPOCRv2(ocr_module);
BindPPStructureV2Table(ocr_module);
}
} // namespace fastdeploy