Example #1
0
 internal void initVideo(string filePath)
 {
     videoFileReader = new VideoFileReader();
     videoFileReader.Open(filePath);
     VideoWidth = videoFileReader.Width;
     VideoHeight = videoFileReader.Height;
     VideoFrameRate = videoFileReader.FrameRate;
     motionDetector = new MotionDetector(mainWindow);
     VideoInitialized = true;
 }
Example #2
0
 internal void initVideo(string filePath)
 {
     videoFileReader = new VideoFileReader();
     videoFileReader.Open(filePath);
     VideoWidth       = videoFileReader.Width;
     VideoHeight      = videoFileReader.Height;
     VideoFrameRate   = videoFileReader.FrameRate;
     motionDetector   = new MotionDetector(mainWindow);
     VideoInitialized = true;
 }