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 ( |
Fields | |
---|---|
image |
The image to be processed. |
features[] |
Requested features. |
imageContext |
Additional context that may accompany the image. |
Image
Client image to perform Google Cloud Vision API tasks over.
JSON representation |
---|
{
"content": string,
"source": {
object ( |
Fields | |
---|---|
content |
Image content, represented as a stream of bytes. Note: As with all Currently, this field only works for images.annotate requests. It does not work for images.asyncBatchAnnotate requests. A base64-encoded string. |
source |
Google Cloud Storage image location, or publicly-accessible image URL. If both |
ImageSource
External image source (Google Cloud Storage or web URL image location).
JSON representation |
---|
{ "gcsImageUri": string, "imageUri": string } |
Fields | |
---|---|
gcsImageUri |
Use The Google Cloud Storage URI of the form |
imageUri |
The URI of the source image. Can be either:
When both |