clmtrackr icon indicating copy to clipboard operation
clmtrackr copied to clipboard

How to make a new model?

Open wffger opened this issue 10 years ago • 5 comments

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

wffger avatar Dec 25 '14 11:12 wffger

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.

auduno avatar Dec 25 '14 11:12 auduno

I uploaded some pictures.

wffger avatar Dec 28 '14 03:12 wffger

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.

auduno avatar Dec 28 '14 13:12 auduno

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

wffger avatar Dec 28 '14 15:12 wffger

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?

auduno avatar Dec 30 '14 12:12 auduno