View Source GoogleApi.ContentWarehouse.V1.Model.LensDiscoveryStylePersonAttributes (google_api_content_warehouse v0.4.0)

This message holds person attributes from the Person Interpreter model (go/person-interpreter) and the Style AI Iconic Person Scorer (go/styleai-indexing-g3doc#iconic-person-scorer) for the most iconic person in a style image. Discretization of float values is recommended by CDS for cheaper and more efficient storage. Next ID: 11

Attributes

  • discretizedFaceVisibilityScore (type: integer(), default: nil) - The visibility of the face of the most iconic person in the image discretized into range [0, 100].
  • discretizedFemaleConfidence (type: integer(), default: nil) -
  • discretizedMaleConfidence (type: integer(), default: nil) - Male and female confidence scores are discretized into the [0, 100] range.
  • discretizedPredictedAge (type: integer(), default: nil) - Age prediction is rounded to the first decimal place and multiplied by 10 (e.g. 12.3 -> 123). Not populated in Amarna for legal reasons.
  • discretizedVisualSaliencyScore (type: integer(), default: nil) - The area ratio of the most iconic person to the whole image discretized into range [0, 100].
  • personBoundingBox (type: GoogleApi.ContentWarehouse.V1.Model.LensDiscoveryStyleBoundingBox.t, default: nil) - Bounding box of the most iconic person in the image.
  • personVisibilityScores (type: GoogleApi.ContentWarehouse.V1.Model.LensDiscoveryStylePersonAttributesPersonVisibilityScores.t, default: nil) -
  • predictedAgeBucket (type: String.t, default: nil) - Bucketed version of the predicted age.
  • version (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.LensDiscoveryStylePersonAttributes{
  discretizedFaceVisibilityScore: integer() | nil,
  discretizedFemaleConfidence: integer() | nil,
  discretizedMaleConfidence: integer() | nil,
  discretizedPredictedAge: integer() | nil,
  discretizedVisualSaliencyScore: integer() | nil,
  personBoundingBox:
    GoogleApi.ContentWarehouse.V1.Model.LensDiscoveryStyleBoundingBox.t() | nil,
  personVisibilityScores:
    GoogleApi.ContentWarehouse.V1.Model.LensDiscoveryStylePersonAttributesPersonVisibilityScores.t()
    | nil,
  predictedAgeBucket: String.t() | nil,
  version: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.