private static Bitmap CaptureFace(Image <Bgr, byte> image, Rectangle faceSelection) { var croppedImage = BitmapUtility.CropImage(image.Bitmap, faceSelection); return(croppedImage); }