View Source GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingImageRegion (google_api_content_warehouse v0.3.0)

Image region produced by a detector.

Attributes

  • box (type: GoogleApi.ContentWarehouse.V1.Model.PhotosVisionGroundtruthdbNormalizedBoundingBox.t, default: nil) - Bounding box normalized to [0,1] scale independent on the image size. For example if the original image has the size 1600x1200, the rectangle [200, 200, 800, 600] from the image would have a normalized bounding box [1/8, 1/6, 1/2, 1/2].
  • score (type: number(), default: nil) - Box confidence score. This is used to store the confidence of the box proposal, not the score associated with any specific labels. The box proposal confidence score is a float number per region between [0, 1] indicating how likely a box contains an "object".
  • version (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.ImageUnderstandingIndexingImageRegion{
    box:
      GoogleApi.ContentWarehouse.V1.Model.PhotosVisionGroundtruthdbNormalizedBoundingBox.t()
      | nil,
    score: number() | nil,
    version: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.