| 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 | { |
| 234 | auto win = std::make_shared<image_window>(); |
| 235 | win->set_image(draw_fhog(detector.detector)); |
| 236 | win->set_title(title); |
| 237 | return win; |
| 238 | } |
| 239 | |
| 240 | // ---------------------------------------------------------------------------------------- |
| 241 |