code courtesy: klt implementation I do some test and compare this implementation with official OpenCV lk optical flow. Just to log the code..