Giter VIP home page Giter VIP logo

face-landmarking-ios's Introduction

Face Landmarking on iPhone

This prototype shows basic face landmark recognition on a CMSampleBuffer (see DlibWrapper.mm) coming out of an AVCaptureSession.

Frame rate is actually quite good on an iPhone 6S now that we are using the system face detection via AVCaptureMetadataOutput. I did not measure performance yet but there is no discernible lag anymore. It looks like 30fps.

But I am sure there are a lot more performance improvements to be made. Currently, the buffers are copied around a lot.

Screenshot

screenshot

Credits

This app uses the Dlib library (http://dlib.net) and their default face landmarking model file downloaded from http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2. Thanks for the great work.

This project includes a precompiled Dlib. If you want to change something, consider that the Preprocessor Macros in the project linking Dlib need to be the same as the Compiler Flags when building the lib.

The project to build Dlib on iOS was generated according to these instructions.

Thanks to Satya Mallick from learnopencv.com. He recommended using the system face detector to me.

License

Code (except for DisplayLiveSamples/lib/*) is released under MIT license.

face-landmarking-ios's People

Contributors

morizotter avatar zweigraf avatar

Watchers

 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.