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

Function py_resize_image

tools/python/src/image2.cpp:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16template <typename T>
17numpy_image<T> py_resize_image (
18 const numpy_image<T>& img,
19 unsigned long rows,
20 unsigned long cols
21)
22{
23 numpy_image<T> out;
24 set_image_size(out, rows, cols);
25 resize_image(img, out);
26 return out;
27}
28
29// ----------------------------------------------------------------------------------------
30

Callers

nothing calls this directly

Calls 2

resize_imageFunction · 0.85
set_image_sizeFunction · 0.50

Tested by

no test coverage detected