Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
it needed in web application ( face detection in an image )

please can anybody help me.
Posted
Comments
Sergey Alexandrovich Kryukov 28-Jan-15 12:56pm    
Sorry, I don't believe you can. Face detection, as it is understood these days, is something way simpler and does not allow to tell one person from another. The recognition technology, despite the decades of research, is barely hatched, and the progress (I ever heard of) is quite modest, compared to what you probably expect.
—SA
Sergey Alexandrovich Kryukov 28-Jan-15 13:46pm    
Look at the weird arguments in the comments to the Solution 1.

"Face detection" actually means "the face is here", it locates the face. But terminology does not matter much. Please explain to us: is this what you want, or you actually want to compare different faces and decide if they are similar (the "same person") or not, because this is what is needed for the search. Richard maintains that this is not what you want.

Please confirm or clarify.

—SA

1 solution

This might help:
http://facedetection.jaysalvat.com/[^]

Note: This will detect faces in images and videos. It doesn't provide any facilities for comparing faces for similarity.

If your intention is simply to find any face, then it will work.

If, as Sergey believes, your intention is to find a specific face (ie: "find all pictures of John"), this plugin will not do that.

It will tell you that there is a face in the picture; it will tell you where the face is; but it won't tell you who the face belongs to.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 28-Jan-15 12:43pm    
I was surprised that you found a piece of software OP wanted, because this would be a solution of an unsolved problem, a topic of serious ongoing research. The last paper on face recognition I read was about different ways of biometric recognition, and the face recognition was considered as working, but with the by far worst reliability.

And... unfortunately no surprise: you referenced face detection, not recognition. Detection is way simpler and is used to locate the face, not to find the particular face as the inquirer wanted.

—SA
Richard Deeming 28-Jan-15 12:46pm    
Yes, that code is for detecting faces, not for recognising them. But that's what the OP asked for. :)
Sergey Alexandrovich Kryukov 28-Jan-15 13:06pm    
Please don't mix up terminology (which can be wrong) with the real task. Inquirer wrongly use the word "face detection", and that's confusion. But the formulation "Some Of The Images Contain Faces - Implement A Function That Can Scan Through The Images And Find A Face" clearly, very clearly explains what the inquirer really wanted. Can you argue that the product (proprietary, by the way) you referenced can solve this problem? I don't this you can. But if you know how, in case I miss something, please explain.

—SA
Richard Deeming 28-Jan-15 13:19pm    
Face detection could also fit that description - it will allow you to scan through images and find a face. It won't let you find a particular face - you can't use to "find all pictures of John" - but it will let you find a face.

Also, the question body says "face detection". Whilst it's possible that the OP actually meant "facial recognition", that's a pretty big assumption.

And finally, if the OP was wanting facial recognition, they'll need to start with face detection. You can't start to recognise something if you can't detect it. Surely it's better to give them something that gets them 5% of the way than to simply say "it can't be done". :)
Sergey Alexandrovich Kryukov 28-Jan-15 13:25pm    
Just do the simple thing: regardless of the terminology, explain how the product you reference can help searching. Help is based on the technique of taking a pair of images and return the degree of similarity of the faces on those images. Starting with face detection may or may not be relevant, this is just off-topic.

I maintain that using this project cannot evaluate similarity between faces in any way. If you think I'm wrong, please prove it. The burden of proof is on the one who claims that some result can be achieved.

Now, about the "better". Of course saying "this cannot be done" is much more useful then telling how to do 50% of work (in your case, nearly 0% though). And not doing it is just evil. Do you want someone to waste time and only then face a dead end? Because this is a dead end for a particular individual developer, at the present level of technology.

—SA

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