Liveness check Android (Blink eye) - android

Since Android 4.0 Google has provided some face detection APIs.
In Jelly Bean we can see a "Liveness check" feature in FaceUnlock.
I have searched a lot in Google and I haven't found a way to implement this. I mean, capture user's blink of an eye.
I have seen some OpenCV threads but since Android already supplies this, I guess there's no need to use any other API.
So, can anyone help me on how to create a "Liveness check" feature using just plain Android APIs?
Any help is welcome!

Related

Android face recognition login

I want to implement face recognition login for my application.
My Question is does android support it? does it provide any API for the same?
If so is there any sample available?
You can probably use the Tensorflow Lite to build something similar.
I'd suggest taking a look at the following blog series to see how it can be done : https://medium.com/devnibbles/facial-recognition-with-android-1-4-5e043c264edc

Developing Face Recognition App

i'm new to developing android apps in general.
I'm trying to create an application that given a certain image it would detect faces and would give me the eye locations and other info.
I've done some research and i found some stuff such as, the android FaceDetector API and OpenCV.
Could anyone give me some advice on how to make an app like this or send me a link with any info related to this, all help would be great!
Thanks, Daniel.
I have worked with Face recognition for a while.
If you want to use OpenCV you could do a better effort searching in SO and you can found things like this one.
The best one for me is the SDK provide by lockheed martin... but it's too expensive :S for a single person.
Edited
"Face detection and face recognition are different things ;) Face detection tells you where is the face and face recognition tells you who's the owner of the face"
If you choose OpenCV, you can find full doc in official page.
I'm going to give you a overview :
You can use OpenCV in your app using "OpenCV Manager" or with "Static Initialization on OpenCV Android".
About the first one:
OpenCV Manager is an Android service targeted to manage OpenCV library binaries on end users devices. It allows sharing the OpenCV dynamic libraries between applications on the same device. The Manager provides the following benefits:
Less memory usage. All apps use the same binaries from service and do not keep native libs inside themselves;
Hardware specific optimizations for all supported platforms;
Trusted OpenCV library source. All packages with OpenCV are published on Google Play market;
Regular updates and bug fixes;
About the second one:
A complete tutorial using eclipse.
You might try the new Android face API. See the tutorial here about how to detect faces and facial landmarks:
https://developers.google.com/vision/detect-faces-tutorial
I explain how to do it in this article. I used a TensorFlow Lite with a MobileFaceNet implementation, achieving very accurate results and with surprisingly high speed.
You'll find the source code and an APK in this repo

How to add additional drivers to android stack

I need to customize the android source code to add another secondary display for the device (this is the requirement). Hence i need to integrate the secondary display's drivers into the android stack and also add some libraries to the android stack using which the secondary display can be controlled. The driver code is readily available, so i only need to integrate it with the android stack. As i have never worked with android source code i hardly have any idea about how to proceed. Also there is no tutorial available for any kind of guidance for the same.
So far with the help of this site I'm able to setup the environment using the instructions given here: http://source.android.com/source/downloading.html
I should perform the integration on jelly Bean, so have downloaded JB source code.
Now proceeding towards integration of the drivers i have no idea how to proceed. Please provide some tutorials or useful links to do so.
Thanks in advance.

Facial features detection using OpenCV Android

I need to develop a facial features detection application by which I could be able to detect eyes,nose,lips,head along with its face. For this I opted for OpenCV. I had gone through many tutorials and also sample projects. There I could see the usage of haarcascade files through which I could detect the facial features while recording a video. As I know the location of haar cascade file.
But no site could tell me the complete implementation of haarcascade files in OpenCV android project.
Kindly provide me some sites regarding or give me some brief knowledge regarding the same.
That is a good approach for detecting faces using openCV. Since you are using android, you will probably not find code written in java but you can always modal it to work on android too. This is what I believe is the best approach. http://docs.opencv.org/master/d7/d8b/tutorial_py_face_detection.html#gsc.tab=0
http://docs.opencv.org/modules/contrib/doc/facerec/facerec_tutorial.html
This is another detailed use of different approaches using OpenCV.
Hope it helps, if you need help in changing the code you have to post what you've done so far and then I would be happy to help! Cheers!

Face recognition in android?

I would like to do face detection in Android. I am aware of the FaceDetector API, which is not much mature. My requirement is to recognize a particular person in the db.
Can you suggest me some useful tips.
Unfortunately there is no face recognition API which is a part of the Android SDK. The easiest thing to do would be to use an OpenCV android port ( http://opencv.willowgarage.com/wiki/Android) and implement a simple algorithm like PCA. The app FaceRecog PhoneLOCK available for free in the android market ( https://market.android.com/details?id=com.vediket.facerecog ) does exactly that.

Categories

Resources