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

Function make_image_window_from_image_and_title

tools/python/src/gui.cpp:202–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200
201template <typename T>
202std::shared_ptr<image_window> make_image_window_from_image_and_title(const numpy_image<T>& img, const string& title)
203{
204 auto win = std::make_shared<image_window>();
205 image_window_set_image(*win, img);
206 win->set_title(title);
207 return win;
208}
209
210std::shared_ptr<image_window> make_image_window_from_detector(const simple_object_detector& detector)
211{

Callers

nothing calls this directly

Calls 1

image_window_set_imageFunction · 0.85

Tested by

no test coverage detected