Skip to content

Real Time AI Face Landmark Detection w/ React.js and Tensorflow

Notifications You must be signed in to change notification settings

SaboyaDev/ai-facemesh-tensorflow-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Time AI Face Landmark Detection

w/ React.js and Tensorflow.js

IMG_31EA7EAEC51E-1

Steps:

  • Install dependencies
  • Import dependencies
  • Setup Webcam and canvas
  • Define references to the webcam and canvas
  • Load Facemesh
  • Detect function
  • Drawing utilities
  • Load triangulation
  • Setup triangle path
  • Setup point drawing
  • Add drawMesh to detect function

Dependencies:

  • @tensorflow/tfjs
  • @tensorflow-models/face-landmarks-detection
  • react-webcam
npm i @tensorflow/tfjs
npm i @tensorflow-models/face-landmarks-detection
npm i react-webcam

Run:

npm run start

About

Real Time AI Face Landmark Detection w/ React.js and Tensorflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published