GoogleApi.ContentWarehouse.V1.Model.ImageSafesearchContentOCRAnnotation
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
A protocol buffer to store the OCR annotation. Next available tag id: 10.
Attributes List
This module has the following attributes (case-insensitive ascending order):
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.
Type
@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
}
ocrAnnotationVersion: String.t() | nil,
ocrProminenceScore: number() | nil,
pornScore: number() | nil,
prominentOffensiveScore: number() | nil,
prominentVulgarScore: number() | nil,
qbstOffensiveScore: number() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ImageSafesearchContentOCRAnnotation