I am using optical flow to track four points on a canvas which are positioned as four corners of a rectangle. The four points are then used to create a path in the canvas. These