Skip to content

Augmented Reality Feature Matching using the NDK and an async approach for >= Android 4.0

Notifications You must be signed in to change notification settings

hsb12001/feature-matching-native

 
 

Repository files navigation

Augmented Reality Feature Matching using the NDK with an async approach for >= Android 4.0

Feature matching native

What is this repository for?

  • Uses the camera image to search for a specified template image within it via a feature matching approach using the OpenCV C++ library. The detected object is marked with lines within the scene. This can be used to e.g. find a logo.
  • uses an async approach, that means that not every frame will be searched for the object and the GUI stays fluent/responsible
  • the OpenCV Java library is used as well for loading the template image. The processing on the other hand is done by the OpenCV C++ library only.
  • currently the async calculated image is painted over the live camera preview which can be seen on the edge. This might be changed in the future.
  • Version 1.1

How do I get set up?

  • IDE: Android Studio (tested with 2.2.2)
  • Android SDK & NDK
  • Dependencies: OpenCV 3.0.0 library (included)
  • Template image location: res/drawable Changeable in CameraPreviewView
  • Make sure the app has the required permission on start, as there is no runtime-check yet! (Camera)

Default template image

Copyright of the logo: The Coca-Cola Company

Who do I talk to?

Credits

About

Augmented Reality Feature Matching using the NDK and an async approach for >= Android 4.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 76.6%
  • Java 20.0%
  • C 2.7%
  • Other 0.7%