Cloud Vision Alpha API

可將 Google Vision 功能整合至應用程式,包括為圖片加上標籤、偵測臉部/標誌和地標、光學字元辨識 (OCR),以及露骨內容偵測。

服務:alpha-vision.googleapis.com

以下皆為與 https://alpha-vision.googleapis.com 相對的 URI

這項服務提供下列探索文件

REST 資源:v1.files

方法
annotate POST /v1/files:annotate
這項服務會對一批檔案執行圖片偵測和註解作業。
asyncBatchAnnotate POST /v1/files:asyncBatchAnnotate
針對一般檔案清單 (例如 PDF 檔案) 執行非同步圖片偵測和註解,這類檔案可能含有多個頁面,且每個頁面可能有多張圖片。

REST 資源:v1.images

方法
annotate POST /v1/images:annotate
對一批圖片執行圖片偵測和註解。
asyncBatchAnnotate POST /v1/images:asyncBatchAnnotate
針對圖片清單執行非同步圖片偵測和註解。

REST 資源:v1.locations.operations

方法
get GET /v1/{name=locations/*/operations/*}
取得長時間執行作業的最新狀態。

REST 資源:v1.operations

方法
cancel POST /v1/{name=operations/**}:cancel
開始非同步取消長時間執行的作業。
delete DELETE /v1/{name=operations/**}
刪除長時間執行的作業。
get GET /v1/{name=operations/*}
取得長時間執行作業的最新狀態。
list GET /v1/{name}
列出符合要求中指定篩選器的作業。

REST 資源:v1.projects.locations.productSets

方法
addProduct POST /v1/{name=projects/*/locations/*/productSets/*}:addProduct
將產品新增至指定的 ProductSet。
create POST /v1/{parent=projects/*/locations/*}/productSets
建立並傳回新的 ProductSet 資源。
delete DELETE /v1/{name=projects/*/locations/*/productSets/*}
永久刪除 ProductSet。
get GET /v1/{name=projects/*/locations/*/productSets/*}
取得與 ProductSet 相關聯的資訊。
import POST /v1/{parent=projects/*/locations/*}/productSets:import
非同步 API,可根據圖片資訊清單,將參考圖片清單匯入指定產品集。
list GET /v1/{parent=projects/*/locations/*}/productSets
列出 ProductSet,順序不限。
patch PATCH /v1/{productSet.name=projects/*/locations/*/productSets/*}
變更 ProductSet 資源。
removeProduct POST /v1/{name=projects/*/locations/*/productSets/*}:removeProduct
從指定 ProductSet 中移除 Product。

REST 資源:v1.projects.locations.productSets.products

方法
list GET /v1/{name=projects/*/locations/*/productSets/*}/products
列出 ProductSet 中的產品,順序不限。

REST 資源:v1.projects.locations.products

方法
create POST /v1/{parent=projects/*/locations/*}/products
建立並傳回新的產品資源。
delete DELETE /v1/{name=projects/*/locations/*/products/*}
永久刪除產品及其參考圖片。
get GET /v1/{name=projects/*/locations/*/products/*}
取得與產品相關的資訊。
list GET /v1/{parent=projects/*/locations/*}/products
列出產品,順序不限。
patch PATCH /v1/{product.name=projects/*/locations/*/products/*}
變更產品資源。

REST 資源:v1.projects.locations.products.referenceImages

方法
create POST /v1/{parent=projects/*/locations/*/products/*}/referenceImages
建立並傳回新的 ReferenceImage 資源。
delete DELETE /v1/{name=projects/*/locations/*/products/*/referenceImages/*}
永久刪除參考圖像。
get GET /v1/{name=projects/*/locations/*/products/*/referenceImages/*}
取得與 ReferenceImage 相關聯的資訊。
list GET /v1/{parent=projects/*/locations/*/products/*}/referenceImages
列出參考圖片。