Skip to content
Mobile app that tracks motion and produces a graph.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app
gradle/wrapper
openCVLibrary330
.gitignore
README.md
VisionMotion.apk
build.gradle
gradle.properties
gradlew
gradlew.bat
import-summary.txt
settings.gradle

README.md

release OpenCV Android-Studio API

Vision Motion

alt icon

Vision Motion is a mobile app that uses the camera to track an object and graph position, velocity, and acceleration.


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.
You can’t perform that action at this time.