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

Опубликовано: 17 Февраль 2021
на канале: DaFluffyPotato
6,989
324

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  

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

Patreon:
  / dafluffypotato  

Potato Tier Patrons:
Keill
NingNangNongy
eivl

#python #faceapi #nodejs