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

Image quality scores for the page image.

Attributes

  • detectedDefects (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect.t), default: nil) - A list of detected defects.
  • qualityScore (type: number(), default: nil) - The overall quality score. Range [0, 1] where 1 is perfect quality.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageImageQualityScores{
    detectedDefects:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect.t()
      ]
      | nil,
    qualityScore: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.