CaptureImage.compare Method¶
Module: CaptureImage
Definition¶
Computes the difference with another image.
compare(self, cmp_capture_image: CaptureImage) -> float
Parameters
cmp_capture_imageCaptureImagein The image to compare.
Returns
floatComparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Devices Library execution.
double compare(CaptureImage cmpCaptureImage)
Parameters
cmpCaptureImageCaptureImagein The image to compare.
Returns
doubleComparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Devices Library execution.
public float Compare(CaptureImage cmpCaptureImage)
Parameters
cmpCaptureImageCaptureImagein The image to compare.
Returns
floatComparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Devices Library execution.
public float compare(CaptureImage cmpCaptureImage) throws DevicesException
Parameters
cmpCaptureImageCaptureImagein The image to compare.
Returns
floatComparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesCaptureImage_Compare (
    ID3_DEVICES_CAPTURE_IMAGE hCaptureImage,
    ID3_DEVICES_CAPTURE_IMAGE hCmpCaptureImage,
    float * result)
Parameters
hCaptureImageID3_DEVICES_CAPTURE_IMAGEin Handle to the CaptureImage object.hCmpCaptureImageID3_DEVICES_CAPTURE_IMAGEin The image to compare.resultfloat *out Comparison result in percent (0% is same, 100% is full different).
Returns