Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Integration
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/12
loading
loading
DlibFaceLandmarkDetector can Object Detection and Shape Prediction using Dlib C++ Library.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.35f1
Compatible
Compatible
Compatible
Description

Works with Unity Cloud Build



ChromeOS support


iOS & Android support


Windows10 UWP support


WebGL support


Win & Mac & Linux Standalone support


Preview support in the Editor



DlibFaceLandmarkDetector can ObjectDetection and ShapePrediction using Dlib19.7 C++ Library.



Official Site | ExampleCode | Android Demo WebGL Demo | Tutorial & Demo Video | Forum | API Reference



Features:


- You can detect frontal human faces and face landmark (68 points, 17points, 6points) in Texture2D, WebCamTexture and Image byte array. In addition, You can detect a different objects by changing trained data file.



- ObjectDetector is made using the now classic Histogram of Oriented Gradients (HOG) feature combined with a linear classifier, an image pyramid, and sliding window detection scheme. You can train your own detector in addition to human faces detector. If you want to train your own detector, please refer to this page.



- ShapePredictor is created by using dlib's implementation of the paper(One Millisecond Face Alignment with an Ensemble of Regression Trees by Vahid Kazemi and Josephine Sullivan, CVPR 2014). You can train your own models in addition to human face landmark model using dlib's machine learning tools. If you want to train your own models, please refer to this page.



- Advanced examples using “OpenCV for Unity” are Included. (The execution of this examples are required “OpenCV for Unity”.)



- By utilizing the VisualScripting With DlibFaceLandmarkDetector Example, you can leverage all the methods available in DlibFaceLandmarkDetector within the Unity’s Visual Scripting development environment. VisualScripting With DlibFaceLandmarkDetector Example (GitHub)






Examples:


Texture2DExample


WebCamTextureExample


CatDetectionExample


Benchmark Example



Advanced Examples:


(require OpenCV for Unity)


Texture2DToMatExample


WebCamTexture2MatHelperExample


VideoCapture2MatHelperExample


ARHeadWebCamTextureExample


ARHeadVideoCaptureExample


FrameOptimizationExample


NoiseFilterWebCamTextureExample


NoiseFilterVideoCaptureExample




ExampleCode using Dlib FaceLandmark Detector is available.


FaceMask Example


HoloLens with DlibFaceLandmarkDetector Example




DlibFaceLandmarkDetector uses Dlib under Boost Software License ; see Third-Party Notices.txt file in package for details.


The Shape Predictor model files included with this asset are available for commercial use.



System Requirements

Build Win Standalone & Preview Editor : Windows 8 or later

Build Mac Standalone & Preview Editor : OSX 10.13 or later

Build Linux Standalone & Preview Editor : Ubuntu18.04 or later

Build Android : API level 21 or later

Build iOS : iOS Version 11.0 or later



More Info >>

Technical details

Supported OS iOS, Android, ChromeOS, Windows10 UWP, WebGL, Windows, macOS, Linux

Link to documentation API Reference

Dlib FaceLandmark Detector

(49)
1207 users have favourite this asset
(1207)
$40
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
177.3 MB
Latest version
1.4.1
Latest release date
Nov 15, 2024
Original Unity version
2021.3.35
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR