This is a simple machine learning project to learn the basics of tensorflow.js, ml5.js, p5.js and how to combine them to make predictions based on a trained model.
The model is trained with Google Teacheable Machine using a selection of a larger dataset with:
- 256 images of portraits of people with masks
- 256 portraits of people without masks
you can check the online demo on my website
Project is created with:
- HTML
- CSS
- JavaScript
- tensorflow.js
- ml5.js
- p5.js
You just need to run a localhost server in the root directory of the project.
It can be done using python:
python3 -m http.server
Then a localhost server will be run at localhost:8000 in your browser.
Will provide images and examples asap.