Help regarding DLib
Hi Dr.Davis,
Thanks for your awesome Face Recognition Package DLib. I am doing some research on biometrics and on my due progress, I heard about your package and started using it today. It is really awesome. I am using your frontal face detector and also the shape predictor classes right now. The results and the output was extraordinary. But, now I am looking for this, I would like to crop the ocular region in a face image. Would that be possible? Also let me know if you have more interesting things in your package that I would be making use of! Thanks again on your help.
You can certainly crop out the eyes. The shape predictor example program includes examples of cropping out the entire head. If you look at the code that implements that it should be obvious what to do. The rest of dlib is documented on the dlib.net web page.
Thanks sir! Will try it out and will let u know.
Thanks and regards, Praveen Kumar P.S Masters in Information Assurance and Cyber Security.
On Wed, Jun 15, 2016 at 6:38 AM, Davis E. King [email protected] wrote:
You can certainly crop out the eyes. The shape predictor example program includes examples of cropping out the entire head. If you look at the code that implements that it should be obvious what to do. The rest of dlib is documented on the dlib.net web page.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davisking/dlib/issues/137#issuecomment-226150800, or mute the thread https://github.com/notifications/unsubscribe/AQTnBVtlp_ZYpRVC1AHCWGwSL3veW3d7ks5qL9YPgaJpZM4I17ng .
Does Dlib have a function to crop the faces? I did not find out an option for cropping the head. A link of it would help
Yes, it's part of the example: http://dlib.net/face_landmark_detection_ex.cpp.html
Oh thank you sir, But like I said, I am using the python version of DLib. Can you get this to me in Python?
On Wednesday, June 15, 2016, Davis E. King [email protected] wrote:
Yes, it's part of the example: http://dlib.net/face_landmark_detection_ex.cpp.html
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davisking/dlib/issues/137#issuecomment-226360674, or mute the thread https://github.com/notifications/unsubscribe/AQTnBd1fNOjCbb35FcGv2XWz1PMZkqGQks5qMJ2IgaJpZM4I17ng .
Regards, Praveen Kumar P S Masters in Cybersecurity
You didn't mention python. There is no crop function in dlib's python api. There are lots of ways to crop images with existing python tools though.
Ya. I tried cropping through openCV and it works. So to detect eyes, what method do you suggest? Train some eyes and use the classifier to the test dataset?
On Thursday, June 16, 2016, Davis E. King [email protected] wrote:
You didn't mention python. There is no crop function in dlib's python api. There are lots of ways to crop images with existing python tools though.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davisking/dlib/issues/137#issuecomment-226456970, or mute the thread https://github.com/notifications/unsubscribe/AQTnBcLLexf9boXk9AUSQ8-_5vMwc8gTks5qMTCzgaJpZM4I17ng .
Regards, Praveen Kumar P S Masters in Cybersecurity
Have you looked at the facial landmark output? It tells you where all the parts of the face are, including the eyes.
Oh. So do you think I could just drop from it?
On Thursday, June 16, 2016, Davis E. King [email protected] wrote:
Have you looked at the facial landmark output? It tells you where all the parts of the face are, including the eyes.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davisking/dlib/issues/137#issuecomment-226471301, or mute the thread https://github.com/notifications/unsubscribe/AQTnBYLTbZHBuIpEgRT5RnHkjzsaT5Eqks5qMUIbgaJpZM4I17ng .
Regards, Praveen Kumar P S Masters in Cybersecurity
Yes
In the facial landmarking, you are using a classifier predictor and it gives out shape as an output. But the part 0 and part 1 of the shape array doesn't seem to be relevant to the eye coordinates. Could you explain?
Thanks and regards, Praveen Kumar P.S Masters in Information Assurance and Cyber Security.
On Thu, Jun 16, 2016 at 9:27 AM, Davis E. King [email protected] wrote:
Yes
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davisking/dlib/issues/137#issuecomment-226484231, or mute the thread https://github.com/notifications/unsubscribe/AQTnBYfZAXqo1uEfih8bJDzG0sgNPWmcks5qMU8lgaJpZM4I17ng .
Any ideas sir?
So as a progress, I have found that the shape list consists of several landmark points which are finally joined using the add_overlay function. However, do you have any possibility to reveal on which corresponding points consist the nose and eye centres? So, how many landmarking points are captured by DLib?
@praveenlovely , 68 landmarks, take a look here https://matthewearl.github.io/2015/07/28/switching-eds-with-python/ And I recommend you using http://stackoverflow.com/questions/tagged/dlib or https://sourceforge.net/p/dclib/discussion/442518/ for asking support - you will get answers with less time. Github is for issues/suggestions and other development tasks
Thanks a lot for your guidance. This is exactly what I have been looking for. Will do it like that from now!
Thanks and regards, Praveen Kumar P.S Masters in Information Assurance and Cyber Security.
On Mon, Jun 20, 2016 at 2:45 AM, Evgeniy Fominov [email protected] wrote:
@praveenlovely https://github.com/praveenlovely , 68 landmarks, take a look here https://matthewearl.github.io/2015/07/28/switching-eds-with-python/ And I recommend you using http://stackoverflow.com/questions/tagged/dlib or https://sourceforge.net/p/dclib/discussion/442518/ for asking support
- you will get answers with less time. Github is for issues/suggestions and other development tasks
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davisking/dlib/issues/137#issuecomment-227062127, or mute the thread https://github.com/notifications/unsubscribe/AQTnBejmzP0M8o1KqhwdZi3vZWZ2xI1iks5qNjcLgaJpZM4I17ng .