Skip to content
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

About Flandmark precision #17

Open
guo253 opened this issue Aug 31, 2015 · 12 comments
Open

About Flandmark precision #17

guo253 opened this issue Aug 31, 2015 · 12 comments

Comments

@guo253
Copy link

guo253 commented Aug 31, 2015

Hi,
When i used flandmark_simple_example.m with flandmark_model.xml in data folder to detect facial points of a pic downloaded from internet, I found that the precision was not very well,especially the face was not frontal.
The result was not well using joint_mv_model and independent_mv_model also.
Is there any constraints about pic sizes? Or ,do you have more precisly model?
My pic sizes is 114*136.
Thank you.

@uricamic
Copy link
Owner

Hi @guo253,

could you please provide some output images?

The resolution is usually not a problem, there is just a systematic error introduced by re-scaling the input image to a working image (normalized frame).

However, there could be other problem with the compatibility of the models and the detection method used. We have made some speed ups for features computation, which results in a different scheme of computations and therefore the model has to be learned in the same way. It will be described on the webpages soon.

All multi-view models are using the new optimized way of feature computation, and therefore they require featuresPool class as well.

flandmark_model.xml is old model, which does not use this optimization. It was learned on near-frontal images only, so it works meaningfully only for faces with yaw in range around (-30, 30).

@scdeng
Copy link

scdeng commented Sep 11, 2015

Hi @guo253 and @uricamic
I had the same precision problem, I ran the example with command "./static_input ./ ./flandmark_model.xml ./face.jpg face_result.jpg", the result seems not accurate as flandmark did. is there something wrong with the model in clandmark example?

@uricamic
Copy link
Owner

Hi @scdeng,

yep, the flandmark_model.xml which is in the package now is not compatible with that example. I will prepare new model identical to the uricamic/flandmark but compatible with the new scheme of features computation.

@futurely
Copy link

The test results on the 300-W IBUG dataset using the provided jointly learned models for multi-view facial landmark detection are completely inaccurate. Two of the best ones are shown below. Could you add some examples to train the models?

image_006

image_078_1

@futurely
Copy link

The individually learned multi-view models are even worse.

image_006

image_078_1

@uricamic
Copy link
Owner

Hi @futurely,

I think the problem is that you use incompatible models for your code. Please send me the images without detections so I can check it out.

@futurely
Copy link

The test images are the IBUG database downloaded from here.

@uricamic
Copy link
Owner

I meant just these two images you posted here. Or at least their file names.

@uricamic
Copy link
Owner

Hi @futurely,

here are the results when the correct code is used:

out3

When in-plane rotation is returned by the face detector:

out2

For the first image my face detector missed the face.

I will soon update both webpages and the repository with examples covering the multi-view scenario (as well as some new stuff).

Sorry for the inconvenience caused by the compatibility issues between old and new models. I will try to clarify this on the webpages as well.

@karlhugle
Copy link

Hi @uricamic the same issue, can't run as you showed above, it is more like the old landmark version. What is fd con:56.613 mean? is it a build-in function?

@uricamic
Copy link
Owner

Hi @karlhugle,

the fd conf: is a confidence of our face detector, nothing in connection to clandmark itself. As for the precision issues, there was some update of the code snippets and also there is another thread here: #21

The update of the webpages will happen next week, I will also include more self-contained examples.

@karlhugle
Copy link

@uricamic Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants