-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to generate points for landmark detection for my source image #3
Comments
you should download labeled facial landmarks database,and put them into landmarkdetection to train model.By the way,you also need to prepare meanshape file and correct file format for trainning data.tata |
Hi Pat, |
http://ibug.doc.ic.ac.uk/resources/300-W/ |
I tested the landmark exe it saves out.png and landmark_regressor_ibug_68lms.txt but it takes more than one hour. |
Hi gopi, hi Anand, Are you using the newest version from master (0.3.0)? I fixed the training time two weeks ago (https://github.com/patrikhuber/superviseddescent/releases) and you shouldn't have issues. If you still do, can you please tell me the exact commit hash and system you're using, and also try how long it takes if you compile with Note that the The mean can easily be calculated by just taking the mean landmarks of a few dozen training examples. I can add the code if you want. Let me know how it goes, happy to help more. |
Hey Pat, |
Hi Patrick, I build the latest code of yours from the Link is : https://github.com/patrikhuber/superviseddescent/releases , Ubuntu 14.04 LTS 64 bit Still,It takes more than 45 min to see the output.Also you stated that the training model is trained once we will get the output in a milliseconds for rest of the images. Pat,I am also having little confusion,Will you please clarify my doubts! Elador link - https://github.com/elador/FeatureDetection 2.What are the features you had been added in your code against human sensing code? |
Hi gopi, hi Anand, Thanks for your replies and thank you Anand for all the details. I cannot reproduce the 45min training time at this point, which is a bit weird. I'll continue trying. Just to be sure - did you really compile superviseddescent with To answer your questions:
It seems like you are both more interested in just running a landmark detection, and not training your own model. Is that correct? If yes, then bare with me for a few days more, our full model and easy-to-run example will be available soon :-) |
Thanks, |
Hi Patrik, I am also waiting for this, thanks! Steven |
i have no ideal why i need about 12hours to train the data,then come out the out.png and landmark_regressor_ibug_68lms .i am using vs2013,opencv 2.4.8,boostboost_1_55_0 ,EIGEN3 with the debug mode ,why it takes so long ,why |
Hi andyhx, I tried in ubuntu 14.04 LTS 64 bit, Opencv 3.0 + OpenMP+ Boost 1.57 +Eigen 3, g++ 4.8.2 can you please tries with OpenMp, let me know the status !!Hope will you execute it |
I think there might be an issue with Eigen's parallelisation of @andyhx Anyway, I think running Eigen in debug mode does not sound like a good idea when inverting such huge matrices. |
@patrikhuber @Anand0793 yes,thanks you so much ,now with vs 2013 in the release mode and using openmp is really fast. About 7 mins is enough to finish the train and predict. can't not believe there lies so much difference betweeen the release and debug mode,thanks again |
how many training samples used in train step?@andyhx |
@shangguanxiaohu just the images that demo provided ,i will try more ,how about u |
@shangguanxiaohu what is ur qq account ,we can discuss more over it |
1247768069@andyhx |
Hi all, @gopi1989 @Anand0793 @shangguanxiaohu @scadavid @andyhx I've pushed a lot of changes to the devel branch and the RCR landmark detection model is ready to use. To use it, compile
A pre-trained model is available under I will merge these changes into the master branch in the next few weeks, update the documentation, fix a few problems and so on, but the stuff in the The detection takes around 30ms per image at the moment. Let me know how it goes. |
Yes,Thanks for your needful help.will update the processing time in a couple of hours Regards, |
Hi Patrik, I build the supervised-descent code from https://github.com/patrikhuber/superviseddescent/tree/devel this link I run the "rcr_detect" executable it works,Also detection is good for 2D frontal takes milliseconds per image. |
Hi Anand, Thanks for the feedback! Cool that it worked. Yes, the tracking is not very smart at the moment - it'll be improved over the next few weeks. |
@patrikhuber hi , when i trained about 800 pics that idug provide ,it crashes. i am using ur rcr program in a server .the sever has 16 G ram , 2.9 GHZ.it causees memory exceptions in ur both previous andmark dection program and current rcr program . do u know why ?Anyone got same problems? |
HI @patrikhuber |
Hi Patrick,
I build your code successfully and tested the following codes:
The text was updated successfully, but these errors were encountered: