Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
first of all thanks for you time into looking for my question (am really grateful), this is for self learning, am not a student or working on the field

working on java (windows 7) i am trying to do a software that can identify a face and recognition of the person, i like java but if it's too hard pyton is good to

so far so good using opencv 3.0 i managed to do the face detection, detecting the face and stuff (aplying the filters so eigenfaces work better), but i cant even try to implement hartraining or any other stuff to do face recognition and so far google allways make tutorial to facedetction and face recognition is nowhere to be found o explained in java (or i'm to stupid)

pd:sorry my eng is basic

What I have tried:

so far i have been switching between opencv versions because diferent tutorials use diferent opencv version and some of the dependencies change o become obsolete

trying to make the xml of an already training myhaar archive of my face and implementing as if (the software should be able to do training on his own in future)

trying to instanciate the app for hattraining directly

sorry am so stuck that desesperation as gotten the better of me
Posted
Updated 14-Jun-17 6:55am

After some searching I found this video ... might be helpful ...
Real Time Face Detection using OpenCV with Java "with code" - YouTube[^]
 
Share this answer
 
What you need is just the OpenCV framework, and then you can use the Java wrapper for those framework libraries. I have already written an answer that talks about in-depths of OpenCV and Java language, so you should consider reading them first,

How can I count number of people in java opencv[^]

That answer of mine also does talk about Face Recognition (detection, specifically) and you can also try the following code from here, javacv/OpenCVFaceRecognizer.java at master · bytedeco/javacv · GitHub[^], Or read the guide for Java wrapper for OpenCV: Face Detection and Tracking — OpenCV Java Tutorials 1.0 documentation[^]

Now for the part where you say, you cannot do the Haar training, actually what happens is that OpenCV actually does everything and you can then use the wrappers (such as EmguCV in C#, and others for Python and Java)... I wrote an article that shows how to do that in C#, Facial biometric authentication on your connected devices[^], you can use the same concepts and find the objects for Java...

Or Python, if you believe Python is better. :)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900