I mapped my face to a cube. (python/pygame/node.js/face-api.js)

Subscribers:
102,000
Published on ● Video Link: https://www.youtube.com/watch?v=tOBOBIaO4VE



Duration: 0:52
6,621 views
320


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:
https://discord.gg/9Qt2GxF

My Projects:
https://dafluffypotato.com/projects

Patreon:
https://www.patreon.com/dafluffypotato

Potato Tier Patrons:
Keill
NingNangNongy
eivl

#python #faceapi #nodejs







Tags:
python
face tracking
facial landmarks
pygame
nodejs
programming
computer science
face api
face-api.js
faceapi.js
computer vision