google_api_vision v0.4.0 GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1AnnotateImageResponse View Source
Response to an image annotation request.
Attributes
- context (GoogleCloudVisionV1p3beta1ImageAnnotationContext): If present, contextual information is needed to understand where this image comes from. Defaults to:
null
. - cropHintsAnnotation (GoogleCloudVisionV1p3beta1CropHintsAnnotation): If present, crop hints have completed successfully. Defaults to:
null
. - error (Status): 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. Defaults to:
null
. - faceAnnotations ([GoogleCloudVisionV1p3beta1FaceAnnotation]): If present, face detection has completed successfully. Defaults to:
null
. - fullTextAnnotation (GoogleCloudVisionV1p3beta1TextAnnotation): If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text. Defaults to:
null
. - imagePropertiesAnnotation (GoogleCloudVisionV1p3beta1ImageProperties): If present, image properties were extracted successfully. Defaults to:
null
. - labelAnnotations ([GoogleCloudVisionV1p3beta1EntityAnnotation]): If present, label detection has completed successfully. Defaults to:
null
. - landmarkAnnotations ([GoogleCloudVisionV1p3beta1EntityAnnotation]): If present, landmark detection has completed successfully. Defaults to:
null
. - localizedObjectAnnotations ([GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation]): If present, localized object detection has completed successfully. This will be sorted descending by confidence score. Defaults to:
null
. - logoAnnotations ([GoogleCloudVisionV1p3beta1EntityAnnotation]): If present, logo detection has completed successfully. Defaults to:
null
. - productSearchResults (GoogleCloudVisionV1p3beta1ProductSearchResults): If present, product search has completed successfully. Defaults to:
null
. - safeSearchAnnotation (GoogleCloudVisionV1p3beta1SafeSearchAnnotation): If present, safe-search annotation has completed successfully. Defaults to:
null
. - textAnnotations ([GoogleCloudVisionV1p3beta1EntityAnnotation]): If present, text (OCR) detection has completed successfully. Defaults to:
null
. - webDetection (GoogleCloudVisionV1p3beta1WebDetection): If present, web detection has completed successfully. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() ::
%GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1AnnotateImageResponse{
context:
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1ImageAnnotationContext.t(),
cropHintsAnnotation:
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1CropHintsAnnotation.t(),
error: GoogleApi.Vision.V1.Model.Status.t(),
faceAnnotations: [
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1FaceAnnotation.t()
],
fullTextAnnotation:
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1TextAnnotation.t(),
imagePropertiesAnnotation:
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1ImageProperties.t(),
labelAnnotations: [
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1EntityAnnotation.t()
],
landmarkAnnotations: [
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1EntityAnnotation.t()
],
localizedObjectAnnotations: [
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation.t()
],
logoAnnotations: [
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1EntityAnnotation.t()
],
productSearchResults:
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1ProductSearchResults.t(),
safeSearchAnnotation:
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1SafeSearchAnnotation.t(),
textAnnotations: [
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1EntityAnnotation.t()
],
webDetection:
GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1WebDetection.t()
}
t() :: %GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1AnnotateImageResponse{ context: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1ImageAnnotationContext.t(), cropHintsAnnotation: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1CropHintsAnnotation.t(), error: GoogleApi.Vision.V1.Model.Status.t(), faceAnnotations: [ GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1FaceAnnotation.t() ], fullTextAnnotation: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1TextAnnotation.t(), imagePropertiesAnnotation: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1ImageProperties.t(), labelAnnotations: [ GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1EntityAnnotation.t() ], landmarkAnnotations: [ GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1EntityAnnotation.t() ], localizedObjectAnnotations: [ GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation.t() ], logoAnnotations: [ GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1EntityAnnotation.t() ], productSearchResults: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1ProductSearchResults.t(), safeSearchAnnotation: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1SafeSearchAnnotation.t(), textAnnotations: [ GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1EntityAnnotation.t() ], webDetection: GoogleApi.Vision.V1.Model.GoogleCloudVisionV1p3beta1WebDetection.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.