Implementation
The EnxFaceAIiOS directory contains the EnxFaceAIiOS.framework iOS SDK. Add this framework in your project. The EnxFaceAIiOS iOS SDK is supported by iOS 10 and later, and XCode 9 and later.
- Install CocoaPods. For installation instructions, click this link.
- In the terminal, go to your project directory and run
pod init
. - To integrate EnxFaceAIiOS with your Xcode project using CocoaPods, specify EnxFaceAIiOS for the pod name.
- After adding all the required libraries in PodFile, go to the terminal and run
pod Install
. - Open your project in Xcode using the new .xcworkspace file.
Note: You must enable FaceAI while defining a room for the facial expression analysis to work. To enable it, use the following setting in JSON Payload to create Room:
{ "settings": {"facex": true;}}