Latest 17.8.2
License MIT
Platforms ios 9.0

More about Cidaas

To know more about Cidaas visit CIDaaS

Cidaas Documentation


Operating System : iOS 9.0 or above
Xcode : 8
Swift : 3.0


CidaasFaceEmotion is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'CidaasFaceEmotion'

Getting started

The following steps are to be followed to use this CidaasFaceEmotion

  1. Create an instance of CidaasFaceMotion
var cidaas_face_motion : CidaasFaceEmotion?
  1. Create an instance of NotificationCenter
let notificationCenter : NotificationCenter = NotificationCenter.default
  1. Initialise the CidaasFaceMotion
cidaas_face_motion = CidaasFaceEmotion(cameraPosition: CidaasFaceEmotion.CameraDevice.faceTimeCamera, optimizeFor: CidaasFaceEmotion.DetectorAccuracy.higherPerformance) 
  1. Start the face detection
  1. Open a front facing camera using CidaasFaceMotion
let cameraView = cidaas_face_motion!.CameraView
  1. Receive the notification
NotificationCenter.default.addObserver(forName: NSNotification.Name(rawValue: "FaceDetectedNotification"), object: nil, queue: OperationQueue.main, using: { notification in
    if self.cidaas_face_motion?.isWinking == true {
        print ("You are blinking")
    else {
        print ("You are not blinking")

Help and Support

For more support visit CIDaaS Support

Latest podspec

    "name": "CidaasFaceEmotion",
    "version": "17.8.2",
    "summary": "A short description of CidaasFaceEmotion.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Cidaas": "[email protected]"
    "source": {
        "git": "",
        "tag": "17.8.2"
    "platforms": {
        "ios": "9.0"
    "source_files": "CidaasFaceEmotion/Classes/**/*",
    "pushed_with_swift_version": "3.0"

Pin It on Pinterest

Share This