| 222 | } |
| 223 | |
| 224 | std::shared_ptr<image_window> make_image_window_from_detector_and_title(const simple_object_detector& detector, const string& title) |
| 225 | { |
| 226 | auto win = std::make_shared<image_window>(); |
| 227 | win->set_image(draw_fhog(detector)); |
| 228 | win->set_title(title); |
| 229 | return win; |
| 230 | } |
| 231 | |
| 232 | std::shared_ptr<image_window> make_image_window_from_detector_py_and_title(const simple_object_detector_py& detector, const string& title) |
| 233 | { |