View Source GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionSemanticFilterResponse (google_api_ai_platform v0.13.0)

Attributes

  • namedBoundingBoxes (type: list(GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionNamedBoundingBox.t), default: nil) - Class labels of the bounding boxes that failed the semantic filtering. Bounding box coordinates.
  • passedSemanticFilter (type: boolean(), default: nil) - This response is added when semantic filter config is turned on in EditConfig. It reports if this image is passed semantic filter response. If passed_semantic_filter is false, the bounding box information will be populated for user to check what caused the semantic filter to fail.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionSemanticFilterResponse{
    namedBoundingBoxes:
      [
        GoogleApi.AIPlatform.V1.Model.CloudAiLargeModelsVisionNamedBoundingBox.t()
      ]
      | nil,
    passedSemanticFilter: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.