Question

I am currently using

Capture grabber = new Emgu.CV.Capture(@"M2U00253.wmv");
grabber.QueryFrame();

I want to know that how can I use an image file(.jpg) instead of the video file(.mpg)?

No correct solution

OTHER TIPS

To load a static you can use the following method,

 Image<Bgr, Byte> img1 = new Image<Bgr, Byte>("MyImage.jpg");

refer to this link for more information.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top