News for hackers. Stuff that matters.
Re:Opensource tool to create slowmotion videos from your foo... by tycho77 on Wednesday November 30, 2011 @03:21PM (#3296727)
To find optical flow, you first pick out a collection of sample points in frame A. What constitutes a good sample point depends on your specific algorithm, although generally speaking you pick "corners". In OpenCV, you can easily do this by calling cvGoodFeaturesToTrack().

You then search for those same sample points in the successive frame B, and end up with a collection of vectors that probably represent the motion of each point. Using OpenCV, this is usually done with cvCalcOpticalFlowPyrLK().

Tweening is basically just interpolation.

Re:Opensource tool to create slowmotion videos from your foo... by karolist on Thursday December 01, 2011 @04:37AM (#3298981)
This is very cool, thanks for that. Can we run this on a GPU? If not, how feasible would dense optical flow running on cpu be in terms of speed to convert short non-hd videos?