View Source GoogleApi.ContentWarehouse.V1.Model.ImageSafesearchContentOCRAnnotation (google_api_content_warehouse v0.3.0)

A protocol buffer to store the OCR annotation. Next available tag id: 10.

Attributes

  • ocrAnnotationVersion (type: String.t, default: nil) - A string that indicates the version of SafeSearch OCR annotation.
  • ocrProminenceScore (type: number(), default: nil) - The score produced by Aksara geometry and spoof score. Describes the 'visibility' or 'importance' of the text on the image [0, 1]
  • pornScore (type: number(), default: nil) - Image OCR racyness/pornyness, computed by porn query classifier.
  • prominentOffensiveScore (type: number(), default: nil) - Same as offensive_score, but weighted by prominence.
  • prominentVulgarScore (type: number(), default: nil) - Same as vulgar_score, but weighted by prominence.
  • qbstOffensiveScore (type: number(), default: nil) - The score produced by offensive salient terms model.
  • vulgarI18nBit (type: boolean(), default: nil) - Presence of i18n-recognized vulgar term in the OCR.
  • vulgarScore (type: number(), default: nil) - Image OCR vulgarity, computed by vulgar query classifier.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ImageSafesearchContentOCRAnnotation{
  ocrAnnotationVersion: String.t() | nil,
  ocrProminenceScore: number() | nil,
  pornScore: number() | nil,
  prominentOffensiveScore: number() | nil,
  prominentVulgarScore: number() | nil,
  qbstOffensiveScore: number() | nil,
  vulgarI18nBit: boolean() | nil,
  vulgarScore: number() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.