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

Function set_image_size

dlib/python/numpy_image.h:296–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294
295 template <typename pixel_type>
296 void set_image_size(numpy_image<pixel_type>& img, size_t rows, size_t cols)
297 {
298 img.set_size(rows, cols);
299 }
300
301 template <typename pixel_type>
302 void* image_data(numpy_image<pixel_type>& img)

Callers 2

py_resize_imageFunction · 0.50
py_extract_image_4pointsFunction · 0.50

Calls 1

set_sizeMethod · 0.45

Tested by

no test coverage detected