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

ARC Pro

Upgrade to ARC Pro

Don't limit your robot's potential – subscribe to ARC Pro and transform it into a dynamic, intelligent machine.

PRO
USA
#1  

Thanks, very good website, more to learn

PRO
USA
#2   — Edited

I see I can do the same thing with ARC cognitive description, vision

PRO
Synthiam
#3  

Thatd be a neat skill control plugin if someone were to make one for this!

PRO
USA
#4  

Oh...My....Gawd......................................!!!!!!

#5   — Edited

Hey guys, I took the time to look at the options at hand when using teachable machine, its quiet easy to use on ARC!! as an example how to drive a servo, you could...

  1. Just build your project, and give you classes names that represent your servo positions and train your model

    User-inserted image

  2. Click on export, click update my cloud model...and copy the p5.js to your clipboard

    User-inserted image

  3. Add a servo and HTTP server to your ARC Project, start the server! Make a new text document from your clipboard and rename it to index.html

  4. Edit the index.html file, find the "// The results are in an array ordered by confidence." part and add in your HTTP server address and the servo to move!

// The results are in an array ordered by confidence.
    // console.log(results[0]);
    label = results[0].label;
    let url = ("http://192.168.178.61/Exec?password=admin&script=Servo(D0,"; + (results[0].label) + ")");
    httpGet(url,"text");
    // Classifiy again!
    classifyVideo();
  1. Use your default browser to run your index.html file!!

Voila!!!:D

PRO
Synthiam
#7  

Whoa that’s super accessible. Give us a demo? I wonder if there’s a way to make a skill control that connects easily

PRO
USA
#8  

Yes please do a demo. This is very exciting. I can think of a million uses for it.