tag:blogger.com,1999:blog-6061887630060661987.post4159087107919811897..comments2024-03-13T13:54:35.259-04:00Comments on dlib C++ Library: Real-Time Face Pose EstimationDavis Kinghttp://www.blogger.com/profile/16577392965630448489noreply@blogger.comBlogger330125tag:blogger.com,1999:blog-6061887630060661987.post-83195582138008336012021-12-04T09:53:08.733-05:002021-12-04T09:53:08.733-05:00Use the default settings in dlib or look at what t...Use the default settings in dlib or look at what the Kazemi paper says to use.Davis Kinghttps://www.blogger.com/profile/16577392965630448489noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-88840504659626697992021-12-03T21:13:32.934-05:002021-12-03T21:13:32.934-05:00Hello Davis, for model with 68 keypoint landmark. ...Hello Davis, for model with 68 keypoint landmark. could you share the value that you used for this training?<br /><br />tree_depth:<br />nu:<br />cascade_depth:<br />feature_pool_size:<br />num_test_splits:<br />oversampling_amount:<br />oversampling_translation_jitter: roothttps://www.blogger.com/profile/13976798231766117078noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-15828712504778144242021-11-19T19:24:27.638-05:002021-11-19T19:24:27.638-05:00Hi Davis, could you share the value that you used ...Hi Davis, could you share the value that you used for this training?<br /><br />tree_depth:<br />nu:<br />cascade_depth: <br />feature_pool_size: <br />num_test_splits: <br />oversampling_amount: <br />oversampling_translation_jitter:roothttps://www.blogger.com/profile/13976798231766117078noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-54967808170756847902021-10-01T08:23:44.652-04:002021-10-01T08:23:44.652-04:00The paper One Millisecond Face Alignment with an E...The paper One Millisecond Face Alignment with an Ensemble of Regression Trees by Vahid Kazemi and Josephine Sullivan explains it well.Davis Kinghttps://www.blogger.com/profile/16577392965630448489noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-56399503282506520342021-10-01T06:08:09.983-04:002021-10-01T06:08:09.983-04:00I'm trying to understand how the algorithm wor...I'm trying to understand how the algorithm works for detecting face landmarks keypoint.<br />any video or reference I can go to?roothttps://www.blogger.com/profile/13976798231766117078noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-82603859353924996812021-07-07T16:07:05.537-04:002021-07-07T16:07:05.537-04:00Landmarks are very stable. Yet I am using 68_face_...Landmarks are very stable. Yet I am using 68_face_landmarks.dat module. But its not as stable as this. So from where can I download this landmark module. Anonymoushttps://www.blogger.com/profile/15335688022149536370noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-64417856317808843872021-03-23T21:24:00.061-04:002021-03-23T21:24:00.061-04:00Yeah you can delete files from tools/python/src. ...Yeah you can delete files from tools/python/src. You will have to modify the tools/python/src/dlib.cpp file and the CMakeLists.txt file in there to remove the files you deleted. Nothing wrong with that. Same with removing files you aren't using from dlib/CMakeLists.txt.Davis Kinghttps://www.blogger.com/profile/16577392965630448489noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-18519724415626127762021-03-23T08:43:53.138-04:002021-03-23T08:43:53.138-04:00Hi Davis,
Amazing library! Thank you!
I made a ...Hi Davis, <br /><br />Amazing library! Thank you!<br /><br />I made a Python module to align faces together by landmarks, and am currently importing DLIB as a dependency. It works magic but DLIB is massive and I really only need to use the pre-trained face detector, and 68-point landmark finder. <br /><br />Looking into taking DLIB apart to make the relevant bits a part of my module. But after looking through all the files, I'm completely overwhelmed. Would you have any advice on how best to proceed? <br /><br />Any kind of response would be welcome, like:<br />"I never built this for taking apart so I'm as lost as you, my friend :("<br />"It's not worth it as detection and landmark localization require a large part of DLIB anyway :("<br />"This has been done before. Look it up fool!"<br />"Unless you're a pro at PYBIND11, C++ and Make, do not even bother, fool!"<br /><br />As my starting point, I'm tracing all the dependencies of /tools/python/src/object_detection.cpp <br />Then I'll be trying to compile a version with only that (and any Python code and pybind11). But this seems really naive.<br /><br /><br />CarlAnonymoushttps://www.blogger.com/profile/08363984900827384836noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-45462743430365457422019-08-26T04:05:57.523-04:002019-08-26T04:05:57.523-04:00When I am using this predictor: shape_predictor_68...When I am using this predictor: shape_predictor_68_face_landmarks.dat. Does it come from "One millisecond face alignment.." or "300 Faces In-The-Wild Challenge" paper? Could you check github: https://github.com/davisking/dlib-models? PleaseAnonymoushttps://www.blogger.com/profile/06079611417808293242noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-82782338698706275392018-08-01T15:31:45.948-04:002018-08-01T15:31:45.948-04:00Hi guys Iam working an project facedetection nd ey...Hi guys Iam working an project facedetection nd eye blinking. Face detection is perfectly fine but eyes blinking is not working perfectly through video stream.which method is helpful for me till now iam used dlib. Any one having sample source please mail me .. Anonymoushttps://www.blogger.com/profile/14736095380803529808noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-81208615617055888032018-08-01T15:21:59.587-04:002018-08-01T15:21:59.587-04:00Hi Ian working an project facedetection and eye bl...Hi Ian working an project facedetection and eye blinking. Facedetection is working fine but any one tell me how to find eye blinking through video. Please let me know.Its urjent projectAnonymoushttps://www.blogger.com/profile/14736095380803529808noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-7253938417622565302017-10-31T06:18:11.554-04:002017-10-31T06:18:11.554-04:00Not that I am aware of.Not that I am aware of.Davis Kinghttps://www.blogger.com/profile/16577392965630448489noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-1600822594716367562017-10-31T04:58:44.008-04:002017-10-31T04:58:44.008-04:00Hi Davis;
Is there any additional issue that shou...Hi Davis;<br />Is there any additional issue that should be excluded like the usage of iBUG 300-W dataset in training for commercial use?<br /><br />thanks.Anonymoushttps://www.blogger.com/profile/00411723892037313760noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-18004376267293860102017-08-30T12:49:59.617-04:002017-08-30T12:49:59.617-04:00Use a linear SVM to train a classifier.Use a linear SVM to train a classifier.Davis Kinghttps://www.blogger.com/profile/16577392965630448489noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-32503227897633325052017-08-30T11:06:17.434-04:002017-08-30T11:06:17.434-04:00Thanks!
Could you give me a hint on how to use it...Thanks!<br /><br />Could you give me a hint on how to use it for detecting occluded landmarks?Anonymoushttps://www.blogger.com/profile/01882471351882070861noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-50615010329528777142017-08-30T09:02:04.977-04:002017-08-30T09:02:04.977-04:00See: http://dlib.net/dlib/image_processing/shape_p...See: http://dlib.net/dlib/image_processing/shape_predictor_abstract.h.html#shape_predictor<br /><br />It might give you a quality measure, it's tough to say. You can certainly use it to decide if a point is occluded or something similar. Maybe to know if a face is present. But probably not much about landmark fit since if it had excess information about landmark fit it probably would have fit the landmark better in the first place. But you never know until you try.Davis Kinghttps://www.blogger.com/profile/16577392965630448489noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-74812125587181900062017-08-30T08:51:08.256-04:002017-08-30T08:51:08.256-04:00Hi Davis,
Thanks again for letting everyone use t...Hi Davis,<br /><br />Thanks again for letting everyone use this great library. <br />I noticed that the shape_predictor has an option to return some kind of feature vector. How do I interpret this feature vector? I understand that it contains 15 times 500 values, because the landmark detector has a cascade of 15 forests with 500 threes each. But I do not completely understand what these 7500 values represent. <br /><br />Do you think that it would be possible to use this feature vector to get some kind of quality measure of the landmark fit (or check if the input image contained a face)?Anonymoushttps://www.blogger.com/profile/01882471351882070861noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-76835420888485966572017-07-26T19:29:05.916-04:002017-07-26T19:29:05.916-04:00The size is linear in the number of landmarks. So...The size is linear in the number of landmarks. So if you retrain with fewer landmarks it will be smaller. It is also linear in the size of a number of other training parameters. The dlib API documents all the parameters, which area also described in great detail in the original Kazemi paper.Davis Kinghttps://www.blogger.com/profile/16577392965630448489noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-43239133509740304692017-07-26T09:49:48.932-04:002017-07-26T09:49:48.932-04:00Hi Davis,
Thanks for your amazing job. I was wond...Hi Davis,<br /><br />Thanks for your amazing job. I was wondering why is the .dat file provided with the example is so big ? How can I make it smaller ? Training the shape predictor on less landmarks and/or images can reduce its size ? Any other suggestions ? <br /><br />CheersAnonymoushttps://www.blogger.com/profile/01948721800059876992noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-55835913280998734022017-06-12T08:34:40.607-04:002017-06-12T08:34:40.607-04:00Thanks, I'm glad you like dlib :)
Turning AVX...Thanks, I'm glad you like dlib :)<br /><br />Turning AVX on or off should make no difference in the output. Something else must have gone wrong. Also: http://dlib.net/faq.html#WhyisdlibslowDavis Kinghttps://www.blogger.com/profile/16577392965630448489noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-155969218997796552017-06-12T04:55:54.339-04:002017-06-12T04:55:54.339-04:00Hi Davis King ,
First of all i really appreciate y...Hi Davis King ,<br />First of all i really appreciate your efforts in developing dlib and helping others by replying almost everyone. I am trying to use dlib for real time face recognition and it is a bit slow. thus i compiled it after turning avx instructions on..this speedened the code but the accuracy has fallen drastically.Can you tell why this is so.<br /><br /><br />thanking you ,<br /><br />K.PK.Pravallikahttps://www.blogger.com/profile/10410858995888571458noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-10863293331840346712017-06-01T09:38:09.813-04:002017-06-01T09:38:09.813-04:00Hi Davis,
Thanks again for such a great library!...Hi Davis,<br /> Thanks again for such a great library!<br />I am training a shape detector for human face, as I need additional landmarks on ear. Training for total of 12 landmarks. After creating sp.dat from training, I am using it to detect landmarks on images. However, 5 landmarks are always off; rest all aligns up perfectly. Can you give some pointers on how to fix it? <br /><br />Probably related is this training log:<br />Fitting trees...<br />...<br />mean training error: <b>-nan</b><br />mean testing error: 0.00216595Anonymoushttps://www.blogger.com/profile/15477540456586620112noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-84827486129255863162017-05-31T17:34:28.986-04:002017-05-31T17:34:28.986-04:00Thanks, glad you like it :)
If it's just one ...Thanks, glad you like it :)<br /><br />If it's just one point I would go with a normal detector. However, the specific details of the problem can be important and for some things you need specialized solutions. Davis Kinghttps://www.blogger.com/profile/16577392965630448489noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-60781183890798144772017-05-31T17:16:03.158-04:002017-05-31T17:16:03.158-04:00Hi Davis!
Just started using dlib, and it is simp...Hi Davis!<br /><br />Just started using dlib, and it is simply wonderful! Thanks for putting this together.<br />I am interested in an application where a single keypoint of a given image is to be localized very accurately. Do you think I should go with a shape predictor with only 1 point or rather try to translate the case to a detection problem?<br /><br />LaszloAnonymoushttps://www.blogger.com/profile/13983419930767610366noreply@blogger.comtag:blogger.com,1999:blog-6061887630060661987.post-32895992198532488912017-05-11T14:08:02.002-04:002017-05-11T14:08:02.002-04:00Hi how can I find face landmarks with dlib in andr...Hi how can I find face landmarks with dlib in android studio on real-time using JAVA ? Please help me :(Anonymoushttps://www.blogger.com/profile/08311359060953176096noreply@blogger.com