Teachable Machine

Form 2 - DAT

2024-2025

Floor 4 - Computer Room

Mr. Peter, Mr Louis

Outline

Outline

What is Artificial intelligence

1

Examples of Artificial intelligence

2

3

How to train a neural network?

4

Train your personal neural network: Teachable machine

5

What are deep learning and neural network?

Develop an object detection application using Microbit.

5

What is Artificial Intelligence?

In a tranditional way, it is created by program.

But now, it is created by simulating the neural network of humans in a mathematic way!

Examples of modern Artificial intelligence

Siri

Google assistant

Tesla model 3 - Autopilot system

Facial recognition in iPhone

What are deep learning and neural network

Neural network in our brain

How neural network in machine

How to train a neural network?

Input

Massive of dog images and non-dog images for training

Output

Dog

Non-dog

Train your personal neural network: Teachable machine

Train your personal neural network: Teachable machine

Train your personal neural network

Let the machine to classify You & Box

Train your personal neural network: Teachable machine

Click Export Model button

Click Upload my model

Train your personal neural network: Teachable machine

Click Export Model button

Click Upload my model

Train your personal neural network: Teachable machine

Copy your sharable link and save it in a notepad!!!

Develop an object detection application using Microbit

Let the Microbit show different icons if the camera recognize differnt objects.

1

Train a model using Teachable Machine

2

Upload the model and copy the sharable link

3

Connect your Microbit and write code to it. Show different icons based on receiving different signals.

4

Go to the following website for communication between your Microbit and computer.

Develop an object detection application using Microbit

Flowchart for detecting objects and showing icons in Microbit

1

No icon shows if no message received

2

Computer send message to the Microbit once it detected object.

Sending "1" message

Develop an object detection application using Microbit

Flowchart for detecting objects and showing icons in Microbit

3

Microbit show icon depends on the received signal

Sent "1" message

4

Microbit show different icon depends on different signal sent by computer

Sent "2" message

Let's code in Microbit

Develop an object detection application using Microbit

Setup communication between Microbit and Computer

Check if the signal sent by computer

Develop an object detection application using Microbit

1

Go to the following website for communication between your Microbit and computer.

2

Connect the Microbit & connect the webcam

Develop an object detection application using Microbit

3

Connected both devices and click the Next button

Develop an object detection application using Microbit

4

Paste the sharable link of your trained model

5

Use the default parameters to detect objects and communication between Microbit & Computer

Click the "start prediction" button to start your application, check whether your Microbit is showing icon under different message sent by computer.

6