No-Code AI for Computer Vision Guide
No-Code AI for Computer Vision Guide
From this moment you will explore techniques and methods related
to Computer Vision.
3
You will be able to answer the
following:
1. How to map the steps of the AI Project Cycle in No-Code
Computer Vision solutions?
4
Module Sections
1. No Code vs Code AI
7
Let’s Begin with Problem Scoping
Problem Data
Evaluation
Scoping Exploration
Data
Modeling Deploymen
Acquisition
t
8
No-code vs Code: Problem Statement
Problem Statement:
9
Fisher, R. A. (1988, July 1). UCI Machine Learning Repository: Iris Data Set. UCI. [Link]
No-code vs Code: Problem Statement
The attributes used in
this dataset :
1. sepal length
2. sepal width
3. petal length
4. petal width
10
Eckroth, J. (2018, December 24). Python Artificial Intelligence Projects for Beginners. O’Reilly Online Learning. [Link]
No-code vs Code: Problem Statement
These are the three species discussed in this dataset of an Iris
Flower
11
Wikipedia contributors. (2022a, June 10). Iris (plant). Wikipedia. [Link]
Let’s use Orange Data Mining a no-code tool!
12
Data Acquisition
Problem Data
Evaluation
Scoping Exploration
Data
Modeling Deploymen
Acquisition
t
13
No-code vs Code: Data Acquisition
Initially, let us import and load the Iris data set with code and No-
code tools
Problem Data
Evaluation
Scoping Exploration
Data Deployment
Acquisition Modeling
16
No-code vs Code: Data Exploration
We are exploring the data by finding the descriptive statistics of the Iris dataset
such as mean, minimum value, maximum value, standard deviation
18
mathsteacher. (n.d.). Mean, Median and Mode. Retrieved June 22, 2022, from [Link]
Let’s recap Standard Deviation
Std is the
standard
deviation that
measures the
dispersion or
the spread of
the data about
the mean
value.
19
Brainkart. (n.d.). Calculation of Standard Deviation. Retrieved June 22, 2022, from [Link]
Modeling
Problem Data
Evaluation
Scoping Exploration
Data
Acquisition Modeling Deployment
20
No-code vs Code: Modeling
For modeling the Iris dataset, we use Logistic Regression, a classification method
21
No-code vs Code: Modeling
For modeling the Iris dataset, we use Logistic Regression, a classification method
22
Evaluation
Problem Data
Evaluation
Scoping Exploration
Data
Modeling Deployment
Acquisition
23
No-code vs Code: Evaluation
We can evaluate the results by calculating classification metrics such as accuracy
24
No-code vs Code: Evaluation
We can evaluate the results by calculating classification metrics such as accuracy
26
Low-code and No-code Platforms
28
1. The steps in the AI Project Cycle are as follows. State whether it is true or false.
[Link] Exploration
[Link] Acquisition
29
[Link]
[Link] Statement
True OR False
29
1. The steps in the AI Project Cycle are as follows. State whether it is true or false.
[Link] Exploration
[Link] Acquisition
[Link] 30
[Link] Statement
True OR False
30
2. The mean of the following numbers is:
• 6, 10, 12, 19 Choose the answer.
11.75
31 12.75
11.25 12.25
31
2. The mean of the following numbers is:
• 6, 10, 12, 19 Choose the answer.
32
11.75 12.75
11.25 12.25
32
2. No-Code tools
for Computer
Vision
Let’s begin to learn the tools with an introduction
to Computer Vision
34
Introduction to Computer Vision
Computer vision, one
of the domains of AI
trains and enables
computers to
understand the visual
world
S. (2021i, October 12). What Is Computer Vision : Overview, Applications, Benefits and How to Learn It. [Link]. [Link]
Why do we use No-code in Computer Vision?
Reason 1: Orange Data Mining
Tool
It solves problems without writing a
single line of code, hence makes it
easier to use
Reason 2:
It has an easy-to-use interface
Reason 3:
The drag-and-drop options allow
the users to visualize the procedure
easily
No-code tools for Computer Vision
37
No-code tools for CV: Lobe
38
Microsoft. (n.d.). Lobe | Machine Learning Made Easy. Retrieved June 22, 2022, from [Link]
Applications of Lobe
39
Microsoft. (n.d.). Lobe | Machine Learning Made Easy. Retrieved June 22, 2022, from [Link]
We will be learning more
about Lobe later in this session
40
No-code tools for CV: Teachable
Machine
Teachable machine is
a web-based tool
41
Google. (n.d.). Teachable Machine. Teachable Machine. Retrieved June 22, 2022, from [Link]
Applications of Teachable Machine
It allows training of a
model based on different
images, audio, or poses
given as input through a
webcam or pictures
42
Google. (n.d.). Teachable Machine. Teachable Machine. Retrieved June 22, 2022, from [Link]
We will be learning more about
Teachable Machine in the further sections
43
No-code tools for CV: Nanonets
44
NanoNets. (n.d.). NanoNets - Wiki. Golden. Retrieved June 22, 2022, from [Link]
Knowledge Check!
45
Which is the No-code tool for Computer Vision that has a text
recognition application?
OR
Lobe Nanonets
46
Which is the No-code tool for Computer Vision that has a text
recognition application?
Lobe OR Nanonets
47
3. Lobe No-code
tool
implementation
Let’s understand one No-code AI tool:
Lobe
49
Introduction to Lobe
• [Link] is an Automl tool,
which means that it is a no-
code AI tool
Label data
51
Stepwise working of Lobe : Training
Model
Label data
Training the
model
52
Stepwise working of Lobe : Deploying Model
Label data
Training the
model
Deploying
the model
Go to the website :
[Link]
/
54
Step 1: Installing Lobe
Initially, we need
to click on
Download to
download the
software
55
Step 1: Installing Lobe
56
Step 2: Working of Lobe
After downloading
the Lobe software
with the extension
file (.exe), the
Lobe appears in
this manner
57
Step 3: Labelling the Data
58
Let’s get started with a hands-on activity
using the Lobe AI Tool for finger counting
59
Step 3: Labelling the Data
On clicking the Import icon,
the formats of image inputs
are displayed
60
Step 3: Labelling the Data
Select the
Camera Icon
for taking an
image of the
data
61
Step 3: Labelling the Data
Label 1: three fingers images
62
Step 3: Labelling the Data
Label 1: three fingers images The number of images is observed on
the screen after recording i.e., 10
images of 3 fingers
63
Step 3: Labelling the Data
Label 2: five fingers images
64
Step 3: Labelling the Data
Label 2: five fingers images
65
Step 4: Training the Data
The green color train box indicates that
training of the model is completed
66
Step 4: Training the Data
The predicted
results are
indicated here
67
Step 5: Deploying the Model
68
Step 5: Deploying the Model
69
Step 5: Deploying the Model
Click on the Export icon to
share your model
70
Knowledge Check!
71
1. From the image below, click on the download option, we have a .exe file to
download. True or False?
72
OR
True False
72
1. From the image below, click on the download option, we have a .exe file to
download. True or False?
73
True OR False
73
2. In Lobe, “Use”, is used during labeling the data. State whether it is
true or false.
OR
True False
74
2. In Lobe, “Use”, is used during labeling the data. State whether it is
true or false.
True OR False
75
Activity: Perform a new Lobe Project
_Divide in teams
_Perform a Lobe Project by choosing a scope
_Some examples: Train the model to distinguish
between healthy and ruined leaves; train the
model to distinguish flowers from leaves
76
4. Teachable
Machine No- code
tool
implementation
Introduction to Teachable Machine
• Teachable Machine is an AI,
Machine Learning, and Deep
Learning tool developed by Google
in 2017
• It runs on top of
[Link] which was also
developed by the same company
[Link]: It is a JavaScript library for training and deploying machine learning models in
the browser and in [Link]
78
Introduction to Teachable Machine
What can we classify in a teachable machine?
80
Introduction to Teachable Machine
What are the requirements to get started working on a teachable
machine?
81
Stepwise working of Teachable Machine: Gathering
Data
Gathering
Data
82
Stepwise working of Teachable Machine: Training
Model
Gathering
Data
Training the
Model
83
Stepwise working of Teachable Machine: Deploying
Model
Gathering
Data
Training the
Model
84
Let’s get started with a Teachable Machine
85
Step 0: Getting started with the
website
Go to the website :
[Link]
[Link]/
86
Step 1: Working of Teachable Machine
87
Step 1: Working of Teachable Machine
Shows a New
Project to
begin
88
Step 1: Working of Teachable Machine
1. We can open an
already existing project
from Drive
89
Step 1: Working of Teachable Machine
90
Let’s get started with a hands-on-activity
with the Teachable Machine to classify
objects using an Image Project
91
Step 2: Working with Image Project
Click on the
image project
92
Step 3: Selecting an Image Project
94
Let’s classify using an example of teddy
bear and tiger toys
95
Step 4: Providing Image Inputs to the Model
Rename Classes
with the example
of objects chosen
to be classified
e.g. Class1-toy
Class2-banana
and so on
96
Step 4: Providing Image Inputs to the Model
Rename Classes
with the objects
Class1-teddybear
Class2-tiger
97
Step 4: Providing Image Inputs to the Model
98
Step 4: Providing Image Inputs to the Model
Class 1: Teddy bear images
Click on the upload option
to upload a file of image
Similarly,
take
images of
a teddy
bear
In this project, the number of images taken, ’n’=26 (i.e., 26 teddybear images, 26 tiger images)
101
Step 5: Training the Model
102
Step 5: Training the Model
103
Step 6: Deploying the Model
105
Step 6: Deploying the Model
106
Step 6: Deploying the Model
File Description
[Link] It is a JavaScript library for training and deploying machine
learning models in the browser and [Link]
107
Step 6: Deploying the Model
Sharable link
108
You can now share this link with your friends
and family if they want to classify teddy
bears and tiger!
109
Let’s look at the procedure for Pose Project
using a doll with positions of being steady
and dancing
110
Step 2: Working with Pose Project
Rename the
Classes with
the poses you
have chosen
111
Step 3: Providing poses to the Model
Rename the classes to
pose 1- steady
pose 2-dance
Step 3: Providing poses to the Model
Class 1: Steady Pose
113
Step 3: Providing poses to the Model
Class 2: Dancing Pose
114
Step 4: Training the Model
The model is getting trained
115
Step 5: Deploying the Model
116
Step 5: Deploying the Model
117
Step 5: Deploying the Model
Export your
model using a
sharable link
118
You can now share this link with your friends
and family if they want to classify dancing
and standing poses!
119
Knowledge Check!
120
1. The image shown below is an input for which type of project in a
teachable machine.
121
OR
Audio Project Image Project
121
1. The image shown below is an input for which type of project in a
teachable machine.
122
OR
Audio Project Image Project
122
2. In a teachable machine, we can export our model using a sharable
link. True or False?
123
OR
True False
123
2. In a teachable machine, we can export our model using a sharable
link. True or False?
124
OR
True False
124
Quiz time
Let’s Kahoot!
Time to take a short and simple,
fun quiz to see how much have
we learnt!
Let’s go!
Discussions
1. List the ethical issues that may be faced while using this tool?
2. Can you list at least two advantages of Teachable Machine over
the Lobe AI tool?
126
Key Takeaways
Difference between No-code and Code AI tools
127
Reflection
• Do you think these No-code tools are ethical to use?
• Which tool is easier to use the Teachable Machine or Lobe tools?
128
Bibliography
P. (2022b, March 3). AI Platforms with Low-Code and No Code. Build Digital Product Faster, Smarter and Scalable.
[Link]
Walther, C. (2021b, April 5). What Is OCR? AiThority.
[Link]
nce%20(AI)%20to%20use
Intelligent document processing with AI | Nanonets. (n.d.-c). Nanonets. Retrieved June 22, 2022, from
[Link]
How optical character recognition works. (n.d.). Konicaminolta. Retrieved August 2, 2022, from
[Link]
Get Started | [Link]. (n.d.-c). TensorFlow. Retrieved June 22, 2022, from [Link]
Sharma, S. (2021c, December 16). What is teachable machine | TEK Society. Medium.
[Link] teachable-machine-a4550bfd3af1
[Link] | Take Online Courses. Earn College Credit. Research Schools, Degrees & Careers. (n.d.-c). [Link].
Retrieved June 22, 2022, from [Link]
Tips and Tricks you should know while coding your own Machine Learning Model. (2021b, December 14). Medium.
[Link]
1a83e
Some Thoughts on Deploying Machine Learning Models | DataMiningApps. (2019b, October 2). Datamining.
[Link]
Flaticon. (2022, June 17). Webcam Icon - 214713. [Link]
A. (n.d.). Stereo Headset with Microphone - Adesso Inc ::: Your Input Device Specialist ::: Adesso Inc. Retrieved June 22,
2022, from [Link]
129
Bibliography
DCSIL. (n.d.-c). TensorFlow vs [Link] | What are the differences? StackShare. Retrieved June 22, 2022, from
[Link]
s%20and%203%20developer%20stacks
.
TensorFlow Lite | ML for Mobile and Edge Devices. (n.d.-c). TensorFlow. Retrieved June 22, 2022, from
[Link]
Microsoft. (n.d.). Lobe | Machine Learning Made Easy. Retrieved June 22, 2022, from [Link]
Google. (n.d.). Teachable Machine. Teachable Machine. Retrieved June 22, 2022, from
[Link]
Attention Required! | Cloudflare. (n.d.). Pixabay. Retrieved June 22, 2022, from
[Link]
Mehrotra, R. (2022, March 21). Sound check: In an age of strong visual mediums, audio is making a strong
comeback. Financial Express. [Link]
Upham, B., & Laube, J., MD. (2020, July 6). All About Yoga: Poses, Types, Benefits, and More. [Link].
[Link]
Verma, N. (2020, September 29). What is No-Code Development? Orgzit Blog.
[Link]
Google. (n.d.-b). Teachable Machine. Teachable Machine. Retrieved June 22, 2022, from
[Link]
Computer World. (n.d.-b). [Link]. Retrieved June 22, 2022, from
[Link]
130