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

Function save_face_chip

tools/python/src/face_recognition.cpp:362–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362void save_face_chip (
363 numpy_image<rgb_pixel> img,
364 const full_object_detection& face,
365 const std::string& chip_filename,
366 size_t size = 150,
367 float padding = 0.25
368)
369{
370 std::vector<full_object_detection> faces(1, face);
371 save_face_chips(img, faces, chip_filename, size, padding);
372}
373
374void bind_face_recognition(py::module &m)
375{

Callers

nothing calls this directly

Calls 1

save_face_chipsFunction · 0.85

Tested by

no test coverage detected