Java Face Recognition Advices - java

I am supposed to compare two pictures whether they belong same person or not. I have not worked on face recognition in Java, so could anyone suggest me an example code or an article to do this?

Assuming that you are aware that Java in itself doesn't have anything to do with facial recognition, and that you're hopefully asking for a Java API/library for face recognition, check this SO thread, which lists a few options such as Cybula and OpenCV.

Related

How can I do face recognition of two images using opencv java in android

I'm trying to create a face recognition application in android studio in java language. I spent considerable amount of time, searching for step by step guides for achieving this function. I found many tutorials for python language and i couldn't find any proper tutorial or atleast a video tutorial for java.
Can someone please provide me with a proper link with the steps to do face recognition with OpenCv in android using java language.
I'm new to OpenCv, so i have no big idea on its functions.
Your help is highly appreciated
Update 1 ::
I'm trying to capture the image of the user and then cross check the taken image with an image that is already available in the gallery.
I want to know if both are the same so that i can allow the user to use the application.
I actually made a Java program that utilised OpenCV for facial recognition earlier this year.
For me it was an utter nightmare. Guides to doing this on Java are basically nonexistent and the documentation for Java OpenCV is very poor.
What I ended up doing to get to grips with OpenCV was I used PyImageSearch to learn how OpenCV works and then just trawled through the OpenCV javadocs until I found the most similar classes to what was being used in PyImageSearch.
There are a few guides for OpenCV recognition using Java (I'll have a look through my notes when I get a chance and see if I saved any links for my own reference) but none of them were for what I needed.
If you edit your post with some more information on the recognition you're trying to do (video or jpeg or png?; frontal faces or side faces?; specific faces or faces in general?) I may be able to help a little more.
The Youtube link that #Varma posted might help you get to grips with OpenCV as a whole, but that series doesn't seem to cover facial recognition.
EDIT #1
Okay, recognising who someone is via an image is definitely doable with OpenCV, but it's not something I've done. Here's a PyImageSearch page on how to do it in Python. The methodology for doing it in Java with OpenCV will most likely be more or less the same even thought the syntax will - of course - make it look very different (should mostly be a matter of finding the equivalent Java classes and methods).
If it proves difficult, there are alternatives to OpenCV you could use, like these or Google's API. Keep in mind though that facial recognition is not very secure and does come with some controversy.

Template matching in Android Opencv

I a working on a project in which i need to match the two images i-e; the image captured through camera is to be matched with the one of the images in database on server. Can anyone help please. I am new with android and opencv.
This is probably too broad of a question to answer directly - but hopefully I can provide a couple resources you can dive into to learn specifically how to do the few things your asking for.
Introduction to OpenCV for Android:
https://opencv.org/platforms/android/
GitHub project implementing what I think you're asking for:
https://github.com/torcellite/imageComparator

Using OpenCV for IP camera

I'm just a student who is given the project to do people counting using IP camera without buying anything. I have done research for the past 3 days and seems that OpenCV is the only free program but I'm unsure if it is able to do people counting.
Is there any links that teaches how to set up OpenCV? I found one at http://robocv.blogspot.it/2012/01/using-your-ip-camera-with-opencv.html but I'm not sure if I should configure it using the method stated in the link.
Your help is very much appreciated!
you can use opencv in java by using native opencv C code. Or you can use JavaCV.
yes people counting is possible using open cv. You have to use body detection and object tracking.

How to get the projection and model view transforms in Android in java

I'm trying to calculate a ray in my 3D world from a tap on an Android phone screen.
I thought I could just take the projection*modelview transform and inverse it. However, getting hold of the actual matrices doesn't seem to be so straightforward as I expected in OpenGL ES.
After a good while searching around the internet, options seem to be:
Many people seem to be using a bunch of classes from an Android demo source (MatrixGrabber, MatrixTrackingGL..).
Use glGetFloatv. However this doesn't seem to exist in GL10. It seems to have been added in GL11 with some problems and with no documentation.
Implement your own matrix code.
Now it's almost two years since most of the stuff I've found was written and I find it hard to believe that google hasn't got around to make this easier for game developers on Android, so I'm assuming I'm just being blind. Is there an official or recommended way of doing this? Maybe something supported in the sdk?
Many thanks.

Analog and digital graph/

I got three breakout boards form spark fun.
and i wanted to test them out.
something that i can visualize like a moving graph.
do you have any suggested links or anything I can reference?
suggestions are greatly appreciated!
. i just want to have something simple like a line just going across on a graph
similar to this to test them :)
Best video codec to encode analog graph information / AVI
Umm, a graph of what exactly? I would suggest instead you grab a few LEDs and play with making them turn on/blink as your first project.
That would depend on which UI toolkit you are using (AWT, Swing, SWT). For SWT, you may want to look at SWTChart.
I have also used JFreeChart with good success.

Categories