2

I am building a program that needs to capture the image from a webam and show it to the user. I am using EmguCV to capture the image from the webcam and make some computer vision processing and then i need to show the image to the user. I have the image in the EmguCV's format (Image<Bgr, byte>)

The forms are WPF, so I just have an Image item on the form showing the result.

I guess I can save the image to the hard drive and make the form to load it again, but I dont think this is a good solution since I need to show the captured images in "real time".

How can I load the EmguCV image into the form image container?

4

1 回答 1

4

看看here以转换为a BitmapSource,然后您可以绑定到Image控件。

于 2013-04-30T16:57:00.453 回答