In this code example I created a background mood changer using the ml5 feature extractor. The end user will train the pretrained model to detect if he/she is smiling or frowning, and based on their facial expression, the background will change to either rain or sunshine.
I wanted to dive deeper into ml5.js. After exploring the ml5.js website I thought it would be fun to build the poseNet pre-trained model to draw features on my face. This is how I used the ml5.js, poseNet and p5.js to turn myself into a cat.
In this project, I use ml5.js, which has pre-trained models to create an image classifier. Upload your image and the pre-trained MobileNet will classify it for you and give you a confidence level.