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

Each SubSet contains LocalDescriptors of a specific type. The type indicates which algorithm has been used to generate the descriptors. No enum is defined for the descriptor_type. For most applications it is sufficient to know if two descriptors are of the same or a different type, while ignoring the details of their generation. The descriptor type '0' is reserved and must not be used.

Attributes

  • descriptor (type: list(GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecLocalDescriptor.t), default: nil) -
  • descriptorType (type: integer(), default: nil) -
  • isBinaryDescriptor (type: boolean(), default: nil) - Used to indicate if the descriptor is binary or not. When decompressing feature this is useful to decide calling different decompression functions.
  • numDescriptors (type: integer(), default: nil) - Used to store the number of descriptors for statistical purposes, if the descriptors themselves are not stored.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecImageTemplateSubSet{
    descriptor:
      [
        GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecLocalDescriptor.t()
      ]
      | nil,
    descriptorType: integer() | nil,
    isBinaryDescriptor: boolean() | nil,
    numDescriptors: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.