brfv4_javascript_examples icon indicating copy to clipboard operation
brfv4_javascript_examples copied to clipboard

Draw the whole head

Open ghun131 opened this issue 6 years ago • 2 comments
trafficstars

Hi, Thank you for such an awesome library! I wonder if it is possible to draw the entire head triangles. According to your docs, there are additional 6 more points to get the forehead with the face and I also found it in this example but I'm not sure it's the limit of the library.

https://github.com/Tastenkunst/brfv4_javascript_examples/blob/master/js/examples/face_tracking/candide_overlay.js

As I played with the above example, it seems there are more points around the jawline but I couldn't find any method to connect them. Do you have any suggestions? Really appreciate it

Best regards, Hung

ghun131 avatar Nov 06 '19 10:11 ghun131

Please consider using BRFv5 instead of BRFv4. We won't support BRFv4 from 2020 on.

https://github.com/Tastenkunst/brfv5-browser

Here is the extended face shape example for BRFv5:

https://tastenkunst.github.io/brfv5-browser/ (Please Choose Extended Face Shape (1 face))

And here the code: https://github.com/Tastenkunst/brfv5-browser/blob/master/js/examples/face_tracking__face_extended.js

Hope that helps.

Cheers.

MarcelKlammer avatar Nov 06 '19 11:11 MarcelKlammer

Thank you for your suggestion!

It's seem that BRFv5 is more interesting than BRFv4. But the Extended Face Shape is not quite like what I imagine. After digging around, I found something really cool in your docs

https://artov5.com/tpptv5/

It makes me wonder whether it is possible to fit the detected face into this structure and turn the entire head into its triangular skeleton like in your example?

ghun131 avatar Nov 07 '19 07:11 ghun131