I'm working on a real-time implementation of Lucas-Kanade for optical flow. However, the SVD decomposition to do achieve the least square method to reduce the error seems to take too much time.
A brief explanation of the algorithm can be accessed here Lucas Kanade algorithm