Ask Your Question
1

Is face recognition posible in android openCV?

asked 2013-07-17 08:02:16 -0600

bob004 gravatar image

updated 2013-10-09 07:51:51 -0600

berak gravatar image

Is facial recognition possible in Android OpenCV? I know face detection can be done. I have the source code to prove it. However can I take a picture and then state who it is or even if their face is in the database? This would be a great help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-07-17 08:39:05 -0600

berak gravatar image

unfortunately, you can't use the opencv-facerecognition from java yet. (but hopefully soon - got a pull request running for this)

"I have the source code to prove it" - i got that code, too ;)

face detection is the first step you want, anyway, then crop the face-rect, resize to some fixed size, say 90x90, equalizeHist(), and then save it to sdcard.

ofc., if you're good with jni/ndk, you can build your own wrappers for the c++ facerecognition.

if not so, i'd suggest, you use a plain norm(a,b,NORM_L2) for the comparison for now, and swap that part against the real facereco, once it's available

edit flag offensive delete link more

Comments

Thanks berak. That code didn't work for me but it's good to know that I can't get facial recognition so I don't waste my time. I'll keep an eye out for when facial recognition does become possible. Do you have any idea when it will be available, in the next month, year....? Thanks again. That's a big help.

bob004 gravatar imagebob004 ( 2013-07-17 09:41:02 -0600 )edit

days/weeks

berak gravatar imageberak ( 2013-07-17 10:00:03 -0600 )edit

What if i use javacv layer or face recognition example in android .. It working but getting some problem sometime

bunta gravatar imagebunta ( 2013-10-09 07:01:15 -0600 )edit

Does android/java face recognition work currently? Or do we still need to use the c++ one?

Esq gravatar imageEsq ( 2013-11-20 12:59:08 -0600 )edit

my estimation was wrong there. it's still unsolved, even in 3.0

berak gravatar imageberak ( 2013-11-20 13:03:27 -0600 )edit

Question Tools

Stats

Asked: 2013-07-17 08:02:16 -0600

Seen: 610 times

Last updated: Jul 17 '13