Ask Your Question
2

Face recognition using java in Android

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

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
2

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

Nyenna gravatar image

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

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

edit flag offensive delete link more

Comments

I have gone through it, but i am not getting how to use it in android. And FaceRecognition.java 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 -0600 )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 -0600 )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 -0600 )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 -0600 )edit
1

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

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

Comments

Your Tutorial Links are 404

Shabbir gravatar imageShabbir ( 2014-08-04 00:30:34 -0600 )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 -0600 )edit

Question Tools

Stats

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

Seen: 6,066 times

Last updated: Apr 26 '13