| 553 | } |
| 554 | |
| 555 | py::array py_sub_image2 ( |
| 556 | const py::tuple& image_and_rect_tuple |
| 557 | ) |
| 558 | { |
| 559 | DLIB_CASSERT(len(image_and_rect_tuple) == 2); |
| 560 | return py_sub_image(image_and_rect_tuple[0].cast<py::array>(), image_and_rect_tuple[1].cast<rectangle>()); |
| 561 | } |
| 562 | |
| 563 | // ---------------------------------------------------------------------------------------- |
| 564 |
nothing calls this directly
no test coverage detected