iT邦幫忙

2019 iT 邦幫忙鐵人賽

DAY 8
0
Everything on Azure

Azure Service 實作 ( Blockchain、AI、 Serverless Architecture)系列 第 8

08. 使用 Azure 辨識手寫文字

這一篇要來辨識紙上的手寫文字,使用的是Handwritten Text API。

目前此 API 還在實驗性質,且只能辨識英文文字。

首先到此網頁:https://eastasia.dev.cognitive.microsoft.com/docs/services/56f91f2d778daf23d8ec6739/operations/587f2c6a154055056008f200

填上先前申請的 API 金鑰與相關參數,並放上圖片連結。
https://ithelp.ithome.com.tw/upload/images/20181019/20112426SuwG7uwsBw.png

按下送出後大約等幾秒,會回傳資訊:

status 202 為正常的,接著先把下面的 Operation-location 後面的textOperations參數複製起來。
https://ithelp.ithome.com.tw/upload/images/20181019/201124264Vc8M6OTwr.png

之後到:https://eastasia.dev.cognitive.microsoft.com/docs/services/56f91f2d778daf23d8ec6739/operations/587f2cf1154055056008f201/console

然後於operationId欄位填上剛才複製的參數,填上金鑰後按下送出。
https://ithelp.ithome.com.tw/upload/images/20181019/20112426uPONxo8mjh.png

https://ithelp.ithome.com.tw/upload/images/20181019/20112426Rce6xAJA8a.png

回傳結果如下:
https://ithelp.ithome.com.tw/upload/images/20181019/20112426SqStqJTdrz.png

可以看到辨識出圖片中的一些手寫文字。

以後如果有看不懂的英文字就拿來給 Azure 辨識看看吧!


上一篇
07. Azure Vision API 取得圖片描述
下一篇
09. 使用 Azure 自動產生圖片縮圖
系列文
Azure Service 實作 ( Blockchain、AI、 Serverless Architecture)30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言