View Source GoogleApi.ContentWarehouse.V1.Model.ImageSafesearchContentOCRAnnotation (google_api_content_warehouse v0.4.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.

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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.