Skip to content
cavus700 edited this page Jun 13, 2017 · 4 revisions

FrameExtractor

The FrameExtractor is a C# application with a WPF UI. It allows you to extract single frames from a video. To do this you set a step size in milliseconds and in this steps single frames will be extracted from the whole video. The point is you define a region of interest at the beginning and all extracted frames contain only this region. Everything around the region will be removed. Optionally you can set the size of the saved frames to NxN and remove distortion from the images by setting the intrinsic camera parameters and distortion coefficients.

Requirments

Installation

To use the FrameExtractor a couple of libraries are neccessary to extract single frames from the video and optional remove the distortion from a camera lense

Install Caliburn Micro

To do this you only need the NuGet package manager. Just open the FrameExtractor.sln in Visual Studi -> Right click on your FrameExtractor project -> Select Manage NuGetPackages -> install Caliburn Micro

Install FrameGrabber

The FrameGrabber is already integrated in the solution. You only have to build it. After the build is finished add a reference to JockerSoftMedia.dll and copy the Interop.DexterLib.dll in your execution folder. Commonly the Release or Debug folder.

Install EmguCV

Installing EmguCV is a little bit tricky but not very hard if you follow the steps from the EmguCV website to install it on windows (http://www.emgu.com/wiki/index.php/Download_And_Installation). Pay attention to point 1.4 if you are getting an Emgu.CV.CvInvoke-Exception

Picture of the application

octocat