So I created a model at https://teachablemachine.withgoogle.com/train/image. I generate the model, get the p5.js code, and it all works great. But there’s just one big problem.
I trained all of my data on a cropped video capture feed.
Is there a way to programatically crop the webcam feed in the code so that my input is the same as my training data set (cropped)?
If I can’t crop the feed accurately then it really defeats the whole purpose of this thing. I need the feed going into the analysis model to be cropped as well - not just what i see. I dont wan the model analyzing a giant uncropped feed.