Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

An example of use a Vision framework for face landmarks detection in iOS 11

License

NotificationsYou must be signed in to change notification settings

DroidsOnRoids/VisionFaceDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An example of use a Vision framework for face landmarks detection

Landmark detection needs to be divided in to two steps.

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.

Example of detected landmarks

If you want more details about using Vision framework, go and check my blogpost about it

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp