[Model] update PPDet pybind and docs (#1550)

update pybind and docs
This commit is contained in:
Zheng-Bicheng
2023-03-09 16:22:31 +08:00
committed by GitHub
parent 091e039991
commit 32f0d2e350
7 changed files with 15 additions and 13 deletions

View File

@@ -58,7 +58,7 @@ void RKNPU2Infer(const std::string& model_dir, const std::string& image_file) {
model.GetPreprocessor().DisablePermute();
model.GetPreprocessor().DisableNormalize();
model.GetPostprocessor().ApplyDecodeAndNMS();
model.GetPostprocessor().ApplyNMS();
auto im = cv::imread(image_file);