Skip to content

Uses optical flow analysis to convert real time phone video into motion paths.

Notifications You must be signed in to change notification settings

RobertYCXu/opticalflow-opencv-android

Repository files navigation

opticalflow-opencv-android

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:

Resources

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.

About

Uses optical flow analysis to convert real time phone video into motion paths.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages