MCPcopy Create free account
hub / github.com/davisking/dlib / run_detector_with_upscale2

Function run_detector_with_upscale2

tools/python/src/simple_object_detector_py.h:208–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 inline std::vector<dlib::rectangle> run_detector_with_upscale2 (
209 dlib::simple_object_detector& detector,
210 py::array img,
211 const unsigned int upsampling_amount
212
213 )
214 {
215 std::vector<double> detection_confidences;
216 std::vector<unsigned long> weight_indices;
217 const double adjust_threshold = 0.0;
218
219 return run_detector_with_upscale1(detector, img, upsampling_amount,
220 adjust_threshold,
221 detection_confidences, weight_indices);
222 }
223
224 inline py::tuple run_rect_detector (
225 dlib::simple_object_detector& detector,

Callers 2

run_detector1Method · 0.85
run_detector2Method · 0.85

Calls 1

Tested by

no test coverage detected