Skip to content
Switch branches/tags
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

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?



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



No releases published


No packages published