cutFaceFromImage function Null safety
- dynamic img,
- dynamic 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);
}
imglib.Image cutFaceFromImage(imglib.Image img, Rectangle rect) {
return imglib.copyCrop(img, x: rect.x, y: rect.y, width: rect.width, height: rect.height);
}