Skip to content

Commit 23462bb

Browse files
committed
Fix build
1 parent f61a18d commit 23462bb

File tree

1 file changed

+1
-1
lines changed
  • src/cpp/include/tasks/detection

1 file changed

+1
-1
lines changed

src/cpp/include/tasks/detection/ssd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class SSD {
3434
confidence_threshold = utils::get_from_any_maps("confidence_threshold", config, {}, confidence_threshold);
3535
input_shape.width = utils::get_from_any_maps("orig_width", config, {}, input_shape.width);
3636
input_shape.height = utils::get_from_any_maps("orig_height", config, {}, input_shape.height);
37-
resize_mode = utils::get_from_any_maps("resize_type", user_config, model_config, resize_mode);
37+
resize_mode = utils::get_from_any_maps("resize_type", config, {}, resize_mode);
3838
}
3939
std::map<std::string, ov::Tensor> preprocess(cv::Mat);
4040
DetectionResult postprocess(InferenceResult& infResult);

0 commit comments

Comments
 (0)