class Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1FaceRecognitionResult

Information about a face's identity.

Attributes

celebrity[RW]

A Celebrity is a group of Faces with an identity. Corresponds to the JSON property `celebrity` @return [Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1Celebrity]

confidence[RW]

Recognition confidence. Range [0, 1]. Corresponds to the JSON property `confidence` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 7262
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vision_v1/classes.rb, line 7267
def update!(**args)
  @celebrity = args[:celebrity] if args.key?(:celebrity)
  @confidence = args[:confidence] if args.key?(:confidence)
end