Commit cf0d5a4c authored by Jack Culpepper's avatar Jack Culpepper

simplify

parent a12e1e71
......@@ -155,20 +155,12 @@ namespace dlib
std::vector<dlib::rectangle> run_detector1 (boost::python::object img,
const unsigned int upsampling_amount_)
{
std::vector<double> detection_confidences;
std::vector<double> weight_indices;
return run_detector_with_upscale1(detector, img, upsampling_amount_,
detection_confidences, weight_indices);
return run_detector_with_upscale2(detector, img, upsampling_amount_);
}
std::vector<dlib::rectangle> run_detector2 (boost::python::object img)
{
std::vector<double> detection_confidences;
std::vector<double> weight_indices;
return run_detector_with_upscale1(detector, img, upsampling_amount,
detection_confidences, weight_indices);
return run_detector_with_upscale2(detector, img, upsampling_amount);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment