在应用中集成 Google Vision 功能,包括图像标记、面部/徽标/地标检测、光学字符识别 (OCR) 以及露骨内容的检测。
- REST 资源:v1.files
- REST 资源:v1.images
- REST 资源:v1.locations.operations
- REST 资源:v1.operations
- REST 资源:v1.projects.locations.productSets
- REST 资源:v1.projects.locations.productSets.products
- REST 资源:v1.projects.locations.products
- REST 资源:v1.projects.locations.products.referenceImages
服务:alpha-vision.googleapis.com
以下所有 URI 都是 https://alpha-vision.googleapis.com 的相对路径
此服务提供了以下发现文档:
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 将 Product 添加到指定的 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 中的 Product。 |
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/*} 获取与 Product 关联的信息。 |
list |
GET /v1/{parent=projects/*/locations/*}/products 以未指定的顺序列出商品。 |
patch |
PATCH /v1/{product.name=projects/*/locations/*/products/*} 对一项 Product 资源执行更改。 |
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 列出参考图片。 |