training the model to recognize glasses wearing glasses vs not wearing glasses
model sharable link: https://teachablemachine.withgoogle.com/models/SbbYTuWnK/
(ignore the text under "Teachable Machine". I forgot to edit the index.html)
middle finger
as the middle finger extends the footage becomes colored. when it is closed it is gray.
As you can see on line 39, the distance bwtween the middle finger mcp and middle finger tip is taken.
then on line 50 we apply a filter if a threshold is met
- Create a brief demo with Teachable Machine
- Go to https://teachablemachine.withgoogle.com/
- Follow the instrcutions for an Image Project (standard image model)
- Train a model to recognize something from your webcam
- Export your model, upload it!
- Work off off this base code: https://editor.p5js.org/kongsally/sketches/QlyiZmMNp
- Copy the base code into this web editor for p5.js
- Replace the trained model link in the base code with a link to your trained model.
- Code some kind of visual that reacts to the output of your classifier! See https://p5js.org/reference/ for reference
- Create a program that uses gesture recognition
- Create a pull request against this repo
- push your code and/or a link to a gif or video of your work