To install OZLivenessSDK, use the CocoaPods dependency manager. To integrate OZLivenessSDK into an Xcode project, add the following code to Podfile:
Version is optional as, by default, the newest version is integrated. However, if necessary, you can find the older version number in Changelog.
Since 8.1.0, you can also use a simpler code:
By default, the full version is being installed. It contains both server-based and on-device analysis modes. To install the server-based version only, use the following code:
For 8.1.0 and higher:
You can also add the necessary frameworks to your project manually. Download the SDK files from here:
OZLivenessSDK.xcframework,
OZLivenessSDKOnDeviceResources.bundle,
OZLivenessSDKResources.bundle.
The TensorFlow framework can be found here.