Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::FaceRecognitionResult.
Information about a face's identity.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#celebrity
def celebrity() -> ::Google::Cloud::Vision::V1p4beta1::Celebrity
Returns
- (::Google::Cloud::Vision::V1p4beta1::Celebrity) — The Celebrity that this face was matched to.
#celebrity=
def celebrity=(value) -> ::Google::Cloud::Vision::V1p4beta1::Celebrity
Parameter
- value (::Google::Cloud::Vision::V1p4beta1::Celebrity) — The Celebrity that this face was matched to.
Returns
- (::Google::Cloud::Vision::V1p4beta1::Celebrity) — The Celebrity that this face was matched to.
#confidence
def confidence() -> ::Float
Returns
- (::Float) — Recognition confidence. Range [0, 1].
#confidence=
def confidence=(value) -> ::Float
Parameter
- value (::Float) — Recognition confidence. Range [0, 1].
Returns
- (::Float) — Recognition confidence. Range [0, 1].