CaptureImage.compare Method¶
Module: CaptureImage
Definition¶
Computes the difference with another image.
compare(self, cmp_capture_image: CaptureImage) -> float
Parameters
cmp_capture_image
CaptureImagein The image to compare.
Returns
float
Comparison result in percent (0% is same, 100% is full different).
Exceptions
An error has occurred during Devices Library execution.
double compare(CaptureImage cmpCaptureImage)
Parameters
cmpCaptureImage
CaptureImagein The image to compare.
Returns
double
Comparison 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
cmpCaptureImage
CaptureImagein The image to compare.
Returns
float
Comparison 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
cmpCaptureImage
CaptureImagein The image to compare.
Returns
float
Comparison 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
hCaptureImage
ID3_DEVICES_CAPTURE_IMAGEin Handle to the CaptureImage object.hCmpCaptureImage
ID3_DEVICES_CAPTURE_IMAGEin The image to compare.result
float *out Comparison result in percent (0% is same, 100% is full different).
Returns