mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-11-03 11:02:01 +08:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user