| 200 | |
| 201 | template <typename T> |
| 202 | std::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 | |
| 210 | std::shared_ptr<image_window> make_image_window_from_detector(const simple_object_detector& detector) |
| 211 | { |
nothing calls this directly
no test coverage detected