Pre-trained Models with ml5.js

In the above examples we used ml5.js straight out of the box. Within ml5.js there a re number of very useful pre-trained models which you make use of.

Module 10: faceMesh

This uses an ml5.js built in feature, a pertained model that creates 468 data points of your face from your webcam image. it is called faceMesh. you can access any of the data points to use in any creative way you want. In this tutorial we will draw a bounding box round the mouth.

Module 11: handPose

HandPose is part of the ml5.js library and it is a pertained model that can identify the keypoints on your hands. We can use these data points to identify parts of individual fingers to control the size and position of a circle

Module 12: bodyPose

bodyPose is part of the ml5.js library and it is a pertained model that can identify the keypoints of your whole body. We can use those data points to animate

Module 13: soundClassification

This uses the pretrained soundClassification which works with 18 words. We test how good it is and then attempt to move a circle around the canvas with our voice