订阅

UiPath 活动

UiPath 活动指南

About

Google Cloud Vision API enables developers to understand the content of an image by encapsulating powerful machine learning models in an easy to use REST API.

It quickly classifies images into thousands of categories (e.g., "sailboat", "lion", "Eiffel Tower"), detects individual objects and faces within images, and finds and reads printed words contained within images.

The Google Vision package can perform metadata analysis on images. There are multiple use cases depending on the industry and application.

The possible use cases are:

  • Label Detection - Detect broad sets of categories within an image, ranging from modes of transportation to animals.
  • Explicit Content Detection - Detect explicit content like adult themes or violence within an image.
  • Logo Detection - Detect popular product logos within an image.
  • Optical Character Recognition - Detect and extract text within an image, with support for a broad range of languages, along with support for automatic language identification.
  • Face Detection - Detect multiple faces within an image.
  • Web Detection - Search the Internet for similar images.

📘

Studio Compatibility

Please refer to the link below for Studio version compatibility and support:
https://www.uipath.com/legal/trust-and-security/legal-support/product-lifecycle.

Setup

Before using the the Google Vision Activities Package, you need to configure your applications using the Google Cloud Platform .

配置分为两个步骤:

  1. Enable APIs - this step enables automation by granting API access to your Google applications.
  2. 创建凭据 - 此步骤会指定用于与启用的 API 进行交互的身份验证类型。

1. Enable APIs

请按照下列步骤启用 API。

📘

注意

The steps listed below are sourced from Enable and disable APIs in the Google API Console Help documentation.

  1. Sign in to the Google Cloud Platform using your personal, work, or school Google G Suite account.
  2. 登录 Google Cloud Platform 后,在顶部菜单栏中选择要用于自动化项目的项目。
  1. Open the Navigation menu in the top navigation bar.
  2. 将鼠标悬停在“API 与服务”上方(显示选项菜单),然后选择“库”(打开“API 库”)。
  1. From the API Library, go to the Machine Learning section.
  2. Click Cloud Vision API.
  1. In the Google Vision API page, click Enable.

操作完毕!现在,让我们创建凭据,以便您访问启用的 API。

2. Create credentials

请按照下列步骤为项目创建凭据。

  1. 在项目的“API 与服务”页面(“Google Cloud Platform”>“项目”>“API 与服务”)中,单击左侧导航面板中的“凭据”
  1. “凭据”页面打开后,单击“创建凭据”并选择要用于应用程序的凭据类型。

📘

注意

You should consult your IT department to determine the type of credentials you should use for your project. For more information about the differences between the credential types, see Authentication Overview .

如需了解所有凭据类型,请参阅以下详细信息。

  • API 密钥

    An API key is the simplest authentication mechanism.

    For more information about API Keys, see Using API Keys in the Google Cloud Documentation.

  • OAuth 客户端 ID

    The OAuth Client ID method is recommended for attended automation because user consent is required before the robot can access to your Google account (for more information, see User consent in the Google Help documentation).

    For more information about OAuth client ID, see Using OAuth 2.0 to Access Google APIs in the Google Cloud Documentation. For step-by-step instructions, see Setting up OAuth 2.0 in the Google Help documentation.

  • 服务帐户密钥

    A service account key is a special type of Google account that belongs to your application instead of to an individual end user. Your application calls Google APIs on behalf of the service account, so users aren't directly involved.

    For more information about Service account keys, see Understanding service accounts in the Google Cloud Documentation.

  1. 请按照下列适用说明添加所选凭据。

操作完毕!

Now that you have enabled APIs and added credentials, you can build automation projects that include Google Vision activities.


在将 UiPath 所开发及提供的软件与任何 Google 软件结合使用时,您须遵循“UiPath 开放平台活动许可协议”。此外,在访问和使用与 UiPath 软件结合使用的 Google 软件及服务时,您须遵循“Google 条款”以及 Google 提供的任何其他适用协议、政策或指南。*

Updated about a month ago


About


建议的编辑仅限用于 API 参考页面

You can only suggest edits to Markdown body content, but not to the API spec.