GoogleApi.Vision.V1.Model.AnnotateImageResponse (google_api_vision v0.24.2) View Source
Response to an image annotation request.
Attributes
-
context(type:GoogleApi.Vision.V1.Model.ImageAnnotationContext.t, default:nil) - If present, contextual information is needed to understand where this image comes from. -
cropHintsAnnotation(type:GoogleApi.Vision.V1.Model.CropHintsAnnotation.t, default:nil) - If present, crop hints have completed successfully. -
error(type:GoogleApi.Vision.V1.Model.Status.t, default:nil) - If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even whenerroris set. -
faceAnnotations(type:list(GoogleApi.Vision.V1.Model.FaceAnnotation.t), default:nil) - If present, face detection has completed successfully. -
fullTextAnnotation(type:GoogleApi.Vision.V1.Model.TextAnnotation.t, default:nil) - If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text. -
imagePropertiesAnnotation(type:GoogleApi.Vision.V1.Model.ImageProperties.t, default:nil) - If present, image properties were extracted successfully. -
labelAnnotations(type:list(GoogleApi.Vision.V1.Model.EntityAnnotation.t), default:nil) - If present, label detection has completed successfully. -
landmarkAnnotations(type:list(GoogleApi.Vision.V1.Model.EntityAnnotation.t), default:nil) - If present, landmark detection has completed successfully. -
localizedObjectAnnotations(type:list(GoogleApi.Vision.V1.Model.LocalizedObjectAnnotation.t), default:nil) - If present, localized object detection has completed successfully. This will be sorted descending by confidence score. -
logoAnnotations(type:list(GoogleApi.Vision.V1.Model.EntityAnnotation.t), default:nil) - If present, logo detection has completed successfully. -
productSearchResults(type:GoogleApi.Vision.V1.Model.ProductSearchResults.t, default:nil) - If present, product search has completed successfully. -
safeSearchAnnotation(type:GoogleApi.Vision.V1.Model.SafeSearchAnnotation.t, default:nil) - If present, safe-search annotation has completed successfully. -
textAnnotations(type:list(GoogleApi.Vision.V1.Model.EntityAnnotation.t), default:nil) - If present, text (OCR) detection has completed successfully. -
webDetection(type:GoogleApi.Vision.V1.Model.WebDetection.t, default:nil) - If present, web detection has completed successfully.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Vision.V1.Model.AnnotateImageResponse{
context: GoogleApi.Vision.V1.Model.ImageAnnotationContext.t() | nil,
cropHintsAnnotation: GoogleApi.Vision.V1.Model.CropHintsAnnotation.t() | nil,
error: GoogleApi.Vision.V1.Model.Status.t() | nil,
faceAnnotations: [GoogleApi.Vision.V1.Model.FaceAnnotation.t()] | nil,
fullTextAnnotation: GoogleApi.Vision.V1.Model.TextAnnotation.t() | nil,
imagePropertiesAnnotation:
GoogleApi.Vision.V1.Model.ImageProperties.t() | nil,
labelAnnotations: [GoogleApi.Vision.V1.Model.EntityAnnotation.t()] | nil,
landmarkAnnotations: [GoogleApi.Vision.V1.Model.EntityAnnotation.t()] | nil,
localizedObjectAnnotations:
[GoogleApi.Vision.V1.Model.LocalizedObjectAnnotation.t()] | nil,
logoAnnotations: [GoogleApi.Vision.V1.Model.EntityAnnotation.t()] | nil,
productSearchResults:
GoogleApi.Vision.V1.Model.ProductSearchResults.t() | nil,
safeSearchAnnotation:
GoogleApi.Vision.V1.Model.SafeSearchAnnotation.t() | nil,
textAnnotations: [GoogleApi.Vision.V1.Model.EntityAnnotation.t()] | nil,
webDetection: GoogleApi.Vision.V1.Model.WebDetection.t() | nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.