package google.cloud.vision.v1p1beta1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service ImageAnnotator

image_annotator.proto:36

Service that performs Google Cloud Vision API detection tasks over client images, such as face, landmark, logo, label, and text detection. The ImageAnnotator service returns detected entities from the images.

message AnnotateImageRequest

image_annotator.proto:508

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

Used in: BatchAnnotateImagesRequest

message AnnotateImageResponse

image_annotator.proto:520

Response to an image annotation request.

Used in: BatchAnnotateImagesResponse

message Block

text_annotation.proto:114

Logical element on the page.

Used in: Page

enum Block.BlockType

text_annotation.proto:116

Type of a block (text, image etc) as identified by OCR.

Used in: Block

message BoundingPoly

geometry.proto:36

A bounding polygon for the detected image annotation.

Used in: Block, CropHint, EntityAnnotation, FaceAnnotation, Paragraph, Symbol, Word

message ColorInfo

image_annotator.proto:423

Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.

Used in: DominantColorsAnnotation

message CropHint

image_annotator.proto:448

Single crop hint that is used to generate a new crop when serving an image.

Used in: CropHintsAnnotation

message CropHintsAnnotation

image_annotator.proto:462

Set of crop hints that are used to generate new crops when serving images.

Used in: AnnotateImageResponse

message CropHintsParams

image_annotator.proto:468

Parameters for crop hints annotation request.

Used in: ImageContext

message DominantColorsAnnotation

image_annotator.proto:436

Set of dominant colors and their corresponding scores.

Used in: ImageProperties

message EntityAnnotation

image_annotator.proto:340

Set of detected entity features.

Used in: AnnotateImageResponse

message FaceAnnotation

image_annotator.proto:138

A face annotation object contains the results of face detection.

Used in: AnnotateImageResponse

message FaceAnnotation.Landmark

image_annotator.proto:140

A face-specific landmark (for example, a face feature).

Used in: FaceAnnotation

enum FaceAnnotation.Landmark.Type

image_annotator.proto:145

Face landmark (feature) type. Left and right are defined from the vantage of the viewer of the image without considering mirror projections typical of photos. So, `LEFT_EYE`, typically, is the person's right eye.

Used in: Landmark

message Feature

image_annotator.proto:51

Users describe the type of Google Cloud Vision API tasks to perform over images by using *Feature*s. Each Feature indicates a type of image detection task to perform. Features encode the Cloud Vision API vertical to operate on and the number of top-scoring results to return.

Used in: AnnotateImageRequest

enum Feature.Type

image_annotator.proto:53

Type of image feature.

Used in: Feature

message Image

image_annotator.proto:125

Client image to perform Google Cloud Vision API tasks over.

Used in: AnnotateImageRequest

message ImageContext

image_annotator.proto:485

Image context and/or feature-specific parameters.

Used in: AnnotateImageRequest

message ImageProperties

image_annotator.proto:442

Stores image properties, such as dominant colors.

Used in: AnnotateImageResponse

message ImageSource

image_annotator.proto:102

External image source (Google Cloud Storage image location).

Used in: Image

message LatLongRect

image_annotator.proto:413

Rectangle determined by min and max `LatLng` pairs.

Used in: ImageContext

enum Likelihood

image_annotator.proto:574

A bucketized representation of likelihood, which is intended to give clients highly stable results across model upgrades.

Used in: FaceAnnotation, SafeSearchAnnotation

message LocationInfo

image_annotator.proto:322

Detected entity location information.

Used in: EntityAnnotation

message Page

text_annotation.proto:96

Detected page from OCR.

Used in: TextAnnotation

message Paragraph

text_annotation.proto:167

Structural unit of text representing a number of words in certain order.

Used in: Block

message Position

geometry.proto:44

A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.

Used in: FaceAnnotation.Landmark

message Property

image_annotator.proto:328

A `Property` consists of a user-supplied name/value pair.

Used in: EntityAnnotation

message SafeSearchAnnotation

image_annotator.proto:388

Set of features pertaining to the image, computed by computer vision methods over safe-search verticals (for example, adult, spoof, medical, violence).

Used in: AnnotateImageResponse

message Symbol

text_annotation.proto:226

A single symbol representation.

Used in: Word

message TextAnnotation

text_annotation.proto:36

TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the [TextAnnotation.TextProperty][google.cloud.vision.v1p1beta1.TextAnnotation.TextProperty] message definition below for more detail.

Used in: AnnotateImageResponse

message TextAnnotation.DetectedBreak

text_annotation.proto:49

Detected start or end of a structural component.

Used in: TextProperty

enum TextAnnotation.DetectedBreak.BreakType

text_annotation.proto:51

Enum to denote the type of break found. New line, space etc.

Used in: DetectedBreak

message TextAnnotation.DetectedLanguage

text_annotation.proto:38

Detected language for a structural component.

Used in: TextProperty

message TextAnnotation.TextProperty

text_annotation.proto:80

Additional information detected on the structural component.

Used in: Block, Page, Paragraph, Symbol, Word

message Vertex

geometry.proto:27

A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.

Used in: BoundingPoly

message WebDetection

web_detection.proto:28

Relevant information for the image from the Internet.

Used in: AnnotateImageResponse

message WebDetection.WebEntity

web_detection.proto:30

Entity deduced from similar images on the Internet.

Used in: WebDetection

message WebDetection.WebImage

web_detection.proto:43

Metadata for online images.

Used in: WebDetection, WebPage

message WebDetection.WebLabel

web_detection.proto:74

Label to provide extra metadata for the web detection.

Used in: WebDetection

message WebDetection.WebPage

web_detection.proto:52

Metadata for web pages.

Used in: WebDetection

message WebDetectionParams

image_annotator.proto:479

Parameters for web detection request.

Used in: ImageContext

message Word

text_annotation.proto:196

A word representation.

Used in: Paragraph