GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecImageTemplateSubSet
Table of Contents ▼
Jump to a specific part of the page:
Description
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 List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
descriptor
(type:list(GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecLocalDescriptor)
, 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.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecImageTemplateSubSet{
descriptor: [ GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecLocalDescriptor.t() ] | nil,
descriptorType: integer() | nil,
isBinaryDescriptor: boolean() | nil,
numDescriptors: integer() | nil
}
descriptor: [ GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecLocalDescriptor.t() ] | nil,
descriptorType: integer() | nil,
isBinaryDescriptor: boolean() | nil,
numDescriptors: integer() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecImageTemplateSubSet