-
Notifications
You must be signed in to change notification settings - Fork 1
Face SDK Setup
This guide is a quick start to add SmilePass biometric verification to an Xcode Project.
SmilePass API key
Your application needs an API key to access the features of SmilePass SDK. You can use it with any of your applications that use SmilePass Mobile SDKs and External APIs. It supports an unlimited number of users. To get an API key, Contact SmilePass
There are 2 ways to set up the SmilePass SDK in your project -
CocoaPods
-
If you are not yet using Cocoapods in your project, first run
sudo gem install cocoapods
followed bypod init
. (For further information on installing Cocoapods, Click here) -
Add the following to your Podfile (inside the target section):
pod 'SmilePassFaceDetector'
-
Run
pod install
.
Manual
-
Download
SmilePassFaceDetector.framework
from this repo. -
Add
SmilePassFaceDetector.framework
in your project's Frameworks. -
Make sure
SmilePassFaceDetector.framework
is added into Embedded binaries in your target's settings. -
SmilePassFaceDetector.framework
is using Google Vision for detecting face, so if you are adding this framework manually, make sure all of the Google Vision frameworks are also added in your project (either manually or through cocoapods).