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

Function make_image_window_from_detector_py_and_title

tools/python/src/gui.cpp:232–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232std::shared_ptr<image_window> make_image_window_from_detector_py_and_title(const simple_object_detector_py& detector, const string& title)
233{
234 auto win = std::make_shared<image_window>();
235 win->set_image(draw_fhog(detector.detector));
236 win->set_title(title);
237 return win;
238}
239
240// ----------------------------------------------------------------------------------------
241

Callers

nothing calls this directly

Calls 2

draw_fhogFunction · 0.50
set_imageMethod · 0.45

Tested by

no test coverage detected