Ask Your Question

Face recognition using java in Android

asked 2013-04-26 00:51:26 -0500

pp gravatar image

I have used the javacv for doing face detection and face recognition on Android but i am faceing some issue in executing the app. Is there anyone who has done face recognition using javacv on android or is there any api available in java to do face detection and face recognition on android, i do not want to use the .cpp file for face recognition. Thanks....

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-04-26 03:08:59 -0500

I would like to mention that JavaCV is NOT an official openCV package. It is a standalone library that provides wrapper functionality. For questions about their software you need to adress the proper website.

If you want to use openCV to do face recognition with android, then follow the following tuturial, part 1 and part 2.

edit flag offensive delete link more


Your Tutorial Links are 404

Shabbir gravatar imageShabbir ( 2014-08-04 00:30:34 -0500 )edit

I see, this is also a Java interface face detection link. Or go to this one. Basically a google search would have given you the solution.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-04 02:13:33 -0500 )edit

answered 2013-04-26 01:11:39 -0500

Nyenna gravatar image

updated 2013-04-26 01:25:48 -0500

There's a sample app for this in the SDK. Both in Java and C++.

edit flag offensive delete link more


I have gone through it, but i am not getting how to use it in android. And file in SDK of openCV 2.4.5 is auto generated file from c++, so not able to get it how to use in coding. can you tell me the step that i should follow...

pp gravatar imagepp ( 2013-04-26 01:18:46 -0500 )edit

Are you trying to run the sample or to use your own application? Did you manage to run any OpenCV4Android sample at all?

Nyenna gravatar imageNyenna ( 2013-04-26 01:46:17 -0500 )edit

yes i have executed the sample application successfully. I am executing the application using Ecllipse and Android plugin. All my environment setting is working fine. Just explain me how i can use the face recognition developed for desktop using JavaCV in android

pp gravatar imagepp ( 2013-04-26 02:26:19 -0500 )edit

You could just export your desktop in dynamic libraries, and make some simple interface with JNI : you get the frame from your device, transform it to RGB and let the library process it and return a picture with detected faces, or number of faces ou whatever you want.

But i'm absolutely not sure about performance, you have a lot of interfaces here between your code and the hardware...

Rogeeeer gravatar imageRogeeeer ( 2013-04-26 03:52:11 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-04-26 00:51:26 -0500

Seen: 5,499 times

Last updated: Apr 26 '13