diff --git a/deploy/cpp/src/object_detector.cc b/deploy/cpp/src/object_detector.cc index 8d72408bf9ceb42da80184ed2760a5ef92e8cc9d..509928bd15dbbaaf9d8b8614eb61bd3a90da8409 100644 --- a/deploy/cpp/src/object_detector.cc +++ b/deploy/cpp/src/object_detector.cc @@ -213,10 +213,6 @@ void ObjectDetector::Postprocess( cv::Mat raw_mat = mats[im_id]; int rh = 1; int rw = 1; - if (config_.arch_ == "Face") { - rh = raw_mat.rows; - rw = raw_mat.cols; - } for (int j = start_idx; j < start_idx + bbox_num[im_id]; j++) { if (is_rbox) { // Class id