Giter Site home page Giter Site logo

aolmez / android-hpe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beraldofilippo/android-hpe

0.0 0.0 0.0 74.63 MB

Android native application to perform head pose estimation using images coming from the front camera.

License: MIT License

Java 100.00%

android-hpe's Introduction

android-hpe

Android native application to perform head pose estimation using images coming from the front camera.

Example of the final result

Demo gif

How to use

You need to compile your JNI libraries, they have to be copied to [this_project_root]/dlib/src/main/jniLibs (create the folder if it doesn't exist, careful about the upper case L).

Make sure to take a look at android-hpe-library before doing anything else in this project, it will help to understand how this app works.

Additional info

This algorithm can handle roughly up to the half-profile pose of the head, then it looses track.

I tried to expand the app's capacity to see full profile faces, with no luck. Basically I tried to learn a new classifier for the face detection and for the landmark detection, face detection worked but facial landmark detection didn't. I've decided to keep it as is was.

Please see here for a collection of my rants about not getting a working algorithm, Davis has been very supportive though, I guess it's a bit of a pain to handle such volume of requests and questions.

In an effort to assess the precision of the estimation of the YAW (left/right displacement of the face from the front), I have got good precision (max. +/-6°) for the near-frontal views with a slow degrading towards the extreme poses (however no more than +/-15°). As for PITCH (up/down displacement of the face from the front) I dind't have enough time to evaluate (probably something similar).

For additional resources and to understand how this works, check out dlib, the core of the algorithms involved is from there.

Credits

This app was developed as part of my MSc thesis in Computer Engineering at the University of Padua, Italy. Huge thanks to the Centro di Sonologia Computazionale (CSC) of the University of Padua http://smc.dei.unipd.it/.

This app, as well as its C++ counterpart, replicates the great job done in dlib-android-app, please refer to this project for some additional info.

Credits also go to gazr, make sure to check it out as well.

Remember to show some love as well to Davis King at dlib, whose work is great.

Plase leave a STAR to each of these projects, as well as this one.

android-hpe's People

Contributors

beraldofilippo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.