示例#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;
 }
示例#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;
 }