google_api_vision v0.0.1 GoogleApi.Vision.V1.Api.Images View Source

API calls for all endpoints tagged Images.

Link to this section Summary

Functions

Run image detection and annotation for a batch of images

Link to this section Functions

Link to this function vision_images_annotate(connection, opts \\ []) View Source
vision_images_annotate(Tesla.Env.client, keyword) ::
  {:ok, GoogleApi.Vision.V1.Model.BatchAnnotateImagesResponse.t} |
  {:error, Tesla.Env.t}

Run image detection and annotation for a batch of images.

Parameters

  • connection (GoogleApi.Vision.V1.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :bearer_token (String): OAuth bearer token.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :__/xgafv (String): V1 error format.
    • :callback (String): JSONP
    • :alt (String): Data format for response.
    • :access_token (String): OAuth access token.
    • :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :pp (Boolean): Pretty-print response.
    • :body (BatchAnnotateImagesRequest):

Returns

{:ok, %GoogleApi.Vision.V1.Model.BatchAnnotateImagesResponse{}} on success {:error, info} on failure