Choose any model available in Transformers.js and create a p5.js sketch using it. Try any transformer.sj compatible model! Some things you might look for are:
I used https://editor.p5js.org/ima_ml/sketches/LtppKXu-W
I changed the photo to a Halloween dog. Let's see if it can be detected.


https://editor.p5js.org/yh4069/sketches/TaFkCiQ6m

It seems that the object detection is not very accurate. Although the model recognized the dog in the image, the bounding box is not perfectly aligned with the dog's body. This might be due to factors such as the lighting conditions, the dog's costume, or the model's limitations in detecting specific features. I'm curious to see if using a different image would yield better results.
Compare and Contrast:
ml5.js is particularly well-suited for individuals seeking an accessible introduction to machine learning within creative coding. In contrast, Transformers.js ****caters to users who require advanced models and sophisticated capabilities, though it does come with a steeper learning curve.