MCPcopy Create free account
hub / github.com/davisking/dlib / py_sub_image2

Function py_sub_image2

tools/python/src/image2.cpp:555–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553}
554
555py::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

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85
py_sub_imageFunction · 0.85

Tested by

no test coverage detected