人工智慧應用體驗與認識

陳信嘉

shinjia168@gmail.com

LINE ID: shinjia168

網頁上體驗 AI 應用

貝多芬《第十號交響曲》

上課前的準備

  • 電腦瀏覽器 (Chrome)

  • Webcam 攝影機

  • 耳機或喇叭

  • -------------------------------

  • 挪出桌面空間,直接進網址進行體驗

在網頁上體驗 AI 應用

繪圖

Quick Draw

限時塗鴉

一種讓您挑戰畫某物的遊戲

例如 一個甜甜圈,讓神經網路猜測你在畫什麼

繪圖

網頁右下角可以選擇語言

大量的塗鴉資料集

使用資料集的相關專案

AutoDraw

自動繪圖

人人都能快速畫圖

只要簡單的幾筆,AI 能找出類似的圖案

繪圖

AutoDraw

Draw Together

Draw Together with a Neural Network

只要簡單幾筆,其餘交給 AI

 

繪圖

Pix2Pix

手繪圖產生圖像照片

你畫一隻貓,模型會為你生成照片

但很可能是一隻令人毛骨悚然的貓

繪圖

Handwriting generate

手寫文字生成

利用 RNN 神經網路

讓電腦自動生成一段文字的手寫文字

繪圖生成

網站有問題

文字

Semantris

語義接近詞比對

根據電腦給的詞,自由輸入一個 "相關" 的詞

可以玩遊戲,也可以練英文

文字遊戲

根據上方的詞

輸入相關的詞句

How does it work? Be wary of loading this one up unless you’ve got a bit of time to spare today, because it can be particularly addictive: The idea is to remove blocks from a wall by typing out definitions that Google’s AI can recognize.

Using machine learning algorithms, Google engineers have trained Semantris on billions of lines of sample dialog. By picking up associations between words, that should give the engine enough training to spot which word in the wall you’re trying to define—though it can come up with some unexpected guesses.

Google recommends “playing with slang, technical terms, pop culture references, synonyms, antonyms, and even full sentences” to try and get Semantris to understand what you’re saying to it.

Cyborg Writer

機器人作家

寫一段文字,AI 將接續把後面文章完成

可以是莎士比亞或川普拜登的文筆

文字

Rap Lyrics Generating

Rap 饒舌歌詞產生器

輸入一個開場白,AI 會生成歌曲的其餘部分

文字

九歌

人工智能詩歌寫作系統

給一段文字或圖片,就能生成詩歌

古有曹植七步成詩,今有‘九歌’七秒成詩

文字生成

chinese-poetry: 中文詩歌古典文集數據庫

少女詩人小冰

人工智能詩歌寫作系統

給一張圖片,就能激發少女小冰的靈感

能生成詩歌,包含短詩、長詩

文字生成

Talk to Books

自然語言提問題

有時搜索引擎無法回答的問題……

就是 Talk to Books 的用武之地

在讀過 100,000 本書之後,它能給出一些答案

自然語言

What does it do? Gives you a natural language response to a question.

Who made it? Google

How does it work? Sometimes the Google search engine can’t answer your questions… what is love? Am I dreaming? How can I finally stop thinking and fall asleep? That’s where Talk to Books comes in. In short, it’s designed to predict what a natural response to a question would be if it was actually conversing with you.

To do this, it’s been trained on text in over 100,000 books. Machine learning is used to rapidly sift through many different possible responses to find the most likely and appropriate one—it’s a lot of fun to play around with and can come up with some really intelligent responses.

音樂

Performance RNN

動態生成音樂

本範例需要有 MIDI 設備連接

音樂

https://magenta.tensorflow.org/performance-rnn

Drum Machine

打鼓機器

可以製造無限循環的節奏

音樂

AI Duet

AI 鋼琴二重奏

自己和 AI 即興彈奏的音樂

音樂

Semi-Conductor

指揮 AI 管弦樂隊

通過瀏覽器指揮自己的管弦樂隊

移動手臂及姿態來改變音樂的速度、音量和樂器

音樂

Eine Kleine Nachtmusik (小夜曲; 莫札特)

技術

PoseNet

影像辨識

Thing Transfer

物件辨識

物件辨識

將圖像 (包含 camera) 進行種類的辨識

Rock Paper Scissors

剪刀.石頭.布

和 AI 猜拳

使用攝影機擷取手的影像進行辨識

遊戲

石頭剪刀布分類器基於 SqueezeNet 架構。

TensorFire + SqueezeNet 絕不僅限於此:它可以識別 NSFW 內容,區分 1000 個不同的ImageNet 對象,識別手勢,檢測寵物,甚至可以區分熱狗和非熱狗。

TensorFire Framework

Head Controlled Pacman

頭部控制小精靈

轉動頭部,控制小精靈的上下左右移動

小心脖子不要扭到了!

遊戲

Whack a Mole

打鼴鼠

好像和 “打鼴鼠” 沒有直接的關係

要移動鼻子到指定的點,難度還會增加

遊戲

人臉

Face emotion

情緒表情分類

傳入圖像 (攝影機部份有問題)

可以分辨出臉部的情緒表情

表情辨識

人臉產生器

圖像生成

This Person Does Not Exist

假以亂真的人臉

Generated Face

同一張臉還可以改變表情

圖像生成

AttnGAN

圖像生成

Image generation machine

輸入文字描述即可繪製出一幅畫

王維《鹿柴》

空山不見人,但聞人語響。
返景入深林,復照青苔上。

Style-transfer

圖像生成

藝術風格轉換

內容與風格的融合

Style-transfer

風格圖案

內容圖案

Deepart.io

圖像生成

藝術風格轉換

上傳內容圖片,選擇風格

即可產生新風格的內容圖片

Jeeliz

AR

AR 太陽眼鏡

AR (擴增實境) 的技術內包含了 AI 的人臉偵測

這裡有一系列人臉偵測應用的範例

JavaScript/WebGL lightweight and robust face tracking library designed for augmented reality face filters

(有大量的範例 live demo)

更多的應用範例

TensorFlow for Javascript

MediaPipe offers open source cross-platform, customizable ML solutions for live and streaming media.

Live ML anywhere

MediaPipe

............

Made with Slides.com