Uses optical flow analysis to convert real time phone video into motion paths. Images can be generated by two different optical flow algorithms, farneback (dense) and lucas kanade (sparse).
The app tracks real time video from the camera feed and saves the resulting motion path into the phone's gallery. For best results move the camera under good lighting in a very slow and steady motion under a noisy background.
Sample trace path and corresponding result:
Here's a guide on importing the OpenCV library into Android Studio.
It is also advised to check out the OpenCV official website and the docs.