- Notifications
You must be signed in to change notification settings - Fork30
An example of use a Vision framework for face landmarks detection in iOS 11
License
DroidsOnRoids/VisionFaceDetection
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
An example of use a Vision framework for face landmarks detection
First one is face rectangle detection by usingVNDetectFaceRectanglesRequest based on pixelBuffer provided by delegate functioncaptureOutput.
Next we need to setup the propertyinputFaceObservations ofVNDetectFaceLandmarksRequest object, to provide the input.Now we are redy to start landmarks detection.
It's possible to detects landmarks like:faceContour,leftEye,rightEye,nose,noseCrest,lips,outerLips,leftEyebrow, andrightEyebrow.
To display the results I'm using multipleCAShapeLayer withUIBezierPath.Landmarks detection is working on live front camera preview.
If you want more details about using Vision framework, go and check my blogpost about it
About
An example of use a Vision framework for face landmarks detection in iOS 11
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
