Need help with face-landmarking-ios?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.


👦 Basic face landmarking on iPhone with Dlib via Swift & ObjC++

452 Stars 126 Forks 57 Commits 17 Opened issues

Services available

Need anything else?

Face Landmarking on iPhone

This prototype shows basic face landmark recognition on a

) coming out of an

Frame rate is actually quite good on an iPhone 6S now that we are using the system face detection via

. 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.




This app uses the Dlib library ( and their default face landmarking model file downloaded from 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 He recommended using the system face detector to me.


Code (except for

) is released under MIT license.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.