FaceCompareResult¶
This section covers how to use the Compare Result Object.
- class cryptonets_python_sdk.helper.result_objects.compareResult.FaceCompareResult(result=None, distance_min=None, distance_mean=None, distance_max=None, second_validation_result=None, first_validation_result=None, status=-1, distance=None, message='')¶
- Attributes:
distance_maxReturns the maximum distance
distance_meanReturns the average distance
distance_minReturns the minimum distance
first_validation_resultReturns the validation result of first image
messageReturns the message of the operation
resultReturns the result of the operation
second_validation_resultReturns the validation result of second image
statusReturns the status of the operation
- property distance_max: float¶
Returns the maximum distance
Maximum distance refers to the thresholds used for comparing the images
- property distance_mean: float¶
Returns the average distance
Mean distance refers to the thresholds used for comparing the images
- property distance_min: float¶
Returns the minimum distance
Minimum distance refers to the thresholds used for comparing the images
- property first_validation_result: int¶
Returns the validation result of first image
- property message: str¶
Returns the message of the operation
- property result: int¶
Returns the result of the operation
- property second_validation_result: int¶
Returns the validation result of second image
- property status: int¶
Returns the status of the operation
0 - If successfully obtained result from server
-1 - In case of error