WPF integrating with web cam
问题 How do you integrate a PictureBox to display a video through WPF? 回答1: You probably don't want to use PictureBox to display images in WPF because it's a Windows Forms control and therefore suffers from interop limitations. To display an image in WPF, use the Image element. Set its Source to be, typically, a BitmapImage whose UriSource is the URI of the bitmap file (which might be on the file system). (You can use another ImageSource type if that's an easier way to interface with the webcam.)