AnnotateImageRequest

Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features, and with context information.

JSON representation
{
  "image": {
    object (Image)
  },
  "features": [
    {
      object (Feature)
    }
  ],
  "imageContext": {
    object (ImageContext)
  }
}
Fields
image

object (Image)

The image to be processed.

features[]

object (Feature)

Requested features.

imageContext

object (ImageContext)

Additional context that may accompany the image.

Image

Client image to perform Google Cloud Vision API tasks over.

JSON representation
{
  "content": string
}
Fields
content

string (bytes format)

Image content, represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.

Currently, this field only works for images.annotate requests. It does not work for images.asyncBatchAnnotate requests.

A base64-encoded string.