Skip to content

Commit

Permalink
更新pybind
Browse files Browse the repository at this point in the history
  • Loading branch information
Zheng-Bicheng committed Feb 15, 2023
1 parent 8c42b70 commit 8faca05
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fastdeploy/vision/keypointdet/pptinypose/pptinypose_pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ void BindPPTinyPose(pybind11::module& m) {
self.Predict(&mat, &res, detection_result);
return res;
})
.def("disable_normalize",
[](vision::keypointdetection::PPTinyPose& self) {
self.DisableNormalize();
})
.def("disable_permute",
[](vision::keypointdetection::PPTinyPose& self) {
self.DisablePermute();
})
.def_readwrite("use_dark",
&vision::keypointdetection::PPTinyPose::use_dark);
}
Expand Down

0 comments on commit 8faca05

Please sign in to comment.