mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-21 15:49:31 +08:00
[CVCUDA] Vision Processor Python API and Tutorial (#1394)
* bind success * bind success fix * FDMat pybind, ResizeByShort pybind * FDMat pybind, ResizeByShort pybind, remove initialized_ * override BindProcessorManager::Run in python is available * PyProcessorManager done * vision_pybind fix * manager.py fix * add tutorials * remove Apply() bind * remove Apply() bind and fix * fix reviewed problem * fix reviewed problem * fix reviewed problem readme * fix reviewed problem readme etc * apply return outputs * nits * update readme * fix FDMatbatch * add op pybind: CenterCrop, Pad * add op overload for pass FDMatBatch --------- Co-authored-by: Wang Xinyu <shaywxy@gmail.com>
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
|
||||
namespace fastdeploy {
|
||||
|
||||
void BindProcessorManager(pybind11::module& m);
|
||||
void BindFDMat(pybind11::module& m);
|
||||
void BindFDMatBatch(pybind11::module& m);
|
||||
void BindProcessors(pybind11::module& m);
|
||||
void BindDetection(pybind11::module& m);
|
||||
void BindClassification(pybind11::module& m);
|
||||
void BindSegmentation(pybind11::module& m);
|
||||
@@ -205,7 +207,9 @@ void BindVision(pybind11::module& m) {
|
||||
m.def("disable_flycv", &vision::DisableFlyCV,
|
||||
"Disable image preprocessing by FlyCV, change to use OpenCV.");
|
||||
|
||||
BindProcessorManager(m);
|
||||
BindFDMat(m);
|
||||
BindFDMatBatch(m);
|
||||
BindProcessors(m);
|
||||
BindDetection(m);
|
||||
BindClassification(m);
|
||||
BindSegmentation(m);
|
||||
|
Reference in New Issue
Block a user