Google Teachable Machine Learning Build No Code AI solution
Key Takeaways
The video demonstrates how to create a machine learning model using Google's Teachable Machine to detect whether someone is touching their face or not, without writing any code. The model is trained using a dataset of images and can be exported in various formats, including TensorFlow Lite and TensorFlow.js.
Full Transcript
welcome to own little coder in this video we are going to see how to create a machine learning model that uses computer vision to detect whether you are touching your face or not so in this time of coronavirus reading so this is a project that was initially initiated by the Kaos founder on Twitter and that tweet has given inspiration to a lot of projects one of the projects that I recently came across is bike race Kumar and his project is based on PI touch and Yolo v3 so in this project we are not going to use any programming but we are going to use the training images that he has collected so thanks krazee Kumar for collecting the training images for us so in this video what we are going to do is we are going to build the machine learning model without even touching a single line of code and that is we are going to do using teachable Machine with Google so Google has some time back created this project that will help you teach a machine and it also gives you the output model in a variety of ways so if you want it to be a tensorflow light for your edge devices you can download it if you want it to be at inflow tensorflow dot JS for a website so you can download it or if you want the normal tensorflow file you can still download it so what we are going to do in this video is we are going to use the teachable machine web interface and we are going to build a machine learning model that will ultimately help us detect if someone is touching their face or not with the picture so this is just going to use a picture but you can do the same thing with the videos just you have to have the respective training dataset so let us get started first and then see what are all Google is asking us so so it's an image project and you can see that you need to have class one images class two images you can use your webcam which is not I'm going to do but in this case we are going to use static images that we have downloaded from internet so once we have two class of images then we can train our model and then we can export our model so let us go ahead and see our images so some of the images that I'm using is downloaded by Chris comer and some is downloaded by me and we just used Google Images for it so first we are going to have a folder of images where it is all about people touching their faces so if you want I can just increase the size yeah so it's all people touching their faces different images and then we have got the other set of images where people are not touching their faces this is quite less but it's okay so this is just for demo and we are going ahead with that but if you want to put the model in production please make sure that you have got enough training dataset and we are going to test it with two images one is where know the person is not touching the face the other one is where the person is touching the face so given that this is our own training in one class and training second class and then their test we are going to get started with our model building activity so let's call the class one face touch let's call the second one node touch and then let us upload the images from you have the ability to upload it from Drive but here we are uploading it from local images so we are going to go to the place where we have got our images the more images face touch select all open then the neck and second classes no touch upload from images go back no touch select everything open so now that we have got down both the classes one is the face touch on a snow touch let's train the model training the model shouldn't take a lot of time in this case I think when I tried it to come few minutes let's see how long it takes in case if you are thinking that if this is just a by classification option you can have multiple classification multiple class for your target variable you just have to add a class so it's it's just asking me if I want to although my webcam something don't do it so I'm just going to use a file and in this case or modular successfully trained we have options to export our model but before they let us see how the model is working so click the image nah we don't want to touch anything from our training so just to let you know that none of the testing images that we are using is from not our training ok so the testing image is completely to random image so let's let's pick this guy without touching the face so it's saying 81% not touching the face so that is good so our machine learning model is working fine so let us try the other image which is the person touching the face and it's saying 100% the images are touching the face so if you want we can go to Google and then try one more image so let's say person not person face and let's let's download this image sorry um this image looks nice so let's let's download this image we have a lot of images image - instead they say demo images just let's pick one person touching face oh which one is better so in this case let's let's - let's take this one save as frustrated man today I am I just just okay okay I didn't know where did I save it so I'm just going to save it again yeah it's there it's there so let's go back to our testing and go to the images that we wanted to select so let's pick this man who doesn't oh it's an invalid image type okay so let's let's just select this man and see what happens man touching face it's it's it 100 was introducing at the - touching the face [Music] man version phase let's let's try to the girl just kiss this one and let's go to a model in the image okay um this this shows how the model is not doing good this game shows why it is very important for you to train your model very well and again you have a lot of hyper parameter tuning available for you say you can increase their learning rate or to speed up the process you can increase their poke you can increase the batch size you can play around with these data in order to it and play around with these parameters in order to change the model building process but I think you get the gist of it the objective of this video is to introduce you teachable machine and then how can you train a machine learning model for computer vision problem especially computer vision problem without touching a single line of code um so once you are done with all of these things um so let's let's let's pick one final image and then see how do you majesty sorry I'm with the same image again oh it's 52% so model is doing decent it's not worse but it is doing decent but yeah it requires a lot of fine-tuning more training data before you and we move to production so this is only for educational purpose so how do we export the model click export the model so you get a bunch of options so there are two ways one you can download your model locally second you can let teachable machine on website to host your model on cloud or in this case you can just refer it online so you have three ways to download your model one assort ends upload or jas second one is tensorflow where you can use it with the typical Python script if you want to do the automation or Raspberry Pi or whatever it is so tensorflow not J's if you are going to host it on a website attention flow light if you want to use it on Android device or any kind of edge device so it gives you a T of light so yeah that's that's the main thing of this video where we picked up some more training images and then we built a model that detects whether someone is touching their face or not so in this time of crisis don't touch your face and maintain social distancing and I hope you stay healthy and also have some fun with machine learning thank you for watching this video see you in the next video
Original Description
Teachable Machine : https://teachablemachine.withgoogle.com/
Inspiration and Training Images: https://github.com/kracekumar/facetouch
Playlist
Uploads from 1littlecoder · 1littlecoder · 7 of 60
1
2
3
4
5
6
▶
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
How to create your Free Data Science Blog on Github with Fastpages from Fastai
1littlecoder
Making Interactive Matplotlib Plots for Data Science Visualizations on Jupyter (Python)
1littlecoder
Create your first Data Science Web App using R Shiny
1littlecoder
How to create a Reproducible Example in R using reprex
1littlecoder
No Code Visualization using esquisse with Tableau-like Drag and Drop GUI in R
1littlecoder
Scrape HTML Table using rvest and Process them for insights using tidyverse in R
1littlecoder
Google Teachable Machine Learning Build No Code AI solution
1littlecoder
Create meaningful fake tidy datasets in R using fakir [#rstats Package]
1littlecoder
How to enable using R Programming with Visual Studio VS Code
1littlecoder
Python, Community, Books - with Abhiram R - Bangpypers Co-organizers | 1littlecoder podcast
1littlecoder
Growing a Tech Community across India - Anubha Maneshwar, Founder Girlscript | 1littlecoder Podcast
1littlecoder
Intro to Google Colab - How to use Colab
1littlecoder
Intro to Plotly Express - Complex Interactive Charts with One-Line of Python Code
1littlecoder
Indic NLP Python Toolkit Open Source Development - iNLTK Creator Gaurav Arora | 1littlecoder Podcast
1littlecoder
Do you want a career in Data Science - Tamil Webinar
1littlecoder
Android Smartphone Analysis in R [Live Coding Screencast]
1littlecoder
Programmatically create Images, Memes, Watermarks using Python with imgmaker
1littlecoder
Kaggle Walkthrough to get you started with Data Science - Webinar
1littlecoder
Community, Corporate Job, Coding - Gnana Lakshmi T C aka Gyan, WomenWhoCode Leadership Fellow
1littlecoder
Easy ggplot2 Theme Customization with {ggeasy} | Data Visualization in R
1littlecoder
Excel to R - Pivot + Bar Chart in Excel & R using tidyverse [Live Coding]
1littlecoder
Excel to R #2 - VLOOKUP in Excel to LEFT_JOIN, MERGE in R
1littlecoder
5 websites to get Free Real-World Datasets for Data Science/ML Projects
1littlecoder
Excel to R #3 - APPROXIMATE VLOOKUP in Excel to FUZZY LEFT_JOIN in R
1littlecoder
Correlation-alternative PPS (Predictive Power Score) Python Package Demo
1littlecoder
Automated Website Screenshots in R using {webshot}
1littlecoder
Installing Custom RStudio Theme (Synthwave85)
1littlecoder
Analyse Google Trends Search Data in R using {gtrendsR}
1littlecoder
3 Tips to ask question on Stack Overflow the right way to get answers
1littlecoder
Learn Data Science with R - Mini Projects - Web Scraping Zomato
1littlecoder
Easily make Dumbbell Chart using {ggcharts} | Data Visualization in R
1littlecoder
GET Hackernews Front Page Results using REST API in R
1littlecoder
Quickly deploy ML WebApps from Google Colab using ngrok
1littlecoder
Use Jupyter Notebooks within VSCode (Visual Studio Code) in 2020
1littlecoder
Plotly Interactive Plots as Pandas Plotting Backend df.plot()
1littlecoder
Stack Overflow Developer Survey 2020 Highlights for New Programmers
1littlecoder
Matplotlib Animation Charts in Python using Celluloid
1littlecoder
Coding, Postwoman, Passion Project Book - Liyas Thomas Open Source Developer - 1littlecoder podcast
1littlecoder
Aspiring Data Scientist, Tips on How to learn Business Domain Knowledge
1littlecoder
Bokeh Interactive Charts as Pandas Plotting Backend df.plot_bokeh()
1littlecoder
Easy Fast Python Pandas Summary with Sidetable | Pandas Tips & Tricks
1littlecoder
Inception, Content Ideas, Consistency - Srivatsan Srinivasan AIEngineering YouTube Content Creator
1littlecoder
ggplot2 Text Customization with ggtext | Data Visualization in R
1littlecoder
Penguins Dataset Overview - iris alternative | EDA Data Visualization in R
1littlecoder
YouTube Growth Tips, Content Creation - Bhavesh Bhatt, YouTuber (Data Science & Machine Learning) #7
1littlecoder
Matplotlib Animated Bar Chart Race in Python | Data Visualization
1littlecoder
Simple Python GUI Development using {guietta}
1littlecoder
#8 Niche, Growth, Monetization - David Langer - YouTuber Dave on Data
1littlecoder
Simple Fast 3-step Python OCR using Deep Learning 40+ Languages
1littlecoder
Github New Feature Profile Summary/Mini-Resume - Profile Views
1littlecoder
Otto ML Assistant, GPT-3 on Philosophers, Nvidia-ARM - 3 ML Tech News
1littlecoder
What is OpenAI GPT-3 - Hype, Examples, Worries
1littlecoder
Julia 1.5, Datamuse API, Live HDR+ Pixel 4a - Machine Learning Tech News
1littlecoder
Self-driving Car Engineer sentenced, arXiv Dataset, AI/ML Startup Idea - Machine Learning Tech News
1littlecoder
GPT-3 Explorer, Ciphey (Automated Decryption), Py-Sudoku - ML Tech News
1littlecoder
How to use Advanced Google Search to extract Email Ids from Linkedin
1littlecoder
Cartoonizer Toon-IT (AI Web App), GPT-3 Advice, Android Earthquake Detection - ML Tech News
1littlecoder
Flow - R Package to visualize code logic, functions as a Flow Diagram
1littlecoder
Build GPT-3-like Language Model on Google Colab with minGPT [PyTorch]
1littlecoder
Create a Pencil Sketch Portrait with Python OpenCV
1littlecoder
More on: CV Basics
View skill →Related Reads
🎓
Tutor Explanation
DeepCamp AI