2

I want to build a app that keeps detecting face from the Camera. I have integrated the library but not getting any valid source from where i can start

Antony Raphel
  • 2,036
  • 2
  • 25
  • 45
Ahmed Sahib
  • 213
  • 3
  • 13

1 Answers1

2

I think this is a good starting point if you want to use Objective C:

https://jkbdev.wordpress.com/2015/09/22/getting-started-with-opencv-on-ios/

When you manage to get this to build and run, look for an opencv face detection example and incorporate that into your iOS app.

If you really want to do this in one go, you can try the link suggested by @Anthony above (https://github.com/ekurutepe/iOS-OpenCV-FaceRec).

Totoro
  • 3,398
  • 1
  • 24
  • 39
  • 1
    http://docs.opencv.org/3.0-beta/doc/tutorials/ios/video_processing/video_processing.html i already build and run and now going for the 2nd tutorial – Ahmed Sahib Mar 01 '17 at 09:03
  • Thanks, didn't knoe that OpenCV 3.0 comes with a good tutorial like that. – Totoro Mar 02 '17 at 02:04
  • I have tried the link suggested by Anthony but the problem is the image gets converted to grey scale so how can i convert it to original image – Ahmed Sahib Mar 07 '17 at 07:17
  • The input to opencv face detection is a grayscale image, and the output is a set of rectangles that show face locations. You just have to draw the face rectangles on the original image, instead f the gray image. – Totoro Mar 07 '17 at 07:39
  • how to face red mark and pimple detect objective c , any know please let me know , how to possible .. ? – Ramani Hitesh Oct 08 '18 at 14:45
  • The first approach that comes to mind is taking the HSV image of the face and looking for patches with more red. On dark skin, you will have to look for highlights. – Totoro Oct 09 '18 at 20:11