Skip to content

Android example to get the rgb and disparity images from the OAK-D device connected to a phone.

Notifications You must be signed in to change notification settings

ibaiGorordo/depthai-android-jni-example

Repository files navigation

depthai-android-jni-example (WIP)

Android example to get the rgb and disparity images from the OAK-D device connected to a phone.

depthai_android_jni_detections.mp4

Important

  • This example is a simple example to show how to use the depthai library in Android and still it is in progress, so expect bugs. For a proper support of the library in Android, you will have to wait a bit more for the official release.
  • Known issue: it is necessary to allow the app to acces the MyriadX (multiple times) every time the app launches. If you have any solutions, please submit a PR.

Compiled App (.apk)

If you want to download the app directly without having to compile the project. You can download it in the Release tab.

Dynamic Library

The arm64 dynamic library (depthai-core) was compiled in Ubuntu 20.04 using the xlink_device_search_improvements branch. If you are interested in compiling it yourself, please ask in the Discord channel referenced below.

License

I have copied directly some of the include folders for some of the dependency libraries. Therefore, all the code except the ones inside the include folder are free to use. I will try to fix it adding submodules in the future.

References: