Ask Your Question
1

How to use detectMultiScale to face detection in android?

asked 2014-07-11 03:02:21 -0600

iremcenbertas gravatar image

I want to ask immediate , basic but important question for me. I want to learn function of detectMultiScale() and how to use it in order to write face detection code in android. I looked http://docs.opencv.org/modules/objdetect/doc/cascade_classification.html but I could not understand clearly. Thanks for your advice.

edit retag flag offensive close merge delete

Comments

opencv4android comes with a face-detection sample using lbpcascade.

berak gravatar imageberak ( 2014-07-11 04:52:47 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-07-11 04:00:42 -0600

First of all, since you are using android, you will have to look at the java wrapper class documentation right here. If you then click on objdetect and cascade classifier in the navigation menu you will notice that it is supported! However don't expect this for every single OpenCV function out there.

As to applying this technique in android, there should be samples out there.

  1. https://sites.google.com/a/forstersfreehold.com/visible-kitteh-project/home/announcements/objectdetectionwithopencvandandroid
  2. http://www.embedded-vision.com/forums/2013/01/14/using-face-detection-opencv-java-api
  3. http://www.morethantechnical.com/2010/10/07/opencv2-1-on-android-quickey-with-haar-object-detection-w-code/

And also take a look at the android samples!

edit flag offensive delete link more

Comments

Thank you :)

iremcenbertas gravatar imageiremcenbertas ( 2014-07-22 02:42:19 -0600 )edit

Question Tools

Stats

Asked: 2014-07-11 03:02:21 -0600

Seen: 1,597 times

Last updated: Jul 11 '14