| 360 | } |
| 361 | |
| 362 | void 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 | |
| 374 | void bind_face_recognition(py::module &m) |
| 375 | { |
nothing calls this directly
no test coverage detected