Performs a one-to-one comparison of the submitted live images with the submitted ID photo in order to verify whether the live images and ID photo belong to the same person.
[OperationContract]
[FaultContract(typeof(BioIDWebServiceFault)]
bool PhotoVerify(Sample[] samples, Sample photo, out string messages, int accuracy);
Returns true
when all images have been processed successfully and the ID photo matches the live images;
false
otherwise, or when errors occurred (see messages for details).
PhotoVerify
is a BWS service, which uses one passport image from an ID document and compares that to one or more "live" images of a person,
to find out whether the persons shown are the same. No classes are created, no templates or patterns are stored.
It fulfills all requirements for an anonymous ID proofing service.
This method supports liveness detection in case more than one live samples have been submitted.
Note that in this case PhotoVerify
will only succeed, when it can undoubtedly determine that the given data is live data.
In case that the liveness detection succeeds, the degree of the head rotation between two subsequent images is reported
with the returned messages XML-string.
This API has a fault contract of type BioIDWebServiceFault which is used for fatal errors like invalid arguments or missing service, etc. Messages, even error messages, generated by the verification procedure are reported via the messages output value, which contains an XML string according to the BWSMessages schema namespace.
The messages output XML string might contain operation specific errors as follows:
The messages output XML string might also contain errors for the individual samples. Many of the errors can result from the initial quality-check that is performed before anything else is done. Please refer to the QualityCheck method for a list of sample errors that might have been generated by the quality-check.
Additionally the following errors can occur. With any of theses errors the sample is marked as unsuitable and is not considered in the verification process: