
Mickey666Maus

Experiments With Google Just Launched Teachable Machine 2.0
Go over to their website to check the new features!!
https://teachablemachine.withgoogle.com/
Teachable Machine is a web-based tool that makes creating machine learning models fast, easy, and accessible to everyone.
You can now export code to use it offline...
Or connect an Arduino to drive your robot directly by using a web app!!
So there are a lot of options...
https://experiments.withgoogle.com/tiny-sorter/view
The above sketch runs an the Arduino Leonardo, which is supported hardware on the Synthiam platform!!
So who will be first to do some ARC integration for this?
https://teachablemachine.withgoogle.com/train/image?network=true
I wanted to get my Raspberry Pi camera or the EZBPi cameras stream to be available to train classes in teachable machine!
But the example provided did not work well on my Raspberry Pi Zero!
https://gist.github.com/HalfdanJ/32b7891aff8017a27dd36ba1f3b12130
And I could not make up my own code from what the guys, that made the Teachable Sorter had come up with!!
https://github.com/google-coral/project-teachable-sorter/blob/master/Sorter/sorter.py
Also there would be the next problem of getting the Raspberry Pi camera or the EZBPi cameras stream to work with the Javascript or p5.js examples from Teachable Machine!
So it might be the easiest thing to just use a webcam for now, and have it all plug and play...the way the want us to use it!
darn Linux!
So the EZB-Camera might not work, but ARC works with the standard webcam, so there is still a lot to explore...
And a skill control could be a fun feature!!
I did not have the time to really play with it, just wanted to share the site!!
https://runwayml.com/
https://www.youtube.com/watch?v=kwcillcWOg0
@3603d I will take a look!!
You can also open a new question thread here on the forum, to keep things organised!
In general you can send these RGB values or the slider values to ARC the same way as in the example above!!
The boards I own, do not work...I tried and had no luck!!
The way I used the above code, is to send those values to the ARCs native Http Server!
So if you want to build the Tiny Sorter, I would advise you to buy the Arduino Leonardo and follow the steps provided on their page!
If you want to send values from your own Teachable Machine project to ARC to eg drive a servo, you can use the example above...
If you want to send values from your own Teachable Machine project to an Arduino Leonard via serial, I cannot help because I do not have the hardware to test if this works...but maybe someone in the Forum with an Arduino Leonard could help?
On my last question, I managed to connect the slider to the servo, changing the firmware of the Leonardo and p5.js. code, moving the slider I controlled the servo. But to align, connect, send the results p5.js "Teachable Machine" instead of the sliders I could not (((
You want to send values from your own Teachable Machine project to drive a servo?
If yes, upload this Firmware to your Arduino Leonardo...
https://synthiam.com/GettingStarted/Build-Robots/Arduino-Leonardo-18257
Then follow the steps above, and everything should work!!
I hope he will be happy about some kudos!!
I am super active at the forum because I am excited to learn, so many things to explore and test.
be well
This is showing how Pose Estimation can be used to drive a robot with Teachable machine!