GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecImageTemplate
Table of Contents ▼
Jump to a specific part of the page:
Description
ImageTemplate contains local and/or global features generated from one image. User-defined members can be set to any value within the constraints outlined below. Algorithms usually pass these through without evaluation, unless documented otherwise. Next id: 29
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
corpus
(type:String.t
, default:nil
)
- Identifier for which corpus the image belongs to. Currently Cyclone uses this field in: - photos_vision_objectrec.SpatialMatcherRequest.residual_template to select which spatial matcher should be applied to the candidate matches - photos_vision_objectrec.CustomCorpusQuantizer to map a custom corpus to one or more posting lists -
geoLocation
(type:GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecGeoLocation
, default:nil
)
- The geolocation of the image. Assumed to represent the location where the photo was taken from. -
globalFeature
(type:list(GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecGlobalFeature)
, default:nil
)
- -
imageHeight
(type:integer()
, default:nil
)
- -
imageId
(type:String.t
, default:nil
)
- Unique identifier for the image used to compute this template. -
imageUrl
(type:String.t
, default:nil
)
- URL or filename of the image used to compute this template. User-defined. Must contain only ASCII characters and be NULL-terminated. -
imageWidth
(type:integer()
, default:nil
)
- Dimension of the image used to compute this template. -
info
(type:String.t
, default:nil
)
- -
objectInfo
(type:list(String.t)
, default:nil
)
- Tags pertaining to this image. User-defined. Must be NULL-terminated. -
objectName
(type:String.t
, default:nil
)
- Name of the object/scene depicted. User-defined. Must contain only ASCII characters and be NULL-terminated. -
opaqueData
(type:String.t
, default:nil
)
- Opaque template data. May be used to pass through additional data from template sources to processing modules, that is not already covered by other members of this PB. It is the responsibility of processing modules to verify that the data is in a compatible format. -
roi
(type:GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecROI
, default:nil
)
- Region-of-interest: The bounding box of the object or scene depicted in the image. -
subset
(type:list(GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecImageTemplateSubSet)
, default:nil
)
- -
version
(type:String.t
, default:nil
)
- Feature version.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecImageTemplate{
authorName: String.t() | nil,
corpus: String.t() | nil,
geoLocation: GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecGeoLocation.t() | nil,
globalFeature: [GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecGlobalFeature.t()] | nil,
imageHeight: integer() | nil,
imageId: String.t() | nil,
imageUrl: String.t() | nil,
imageWidth: integer() | nil,
info: String.t() | nil,
objectInfo: [String.t()] | nil,
objectName: String.t() | nil,
opaqueData: String.t() | nil,
roi: GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecROI.t() | nil,
subset: [ GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecImageTemplateSubSet.t() ] | nil,
version: String.t() | nil
}
authorName: String.t() | nil,
corpus: String.t() | nil,
geoLocation: GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecGeoLocation.t() | nil,
globalFeature: [GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecGlobalFeature.t()] | nil,
imageHeight: integer() | nil,
imageId: String.t() | nil,
imageUrl: String.t() | nil,
imageWidth: integer() | nil,
info: String.t() | nil,
objectInfo: [String.t()] | nil,
objectName: String.t() | nil,
opaqueData: String.t() | nil,
roi: GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecROI.t() | nil,
subset: [ GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecImageTemplateSubSet.t() ] | nil,
version: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.PhotosVisionObjectrecImageTemplate