Skip to content

Instantly share code, notes, and snippets.

@Ryomasao

Ryomasao/CloudVison_01.py

Last active Feb 14, 2017
Embed
What would you like to do?
CloudVison_01.py
'''
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