Cloud Vision V1p4beta1 API - Class Google::Cloud::Vision::V1p4beta1::FaceRecognitionParams (v0.3.0)

Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::FaceRecognitionParams.

Parameters for a celebrity recognition request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#celebrity_set

def celebrity_set() -> ::Array<::String>
Returns
  • (::Array<::String>) — The resource names for one or more [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.

#celebrity_set=

def celebrity_set=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The resource names for one or more [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.
Returns
  • (::Array<::String>) — The resource names for one or more [CelebritySet][google.cloud.vision.v1p4beta1.CelebritySet]s. A celebrity set is preloaded and can be specified as "builtin/default". If this is specified, the algorithm will try to match the faces detected in the input image to the Celebrities in the CelebritySets.