Created
March 22, 2018 03:01
-
-
Save SunXiaoShan/f130118a4c4759ec402a75d468e07382 to your computer and use it in GitHub Desktop.
SetupFaceDetectingData
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)setupData { | |
NSDictionary *detectorOptions = [[NSDictionary alloc] initWithObjectsAndKeys: | |
CIDetectorAccuracyLow, CIDetectorAccuracy, | |
nil]; | |
self._faceDetector = [CIDetector detectorOfType:CIDetectorTypeFace | |
context:nil | |
options:detectorOptions]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment