Skip to content

Android mobile application designed to track user specified objects using OpenCV with TLD and CMT tracking algorithms

Notifications You must be signed in to change notification settings

cbui005/AndroidCMT_Tracking

Repository files navigation

AndroidCMT_Tracking

Android mobile application designed to track user specified objects using OpenCV with TLD and CMT tracking algorithms.

Dependencies

OpenCV Android 3.1

Android Studio 2.1

Tracking Learning Detection (TLD)

Consensus-based Tracking and Matching of Keypoints for Object Tracking (CMT)

Android NDK Bundle (allows application developers to build performance-critical portions of their apps by use of native (C/C++) code)

This setup is to support Android Marshmallow 6.0.1 (API 23) and testing is being done on Samsung Galaxy S7 edge.

Configurations

In the app build.gradle, targetSdkVerison.apiLevel is set to 22 because with API 23, you need to request permissions to access and use the camera. Setting target API to 22 allows us to still use the camera without needing to explicitly request camera permission.

targetSdkVersion.apiLevel = 22

Android NDK Settings

Flags for c++ compiling. Settings are found in app's build.gradle under android.ndk

cppFlags += "-std=c++11"
cppFlags += "--debug"
cppFlags += "-frtti"
cppFlags += "-fexceptions"

Todo

Finish implementing the different menu options
Make sure switching modes works smoothly
Possible methods for improving frame rate 

License

GNU License

About

Android mobile application designed to track user specified objects using OpenCV with TLD and CMT tracking algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published