Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.
Get Started

Asked
Resolved Resolved by EzAng!

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?:)


Related Hardware Arduino Leonardo
AI Support Bot
Related Content
Synthiam
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
#10  
So I wasted a bunch of time trying to get Teachable Machine working with a Network camera...you can open the site with ?network=true to make those controls available!
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!:)
Synthiam
#11  
That’s the largest challenge with raspberry pi. There’s little to no standard for accessing hardware peripherals. Makes it difficult to support... almost impossible because everything has to be specifically tailored for the project. 

darn Linux!
#12  
Also since you will have to flag ?network=true manually, and it is not officially supported by the site, there is no information on supported formats, size ratio, fps etc...plus it only works on localhost, so you will have to ssh tunnel into your device!

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!!:)
Russia
#13  
Respected Mickey666Maus ! Could you share the files of the ARC project? I can’t deal with servo classes and arrays.
#14  
I made a step by step tutorial on how to do this...I hope this helps!!:)

#15  
Also there is another website which is nice to check out, if you are interested in using machine learning to control your robots..
I did not have the time to really play with it, just wanted to share the site!!:)

https://runwayml.com/
#16  
Clever boy! Thanks for the demo. I am totally enamored with the possibilities of this.
Russia
#17  
Thank you very much !!!
#20   — Edited
@dhewlett I love The Coding Train, he also has a series on Runwayml!!

@3603d I will take a look!!
#21  
@3603d To see if I can help I need to know, which device you are planning to connect...and please show me where you found that code so I can access further information on what you are trying to accomplish!! A detailed description of your idea would also help!
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!!
Russia
#22  
And I very much apologize for my "8 we write, 2 in the mind", that is, for incomplete thoughts! I want to connect a servo drive to arduino instead of the LEDs in this sketch and connect it directly with p5.js TM that you used.
#24  
@3603d I am sorry to say that I might not be able to help here, I do not own the Arduino Leonardo which is required to connect, when using this setup!
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?:)
Russia
#25  
I really appreciate your attention to my questions! You helped me take the first step, make friends an arduino and teachable machine with a servo drive. (After 2 of your video tutorial, I focused on the renamed Class 1, Class 2 in degrees of rotation, but I still couldn’t get it because of the Chrome cache, I disabled it in the developer’s tools and everything worked out !!! as always a grain, a trifle, the last mile ...)
     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 (((
#27  
Hey, since I was remembered to close this...I just gave credits to EZang60, because he is super active at the forum!!
I hope he will be happy about some kudos!!:)
#28  
Hi, all great information here, thanks for all

I am super active at the forum because I am excited to learn, so many things to explore and test.

be well
#29  


This is showing how Pose Estimation can be used to drive a robot with Teachable machine!:)