Search code examples
iphoneios7uiimagepickercontrollerface-detection

Detecting smile without taking photo


I wonder if it is possible to check for face/smile/blink using CIDetectorwithout taking photo?

You are just running UIImagePickerController and when face is found you display UIAlert or something else. I know I can take a photo and later check for detections but I'm curious if it is possible to avoid taking picture.

Thanks in advance for answers!


Solution

  • Check out SquareCam, Apple's sample project for detecting facial features in real time using a camera. While it's a bit more complicated that just using a UIImagePickerController, it should be able to handle what you need. Hope that Helps!