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

Function py_extract_image_chip

tools/python/src/image2.cpp:136–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134
135template <typename T>
136numpy_image<T> py_extract_image_chip (
137 const numpy_image<T>& img,
138 const chip_details& chip_location
139)
140{
141 numpy_image<T> out;
142 extract_image_chip(img, chip_location, out);
143 return out;
144}
145
146template <typename T>
147py::list py_extract_image_chips (

Callers

nothing calls this directly

Calls 1

extract_image_chipFunction · 0.85

Tested by

no test coverage detected