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

How to make a new model? #32

Open
wffger opened this issue Dec 25, 2014 · 5 comments
Open

How to make a new model? #32

wffger opened this issue Dec 25, 2014 · 5 comments

Comments

@wffger
Copy link

wffger commented Dec 25, 2014

I used getCurrentPosition() to get the audrey.jpg positions array. The array is too much different from the array in the fack_mask.html. Does the model's position array needed to be trained.
Does the position array determine how the face crop from the image? I saw draw() works well and the yellow polygonal line fits the face faultlessly.
2014-12-26_145222

But when I use the array as mask:
2014-12-26_145448

@auduno
Copy link
Owner

auduno commented Dec 25, 2014

If you're planning to get the points to use for a face mask or similar, you might try to use the annotater I released in clmtools (https://github.com/auduno/clmtools), that's what I used. It will probably work getting positions via getCurrentPosition() as well, but these points tend to be a bit imprecise.

@wffger
Copy link
Author

wffger commented Dec 28, 2014

I uploaded some pictures.

@auduno
Copy link
Owner

auduno commented Dec 28, 2014

Yes, the positions array determines how the face is cut out from the image, so you can only use it with that specific image. Did you used a different positions array with this image, or is it the correct one? It looks like it's not aligned correctly.

@wffger
Copy link
Author

wffger commented Dec 28, 2014

I used another image. Video still didn't match to the image. I just modified the face_mask.html.

@auduno
Copy link
Owner

auduno commented Dec 30, 2014

I think I need to see the code to figure out what's wrong here. Do you have the possibility to share an example on dropbox or something similar?

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

2 participants