Guest User

Untitled

a guest
Nov 20th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. protected override Mat ProcessFrame(ref Mat frame)
  2. {
  3. frameCount++;
  4. Mat rez = new Mat();
  5. frame.CopyTo(rez);
  6. prevFrame = new Mat();
  7. nextFrame = new Mat();
  8.  
  9. CvInvoke.CvtColor(frame, nextFrame, Emgu.CV.CvEnum.ColorConversion.Bgr2Gray);
  10. CvInvoke.CvtColor(frame, prevFrame, Emgu.CV.CvEnum.ColorConversion.Bgr2Gray);
  11.  
  12.  
  13. //CvInvoke.CalcOpticalFlowPyrLK(); ???
  14.  
  15. return rez;
  16.  
  17. }
Add Comment
Please, Sign In to add comment