Image.compare Method¶
Module: Image
Definition¶
Computes the difference with another image.
compare(self, cmp_image: Image) -> float
Parameters
cmp_image
Imagein The image to compare.
Returns
float
Comparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Face Library execution.
double compare(Image cmpImage)
Parameters
cmpImage
Imagein The image to compare.
Returns
double
Comparison 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
cmpImage
Imagein The image to compare.
Returns
float
Comparison 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
cmpImage
Imagein The image to compare.
Returns
float
Comparison 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
cmpImage
Imagein The image to compare.
Returns
Float
Comparison 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
hImage
ID3_FACE_IMAGEin Handle to the Image object.hCmpImage
ID3_FACE_IMAGEin The image to compare.result
float *out Comparison result in percent (0% is same, 100% is full different).
Returns