View Source GoogleApi.Language.V1.Model.XPSColorMap (google_api_language v0.14.0)
Map from color to display name. Will only be used by Image Segmentation for uCAIP.
Attributes
-
annotationSpecIdToken
(type:String.t
, default:nil
) - Should be used during training. -
color
(type:GoogleApi.Language.V1.Model.Color.t
, default:nil
) - This type is deprecated in favor of the IntColor below. This is because google.type.Color represent color has a float which semantically does not reflect discrete classes/categories concept. Moreover, to handle it well we need to have some tolerance when converting to a discretized color. As such, the recommendation is to have API surface still use google.type.Color while internally IntColor is used. -
displayName
(type:String.t
, default:nil
) - Should be used during preprocessing. -
intColor
(type:GoogleApi.Language.V1.Model.XPSColorMapIntColor.t
, default:nil
) -
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Language.V1.Model.XPSColorMap{ annotationSpecIdToken: String.t() | nil, color: GoogleApi.Language.V1.Model.Color.t() | nil, displayName: String.t() | nil, intColor: GoogleApi.Language.V1.Model.XPSColorMapIntColor.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.