I downloaded EMGU Cv control , ImageBox Im trying to display a video stream in this control . The control image object is IImage, how can i display image to the ImageBox? its accept IImage only, how can i create or convert image or bitmap to IImage , or create one ?
EDIT: I've done this:
Bitmap bmp = new Bitmap(picBuffer.FramesDicitionary[addr]);
Image<Bgr, Byte> img1 = new Image<Bgr, Byte>(bmp);
pbTopLeft.Image = img1;
and when i run the app , its say: The type initializer for 'Emgu.CV.CvInvoke' threw an exception How to fix this ?