# Machine Learning 5 Image Classification

Images can be classified using ML5’s built-in model.

### Loading the extension for Machine Learning 5

Open up the extension page.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/add.png)

Select Machine Learning 5.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml5.png)

New programming blocks will be added.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml6.png)

If your computer has a low specification(e.g. lacks a discrete GPU), its performance maybe enhanced by using CPU mode.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml14.png)

### Classifying Images

Upload the pictures onto Kittenblock.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml7.png)

Hide the pictures.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml8.png)

Start programming the main character.

MobileNet has better performance but needs an internet connection, MobileNetLocal does not need an internet connection but it is not as powerful.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml9.png)

Unhide the picture you wish to classify.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml10.png)

Example 1: Recognizing pictures

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml11.png)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml12.png)

MobileNet is only able to recognize objects that are commonly seen.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml13.png)

### References

```
https://www.hellotech.com/blog/whats-a-gpu-what-gpu-do-you-have

By Prathyush Thomas - Own work, GFDL 1.2, https://commons.wikimedia.org/w/index.php?curid=37417848

By User:Magicwolf - https://i.imgur.com/jn0fLtw.jpg, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=5110106

By Psihopat - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=12724979
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub-eng.kittenbot.hk/programming-platforms/kittenblock/kittenblock-functions-and-features/kittenbot-extensions/machine-learning/machine-learning-5-image-classification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
