2016年1月26日 星期二

excel 轉 json 的網站

http://shancarter.github.io/mr-data-converter/


json使用範例
http://zhidao.baidu.com/question/1859751400280813907.html

Google Cloud Vision API

Google Cloud Vision API 是Google Deep Learning的API版本

可以利用這個API來進行"以圖搜關鍵字"、"人臉辨識"、物體辨識等等的功能

這玩意2015/12才開始啟用,截至目前都仍在開發階段


首先加入Google Cloud Vision 的Parner

https://cloud.google.com/vision/


待google cloud team同意後就能參閱文件與加入論壇


進行範例程式

1.影像轉碼

我們需要把影像轉成base64的格式,以方便網路傳輸

https://www.base64-image.de/

http://codebeautify.org/base64-to-image-converter



2.Create a JSON file of the following format, and save it as a text file:

{
  "requests":[
    {
      "image":{
        "content":"base64 code"
      },
      "features":[
        {
          "type":"LABEL_DETECTION",
          "maxResults":1
        }
      ]
    }
  ],
}

3.執行,我使用ubuntu14.04來做

$ curl -v -k -s -H "Content-Type: application/json" https://vision.googleapis.com/v1alpha1/images:annotate?key=browser_key --data-binary @request_filename

其中@request_filename輸入剛剛產生的json


其中browser_key輸入

https://console.developers.google.com/

註冊一個API金鑰

開啟Billing帳號(左上角menu裡面)

*將Billing跟API專案連結


出現ERROR 403 => 沒有開啟Bill帳號 or 沒有進行連結



Congratulations! You've sent your first request using the Google Cloud Vision API!

2016年1月14日 星期四

python 環境建置

windows7 64bits

下載
https://www.python.org/downloads/windows/

IDE
https://www.jetbrains.com/pycharm/

安裝east_install $ pip
http://www.cnblogs.com/zhuyp1015/archive/2012/07/17/2596495.html

http://jishus.org/?p=452

http://coopermaa2nd.blogspot.tw/2012/12/easyinstall-pip.html

發生問題
https://www.ptt.cc/bbs/Python/M.1452754606.A.FB5.html



結果還是用ubuntu最沒問題..
https://blog.longwin.com.tw/2014/08/python-setup-pip-package-2014/

2016年1月7日 星期四

Seminar Google Brain Deep Learning

Google Brain 團隊成員邱中鎮來臺揭露Google如何用深度學習技術,分析億級資料的秘密。Google創下6成市占的Android Jelly Bean版中,令人眼睛一亮的聰明語音辨識功能背後的關鍵技術,正是Google Brain團隊的研究成果之一。

Google Brain是Google內主要使用深度學習(Deep Learning)技術的研發團隊。

類神經網路式微,而Deep Learning取而代之的出現,是更快更方便的演算法。

TensorFlow 是Google 繼2011 年開發了DistBelief 之後,透過使用資料流(flow) 圖像,來進行數值演算的新一代開源機器學習工具。

 Google也釋出Cloud Vision platform來供民眾使用