Class AnnotateImageResponse
Response to an image annotation request.
Implements
Inherited Members
Namespace: Google.Apis.Vision.v1.Data
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class AnnotateImageResponse : IDirectResponseSchema
Properties
Context
If present, contextual information is needed to understand where this image comes from.
Declaration
[JsonProperty("context")]
public virtual ImageAnnotationContext Context { get; set; }
Property Value
Type | Description |
---|---|
ImageAnnotationContext |
CropHintsAnnotation
If present, crop hints have completed successfully.
Declaration
[JsonProperty("cropHintsAnnotation")]
public virtual CropHintsAnnotation CropHintsAnnotation { get; set; }
Property Value
Type | Description |
---|---|
CropHintsAnnotation |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Error
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed
to be correct, even when error
is set.
Declaration
[JsonProperty("error")]
public virtual Status Error { get; set; }
Property Value
Type | Description |
---|---|
Status |
FaceAnnotations
If present, face detection has completed successfully.
Declaration
[JsonProperty("faceAnnotations")]
public virtual IList<FaceAnnotation> FaceAnnotations { get; set; }
Property Value
Type | Description |
---|---|
IList<FaceAnnotation> |
FullTextAnnotation
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
Declaration
[JsonProperty("fullTextAnnotation")]
public virtual TextAnnotation FullTextAnnotation { get; set; }
Property Value
Type | Description |
---|---|
TextAnnotation |
ImagePropertiesAnnotation
If present, image properties were extracted successfully.
Declaration
[JsonProperty("imagePropertiesAnnotation")]
public virtual ImageProperties ImagePropertiesAnnotation { get; set; }
Property Value
Type | Description |
---|---|
ImageProperties |
LabelAnnotations
If present, label detection has completed successfully.
Declaration
[JsonProperty("labelAnnotations")]
public virtual IList<EntityAnnotation> LabelAnnotations { get; set; }
Property Value
Type | Description |
---|---|
IList<EntityAnnotation> |
LandmarkAnnotations
If present, landmark detection has completed successfully.
Declaration
[JsonProperty("landmarkAnnotations")]
public virtual IList<EntityAnnotation> LandmarkAnnotations { get; set; }
Property Value
Type | Description |
---|---|
IList<EntityAnnotation> |
LocalizedObjectAnnotations
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
Declaration
[JsonProperty("localizedObjectAnnotations")]
public virtual IList<LocalizedObjectAnnotation> LocalizedObjectAnnotations { get; set; }
Property Value
Type | Description |
---|---|
IList<LocalizedObjectAnnotation> |
LogoAnnotations
If present, logo detection has completed successfully.
Declaration
[JsonProperty("logoAnnotations")]
public virtual IList<EntityAnnotation> LogoAnnotations { get; set; }
Property Value
Type | Description |
---|---|
IList<EntityAnnotation> |
ProductSearchResults
If present, product search has completed successfully.
Declaration
[JsonProperty("productSearchResults")]
public virtual ProductSearchResults ProductSearchResults { get; set; }
Property Value
Type | Description |
---|---|
ProductSearchResults |
SafeSearchAnnotation
If present, safe-search annotation has completed successfully.
Declaration
[JsonProperty("safeSearchAnnotation")]
public virtual SafeSearchAnnotation SafeSearchAnnotation { get; set; }
Property Value
Type | Description |
---|---|
SafeSearchAnnotation |
TextAnnotations
If present, text (OCR) detection has completed successfully.
Declaration
[JsonProperty("textAnnotations")]
public virtual IList<EntityAnnotation> TextAnnotations { get; set; }
Property Value
Type | Description |
---|---|
IList<EntityAnnotation> |
WebDetection
If present, web detection has completed successfully.
Declaration
[JsonProperty("webDetection")]
public virtual WebDetection WebDetection { get; set; }
Property Value
Type | Description |
---|---|
WebDetection |