Introducing Teachable Machine 2.0 (from Google Creative Lab)! Train a computer to recognize your own images, sounds, & poses. In this video, I demonstrate how to control an interaction with an image classification machine learning model to play the snake game.
💻 Teachable Machine Pt2:
🎥Part 1:
🎥Part 3:
Links discussed in this video:
🔗Teachable Machine:
🔗Coding Challenge #115: Snake Game
🔗Snake Game Redux Video:
🔗Snake Game Redux Web:
🔗 Tensorflow.js:
🔗 ml5.js:
🚂Website:
💡Github:
💖Membership:
🛒Store:
📚Books:
🖋️Twitter:
Video Editing by Mathieu Blanchette.
🎥Coding Challenges:
🎥Intro to Programming:
🔗 p5.js:
🔗 Processing:
📄 Code of Conduct:
🌐Help us caption and translate:
🚩Suggest Topics:
👾Share your contribution:
Nguồn: https://unknownsiberia.com/
Xem thêm bài viết khác: https://unknownsiberia.com/game/
I tried running the same but on Glitch. It doesn't seem to work?
hi.. pl check out out what i made using it.. https://www.youtube.com/watch?v=JivX3tl6OEY
Dan, thanks for the amaazzzing video! When I tried to train the model on Teachable Machine using "Posture", it seems p5.js is not supporting. Is it true?
Question: When I add my own model, it reads my input just fine, but the snake doesn't move. I've changed literally nothing but the model link. Am I doing something wrong?
you can make it by pose project
Cool but why did you flip the video instead of changing the output.
Thats really taking performance in the long run
Bro, your actually making the world a better place. We need more of you. Your way better than even Khan Academy. Please start teaching other subjects. Mad respects!!!
))) the best tutorial
what programm is he using for coding?
How can we access predictions generated in p5.js from java or processing? Thanks in advance.
Dan you are a legend.
It has been a pleasure watching your videos evolve over the years.
Hugely valuable learning resource from someone who cares a bit more about aesthetics.
THANK YOU and Cheers!
You are tiger 🐅 of programming…. your all videos are great 👍
brilliant and creative demo. very impressive for me.
What is name of the app that he wrote this code ?
Share it in description
Can u give the code of ur snake game please
Hello shifftman. I challenge you to replicate the marangoni effect in JavaScript
Cool
that's really cool sir! but how to feed in an IP camera wirelessly
for what i understand in the code,
the classifyVideo() calls gotResults(), witch in turn calls classifyVideo() , making a infinite recursion.
If this script was in python, it would break because it would research the recursion depth limit. Why in javascript works? i mean every ocurrance of a function ocupates a space in the memory and the code is adding more and more of that, never ending one ocurrance, sometime this would full the stack.
Thank you so much for so many great videos
I love your teaching.
Can someone please explain to me this concept :
For example:
say we have a PVector with a location embedded into, let's call it position, this position (vector) belongs to a different class within a another class
say we have a class object, denoted by Class
class b {
PVector position;
Class a = new Class(position);
And,
Class a = new Class(new PVector(position.x,position.y);
}
How come, when I run the first one, the orginal object (b) get's affected by what happens to class (a) but when I run the second one this case doesn't happen
I thought left = rights and right doesn't matter
Sorry if I am dumb.
Thank you Mister,
You are an amazing one who each time gave me tons of ideas, thank you for that and the rest.
Best regards
Is there a way to get the Teachable Machine to convert poses into keystrokes and mouse clicks? It would be awesome to control my favorite PC video games with gestures.
Oh boy that was just the greatest thing one could ever teach on youtube. Thanks
Awesome 🙂
Awesome 😍
It would be really good to see you do a little project in Rust, teaching as you learn. Its learning curve is tough and current video intros are either too shallow or too dry. Your personality and style would be a great help!
Amazing! Don't stop ))
Dan is an amazing man
He is the man with a plan
I am his biggest fan
I am proud to be in your clan
– Made using (genetic algorithm)
Can you update the website i can't wait to submit my own project 🙂
How about a version that trains model using image of snake game video state so it can play itself based on relative location to food?
Thanks for the great lessons!
I think tensorflow.js had a demo where you can control pacman with trained images. Nice tutorial 🙂
Cool! I am making a snake game in blizard.js and blizard.canvas.js (well i am the creator of them both)
Teachable Machine: "My left is your right. Isn't that confusing?"