cutFaceFromImage function

Image cutFaceFromImage(
  1. Image img,
  2. Rectangle rect
)

Implementation

imglib.Image cutFaceFromImage(imglib.Image img, Rectangle rect) {
  return imglib.copyCrop(img, x: rect.x, y: rect.y, width: rect.width, height: rect.height);
}