| 215 | } |
| 216 | |
| 217 | std::shared_ptr<image_window> make_image_window_from_detector_py(const simple_object_detector_py& detector) |
| 218 | { |
| 219 | auto win = std::make_shared<image_window>(); |
| 220 | win->set_image(draw_fhog(detector.detector)); |
| 221 | return win; |
| 222 | } |
| 223 | |
| 224 | std::shared_ptr<image_window> make_image_window_from_detector_and_title(const simple_object_detector& detector, const string& title) |
| 225 | { |