# BaiduAI

BaiduAI is an AI service by Baidu, some of its features can be accessed from Kittenblock so everyone can try out their functions without much hassle.

### Loading the extension for Baidu AI

Open up the extension page.

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

Select BaiduAI.

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

New programming blocks will be added.

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

### Using BaiduAI

There are serveral functions in BaiduAI.

#### Creating Literature

Literature such as poems and couplets can be generated.

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

Example 1: Creating a couplet.

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

Example 2: Creating a poem.

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

#### Text to speech

BaiduAI can also read out texts.

Example 1: Reading out Chinese.

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

Example 2: Reading out English.

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

#### Voice Recognition

BaiduAI can understand speech.

Currently BaiduAI can understand Putonghua.

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

#### Object Recognition

BaiduAI is able to recognize different objects in multiple categories.

Upload some pictures to be recognized.

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

Hide the pictures on canvas.

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

Select the category an unhide the picture.

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

Example 1: Recognizing foods.

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

Example 2: Recognizing cars.

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

Example 3: Recognizing animals.

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

#### Optical Character Recognition

BaiduAI is able to read Chinese and English characters.

```
The Video Sensing extension is used here.
```

Example 1: Recognizing Chinese characters.

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

Example 2: Recognizing English characters.

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

#### Smart Talk

BaiduAI has the ability to chat with you.

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

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

### References

```
By Damian Morys from New York City, United States - Aventador., CC BY 2.0, https://commons.wikimedia.org/w/index.php?curid=41292267

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

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
```


---

# 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/artificial-intelligence/baiduai.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.
