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

Function make_image_window_from_image

tools/python/src/gui.cpp:194–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192
193template <typename T>
194std::shared_ptr<image_window> make_image_window_from_image(const numpy_image<T>& img)
195{
196 auto win = std::make_shared<image_window>();
197 image_window_set_image(*win, img);
198 return win;
199}
200
201template <typename T>
202std::shared_ptr<image_window> make_image_window_from_image_and_title(const numpy_image<T>& img, const string& title)

Callers

nothing calls this directly

Calls 1

image_window_set_imageFunction · 0.85

Tested by

no test coverage detected