DaFluffyPotato | I mapped my face to a cube. (python/pygame/node.js/face-api.js) @DaFluffyPotato | Uploaded February 2021 | Updated October 2024, 3 minutes ago.
I hacked up the example script for face-api.js to forward the data to my Python/Pygame script. Then I did some trig and other math things to get a *very* rough estimate of facial rotation based on facial landmarks (from face-api.js) so that I could map it to a cube. \o/
(face-api.js uses machine learning to place facial landmarks)
Discord:
discord.gg/9Qt2GxF
My Projects:
dafluffypotato.com/projects
Patreon:
patreon.com/dafluffypotato
Potato Tier Patrons:
Keill
NingNangNongy
eivl
#python #faceapi #nodejs
I hacked up the example script for face-api.js to forward the data to my Python/Pygame script. Then I did some trig and other math things to get a *very* rough estimate of facial rotation based on facial landmarks (from face-api.js) so that I could map it to a cube. \o/
(face-api.js uses machine learning to place facial landmarks)
Discord:
discord.gg/9Qt2GxF
My Projects:
dafluffypotato.com/projects
Patreon:
patreon.com/dafluffypotato
Potato Tier Patrons:
Keill
NingNangNongy
eivl
#python #faceapi #nodejs