/// <summary> /// сохранение изображения /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button_SaveImage_Click(object sender, RoutedEventArgs e) { Camera_HelperClass.SaveImageCapture((BitmapSource)imgCaptured.Source); }
/// <summary> /// Захват изображения /// </summary> /// <param name="source"></param> /// <param name="e"></param> void webcam_ImageCaptured(object source, WebcamEventArgs e) { Frame_Img.Source = Camera_HelperClass.LoadBitmap((System.Drawing.Bitmap)e.WebCamImage); }