Simple demonstration of using face-api.js to track the face from a MediaStream and draw only the face in a Canvas.
Try it here: https://agonhyseni.github.io/face-tracker/
Use the package manager npm to install http-server globaly which is a simple, zero-configuration command-line http server.
npm i -g http-server
Go to the project directory and run http-server to start the server and you will get something like this:
C:\Users\Agon\repos\face-tracker>http-server
Starting up http-server, serving ./
Available on:
http://192.168.56.1:8080
http://192.168.0.156:8080
http://127.0.0.1:8080
Hit CTRL-C to stop the server
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.