Uploading a video using emgucv 2.1.0.0

I need to know how to upload a video file using emgucv 2.1.0.0 in c #. I just need to be guided. I also need to be guided by how to use the emgucv API (I have one documentation that comes with the installation), so I do not need to ask questions when I can find it already in the API ( NOTE: For example, I watched the video on the handset, to find out how to use the java API and now it’s quite convenient to use it, could not find it for emgucv). For example, I find methods for different things, but I don’t have a hint for using them in the code.

Perhaps the method and method of using it will be useful.

Many thanks

+4
source share
1 answer

Assuming you have correctly imported Emgu libraries, upload the video using

Capture capture = new Capture("filename"); 

Then you can capture frames with

 Image<Bgr, byte> img = capture.QueryFrame(); 

You can view the image using the ImageViewer class:

 ImageViewer viewer = new ImageViewer(); viewer.Image = img; viewer.ShowDialog(); 
+6
source

Source: https://habr.com/ru/post/1312886/


All Articles