Skip to content

WilliamLQin/Vision-Motion

Repository files navigation

release OpenCV Android-Studio API

Vision Motion

alt icon
record    graph

Vision Motion is a mobile app that uses the camera to track an object and graph position, velocity, and acceleration.
For more pictures and a demo video, head here!


Working in Android Studio 3.0.
Running on OpenCV 3.3.0 Android pack release.

Getting Started

Vision Motion is a project that has been directly built in Android Studio.
Download the project and open it in Android Studio!

Built With

Troubleshooting

Some devices may display the camera feed in BGR instead of RGB. Please modify the code in MainActivity.java lines 573-574 to change the output. One of these will work:

//mRgbaMat = mBgrMat;
mRgbaMat = inMat;

or

mRgbaMat = mBgrMat;
//mRgbaMat = inMat;


If you are having any issues with the OpenCV library, try reinstalling the android pack at the OpenCV website.
You can follow this tutorial to setup the OpenCV library again.

If you are still running on Android Studio 2.3.3 you will have to modify the gradle files to back to your version of certain libraries.

About

Mobile app that tracks motion and produces a graph.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages