-
准备工作
执行在 Google Cloud Console 上启用和使用 Vision API 的所有步骤。
-
检测图片中的文本 (OCR)
对图片运行光学字符识别,以便在图片中定位和提取 UTF-8 文本。
-
检测图片中的手写内容 (OCR)
对图片运行光学字符识别,以便在图片中定位并提取手写文本。
-
检测文件中的文本 (OCR - PDF/TIFF)
运行密集文本文档光学字符识别,以在文件中定位和提取文本。
-
检测剪裁提示
了解如何对图片运行剪裁提示。
-
检测人脸
了解如何对图片执行人脸检测。
-
检测图片属性
运行图片属性检测,以提取图片中的主要颜色等信息。
-
检测标签
了解如何获取有关图片内容的常规标签。
-
检测地标
了解如何对图片执行地标检测。
-
检测徽标
了解如何对图片执行徽标检测。
-
检测多个对象
了解如何在图片中定位多个对象。
-
检测露骨内容(安全搜索)
了解如何对图片执行露骨内容(安全搜索)检测。 目标类别包括:
adult
、spoof
、medical
、violence
和racy
。 -
检测网络实体和页面
了解如何检测与图片相关的 Web 实体和页面。响应包括完全匹配的图片、部分匹配的图片、类似图片和最佳猜测标签等信息。
-
离线批量图片注释
获取针对一批图片中所有特征类型的图片注释。这项长时间运行(异步)操作完成后,操作结果将存储在 Cloud Storage 存储分区中。
-
在线小批量文件注释
针对小批量(最多 5 页)的 PDF/TIFF/GIF 文件在线获取文件注释(同步获取)。
-
离线批量文件注释
获取针对多页 PDF/TIFF 文件中所有特征类型的文件注释。 这项长时间运行(异步)操作完成后,操作结果将存储在 Cloud Storage 存储分区中。
-
将 Cloud Vision 与 Spring 框架配合使用
有关使用 Spring 框架和 Spring Cloud Google Cloud 与 Vision API 进行交互的说明。
-
Base64 编码
有关发送本地图片时使用的 base64 编码的说明。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"很难理解"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"信息或示例代码不正确"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"没有我需要的信息/示例"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]