Syamili V
Syamili V

Reputation: 53

EmguCV- Capture screenshot from a video whenever the video gets updated

From a video, i want to capture images of all the updated frames . The video is in windows media format (wmv), and what i am looking forward is to capture all the images from it whenever the video updates the visuals in it.

The video plays slowly , so i need to capture the screenshot of it whenever the frames updates or whenever the visuals in the video changes.

Using emgucv, I think we can add the frames like this.

Image<Bgr, Byte> imgframe = video.QueryFrame();
image_array.Add(imgframe.Copy());

As i am a beginner, i need a helping hand.

Upvotes: 1

Views: 568

Answers (1)

Vegz
Vegz

Reputation: 106

You need a Capture object and then process each and every frame of it, adding it to you array. To do so, you need to use Capture.ImageGrabbed event. Those are the very basics of using Emgu, so IMO you need to learn them yourself, or you will get stuck on each and every thing.
If you're going to use EmguCV i strongly suggest to get use of their website. I made my whole engineering project using only their website. You can do it too :P

Upvotes: 1

Related Questions