Skip to content

Android NDK head pose estimation library. This repo contains all code needed to perform ndk-build and therefore to get a suitable shared library to be included into android-hpe.

License

beraldofilippo/android-hpe-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-hpe-library

Head pose estimation library written in C++ for android-hpe, to use with Android NDK. This repo contains all code nedded to perform ndk-build and therefore to get a suitable shared library to be included into android-hpe. Please see android-hpe for other details.

Get the source

$ git clone --recursive https://github.com/beraldofilippo/android-hpe-library.git

Prerequisites

  • It's beneficial to know how the build process works. Please see reference docs and also refer to android.mk

  • Download Android-NDK ndk-r13b - Android NDK downloads page - it is a rather old version

  • Download OpenCV Android SDK 3.1.0 - sourceforge - place it into /third_party folder, (the other needed dependency miniglog is already there). This way, the /third_party folder will have /opencv-android-sdk and /miniglog as subfolders.

Build JNI code and shared library for Android application

  • cd to the project root folder [android-hpe-library_directory]
  • Perform NDK build using ndk-build -j 2 this process builds .so files
  • Grab the folders located into [android-hpe-library_directory]/libs, each folder contains a specific .so based on architecture
  • Put the folders into the android-hpe Android project into the path [android-hpe_directory]/dlib/src/main/jniLibs

Credits

This repository heavily relies and replicates works in dlib-android and in gazr.

About

Android NDK head pose estimation library. This repo contains all code needed to perform ndk-build and therefore to get a suitable shared library to be included into android-hpe.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published