4

Has someone successfully implemented the face recognition (thus not face detection!) with JavaCV? If yes, can you share your implementation ideas / source codes? Thanks.

Jacob Schoen
  • 14,034
  • 15
  • 82
  • 102
ItFlyingStart
  • 261
  • 4
  • 13
  • I'm certainly no expert, but just Googling real quick I found this: https://code.google.com/p/javacv/issues/detail?id=13. I don't think it's possible to face recognition with JavaCV. – Steve Blackwell Sep 07 '11 at 21:37
  • 1
    I have read this article: http://www.cognotics.com/opencv/servo_2007_series/part_5/index.html. The author has implemented this with OpenCV. JavaCV is a port from OpenCV. So I guess or hope that this is possible. And properly I am not the first one that try to do this. Has someone experimented with this in JavaCV? – ItFlyingStart Sep 08 '11 at 08:01

4 Answers4

3

I ported an OpenCV face recognition example to Java using JavaCV: check here

swiftBoy
  • 35,607
  • 26
  • 136
  • 135
  • 1
    Hi Stephen, I am not sure if you got my message on your blog a while back but I have converted used your code in an android application that recognizes faces through the video stream – Daniel Jonker Dec 20 '12 at 03:51
0

I don't know the answer but here's a tip:

Remember your "haarcascade_frontalface_alt.xml" must be in the 'src' Folder

This might help you : cvHaarDetectObjects

Anup Cowkur
  • 20,443
  • 6
  • 51
  • 84
Wudi
  • 9
  • 1
0

There are some examples on opencv installation folder as well and there are lot of examples on face detecting on the internet these are some of them try to go through this links hop you get some idea about it.

swiftBoy
  • 35,607
  • 26
  • 136
  • 135
Gum Slashy
  • 385
  • 5
  • 20
0

I know this is probably well too late, but I figured, just in case anyone else was still wondering I have developed/am still developing a face recognition app on android using JavaCV. It was for a uni project, and it can be found on my git-hub here:

I have adapted Stephen Reeds class that he mentioned in his comment to work through Android frames. It is a quite rough around the edges, nowhere near finished, and the facial recognition can only be seen through the log cat as it hasn't got an overlay on top of the camera preview yet. But it works.

Hope that helps.

swiftBoy
  • 35,607
  • 26
  • 136
  • 135
Daniel Jonker
  • 844
  • 10
  • 21