Skip to content

Instantly share code, notes, and snippets.

@kcchien
Created May 19, 2019 03:13
Show Gist options
  • Save kcchien/c6141f9b19ab5381b6c2514de3110c43 to your computer and use it in GitHub Desktop.
Save kcchien/c6141f9b19ab5381b6c2514de3110c43 to your computer and use it in GitHub Desktop.
Detect Labels, Faces, and Landmarks in Images with the Cloud Vision API - 2
# 取得專案ID
export PROJECT_ID=$(gcloud info --format='value(config.project)')
# Cloud Storage buckets的名稱,格式為[你的專案ID]-upload
export BUCKET_NAME=${PROJECT_ID}-upload
# 建立Bucket
gsutil mb gs://${BUCKET_NAME}
# 檢查一下Bucket是否成功建立
gsutil ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment