Last active
February 14, 2017 11:50
-
-
Save Ryomasao/4792b71adfbac7ad2685ebd90b33020e to your computer and use it in GitHub Desktop.
CloudVison_01.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
CloudVisonを使って遊んでみる | |
APIに画像を渡し、結果をJSON形式で受け取る | |
''' | |
#CloudVisonのAPI keyにAPIキーを渡す。 | |
API_URL = 'https://vision.googleapis.com/v1/images:annotate?key=' | |
#APIのキー https://console.cloud.google.com で確認する。 | |
API_KEY = 'himitu' | |
#実際にリクエストを投げる機能が必要。 | |
SomethingRequest(API_KEY + URL) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment