This repository contains an Android Studio project with example code for an application that uses the KudanCV standalone library to perform image-based and markerless tracking of objects viewed by the camera.
This code uses the android.hardware.camera2 package and as such requires at least Android 5.0 to run. Similar results can be achieved using the deprecated Camera class if legacy support is required.
-
Clone the project.
-
Download the latest KudanCV release.
-
Place the
.solibrary files into their appropriate, newly-created ABI directory at:app/libs/KudanCV/bin/<abi>/libKudanCV.so -
Place the header files into a newly-created directory at:
app/libs/KudanCV/include -
Copy the development license key from Kudan wiki and add it to the
AndroidManifest.xmlto the value ofeu.kudan.ar.API_KEY<meta-data android:name="eu.kudan.ar.API_KEY" android:value="LICENSE_KEY_HERE"> </meta-data> -
Build and run the project.