Image.compare Method¶
Module: Image
Definition¶
Computes the difference with another image.
compare(self, cmp_image: Image) -> float
Parameters
cmp_imageImagein The image to compare.
Returns
floatComparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Face Library execution.
double compare(Image cmpImage)
Parameters
cmpImageImagein The image to compare.
Returns
doubleComparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Face Library execution.
public float Compare(Image cmpImage)
Parameters
cmpImageImagein The image to compare.
Returns
floatComparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Face Library execution.
public float compare(Image cmpImage) throws FaceException
Parameters
cmpImageImagein The image to compare.
Returns
floatComparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Face Library execution.
public func compare(cmpImage: Image) throws -> Float
Parameters
cmpImageImagein The image to compare.
Returns
FloatComparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Face Library execution.
int id3FaceImage_Compare (
ID3_FACE_IMAGE hImage,
ID3_FACE_IMAGE hCmpImage,
float * result)
Parameters
hImageID3_FACE_IMAGEin Handle to the Image object.hCmpImageID3_FACE_IMAGEin The image to compare.resultfloat *out Comparison result in percent (0% is same, 100% is full different).
Returns